/* Mobile Menu Navbar */
@media only screen and (min-width: 200px) and (max-width: 1350px) {

  .jsVanish {
    display: none;
  }

  .containerForNav {
    position: absolute;
    width: 100%;
    margin: auto;
  }

  .navBar {
    width: 100%;
  }

  .navContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .navBar .menuItems {
    display: flex;
  }
  
  .navBar .navContainer li {
    list-style: none;
  }
  
  .navBar .navContainer a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
  }
  
  .navContainer .checkBox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    right: 20px;
    z-index: 100;
    opacity: 0;
    cursor: pointer;
  }
  
  .navContainer .hamburgerLines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .navContainer .hamburgerLines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: rgb(161, 161, 161);
  }
  
  .navContainer .hamburgerLines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
  .navContainer .hamburgerLines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
  .navContainer .hamburgerLines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
  .navBar .menuItems {
    padding-top: 120px;
    background-color: rgb(38, 38, 38);
    opacity: 0.9;
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    z-index: 90;
  }
  
  .navBar .menuItems button{
    margin-bottom: 1.2rem;
    font-weight: 300;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    color:white;
    background: none;
    border: none;
    outline: inherit;
  }
  
  .logo {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.2rem;
    color: #0e2431;
    z-index: 90;
  }
  
  .navContainer input[type="checkBox"]:checked ~ .menuItems {
    transform: translateX(0);
  }
  
  .navContainer input[type="checkBox"]:checked ~ .hamburgerLines .line1 {
    transform: rotate(45deg);
  }
  
  .navContainer input[type="checkBox"]:checked ~ .hamburgerLines .line2 {
    transform: scaleY(0);
  }
  
  .navContainer input[type="checkBox"]:checked ~ .hamburgerLines .line3 {
    transform: rotate(-45deg);
  }
  
  .navContainer input[type="checkBox"]:checked ~ .logo{
    display: block;
  }

}

/* Mobile Background */
@media only screen and (min-width: 200px) and (max-width: 1350px) {
  body {
    -webkit-animation: fadeIn 1 1s ease-out;
    -moz-animation: fadeIn 1 1s ease-out;
    -o-animation: fadeIn 1 1s ease-out;
    animation: fadeIn 1 1s ease-out;
}
.light {
    position: absolute;
    width: 0px;
    opacity: .75;
    background-color: white;
    box-shadow: #e9f1f1 0px 0px 10px 2px;
    opacity: 0;
    top: 100vh;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 200px;
    margin: auto;
}

.x1{
  -webkit-animation: floatUp 4s infinite linear;
  -moz-animation: floatUp 4s infinite linear;
  -o-animation: floatUp 4s infinite linear;
  animation: floatUp 4s infinite linear;
   -webkit-transform: scale(1.0);
   -moz-transform: scale(1.0);
   -o-transform: scale(1.0);
  transform: scale(1.0);
}

.x2{
  -webkit-animation: floatUp 7s infinite linear;
  -moz-animation: floatUp 7s infinite linear;
  -o-animation: floatUp 7s infinite linear;
  animation: floatUp 7s infinite linear;
  -webkit-transform: scale(1.6);
  -moz-transform: scale(1.6);
  -o-transform: scale(1.6);
  transform: scale(1.6);
  left: 15%;
}

.x3{
  -webkit-animation: floatUp 2.5s infinite linear;
  -moz-animation: floatUp 2.5s infinite linear;
  -o-animation: floatUp 2.5s infinite linear;
  animation: floatUp 2.5s infinite linear;
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  -o-transform: scale(.5);
  transform: scale(.5);
  left: -15%;
}

.x4{
  -webkit-animation: floatUp 4.5s infinite linear;
  -moz-animation: floatUp 4.5s infinite linear;
  -o-animation: floatUp 4.5s infinite linear;
  animation: floatUp 4.5s infinite linear;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  left: -34%;
}

.x5{
  -webkit-animation: floatUp 8s infinite linear;
  -moz-animation: floatUp 8s infinite linear;
  -o-animation: floatUp 8s infinite linear;
  animation: floatUp 8s infinite linear;
  -webkit-transform: scale(2.2);
  -moz-transform: scale(2.2);
  -o-transform: scale(2.2);
  transform: scale(2.2);
  left: -57%;
}

.x6{
  -webkit-animation: floatUp 3s infinite linear;
  -moz-animation: floatUp 3s infinite linear;
  -o-animation: floatUp 3s infinite linear;
  animation: floatUp 3s infinite linear;
  -webkit-transform: scale(.8);
  -moz-transform: scale(.8);
  -o-transform: scale(.8);
  transform: scale(.8);
  left: -81%;
}

.x7{
  -webkit-animation: floatUp 5.3s infinite linear;
  -moz-animation: floatUp 5.3s infinite linear;
  -o-animation: floatUp 5.3s infinite linear;
  animation: floatUp 5.3s infinite linear;
  -webkit-transform: scale(3.2);
  -moz-transform: scale(3.2);
  -o-transform: scale(3.2);
  transform: scale(3.2);
  left: 37%;
}

.x8{
  -webkit-animation: floatUp 4.7s infinite linear;
  -moz-animation: floatUp 4.7s infinite linear;
  -o-animation: floatUp 4.7s infinite linear;
  animation: floatUp 4.7s infinite linear;
  -webkit-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -o-transform: scale(1.7);
  transform: scale(1.7);
  left: 62%;
}

.x9{
  -webkit-animation: floatUp 4.1s infinite linear;
  -moz-animation: floatUp 4.1s infinite linear;
  -o-animation: floatUp 4.1s infinite linear;
  animation: floatUp 4.1s infinite linear;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  left: 85%;
}


@-webkit-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-moz-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-o-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}

