@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

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

:root {
  --bg: #060808;
  --green: #00ffc9;
  --off-white: #e1e0dc;
  --black-shade: #111717;
  --green-gradient: linear-gradient(
    90deg,
    var(--green, #00ffc9) 0%,
    #009979 100%
  );
  --green-shadow: 0 1px 200px 0 rgba(0, 255, 201, 0.8);
  --black-gradient: linear-gradient(
    90deg,
    var(--BG, #060808) 0%,
    rgba(6, 8, 8, 0) 100%
  );
  --red: hsl(9, 100%, 70%);

  --primary-font: "Public Sans", sans-serif;
  --secondary-font: "Big Shoulders", sans-serif;
}

body {
  font-family: var(--primary-font);
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--off-white);
  font-weight: 400;
  min-width: 100vw;
  width: 100%;
  overflow: hide;
}

/* top nav bar */

.logo {
  width: 11rem;
  display: block;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: var(--off-white);
  cursor: pointer;
}

a:hover {
  color: var(--green);
}

ul.top-nav {
  list-style: none;
  letter-spacing: 0.04rem;
  display: flex;
  gap: 2rem;
}

.language-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("/assets/icons/globe-03.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}

.language-icon:hover {
  background-image: url("/assets/icons/globe-green.svg");
  transition: all 0.4s ease;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("/assets/icons/menu-05.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}

.menu-icon:hover {
  background-image: url("/assets/icons/menu-green.svg");
  transition: all 0.4s ease;
}

.desktop-header {
  display: flex;
  width: 100%;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: linear-gradient(180deg, #060808 0%, rgba(6, 8, 8, 0.7) 100%);
  backdrop-filter: blur(30px);
  position: fixed;
  top: 0;
  z-index: 50;
}

/* language dropdown */

.hide {
  display: none;
}

.language__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 0.25rem 1.5rem;
}

.language__item:hover {
  background-color: #2a3737;
  transition: 0.6s all ease;
}

.language__dropdown {
  display: none;
  flex-direction: column;
  padding: 0 0 1.5rem 0;
  border-radius: 0 0 4px 4px;
  gap: 1rem;
  background: var(--bg);
  position: absolute;
  top: 5rem;
  right: 0;
}

.mobile__language__dropdown {
  display: none;
  flex-direction: column;
  padding: 1.5rem 0;
  border-radius: 0 0 0.25rem 0.25rem;
  gap: 1rem;
  background: var(--bg);
  position: absolute;
  top: 5rem;
  right: 10%;
}

/* mobile header */

.mobile-header {
  display: none;
  width: 100%;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: linear-gradient(180deg, #060808 0%, rgba(6, 8, 8, 0.7) 100%);
  backdrop-filter: blur(1.875rem);
  position: fixed;
  top: 0;
  z-index: 50;
}

.globe-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hamburger-menu {
  cursor: pointer;
}

.mobile-dropdown {
  display: none;
  margin-top: 5rem;
  width: 15rem;
  height: 80vh;
  position: fixed;
  z-index: 28;
  top: 0;
  right: -15rem;
  background-color: var(--black-shade);
  border-radius: 0.25rem 0 0 0.25rem;
  padding: 3.125rem 0;
  box-shadow: 0.0625rem 0.0625rem 1.25rem rgba(0, 255, 201, 0.2);
}

.mobile-dropdown__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  font-family: var(--primary-font);
  gap: 2.5rem;
}

.mobile-dropdown__list li {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
}

#mobile-dropdown__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.8;
  cursor: pointer;
}
/* hero section */

.hero__h2 {
  font-family: var(--secondary-font);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.725rem;
  text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1),
    0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
  margin: 2.5rem 0;
  opacity: 0.8;
}

.hero__h1 {
  font-family: var(--secondary-font);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 6.25rem;
  text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1),
    0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
}

#fr-hero__h1 {
  font-family: var(--secondary-font);
  font-size: 4.375rem;
  font-weight: 800;
  line-height: 4.75rem;
  text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1),
    0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
}

#sp-hero__h1 {
  font-family: var(--secondary-font);
  font-size: 4.375rem;
  font-weight: 800;
  line-height: 4.75rem;
  text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1),
    0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
}

.span--small {
  font-size: 3rem;
}

.span--green {
  color: var(--green);
}

