/* @media (min-height: 900px) {
  body {
    overflow: hidden;
  }
} */

@media (min-width: 600px) {
  .mlay {
    display: none;
  }
  .dlay {
    display: block;
  }

  body {
    background-color: black;
  }

  :root {
    color-scheme: dark;
  }

  .fade-content {
    position: relative;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .navbar-brand {
    font-family: "Playfair Display", sans-serif !important;
    letter-spacing: .13rem;
    font-weight: 500;
    font-size: 30px;
  }

  .navbar-nav {
    font-family: "PT Serif", sans-serif;
    letter-spacing: .13rem;
    font-weight: 500;
  }

  nav {
    font-family: "PT Serif", sans-serif;
    margin-left: 20px;
    background-color: #29292b00;
  }

  @keyframes fadeInAnimation {
      0% {
          opacity: 0;
          transform: translate(0, 50px);
      }
      100% {
          opacity: 1;
          transform: translate(0, 0);
      }
  }

  #pre_comments {
    white-space: pre;
  }

  .bg-transparent {
    border-color: black;
    border-radius: 0px;
    border-width: 2px;
  }

  .bg-transparent:hover {
    border-color: #bbbbbb;
    color: #bbbbbb;
    transition: 0.2s;
  }

  .btn-quick {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100px;
    border-width: 3px;
    opacity: 0;
    border-color: whitesmoke;
    color: whitesmoke;
  }

  .btn-quick:hover {
    background-color: whitesmoke;
    opacity: 1;
    border-color: whitesmoke;
    color: #323232;
  }

  .dropdown .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    left: 20px;
    transition: 0.4s;
  }

  .dropdown-item {
    color: whitesmoke;
    background: transparent;
    opacity: 50%;
    transition: 0.4s;
  }

  .dropdown-item:hover {
    opacity: 100%;
    transition: 0.4s;
    color: whitesmoke;
    background: transparent;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    left: 0px;
    transition: 0.4s;
  }

  .dropdown-menu {
    background-color: #32323254;
    border-radius: 20px;
    color: whitesmoke;
    opacity: 0;
    transition: 0.4s;
  }

  a.dropdown-item {
    color: whitesmoke;
  }

  .video-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%; 
    overflow: hidden;
  }
  .video-container .bg-video {
    min-width: 100%; 
    min-height: 100%; 

    width: auto;
    height: auto;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .text-block {
    letter-spacing: .15rem;
    font-family: "Playfair Display", sans-serif;
    position: relative;
    padding-top: 0;
    padding-bottom: 0%;
    width: 100%;
    top: 8%;

    .btn-quick{
      position: relative;
      opacity: 0;
      transition: 0.4s;
      top: -20px;
    }  
  }

  .text-block:hover {
    .btn-quick{
      position: relative;
      opacity: 1;
      transition: 0.4s;
      top: 0px;
    }
  }

  .dropdown-toggle {
    color: hsla(0, 0%, 100%, 0.55) !important;
  }

  .dropdown-toggle:hover {
    color: hsla(0, 0%, 100%, 0.7) !important;
  }

  .nametitle {
    font-size: 76px;
    color: whitesmoke;
    font-weight: 600;
    text-align: center;
  }

  .subtitle {
    font-size: 20px;
    color: whitesmoke;
    opacity: 80%;
    margin-top: -10px;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
  }

  .bullet {
    font-size: 20px;
    color: hsla(0, 0%, 96%, 0.8);
    opacity: 80%;
    margin-top: -10px;
    margin-bottom: 30px;
    margin-left: 20px;
    font-weight: 400;
    text-align: left;
  }

  .pitt-image {
    position: absolute;
    scale: 90%;
    top: 60%;
  }

  .project-images {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-images .imgdiv {
    margin: 0 10px;
    max-width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
    padding: 16px;
    opacity: 0;
    position: relative;
    animation: fadeInAnimationDelay 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .imgdiv img {
    position: block;
    width: 300px;
    height: 300px;
  }

  .imgdiv:hover .image-txt {
    opacity: 1;
    transition: 0.2s;
  }

  .imgdiv:hover .overlay {
    opacity: 0.8;
    transition: 0.2s;
  }

  .image-txt {
    font-family: "Playfair Display", sans-serif;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 0.2rem;
    opacity: 0;
    transition: 0.4s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: whitesmoke;
    width: 80%;
    text-align: center
  }

  .overlay {
    position: absolute;
    opacity: 0;
    transition: 0.4s;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
  }

  @keyframes fadeInAnimationDelay {
    0% {
      top: 50px;
      opacity: 0;
      transform: translate(0, 50px);
    }
    100% {
      top: 0px;
      opacity: 1;
      transform: translate(0, 0);
    }
  }
}

@media (max-width: 599px) {
  body {
    background-color: black;
  }

  .dlay {
    display: none;
  }
  .mlay {
    display: block;
  }

  :root {
    color-scheme: dark;
  }

  .fade-content {
    position: relative;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .navbar-brand {
    font-family: "Playfair Display", sans-serif !important;
    letter-spacing: .13rem;
    font-weight: 500;
    font-size: 30px;
  }

  .navbar-nav {
    font-family: "PT Serif", sans-serif;
    letter-spacing: .13rem;
    font-weight: 500;
  }

  nav {
    font-family: "PT Serif", sans-serif;
    margin-left: 20px;
    background-color: #29292b00;
  }

  @keyframes fadeInAnimation {
      0% {
          opacity: 0;
          transform: translate(0, 50px);
      }
      100% {
          opacity: 1;
          transform: translate(0, 0);
      }
  }

  #pre_comments {
    white-space: pre;
  }

  .bg-transparent {
    border-color: black;
    border-radius: 0px;
    border-width: 2px;
  }

  .bg-transparent:hover {
    border-color: #bbbbbb;
    color: #bbbbbb;
    transition: 0.2s;
  }

  .btn-quick {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100px;
    border-width: 3px;
    opacity: 0;
    border-color: whitesmoke;
    color: whitesmoke;
  }

  .btn-quick:hover {
    background-color: whitesmoke;
    opacity: 1;
    border-color: whitesmoke;
    color: #323232;
  }

  .dropdown .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    left: 20px;
    transition: 0.4s;
  }

  .dropdown-item {
    color: whitesmoke;
    background: transparent;
    opacity: 50%;
    transition: 0.4s;
  }

  .dropdown-item:hover {
    opacity: 100%;
    transition: 0.4s;
    color: whitesmoke;
    background: transparent;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    left: 0px;
    transition: 0.4s;
  }

  .dropdown-menu {
    background-color: #32323254;
    border-radius: 20px;
    color: whitesmoke;
    opacity: 0;
    transition: 0.4s;
  }

  a.dropdown-item {
    color: whitesmoke;
  }

  .video-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%; 
    overflow: hidden;
  }
  .video-container .bg-video {
    min-width: 100%; 
    min-height: 100%; 

    width: auto;
    height: auto;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .text-block {
    letter-spacing: .15rem;
    font-family: "Playfair Display", sans-serif;
    position: relative;
    padding-top: 0;
    padding-bottom: 0%;
    width: 100%;
    top: 8%;

    .btn-quick{
      position: relative;
      opacity: 0;
      transition: 0.4s;
      top: -20px;
    }  
  }

  .text-block:hover {
    .btn-quick{
      position: relative;
      opacity: 1;
      transition: 0.4s;
      top: 0px;
    }
  }

  .dropdown-toggle {
    color: hsla(0, 0%, 100%, 0.55) !important;
  }

  .dropdown-toggle:hover {
    color: hsla(0, 0%, 100%, 0.7) !important;
  }

  .nametitle {
    font-size: 76px;
    color: whitesmoke;
    font-weight: 600;
    text-align: center;
  }

  .subtitle {
    font-size: 20px;
    color: whitesmoke;
    opacity: 80%;
    margin-top: -10px;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
  }

  .bullet {
    font-size: 20px;
    color: hsla(0, 0%, 96%, 0.8);
    opacity: 80%;
    margin-top: -10px;
    margin-bottom: 30px;
    margin-left: 20px;
    font-weight: 400;
    text-align: left;
  }

  .pitt-image {
    position: absolute;
    scale: 90%;
    top: 60%;
  }

  .project-images {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-images .imgdiv {
    margin: 0 10px;
    height: auto;
    opacity: 0;
    position: relative;
    animation: fadeInAnimationDelay 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .imgdiv img {
    position: block;
    width: 300px;
    height: 300px;
  }

  .imgdiv:hover .image-txt {
    opacity: 1;
    transition: 0.2s;
  }

  .imgdiv:hover .overlay {
    opacity: 0.8;
    transition: 0.2s;
  }

  .image-txt {
    font-family: "Playfair Display", sans-serif;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 0.2rem;
    opacity: 0;
    transition: 0.4s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: whitesmoke;
    width: 80%;
    text-align: center
  }

  .overlay {
    position: absolute;
    opacity: 0;
    transition: 0.4s;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
  }

  @keyframes fadeInAnimationDelay {
    0% {
      top: 50px;
      opacity: 0;
      transform: translate(0, 50px);
    }
    100% {
      top: 0px;
      opacity: 1;
      transform: translate(0, 0);
    }
  }
}

.proj2 { animation-delay: 0.1s !important; }
.proj3 { animation-delay: 0.2s !important; }
.proj4 { animation-delay: 0.3s !important; }
.proj5 { animation-delay: 0.4s !important; }
.proj6 { animation-delay: 0.5s !important; }