* {
  box-sizing: border-box;
}

body {
  background-color: #1d201f;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

@font-face {
  font-family: "BebasNeue";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/Bebas_Neue/BebasNeue-Regular.ttf") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/Inter/Inter_18pt-Light.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/fonts/Inter/Inter_18pt-Thin.ttf) format("truetype");
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.overflow {
  overflow: hidden !important;
}

.desktop-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

header.scrolled {
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
  transition: all 0.3s ease-in-out;
}

.desktop-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.7rem 3.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  font-size: 1.2rem;
  color: #fcf6ec;
  text-decoration: none;
}

.current-site {
  color: #4a9c9d !important;
  font-weight: 200 !important;
}

.desktop-header button {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #4a9c9d;
  border: none;
  color: #fcf6ec;
  cursor: pointer;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  font-weight: 100;
  font-family: "Inter", sans-serif;
}

.mobile-header {
  display: none;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  padding: 1.2rem 1rem;
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
}

.mobile-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-desktop {
  width: 180px;
}

.logo-mobile {
  width: 180px;
  height: auto;
}

.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: #1d201f;
  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;
}

.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: 1.4rem;
  top: 1.8rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  top: 30%;
  left: 1.4rem;
  padding: 30% 2rem 2rem 2rem;
}

.menu-mobile-bottom {
  padding-bottom: 1rem;
}

.menu-links a {
  text-decoration: none;
  padding: 0.7rem 0;
  color: #fcf7eb;
  font-family: "BebasNeue", sans-serif;
  font-weight: 100;
  font-size: 2.2rem;
  line-height: 2rem;
}

.menu-divider {
  display: block;
  margin: 2rem 2rem 0 auto;
  width: calc(100% - 4rem);
  height: 2px;
}

.menu-divider line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.icons-menu {
  display: flex;
  color: #fcf7eb;
  font-family: "BebasNeue", sans-serif;
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 2rem;
  padding: 0.8rem 0 0 1.5rem;
}

.icons-menu a {
  margin: 0 0.5rem;
}

main {
  padding: 10rem 8rem 0 8rem;
  background-color: #1e201e;
}

