*{
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', serif;
}

h1{
  font-weight: 300;
  font-size: 16px;
}

h2{
  font-weight: 200;
  font-size: 16px
}

/* Bar */
@media screen and (min-device-width: 1000px) {
  .navbar{
    visibility: hidden;
    height:0;
  }
  .logo{
    width: 160px;
    margin-top:20px;
    margin-bottom: 20px;
    cursor: pointer;
  }
  .sidenav {
    height: 100%;
    width: 20%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 20px;
  }
  .sidenav a {
    padding: 10px 20px 10px 30px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
  }
  .sidenav a:hover {
    color: #A9A9A9;
  }
  .main {
    margin-left: 20%;
    padding: 0 10px;
  }
}

@media screen and (max-device-width: 1000px) {
  .sidebar{
    visibility: hidden;
    width: 0;
  }
  .navbar {
    height: 120px;
    width: 100%;
    position: fixed;
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 20px;
  }
  .navbar a {
    padding: 10px 20px 10px 20px;
    position:relative;
    align-items: center;
  }
  .logo{
    width: 280px;
    margin: 20px auto 20px 60px;
    cursor: pointer;
  }
  .contactimg {
    height: 65px;
    margin: 20px 60px 20px auto;
    cursor: pointer;
    float:right;
  }
}

/* Main */
@media screen and (min-device-width: 1000px) {
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 2% 1% 2%;
  }
  .column {
    flex: 50%;
    max-width: 49%;
    padding: 0 0.5%;
  }
  .column img {
    padding-top: 2%;
    vertical-align: middle;
    width: 100%;
  }
}

@media screen and (max-device-width: 1000px) {
  .column {
    flex: 100%;
    max-width: 100%;
    padding: 50px;
  }
  .column img {
    margin: 10px 0;
    vertical-align: middle;
    width: 100%;
  }
}


/* Modal */
#myImg {
    cursor: pointer;
    transition: 0.3s;
}
#myImg:hover {opacity: 0.9;}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(250,250,250,1);
}

@media screen and (min-device-width: 1000px) {
  #caption {
      position: absolute;
      width: 20%;
      top: 85%;
      -ms-transform: translateY(-50%);
      text-align:center;
      color: #696969;
  }
  .modal-content {
      height: 100%;
      width: 80%;
      display: block;
      margin-left: 20%;
      position: absolute;
  }
  .modal-content img{
      position: relative;
      padding: 0 2% 0 12%;
      top: 50%;
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);

      max-height: 90%;
      max-width: 80%;
  }
}
@media screen and (max-device-width: 1000px) {
  #caption {
      position: absolute;
      width: 100%;
      top: 90%;
      -ms-transform: translateY(-50%);
      text-align:center;
      color: #696969;
  }
  .modal-content {
      height: 100%;
      width: 100%;
      display: block;
      position: absolute;
  }
  .modal-content img{
      position: relative;
      padding: 0 2% 0 2%;
      top: 50%;
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);

      max-height: 90%;
      max-width: 96%;
  }
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: 	#696969;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #A9A9A9;
    text-decoration: none;
    cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