@-webkit-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-moz-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-o-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-webkit-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-moz-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-o-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-webkit-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@-moz-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@-o-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}
}

/* Mobile Project Page */
@media only screen and (min-width: 200px) and (max-width: 1350px) {
  #glow {margin: 20px; width: 35%}
  .projectsWrapper {margin-left: 10px; margin-right: 10px; margin-top: 50px;}
  .buttonOffset {padding: 2vw 3vw;}
  .overlayBox {height: 80vh; margin-top: 10vh; margin-bottom: 10vh;}
  .overlayImage {width: 100%; margin: 0; height: 50vh;}
  .exit {top: 10vh;}
  #desktopProjects {display: none; height: 0; width: 0; opacity: 0;}
}

/* Mobile Contact Page */
@media only screen and (min-width: 200px) and (max-width: 1350px) {
  .nameInput {width: 100%;}
  .emailInput {width: 100%;}
}

/* Font Size for Small Desktop */
@media only screen and (min-width: 500px) and (max-width: 1350px) {
  .buttons {font-size: 2vw;}
  .aButton {font-size: 2vw;}
  .projectTitle {font-size: 4vw;}
  .projectLangs {font-size: 2vw;}
  .projectDescription {font-size: 2vw;}
}

/* Font Size for Mobile */
@media only screen and (min-width: 200px) and (max-width: 499px) {
  .buttons {font-size: 3vw;}
  .aButton {font-size: 3vw;}
  .projectTitle {font-size: 6vw;}
  .projectLangs {font-size: 3vw;}
  .projectDescription {font-size: 3vw;}
  .contactPage {font-size: 4vw;}
}

/* General Mobile */
@media only screen and (min-width: 200px) and (max-width: 1350px) {
  body {overflow-y:unset;}
  .hidePhone {display: none;}
  .ballWrapper {float: left; width: 120%; right: 10%;}
  .skillsWrapper {width: 80%; margin-left: 10%; margin-top: 50px;}
  .col-s-9 {width: 75%;}
  .col-skills {width: 100%;}
  .firstNameLayer {font-size: 40px;}
  .paragraphLayer {font-size: 15px; word-wrap: break-word;}
  .lastNameLayer {font-size: 40px;}
  .wrapper {display: none;}
  .sliderButtonWrapper {display: none;}
}

@media only screen and (max-width: 1350px) {
  .rocketWrapper {display: none;} /*position: absolute; height: 50vw; width: auto; bottom: 0;*/
  .buttonOffset {padding: 1.8vw 2.8vw;}
  .firstNameWrapper {top: 0px;}
  .lastNameWrapper {top: 0px;}
  .paragraphWrapper {top: 0px;}
}

/* For desktop: */
@media only screen and (min-width: 1350px){
  #mobileProjects {display: none; height: 0; width: 0; opacity: 0;}
  .hideDesktop {display: none;}
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
  .col-h-12 {height: 100%;}
}

/* Large Desktop 1 */
@media only screen and (min-width: 2000px) {
  .col-7 {width: 41.66%}
}

/* Large Desktop 2 */
@media only screen and (min-width: 3000px) {
  .col-7 {width: 33.33%}
}