@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

:root {
  --primary-color: #ffffffcc;
  --primary-black: #010510;
  --secundary-color: #ffffffa6;
  --secundary-black: #010510e0;
  --primary-font: "Roboto", sans-serif;
  --secundary-font: "Poppins", sans-serif;
}

#preLoad {
  display:flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  height: 100vh;
  background-color: var(--primary-black);
  z-index: 9999;
  position: fixed;
  top: 0%;
  transition: 0.7s ease-in;
}

#preLoad .loading {
  font-family: "clash display";
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  transition: 0.5s ease-in;
}

.header {
  min-width: 100%;
  padding: 32px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  position: fixed;
}

.menu {
  display: none;
}

.header .menuToggle {
  display: none;
}

.header .logo {
  color: var(--primary-color);
  font-size: 28px;
  font-family: var(--secundary-font);
  font-weight: 500;
}

.header .socialMidias ul {
  display: flex;
  gap: 60px;
  list-style: none;
  font-family: var(--secundary-font);
}

.socialMidias li a {
  color: var(--secundary-color);
  font-weight: 300;
  z-index: 200;
}

.header .headerButton {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 24px;
  border-radius: 8px;
  border: none;
  color: #000000b2;
  background-color: var(--primary-color);
  font-family: var(--primary-font);
  letter-spacing: 0.5px;
  font-weight: 400;
}

.header a {
  text-decoration: none;
}

.headerButton img {
  width: 40px;
}

#smooth-content {
  background-color: var(--primary-black);
}

.home {
  overflow: hidden;
  max-width:100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #010510;
  position: relative;
}

.home div {
  z-index: 1;
}

.home .background {
  position: absolute;
  width:100vw;
  z-index: 0;
  top: 0%;
}

.home .fiftyProjects {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 4px 4px 24px;
  border-radius: 32px;
  background-color: #ffffff15;
  border-top: 1px solid #ffffff33;
  margin-bottom: 8px;
}

.fiftyProjects h3 {
  font-family: var(--secundary-font);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--secundary-color);
}

.home .headline {
  font-size: 4.3vw;
  width: 50%;
  text-align: center;
  line-height: 110%;
  font-family: var(--primary-font);
  font-weight: 400;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 6.55%,
    rgba(255, 255, 255, 0.8) 51.61%,
    rgba(255, 255, 255, 0.4) 97.13%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}

.home .subTitle {
  color: var(--secundary-color);
  font-family: var(--secundary-font);
  width: 620px;
  text-align: center;
  font-weight: 300;
  z-index: 1;
}

.home .mobileSubTitle {
  display: none;
}

.home .buttons {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 14px;
}

.buttons button {
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  letter-spacing: 0.5px;
  font-family: var(--primary-font);
}

.buttons .primary {
  background-color: var(--primary-color);
  color: #000000b2;
}

.buttons .secundary {
  background-color: #ffffff1f;
  color: var(--secundary-color);
}

.home .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 4%;
  gap: 32px;
}

.container h3 {
  color: rgba(255, 255, 255, 0.685);
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 500;
}

.container .carousel {
  display: flex;
  position: relative;
  overflow-x: auto;
  width: 50%;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel .group {
  display: flex;
  gap: 68px;
  padding-right: 4em;
  animation: spin 12s infinite linear;
}

.group #programs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel .linear {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #000613 -1%,
    rgba(0, 6, 19, 0) 51.58%,
    #000613 98.36%
  );
  position: absolute;
  z-index: 2;
}

#programs {
  width: max-content;
}

#programs h3 {
  color: var(--secundary-color);
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: 16px;
}

.secondSec {
  max-width:100%;
  padding: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--primary-black);
}

.secondSec h2 {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-size: 3.2vw;
  font-weight: 400;
  width: 50%;
  text-align: center;
  padding-bottom: 8px;
  z-index: 99;
}

.secondSec p {
  font-family: var(--secundary-font);
  color: var(--secundary-color);
  font-weight: 300;
  width: 550px;
  text-align: center;
  padding-bottom: 32px;
  z-index: 99;
}

.video {
  position: relative;
  display: flex;
  justify-content: center;
}

.video video {
  width: 90%;
  border-radius: 28px;
}

.play {
  width: 90px;
  height: 90px;
  border-radius: 100px;
  border: 2px solid #ffffff5d;
  background-color: #ffffff11;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.play img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.thirdSec {
  min-width: 100%;
  min-height: 100vh;
  background-color: var(--primary-black);
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 80px;
}