.hero__h4 {
  font-family: var(--primary-font);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.375rem;
  margin: 1.5rem 0 3.5rem 0;
  line-height: 2rem;
  opacity: 0.8;
}

.hero__text {
  background: var(--black-gradient);
  width: 60vw;
  max-width: 37.5rem;
  padding-left: 5rem;
}

.cta-btn {
  font-family: var(--primary-font);
  color: var(--green);
  font-size: 1.5rem;
  letter-spacing: 0.06rem;
  font-weight: 700;
  background-color: var(--bg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25rem;
  border: 0.25rem solid transparent;
  position: relative;
  width: 20rem;
  height: 5rem;
  z-index: 1;
  cursor: pointer;
}

.cta-btn::before {
  content: "";
  position: absolute;
  width: 20rem;
  height: 5rem;
  background: var(--green-gradient);
  border-radius: 0.25rem;
  z-index: -10;
}

.cta-btn::after {
  content: "";
  position: absolute;
  width: 19.5rem;
  height: 4.5rem;
  background: var(--bg);
  z-index: -4;
}

.cta-btn:hover {
  box-shadow: var(--green-shadow);
  transition: all 0.6s ease;
}

.text-btn {
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--primary-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.text-btn:hover {
  color: var(--green);
}

.arrow-icon {
  width: 3rem;
  height: 3rem;
  background-image: url("/assets/icons/arrow-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: 0.125rem solid var(--off-white);
  border-radius: 100%;
  cursor: pointer;
}

.arrow-green {
  width: 3rem;
  height: 3rem;
  background-image: url("/assets/icons/arrow-green.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: 0.125rem solid var(--green);
  border-radius: 100%;
  cursor: pointer;
}

.hero {
  display: flex;
  background-image: url("/assets/img/hero3.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 3.5rem 2.5rem 2.5rem 0;
  position: relative;
  width: 100vw;
  height: auto;
  flex-shrink: 1;
}

@keyframes dots-light {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 100;
  }
  100% {
    opacity: 0.2;
  }
}

.hero-light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  width: 100vw;
  animation-name: dots-light;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes halfmoon {
  0% {
    background-image: url("/assets/img/half1.webp");
  }
  10% {
    background-image: url("/assets/img/half2.webp");
  }
  20% {
    background-image: url("/assets/img/half3.webp");
  }
  30% {
    background-image: url("/assets/img/half4.webp");
  }
  40% {
    background-image: url("/assets/img/half5.webp");
  }
  55% {
    background-image: url("/assets/img/half6.webp");
  }
  65% {
    background-image: url("/assets/img/half7.webp");
  }
  80% {
    background-image: url("/assets/img/half8.webp");
  }
  100% {
    background-image: url("/assets/img/half9.webp");
  }
}

.halfmoon-animation {
  background-image: url("/assets/img/half1.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 30vw;
  height: 1000px;
  position: absolute;
  top: -40px;
  right: 0;
  animation-name: halfmoon;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* mobile hero section */

.mobileHero__img {
  background-image: linear-gradient(
      to right top,
      rgba(0 0 0 /0.6) 0%,
      rgba(0 0 0 / 0) 90%
    ),
    url("/assets/img/hero-700px1.webp");
  width: 100%;
  min-width: 100vw;
  height: 280px;
  background-repeat: no-repeat, no-repeat;
  background-size: cover;
  background-position: top center;
  margin: 80px 0 0 0;
  position: relative;
}

.mobileHero__light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  width: 100vw;
  animation-name: dots-light;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.mobileHero__halfmoon-animation {
  background-image: url("/assets/img/half1.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 40vw;
  height: 700px;
  position: absolute;
  top: -24%;
  right: 0;
  animation-name: halfmoon;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  overflow-x: hidden;
}

.mobileHero__h2 {
  font-family: var(--secondary-font);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.625rem;
  text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1),
    0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
  padding: 3.75rem 0 0 1.5rem;
  width: 30%;
  text-transform: uppercase;
  opacity: 0.9;
}

.span--mobile {
  font-size: 1.125rem;
}

#mobileHero__cta {
  margin: 6.25rem auto;
}

.mobile-cta-btn {
  font-family: var(--primary-font);
  color: var(--green);
  font-size: 1.5rem;
  letter-spacing: 0.06rem;
  font-weight: 700;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25rem;
  border: 0.25rem solid transparent;
  position: relative;
  width: 20rem;
  height: 5rem;
  cursor: pointer;
  z-index: 1;
}

.mobile-cta-btn::before {
  content: "";
  position: absolute;
  width: 20rem;
  height: 5rem;
  background: var(--green-gradient);
  border-radius: 0.25rem;
  z-index: -10;
}

.mobile-cta-btn::after {
  content: "";
  position: absolute;
  width: 19.5rem;
  height: 4.5rem;
  background: var(--bg);
  z-index: -4;
}

.mobile-cta-btn:hover {
  box-shadow: var(--green-shadow);
  transition: all 0.6s ease;
}

.mobileHero-text {
  margin-top: 7.5rem;
  padding: 1.5rem 1.5rem;
}

.mobileHero__h1 {
  font-family: var(--secondary-font);
  font-size: 3rem;
  font-weight: 800;
  line-height: 3.5rem;
}

.intro {
  width: 80%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 201, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  background-blend-mode: plus-lighter;
  backdrop-filter: blur(0.8125rem);
  margin: -2.5rem 2.5rem 6.25rem auto;
  gap: 2.5rem;
  z-index: 60;
}

.intro__h3 {
  font-size: 2.25rem;
  letter-spacing: 0.09rem;
  font-weight: 700;
}

.intro__p {
  font-size: 1.25rem;
  line-height: 2rem;
  letter-spacing: 0.05rem;
  opacity: 0.8;
}

/* footer */

ul.footer__nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04rem;
  cursor: pointer;
  opacity: 0.8;
}

.footer__nav li:hover {
  color: var(--green);
}

ul.footer__contact {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.04rem;
  font-size: 0.875rem;
  gap: 1.125rem;
  opacity: 0.8;
}

#footer__contactTitle {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05rem;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  cursor: pointer;
  opacity: 0.8;
}

.social--linkedin {
  background-image: url("/assets/icons/linkedin-white.svg");
  background-repeat: no-repeat;
  width: 1.5rem;
  height: 1.5rem;
}

.social--linkedin:hover {
  background-image: url("/assets/icons/linkedin-green.svg");
}

.footer__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  width: 50vw;
}

.footer__rights {
  font-size: 0.625rem;
  letter-spacing: 0.015rem;
  font-weight: 300;
  opacity: 0.8;
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 0.0625rem solid rgba(0, 255, 201, 0.2);
}

/* ==== responsive ==== */

@media (max-width: 1320px) {
  .halfmoon-animation {
    top: -24px;
  }
  .intro {
    margin: -100px 40px 100px auto;
    width: 60%;
  }
}

@media (max-width: 1182px) {
  .hero {
    background-image: url("/assets/img/hero-1100px.webp");
    background-size: contain;
  }

  .hero__h1,
  #fr-hero__h1,
  #sp-hero__h1 {
    font-size: 4rem;
    line-height: 4.375rem;
  }
  .hero__h2 {
    font-size: 1.5rem;
    letter-spacing: 0.375rem;
  }
  .hero__text {
    width: 60vw;
  }
  .intro {
    width: 50%;
    margin: -9.375rem 2.5rem 6.25rem auto;
  }
  .footer__wrapper {
    width: 70%;
  }
}

@media (max-width: 900px) {
  .hero__h1,
  #fr-hero__h1,
  #sp-hero__h1 {
    font-size: 3.5rem;
  }
  .hero__text {
    width: 70vw;
  }
  ul.top-nav {
    gap: 1rem;
  }
  ul.top-nav li {
    font-size: 0.9375rem;
  }
  .intro {
    width: 90%;
    margin: 1rem auto 6.25rem auto;
  }
}

@media (max-width: 800px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .logo {
    width: 100px;
  }
  .footer__wrapper {
    width: 80%;
  }
}

@media (max-width: 700px) {
  .hero {
    display: none;
  }

  .mobileHero {
    display: block;
  }

  .intro {
    width: 100%;
    margin: 0 auto 6.25rem auto;
  }

  .intro__p {
    font-size: 0.9375rem;
  }

  ul.footer__nav {
    display: none;
  }

  #footer__contactTitle {
    display: none;
  }
  .footer__wrapper {
    flex-direction: column;
    width: 60%;
    gap: 2.5rem;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .mobileHero__halfmoon-animation {
    top: -14%;
  }
}
