* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #fbfbfb;
  overflow-x: hidden;
}

@font-face {
  font-family: "PPNeueCorp";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/fonts/PPNeueCorp/PPNeueCorp-CompactUltralight.woff2)
    format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/Roboto/Roboto-Light.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/fonts/Roboto/Roboto-ExtraLight.ttf) format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 200;
  src: url(/assets/fonts/Roboto/Roboto-LightItalic.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100;
  src: url(/assets/fonts/Roboto/Roboto-ExtraLightItalic.ttf) format("truetype");
}

.header-desktop {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1.8rem 2.4rem;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

header.scrolled {
  background-color: #fbfbfb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-links a {
  color: #1e201e;
}

.header-desktop nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #f6f0f0;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 100;
}

.lang-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-btn {
  padding: 14px 34px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 100;
  color: #f6f0f0;
  background-color: #255f38;
  border: none;
}

.mobile-header {
  display: none;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  padding: 15px;
  transition: all 0.4s ease-in-out;
}

.mobile-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-menu {
  background: transparent;
  border: none;
}

.line-menu {
  background-color: #fcf7eb;
  width: 25px;
  height: 1px;
  margin-bottom: 5px;
}

.line-small {
  background-color: #fcf7eb;
  width: 20px;
  height: 1px;
  margin-bottom: 5px;
  float: right;
}

.menu-mobile {
  display: none;
  background-color: #fbfbfb;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  height: 100%;
  height: 100dvh;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
}

.logo-mobile {
  width: 160px;
  height: auto;
}

.menu-mobile-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.menu-close {
  height: 20px;
  position: relative;
  width: 20px;
}

.menu-closing {
  position: absolute;
  right: 1rem;
  top: 1.8rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  top: 20%;
  left: 1rem;
  padding: 30% 2rem 2rem 2rem;
}

.menu-mobile-bottom {
  padding-bottom: 1rem;
}

.menu-links a {
  text-decoration: none;
  padding: 0.7rem 0;
  color: #1e201e;
  font-weight: 100;
  font-size: 2rem;
  line-height: 2rem;
}

.menu-divider {
  display: block;
  margin: 0 1rem;
  width: calc(100% - 2rem);
  height: 2px;
}

.menu-divider line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.language-switch {
  display: flex;
  color: #1e201e;
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 2rem;
  padding: 0.8rem 0 0 1.5rem;
}

.language-switch a {
  text-decoration: none;
  color: #1e201e;
  margin: 0 0.5rem;
}

.hero-layout {
  position: relative;
  width: 100%;
  height: 68vh;
}

.starter-img-wrapper {
  width: 100%;
  height: 68vh;
}

.starter-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 6rem;
  width: 60%;
}

h1 {
  font-family: "PPNeueCorp", sans-serif;
  font-size: 3.7rem;
  line-height: 3.9rem;
  color: #f6f0f0;
  font-weight: 100;
  max-width: 100%;
  margin-top: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.fast-navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fast-navigation a {
  font-size: 1.1rem;
  color: #f6f0f0;
  font-weight: 100;
  text-decoration: none;
}

.products-section {
  margin: 10rem 8rem;
}

.products-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.product-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.product-text {
  width: 50%;
}

.product-img {
  width: 50%;
}

.product-title h2 {
  font-family: "PPNeueCorp", sans-serif;
  color: #1e201e;
  font-weight: 100;
  font-size: 2.6rem;
  line-height: 3rem;
  margin-top: 0;
}

.product-info {
  margin-top: 4rem;
}

.product-info h3 {
  font-size: 1.4rem;
  font-weight: 200;
}

.usecase-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.usecase p {
  background-color: #d9d9d9;
  padding: 4px 18px;
  display: inline;
  border-radius: 20px;
  margin: 0;
  font-weight: 100;
  font-size: 1rem;
}

.product-btns {
  margin-top: 4rem;
}

.product-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.product-btns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.product-btns button {
  background-color: #255f38;
  border: none;
  padding: 14px 16px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 100;
  color: #f6f0f0;
}

.product-btns a {
  color: #1e201e;
  font-size: 1.2rem;
  font-weight: 100;
  text-decoration: none;
}

.custom-prodcuts-wrapper {
  position: relative;
}

.custom-products-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  display: block;
}

.custom-products-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.custom-products-text h2 {
  font-family: "PPNeueCorp", sans-serif;
  color: #f6f0f0;
  font-weight: 100;
  font-size: 3rem;
}

.custom-products-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.custom-products-btns button {
  background-color: #255f38;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 100;
  color: #f6f0f0;
}

.custom-products-btns a {
  color: #f6f0f0;
  font-size: 1.2rem;
  font-weight: 100;
  text-decoration: none;
}

.custom-products-gradient {
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(217, 217, 217, 0.02) 3.08%,
    rgba(217, 217, 217, 0.15) 37.23%,
    #eff3ea 98.94%
  );
  height: 110px;
  width: 100%;
}