.thirdSec .about {
  color: #cccdcfaf;
  font-family: var(--primary-font);
  font-weight: 300;
  padding-bottom: 28px;
  font-size:clamp(1rem, 1.5vw, 1.9rem);
}

.thirdSec .textAnimation {
  color: var(--secundary-color);
  font-family: var(--primary-font);
  font-size: 2.7vw;
  font-weight: 300;
  line-height: 140%;
  text-transform: uppercase;
  text-align: justify;
}

.fourthSec {
  min-width: 100%;
  display: flex;
  padding: 100px;
  display: flex;
  flex-direction: column;
}

.fourthSec .projectHeadline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projectHeadline h2 {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-size: 3.2vw;
  font-weight: 400;
}

.projectHeadline p {
  color: var(--secundary-color);
  font-family: var(--secundary-font);
  font-size: 1.3vw;
  width: 30vw;
  text-align: end;
  font-weight: 300;
}

.fourthSec .topProjects {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 38px;
}

.fourthSec img:hover {
  filter: saturate(0);
}

.topProjects h2 {
  color: var(--secundary-color);
  font-family: var(--secundary-font);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.3vw, 2rem);
  padding-top: 12px;
  padding-bottom: 14px;
}

.projectButton {
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.fourthSec img {
  width: 100%;
  transition: all .8s;
}

.fourthSec .bottomProjects {
  display: flex;
  gap: 16px;
  padding-top: 64px;
  padding-bottom: 100px;
}

.bottomProjects h2 {
  color: var(--secundary-color);
  font-family: var(--secundary-font);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.3vw, 2rem);
  padding-top: 12px;
  padding-bottom: 14px;
}

footer {
  min-width: 100%;;
  height: 65vh;
  display: flex;
  justify-content: space-between;
  position: relative;
  background-color: #191a1b;
  overflow: hidden;
}

footer h2 {
  color: var(--secundary-color);
  font-family: var(--primary-font);
  font-size: clamp(1.3rem, 1.3vw, 2rem);
  font-weight: 300;
  width: 20vw;
  padding-top: 100px;
  padding-left: 100px;
}

footer .containerMidias {
  display: flex;
  gap: 120px;
  padding-top: 50px;
  padding-right: 100px;
}

.redes h3 {
  color: var(--secundary-color);
  font-size: 18px;
  font-family: var(--primary-font);
  font-weight: 400;
}

.redes ul {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 12px;
}

