

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  box-sizing: border-box;
}


body {

  /*background: linear-gradient(90deg,rgba(255, 241, 217, 0.68) 0%, rgba(255, 120, 120, 0.3) 50%, rgba(255, 236, 207, 0.56) 100%);*/
  background-image: url("images/rrrepeat.svg");
  background-attachment: local ;
  background-repeat: no-repeat;
}






/* Nav bar */ 


.navbar {
  position: sticky;
  opacity: 90%;
  background-color: transparent;
  top: 0;
  z-index: 10;
  margin-bottom: 5vh;
  transition: background-color 0.4s ease;

}

.logo {

  text-align: center;
  transition: 0.4s ease;
  /* filter: invert(1); */

}

.logo img {

  width: 30vw;
  height: auto;
  margin-top: 0vh;
  margin-bottom: 0.5vh;
  transition: 0.4s ease;
}

.menu {

  text-align: center;
  transition: 0.4s ease;
  margin-top: -8vh;
  margin-bottom: 8vh;
  display: flex;
  justify-content: space-between;
}

.menu a {

  text-decoration: none;
  color: grey;
  margin: 3vw;
  font-size: 22px;
  text-shadow: 0px 0px 40px black;
  transition: 0.4s ease;
}


.menu-left {

  text-align: left;
  transition: 0.4s ease;
  display: inline-block;

}

.menu-right {

  text-align: right;
  transition: 0.4s ease;
  display: inline-block;
}



.on-scroll {
  position: sticky;
  transition: 0.8s ease;
  margin-left: -3vw;
  filter: drop-shadow(-5px 5px 15px black);
  opacity: 90%;
}





/*vertical menu transition*/

.on-scroll .logo {

  display: none;
}

.on-scroll .menu-center {

  display: none;
}


.on-scroll .menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 2vh 5vw;
}

/* Stack individual menu sections vertically */
.on-scroll .menu-left,
.on-scroll .menu-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1vh 0;
  opacity: 1 !important; /* override opacity: 0 on .menu-center */
}

/* Adjust spacing and appearance of links */
.on-scroll .menu a {
  margin: 1vh 0;
  color: black;
  text-shadow: none;
}



/* invert on scroll */

.on-scroll-invert {

  filter: invert(1);
}





/* Responsive Navigation - Mobile First */

.menu-toggle {
  display: none;
  font-size: 28px;
  color: grey;
  cursor: pointer;
  position: absolute;
  top: 2vh;
  right: 5vw;
  z-index: 20;
}

/* Show toggle on small screens */
@media (max-width: 450px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 8.5vh;
    left: 0;
    width: 100%;
    padding: 5vh 5vw;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .menu.active {
    display: flex;
  }

  .menu-left, .menu-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
  }

  .menu a {
    margin: 1vh 0;
    font-size: 20px;
    color: black;
    text-shadow: none;
  }

  .menu-toggle {
    display: block;
  }

  .logo img {
    margin-top: 1vh;
    margin-bottom: -4vh;
    width: 70vw;
  }
}








/* MEET THE LAB */



.MTL {

  height: 100%;
  width: auto;
 

}


.mtl-title {

  margin-top: 6vh;
  text-align: center;
  font-size: 10vh;
  color: black;
  margin-bottom: 3vh;
  font-family: 'Amethysta';

}



.mtl-ppl, .mtl-ppl2 {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.mtl-ppl2 {

  padding-bottom: 10vh;
}

.mtl-ppl img {

  width: 20vw;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 0 3rem grey);
}


.mtl-ppl2 img {

  width: 20vw;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 0 3rem grey);
}



.p1, .p2, .p3, .p4, .p5, .p6  {

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5vh;
}

.name {

  font-size: 2.5rem;
  font-family: 'Amethysta';
  margin-top: 1vh;
  z-index: 4;
  filter: drop-shadow(0 3px 2rem white);
}

.role {

  font-size: 1rem;
  font-family: "Voces", sans-serif;
  z-index: 4;
  filter: drop-shadow(0 3px 2rem white);
}



.crew {

  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("images/uuunion.svg");
  background-repeat: no-repeat;
  background-size: cover;

}


.crew img {

  width: 22vw;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 0 5rem white);

}


.crew1, .crew2, .crew3, .crew4, .crew5, .crew6 {

  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 10vh;
  margin-right: 10vh;
  margin-left: 10vh;

}


.mtlinfo {

  z-index: 5;
  margin-top: 12vh;
  margin-left: 5vh;
}

.name2 {

  font-size: 3.5rem;
  font-family: "Voces", sans-serif;
}

.about2 {

  font-size: 2rem;
  font-family: "Voces", sans-serif;
}




/*RESPONSIVE*/


@media (max-width: 450px) {


  .mtl-ppl img {

    width: 50vw;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 3rem grey);
  }

  .mtl-ppl2 img {

    width: 50vw;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 3rem grey);
  }


  .mtl-title {

    margin-top: 6vh;
    text-align: center;
    font-size: 7vh;
    color: black;
    margin-bottom: 3vh;
    font-family: 'Amethysta';

  }


  body {

    background: linear-gradient(180deg,rgba(207, 201, 255, 1) 0%, rgba(255, 249, 240, 1) 100%);
  }

  .crew1, .crew2, .crew3, .crew4, .crew5, .crew6 {

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vh;
    margin: 0;

  }


  .crew img {

    width: 50vw;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 5rem white);

  }




  .name2 {

    font-size: 1.5rem;
    font-family: "Voces", sans-serif;
    margin-bottom: 2vh;

  }

  .about2 {

    font-size: 1rem;
    font-family: "Voces", sans-serif;
  }

  .mtlinfo {

    z-index: 5;
    margin-top: 5vh;
    margin-left: 0;
  }






}




/* FOOTER */

.footer {

  display: flex;
  
  position: relative;
  width: 100%;
  height: auto;
  background-color: black;

}

.footer-logo {

  filter: invert(1);
  margin-left: 3%;
  width: 50vw;
  height: auto;
  margin-top: 3%;

}

.footer-logo img {

  width: 100%;
  height: auto;
  opacity: .8;
}


.col-1 {

  margin-top: 5vh;
  margin-bottom: 5%;
  margin-left: 15%;

}


.fot-title {

  font-size: 3vh;
  color: grey;
  font-family: 'Philosopher', sans-serif;

}


.fot-link {
  position: relative;
  text-decoration: none;
  color: #666;
  opacity: .8;
  font-size: 2.5vh;
  font-family: 'Philosopher', sans-serif;

}

.fot-link:hover {

  color: #e38f46 ;
}

.fot-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #A48111;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}

.fot-link:hover::before {
  transform: scaleX(1);
}


.col-2 {

  margin-left: 15%;
  margin-top: 5vh;
}

.fot-info {

  font-family: 'Philosopher', sans-serif;
  color: #666;
  font-size: 2.5vh;
  opacity: .5;


}

.col-3 {

  position: relative;
  margin-top: 5vh;
  margin-left: 15%;
}

.social {

  width: 15%;
  height: auto;
}





/* Hover underline animation */

.underline:hover {

  color: #000 ;
}

.underline::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}

.underline:hover::before {
  transform: scaleX(1);
}




/*Responsive*/


@media (max-width: 450px) {

  .footer-logo {
    display: none;
  }

  .social {

    display: none;
  }





}