footer {
  background-color: #eff3ea;
  position: relative;
  z-index: 2;
  padding: 4rem 8rem 1rem 8rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.footer-layout-inner {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.footer-item {
  width: 50%;
}

.footer-card {
  position: relative;
}

.card-item {
  position: absolute;
  top: -100%;
  background-color: #fbfbfb;
  padding: 1rem;
  box-shadow: 0px 256px 72px 0px rgba(0, 0, 0, 0),
    0px 164px 66px 0px rgba(0, 0, 0, 0.01),
    0px 92px 55px 0px rgba(0, 0, 0, 0.05), 0px 41px 41px 0px rgba(0, 0, 0, 0.09),
    0px 10px 23px 0px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 300px;
  height: auto;
}

.card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer-card-text h3 {
  font-family: "PPNeueCorp", sans-serif;
  color: #1e201e;
  font-size: 1.6rem;
  line-height: 1.8rem;
  font-weight: 100;
  margin-top: 10px;
  margin-bottom: 8px;
}

.footer-card-text p {
  color: #1e201e;
  font-size: 1.2rem;
  font-weight: 100;
  margin-top: 10px;
}

.footer-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 25px;
}

.footer-card-link a {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 0px;
}

.footer-card-link img {
  transition: transform 0.3s ease-in-out;
}

.footer-card-link:hover img {
  transform: rotate(-415deg);
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h3 {
  font-family: "PPNeueCorp", sans-serif;
  color: #1e201e;
  font-size: 1.7rem;
  font-weight: 100;
  margin-bottom: 10px;
}

.footer-links a {
  color: #1e201e;
  font-weight: 100;
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1.8rem;
}

.text {
  height: 1.8rem;
  line-height: 1.8rem;
  overflow: hidden !important;
  position: relative;
  display: inline-block;
}

.footer-contact {
  display: flex;
  justify-content: flex-end;
}

.mail-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.envelope-wrapper {
  height: 65px;
  width: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  border: 1px solid #1e201e;
  cursor: pointer;
}

.footer-contact a {
  font-size: 1.5rem;
  font-weight: 100;
  color: #1e201e;
  text-decoration: none;
}

.footer-settings {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  gap: 1rem;
  margin-top: 6rem;
}

.settings-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scroll-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1e201e;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 100;
  text-decoration: none;
}

.settings-item a {
  color: #1e201e;
  font-size: 1rem;
  font-weight: 100;
  text-decoration: none;
}

.footer-line {
  width: 100%;
  height: 1px;
  background-color: #bab5ae;
  margin: 15px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 1rem;
  font-weight: 100;
  color: #1e201e;
}

.footer-allspark {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-allspark a {
  color: #1e201e;
  font-size: 1rem;
  font-weight: 100;
  text-decoration: none;
}

.footer-credits a {
  color: #1e201e;
  font-size: 1rem;
  font-weight: 100;
  text-decoration: none;
}

.text.play .letter {
  transform: translateY(-100%);
}

.text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.024, 1);
  position: relative;
}

.letter:nth-child(1) {
  transition-delay: 0s;
}
.letter:nth-child(2) {
  transition-delay: 0.015s;
}
.letter:nth-child(3) {
  transition-delay: 0.03s;
}
.letter:nth-child(4) {
  transition-delay: 0.045s;
}
.letter:nth-child(5) {
  transition-delay: 0.06s;
}
.letter:nth-child(6) {
  transition-delay: 0.075s;
}
.letter:nth-child(7) {
  transition-delay: 0.09s;
}
.letter:nth-child(8) {
  transition-delay: 0.105s;
}
.letter:nth-child(9) {
  transition-delay: 0.12s;
}
.letter:nth-child(10) {
  transition-delay: 0.135s;
}
.letter:nth-child(11) {
  transition-delay: 0.15s;
}
.letter:nth-child(12) {
  transition-delay: 0.165s;
}
.letter:nth-child(13) {
  transition-delay: 0.18s;
}
.letter:nth-child(14) {
  transition-delay: 0.195s;
}
.letter:nth-child(15) {
  transition-delay: 0.21s;
}
.letter:nth-child(16) {
  transition-delay: 0.225s;
}
.letter:nth-child(17) {
  transition-delay: 0.24s;
}
.letter:nth-child(18) {
  transition-delay: 0.255s;
}
.letter:nth-child(19) {
  transition-delay: 0.27s;
}
.letter:nth-child(20) {
  transition-delay: 0.285s;
}
.letter:nth-child(21) {
  transition-delay: 0.3s;
}
.letter:nth-child(22) {
  transition-delay: 0.315s;
}
.letter:nth-child(23) {
  transition-delay: 0.33s;
}
.letter:nth-child(24) {
  transition-delay: 0.345s;
}
.letter:nth-child(25) {
  transition-delay: 0.36s;
}
.letter:nth-child(26) {
  transition-delay: 0.375s;
}
.letter:nth-child(27) {
  transition-delay: 0.39s;
}
.letter:nth-child(28) {
  transition-delay: 0.405s;
}

