body {
  font-family: Arial, Helvetica, sans-serif;
}

.header{
  width: 100%;
  display: flex;
  border: 0px solid red;
  justify-content: space-between;
  padding: 10px 20px 0px 20px;
}

#logo{
  display:block;
  width: 200px;
}

#logo_small{
  display:none;
}

#logo_file{
  width: 50%;
  border: 0px solid green;
}

#logo_file img{
  border: 0px solid green;
}

#nav{ 
  min-width: 10%;
  border: 0px solid pink;
  justify-content: flex-end;
}

#nav img{
  border: 0px solid green;
  width: 35px;
}

#navlink{
  position: absolute;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 5px;
  border: 0px solid red;
}

.grid-item {
  float: left;
  width: 25%;
  box-sizing: border-box;
  border: solid 0px red;
  padding: 5px;
}

.grid-item--width2 img{
  width: 100%;
  box-sizing: border-box;
}

.grid-item--height2 img{
  width: 100%;
  box-sizing: border-box;
}

.grid{
    border:solid 0px red;
    width: 100%;
}

.video-image {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.video-image:before {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  content: '\f144';
  font-family: 'Font Awesome\ 5 Free'; 
  font-weight: 900; /* Fix version 5.0.9 */
  font-size: 100px;
  color: #fff;
  opacity: .8;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}
.video-image:hover:before {
  color: #aaa;
}

.r{
  font-family:sans-serif;
  font-size:12pt;
  letter-spacing:8px;
  font-weight:bold;
  width:90%;
  position:relative;
  top: 20px;
  border:solid 0px green;
  padding-left: 30px;
}


.loader{
    width: 100vw;
    height: 100vh;
    display:flex;
    justify-content: center;
    align-items: center;
    background: rgba(152, 210, 230, 1);
    position: fixed;
    z-index: 10;
    top: 0px;
    left: 0px;
}


/** About **/
#about{
    margin-top: 20px;
}

#me{
    float:left;
    position: fixed;
    width:50%;
    text-align:center;
}

#mypic{
    height: 50%;
    width: 50%;
}

#contact{
    font-family: sans-serif;
    font-weight: bold;
    font-size: 12pt;
}

.profile{
  font-family: sans-serif;
  font-weight: bold;
  font-size:9pt;
  width:50%;
  float:right;
  text-align:left;
  padding:0px 30px 30px 0px;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 60px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  /*padding: 20px;*/
  padding-bottom: 20px;
  border: 1px solid #888;
  width: 100%;
  /*height: 80vh;*/
  border-radius: 5px;
  align-self: center;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  z-index: 1;
  padding-right: 10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.mymodal-content{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  border: solid 0px black;
}

.picture-display{
  width: 90%;
  text-align: center;
  border: solid 0px black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#picture{
  max-width: 80vw;
  max-height: 80vh;
  border: solid 0px black;
}

#video{
  max-width: 80vw;
  max-height: 80vh;
  border: solid 0px black;
}

.description{
  align-items: center;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 10pt;
  padding-top: 10px;
  width: 100%;
  border: solid 0px black;
}

.description-text{
  word-break: normal;
  width: 100%;
  border: solid 0px black;
}

.arrow{
  align-self: center;
  font-size: 50px;
  color:#aaaaaa;
  border: solid 0px black;
}

.arrow:hover{
 color:rgb(166,209,228);
 cursor: pointer;
}

@media only screen and (max-width: 845px) {
    .grid{
        border:solid 0px red;
        width: 100%;
    }

    .grid-item {
      float: left;
      width: 50%;
      box-sizing: border-box;
      border: solid 0px red;
      padding: 5px;
    }

    #nav{
      display: flex;
      flex-direction: row;
      border: 0px solid pink;
      justify-content: flex-end;
    }

    #nav img{
      width: 30px;
      height: 30px;
      margin-top: 5px;
      margin-left: 5px;
    }

    #navlink{
      position:relative;
      cursor: pointer;
      margin-top: 11px;
      margin-left: 5px;
      border: 0px solid red;
    }    

    #logo{
        display:none;
     }

     #logo_small{
        display:block;
     }

     .arrow{
      align-self: center;
      font-size: 35px;
      color:#aaaaaa;
    }
}


@media only screen and (max-width: 400px) {
  .grid{
      border:solid 0px red;
      width: 100%;
  }

  .grid-item {
    float: left;
    width: 100%;
    box-sizing: border-box;
    border: solid 0px red;
    padding: 5px;
  }

  .header{
    display: flex;
    flex-direction: column;
    padding: 0px;
  }

  #nav{
    width: 100%;
    border: 0px solid pink;
    justify-content:center;
  }

  #nav img{
    width: 30px;
    height: 30px;
  }

  #logo{
      display:none;
   }

   #logo_small{
      display:block;
   }

  .arrow{
    align-self: center;
    font-size: 20px;
    color:#aaaaaa;
  }

  #about{
    display: flex;
    flex-direction: column;
    border: 0px solid black;
    width: 100%;
    margin-top: 20px;
  }

  #me{
    position: relative;
    width: 100%;
    border: 0px solid red;
  }

  #mypic{
    height: 30%;
    width: 30%;
  }

  .profile{
    justify-content:center;
    font-family: sans-serif;
    font-weight: bold;
    font-size:9pt;
    width:100%; 
    text-align:left;
    margin-top: 30px;
    border: 0px solid black;
  }
}



@media only screen and (max-height: 400px) {
  .modal {
    padding-top: 0px;
  }
  .description{
    font-size: 7pt;
  }
}