.redes li a {
  text-decoration: none;
  font-family: var(--secundary-font);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.legal h3 {
  color: var(--secundary-color);
  font-size: 18px;
  font-family: var(--primary-font);
  font-weight: 400;
}

.legal ul {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 12px;
}

.legal li a {
  text-decoration: none;
  font-family: var(--secundary-font);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

footer .logoFooter {
  position: absolute;
  color: var(--primary-color);
  font-family: var(--secundary-font);
  font-size: 23vw;
  left: 50%;
  transform: translate(-50%, 20%);
}

.logoFooter h3 {
  font-weight: 600;
}

/* TELAS MENORES */

@media (max-width:1500px){
  .home .headline {
    font-size: 5vw;
  }
  footer {
    padding: 80px 100px;
  }

  footer h2 {
    padding-left: 0px;
    padding-top: 0px;
  }
}
@media (max-width: 1000px) {
  .header {
    width: 100%;
    padding: 20px 52px;
    mix-blend-mode: difference;
    z-index: 999;
  }
  .header .headerButton {
    display: none;
  }
  .header .menuToggle {
    display: flex;
    position: relative;
    width: 50px;
    height: 14px;
  }
  .header .socialMidias {
    display: none;
  }
  .menuToggle div {
    width: 40px;
    height: 2px;
    position: absolute;
    background-color: var(--secundary-color);
    border-radius: 2px;
  }
  .menuToggle .topLine {
    top: 0%;
    transition: all 0.5s;
  }
  .menuToggle .bottomLine {
    bottom: 0%;
    transition: all 0.5s;
  }
  .topLineAc {
    top: 50%;
    transform: rotateZ(-50deg);
  }
  .bottomLineAc {
    top: 0%;
    transform: rotateZ(50deg);
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    height: 80vh;
    background-color: rgb(244, 248, 255);
    z-index: 99;
    position: fixed;
    transition: all 0.5s ease;
    transform: translateY(-100%);
    border-radius: 0px 0px 20px 20px;
    opacity: 0;
  }
  .menuAc {
    transform: translateX(0%);
    opacity: 1;
  }
  .menu h2 {
    font-family: var(--secundary-font);
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    font-size: 32px;
    text-align: center;
    width: 80%;
  }
  .menu ul {
    padding-top: 18px;
    padding-bottom: 32px;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .menu li a {
    font-size: 18px;
    color: #000613a6;
    font-family: var(--secundary-font);
    text-decoration: none;
    font-weight: 400;
  }
  .menu button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    border-radius: 8px;
    border: none;
    letter-spacing: 0.5px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 4px 4px 30px #0000001c;
  }
  .menu a {
    text-decoration: none;
  }
  .home {
    background-color: #0a0815;
    height: 95vh;
    width:100%;
  }
  .home .mobileBg {
    position: absolute;
    top: 10%;
    width: 100%;
  }
  .home .fiftyProjects h3 {
    font-size: 16px;
  }
  .home .fiftyProjects img {
    width: 120px;
  }
  .home .headline {
    font-size: 8vw;
    width: 100%;
  }
  .home .container {
    gap: 52px;
  }
  .secondSec {
    width: 100%;
    padding: 100px 52px;
    background-color: #0a0815;
  }
  .secondSec video {
    width: 100%;
  }
  .secondSec h2 {
    width: 75%;
    font-size: 5vw;
  }
  .thirdSec {
    width: 100%;
    padding: 52px;
    background-color: #0a0815;
  }
  .thirdSec .textAnimation {
    font-size: 4.5vw;
  }
  .fourthSec {
    width: 100%;
    padding: 52px;
    background-color: #0a0815;
  }
  .projectHeadline h2 {
    font-size: 5vw;
  }
  .projectHeadline p {
    font-size: 16px;
    width: 350px;
  }
  .topProjects {
    flex-direction: column;
  }
  .bottomProjects {
    flex-direction: column;
  }
  .synk {
    padding-bottom: 52px;
  }
  .nexus {
    padding-bottom: 52px;
  }
  footer {
    width: 100%;
    padding: 80px 52px;
    height: 60vh;
  }
  footer .logoFooter {
    bottom: 0%;
    transform: translate(-50%, 40%);
  }
  footer h2 {
    width: 30%;
    padding-left: 0%;
    padding-top: 0%;
  }
  footer .containerMidias {
    padding-top: 0%;
    padding-right: 0%;
  }
}

@media (max-width: 500px) {
  .header {
    padding: 20px;
  }
  .home {
    padding: 20px;
    background-image: url(assets/mobileBg.jpg);
    background-size: cover;
    background-position-y: 120%;
  }
  .home .background {
    display: none;
  }
  .home .mobileBg {
    position: absolute;
    top: -0%;
    width: 100%;
  }
  .home .fiftyProjects {
    margin-bottom: 12px;
  }
  .home .headline {
    font-size: 38px;
    width: 100%;
  }
  .home .subTitle {
    display: none;
  }
  .home .mobileSubTitle {
    display: block;
    color: var(--secundary-color);
    text-align: center;
    font-family: var(--secundary-font);
    padding-top: 10px;
    z-index: 2;
  }
  .carousel .linear {
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
  }
  .secondSec {
    padding: 100px 20px;
  }
  .secondSec h2 {
    font-size: 28px;
    width: 100%;
  }
  .secondSec p {
    width: 100%;
    font-size: 14px;
  }
  .secondSec video {
    border-radius: 16px;
  }
  .video .play {
    width: 70px;
    height: 70px;
  }
  .play img {
    width: 36px;
  }
  .thirdSec {
    padding: 20px;
  }
  .thirdSec .textAnimation {
    font-size: 5.5vw;
    text-align: justify;
  }
  .fourthSec {
    padding: 10px 20px;
    height: max-content;
  }
  .fourthSec .projectHeadline {
    flex-direction: column;
    align-items: end;
  }
  .projectHeadline h2 {
    font-size: 28px;
  }
  .projectHeadline p {
    font-size: 16px;
    width: 90%;
  }

  footer {
    padding: 52px 20px;
    flex-direction: column;
    justify-content: start;
  }
  footer h2 {
    padding: 0px;
    width: 100%;
  }
  footer .containerMidias {
    padding-right: 0px;
    padding-top: 38px;
  }
  footer .logoFooter {
    bottom: 0%;
    transform: translate(-50%, 41%);
  }
}

@media (max-width:427px){
  .home .fiftyProjects h3 {
    font-size: 14px;
  }
  .home .fiftyProjects img {
    width: 92px;
  }
  .home .headline {
    font-size: 8.5vw;
  }
  .home p {
    font-size: 14px;
  }
  .secondSec h2 {
    font-size: 7vw;
  }
}

@keyframes spin {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