@media (max-width: 768px) {
  .header-desktop {
    display: none;
  }
  .mobile-header {
    display: flex;
  }

  .hero-text {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }
  h1 {
    font-size: 2.7rem;
    line-height: 2.7rem;
  }

  .products-section {
    margin: 8rem 1rem;
  }

  .products-wrapper {
    gap: 6rem;
  }

  .product-item {
    flex-direction: column-reverse;
  }

  .product-text {
    width: 100%;
  }

  .product-title h2 {
    font-size: 2.6rem;
    line-height: 2.6rem;
  }

  .rmv-mobile {
    display: none !important;
  }

  .product-info {
    margin-top: 1rem;
  }

  .product-btns {
    margin-top: 2rem;
  }

  .usecase-wrapper {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .usecase {
    margin-bottom: 0.5rem;
  }

  .product-btns a,
  .product-btns img {
    display: none;
  }

  .product-img {
    width: 100%;
  }

  .product-item:nth-of-type(3) .product-img img {
    object-position: 100% 0%;
  }

  .custom-products {
    padding: 0;
  }

  .custom-products-text {
    top: 30%;
    width: 100%;
  }

  .custom-products-text h2 {
    font-size: 2.2rem;
    line-height: 2.3rem;
  }

  .partners-images img {
    height: 400px;
  }

  .custom-products {
    height: 100vh;
  }

  .custom-products-img img {
    height: 100vh;
  }

  footer {
    padding: 4rem 1rem 1rem 1rem;
  }

  .footer-layout {
    flex-direction: column;
  }
  .footer-card {
    display: none;
  }
  .footer-contact {
    justify-content: flex-start;
    margin-top: 2rem;
  }
  .footer-item {
    width: 100%;
  }
  .footer-settings {
    justify-content: flex-start;
    margin-top: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    gap: 1rem;
  }
  .footer-bottom p {
    font-size: 0.9rem;
  }
  .footer-credits a {
    font-size: 0.9rem;
  }
  .footer-logo {
    display: none;
  }

  .footer-settings {
    justify-content: flex-start;
    margin-top: 4rem;
    gap: 0.5rem;
  }

  .envelope-wrapper {
    width: 60px;
    height: 60px;
  }

  .mail-wrapper {
    gap: 0.5rem;
  }

  .footer-allspark {
    gap: 0.4rem;
  }

  .footer-contact a {
    font-size: 1.4rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-desktop {
    display: none;
  }
  .mobile-header {
    display: flex;
    padding: 2rem;
  }

  .hero-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: calc(100% - 4rem);
  }
  h1 {
    font-size: 2.7rem;
    line-height: 2.7rem;
  }

  .products-section {
    margin: 8rem 2rem;
  }

  .product-item {
    flex-direction: column-reverse;
  }

  .product-text {
    width: 100%;
  }

  .product-title h2 {
    font-size: 2.6rem;
    line-height: 2.6rem;
  }

  .rmv-mobile {
    display: none !important;
  }

  .product-info {
    margin-top: 1rem;
  }

  .product-btns {
    margin-top: 2rem;
  }

  .usecase-wrapper {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .usecase {
    margin-bottom: 0.5rem;
  }

  .product-btns a,
  .product-btns img {
    display: none;
  }

  .product-img {
    width: 100%;
  }

  .product-item:nth-of-type(3) .product-img img {
    object-position: 100% 0%;
  }

  .custom-products {
    padding: 0;
  }

  .custom-products-text {
    top: 30%;
    width: 100%;
  }

  .custom-products-text h2 {
    font-size: 2.2rem;
    line-height: 2.3rem;
  }

  .partners-images img {
    height: 400px;
  }

  .custom-products {
    height: 80vh;
  }

  .custom-products-img img {
    height: 80vh;
  }

  footer {
    padding: 4rem 1rem 1rem 1rem;
  }

  .footer-layout {
    flex-direction: column;
  }
  .footer-card {
    display: none;
  }
  .footer-contact {
    justify-content: flex-start;
    margin-top: 2rem;
  }
  .footer-item {
    width: 100%;
  }
  .footer-settings {
    justify-content: flex-start;
    margin-top: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    gap: 1rem;
  }
  .footer-bottom p {
    font-size: 0.9rem;
  }
  .footer-credits a {
    font-size: 0.9rem;
  }
  .footer-logo {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .menu-links {
    padding-top: 7%;
  }
  h1 {
    font-size: 3rem;
    line-height: 3rem;
  }
  .hero-text {
    position: absolute;
    bottom: 2rem;
    left: 5rem;
    width: calc(100% - 10rem);
  }
  .products-section {
    margin: 10rem 5rem;
  }
  .custom-products-text {
    top: 20%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1520px) {
  h1 {
    font-size: 3.2rem;
    line-height: 3.2rem;
  }

  .products-section {
    margin: 10rem 5rem;
  }

  .product-title h2 {
    font-size: 2.6rem;
    line-height: 2.6rem;
  }
  .partners-section {
    padding: 4rem 5rem;
  }
  .custom-products-text {
    top: 20%;
  }
  .custom-products-text h2 {
    font-size: 2.6rem;
    line-height: 2.7rem;
  }
  footer {
    padding: 4rem 5rem 1rem 5rem;
  }
}