h1 {
  color: #fcf6ec;
  font-weight: 400;
  font-family: "BebasNeue", sans-serif;
  font-size: 4.6rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  color: #fcf6ec;
  font-weight: 400;
  font-family: "BebasNeue", sans-serif;
  font-size: 3.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h3 {
  color: #fcf6ec;
  font-weight: 200;
  font-family: "BebasNeue", sans-serif;
  font-size: 3.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h4 {
  color: #fcf6ec;
  font-weight: 200;
  font-family: "BebasNeue", sans-serif;
  font-size: 2.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

main p {
  color: #fcf6ec;
  font-weight: 100;
  font-size: 1.4rem;
  line-height: 2rem;
  margin: 0;
}

main li {
  color: #fcf6ec;
  font-weight: 100;
  font-size: 1.4rem;
  line-height: 2rem;
}

main a {
  color: #4a9c9d;
  text-decoration: none;
  font-weight: 100;
  font-size: 1.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.date {
  margin-top: 2rem;
  font-family: monospace;
  font-size: 0.9rem;
}

footer {
  background-color: #171717;
  margin-top: calc(460px + 4rem);
  padding: 10rem 6rem 0.2rem 6rem;
  position: relative;
}

.footer-card-wrapper {
  position: absolute;
  top: -55%;
}

.racing-lines-wrapper-footer {
  position: absolute;
  top: calc(-55% - 2rem);
  left: 2.8rem;
  z-index: -1;
}

.footer-card {
  position: relative;
  background-color: #fcf6ec;
  height: auto;
  width: 90%;
  padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  box-shadow: 41px 41px 16px 0px rgba(118, 107, 107, 0),
    26px 26px 15px 0px rgba(118, 107, 107, 0.01),
    15px 15px 12px 0px rgba(118, 107, 107, 0.05),
    6px 6px 9px 0px rgba(118, 107, 107, 0.09),
    2px 2px 5px 0px rgba(118, 107, 107, 0.1);
  z-index: 1;
}

.footer-card h3 {
  margin-top: 0;
  font-family: "BebasNeue", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: #1d201f;
}

.footer-card p {
  font-size: 1.3rem;
  font-weight: 200;
  color: #1d201f;
}

.footer-card-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: 1px solid #1d201f;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.quick-link-item a {
  color: #1d201f;
  text-decoration: none;
  font-size: 1.3rem;
}

.quick-link-item p {
  color: #1d201f;
  margin: 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
}

.logo-side {
  width: 30%;
}

.logo-side img {
  width: 200px;
  height: auto;
}

.logo-side p {
  color: #fcf6ec;
  font-size: 1rem;
  font-weight: 100;
  width: 50%;
  margin-top: 1.8rem;
}

.links-side {
  width: 60%;
  display: flex;
  justify-content: space-evenly;
  padding-top: 3.4rem;
}

.links-side h4 {
  font-family: "BebasNeue", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #fcf6ec;
}

.links-side ul {
  padding: 0;
}

.links-side ul li {
  list-style: none;
  line-height: 1.6rem;
}

.links-side ul li a {
  font-size: 1rem;
  color: #fcf6ec;
  list-style: none;
  font-weight: 100;
  text-decoration: none;
}

.bottom-line {
  margin-top: 4rem;
  margin-bottom: 0.3rem;
  background: linear-gradient(
    270deg,
    rgba(47, 47, 47, 0.07) 12%,
    rgba(252, 246, 236, 0.2) 50.5%,
    rgba(47, 47, 47, 0.07) 87.5%
  );
  width: 100%;
  height: 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #fcf6ec;
  font-size: 0.9rem;
  font-weight: 100;
}

.footer-bottom a {
  color: #fcf6ec;
  font-size: 0.9rem;
  font-weight: 100;
  text-decoration: none;
}

.credits:hover {
  color: #4a9c9d;
}

@media (max-width: 768px) {
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  .hero-text {
    left: 1.5rem;
  }
  .cta-btns-wrapper {
    gap: 0.8rem;
  }
  main {
    padding: 40% 1.5rem 0 1.5rem;
  }
  h1 {
    font-size: 3.8rem;
    margin-top: 0;
  }

  h2 {
    font-size: 2.8rem;
  }
  h3 {
    font-size: 2.5rem;
  }
  h4 {
    font-size: 2.2rem;
  }
  .layout {
    width: 100%;
  }
  footer {
    padding: 10rem 1.5rem 0.2rem 1.5rem;
    margin-top: calc(460px + 6rem);
  }
  .racing-lines-wrapper-footer {
    top: calc(-50% - 2rem);
    left: 0;
  }
  .footer-card-wrapper {
    top: -50%;
    left: 1.5rem;
    right: 1.5rem;
  }
  .footer-card-layout {
    grid-template-columns: 1fr;
  }
  .footer-card {
    width: 100%;
  }
  .footer-card h3 {
    font-size: 2rem;
  }
  .quick-link-item {
    gap: 0.8rem;
  }
  .footer-card p {
    font-size: 1.1rem;
  }
  .quick-link-item a {
    font-size: 1.1rem;
  }
  .footer-layout {
    flex-direction: column;
  }
  .logo-side {
    width: 100%;
    margin-top: 2rem;
  }
  .logo-side p {
    width: 100%;
  }
  .links-side {
    flex-direction: column;
    padding-top: 0;
  }
  .links-side h4 {
    margin-bottom: 1rem;
    margin-top: 1.4rem;
  }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: 0.6rem;
  }
  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  .hero-text {
    left: 1.5rem;
  }
  .cta-btns-wrapper {
    gap: 0.8rem;
  }
  main {
    padding: 24% 1.5rem 0 1.5rem;
  }
  h1 {
    font-size: 3.8rem;
    margin-top: 0;
  }

  h2 {
    font-size: 2.8rem;
  }
  h3 {
    font-size: 2.5rem;
  }
  h4 {
    font-size: 2.2rem;
  }
  .layout {
    width: 100%;
  }
  footer {
    padding: 10rem 1.5rem 0.2rem 1.5rem;
    margin-top: calc(460px + 6rem);
  }
  .racing-lines-wrapper-footer {
    top: calc(-50% - 2rem);
    left: 0;
  }
  .footer-card-wrapper {
    top: -50%;
    left: 1.5rem;
    right: 1.5rem;
  }
  .footer-card-layout {
    grid-template-columns: 1fr;
  }
  .footer-card {
    width: 100%;
  }
  .footer-card h3 {
    font-size: 2rem;
  }
  .quick-link-item {
    gap: 0.8rem;
  }
  .footer-card p {
    font-size: 1.1rem;
  }
  .quick-link-item a {
    font-size: 1.1rem;
  }
  .footer-layout {
    flex-direction: column;
  }
  .logo-side {
    width: 100%;
    margin-top: 2rem;
  }
  .logo-side p {
    width: 100%;
  }
  .links-side {
    flex-direction: column;
    padding-top: 0;
  }
  .links-side h4 {
    margin-bottom: 1rem;
    margin-top: 1.4rem;
  }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: 0.6rem;
  }
  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .menu-links {
    padding-top: 7%;
  }
  main {
    padding-top: 15%;
  }
}
