* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fffbf7;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url(/assets/font/Inter/static/Inter_18pt-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/font/Inter/static/Inter_18pt-Light.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/font/Inter/static/Inter_18pt-Thin.ttf) format("truetype");
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

.mobile-header {
  display: none;
}

.logo-mobile {
  width: 75px;
}

header.scrolled {
  background-color: #fffbf7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
}

.nav-link.scrolled {
  color: #27272a;
  font-weight: 200;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: #27272a;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 200;
}

.cta-btn-nav {
  background-color: #d81d14;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 45px;
  color: #fff6ec;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  cursor: pointer;
}

.cta-btn-nav p {
  margin-left: -3px;
  display: flex;
  align-items: center;
}

.cta-nav-link {
  text-decoration: none;
}

main {
  padding: 7% 8rem 5% 8rem;
  color: #27272a;
}

main h1 {
  font-size: 5.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

main h2 {
  font-size: 2.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

main h3 {
  font-size: 2.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

main h4 {
  font-size: 2rem;
  hyphens: auto;
}

main p {
  font-size: 1.2rem;
  font-weight: 200;
  margin: 0.5rem 0;
}

.date {
  margin-top: 2rem;
  font-family: monospace;
  font-size: 0.9rem;
}

main ul li {
  font-size: 1.2rem;
  font-weight: 200;
  margin: 0.5rem 0;
}

main a {
  color: #d81d14;
  display: inline-block;
  font-weight: 200;
  position: relative;
  text-decoration: none;
  font-size: 1.1rem;
  word-break: break-all;
}

main a:before {
  background-color: #d81d14;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease;
  width: 0;
}

main a:hover:before {
  width: 100%;
}

footer {
  padding: 3rem;
}

.footer-inner {
  background-color: #ffff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.footer-layout-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links-layout {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-layout-top h4 {
  font-size: 1.3rem;
  font-weight: 300;
  color: #71717a;
  margin-bottom: 0;
  margin-top: 0;
}

.links-layout ul {
  padding: 0;
}

.links-layout ul li {
  list-style: none;
}

.links-layout ul li a {
  font-weight: 200;
  list-style: none;
  color: #27272a;
  font-size: 1rem;
  line-height: 1.5rem;
  text-decoration: none;
}

.links-layout ul li a:hover {
  color: #d81d14;
}

.quick-links-wrapper {
  padding: 4rem 0 10rem 0;
}

.quick-link-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.quick-links-wrapper a {
  font-size: 1.7rem;
  color: #27272a;
  font-weight: 300;
  text-decoration: none;
}

.quick-link-animate {
  height: 2rem;
  overflow: hidden !important;
  position: relative;
  display: inline-block;
}

.quick-link-animate.play .letter {
  transform: translateY(-100%);
}

.quick-link-animate .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.01s;
}

.letter:nth-child(3) {
  transition-delay: 0.02s;
}

.letter:nth-child(4) {
  transition-delay: 0.03s;
}

.letter:nth-child(5) {
  transition-delay: 0.04s;
}

.letter:nth-child(6) {
  transition-delay: 0.05s;
}

.letter:nth-child(7) {
  transition-delay: 0.06s;
}

.letter:nth-child(8) {
  transition-delay: 0.07s;
}

.letter:nth-child(9) {
  transition-delay: 0.08s;
}

.letter:nth-child(10) {
  transition-delay: 0.09s;
}

.letter:nth-child(11) {
  transition-delay: 0.1s;
}

.letter:nth-child(12) {
  transition-delay: 0.11s;
}

.letter:nth-child(13) {
  transition-delay: 0.12s;
}

.letter:nth-child(14) {
  transition-delay: 0.13s;
}

.letter:nth-child(15) {
  transition-delay: 0.14s;
}

.letter:nth-child(16) {
  transition-delay: 0.15s;
}

.letter:nth-child(17) {
  transition-delay: 0.16s;
}

.letter:nth-child(18) {
  transition-delay: 0.17s;
}

.letter:nth-child(19) {
  transition-delay: 0.18s;
}

.letter:nth-child(20) {
  transition-delay: 0.19s;
}

.letter:nth-child(21) {
  transition-delay: 0.2s;
}

.letter:nth-child(22) {
  transition-delay: 0.21s;
}

.letter:nth-child(23) {
  transition-delay: 0.22s;
}

.letter:nth-child(24) {
  transition-delay: 0.23s;
}

.letter:nth-child(25) {
  transition-delay: 0.24s;
}
.letter:nth-child(26) {
  transition-delay: 0.25s;
}

.legal-links-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 10;
  position: relative;
}

.legal-links-wrapper {
  display: flex;
  gap: 2rem;
}

.legal-links-layout p {
  margin: 0;
  font-weight: 200;
  font-size: 0.9rem;
  color: #52525b;
}

.legal-links-layout a {
  margin: 0;
  font-weight: 200;
  font-size: 0.9rem;
  color: #52525b;
  text-decoration: none;
}

.legal-links-wrapper a:hover {
  color: #d81d14;
}

.footer-logo-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 80%;
  width: 50%;
}

.footer-logo-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 16px 20px;
    z-index: 100;
    box-sizing: border-box;
  }

  .mobile-header nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  main {
    padding: 30% 2rem 5% 2rem;
    color: #27272a;
  }
  main h1 {
    font-size: 3rem;
  }
  .break-desktop {
    display: none;
  }
  footer {
    padding: 1rem;
  }
  .footer-inner {
    padding: 2rem 1rem;
  }
  .quick-links-wrapper {
    padding-bottom: 8rem;
  }
  .quick-links-wrapper a {
    font-size: 1.3rem;
  }
  .quick-link-item img {
    width: 25px;
  }
  .quick-link-animate {
    height: 1.8rem;
  }
  .legal-links-layout {
    flex-direction: column;
    text-align: center;
    gap: 0rem;
  }
  .legal-links-wrapper {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .legal-links-layout div {
    margin-top: 1rem;
  }
  .footer-logo-wrapper {
    height: auto;
    width: 60%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 16px 20px;
    z-index: 100;
    box-sizing: border-box;
  }

  .mobile-header nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  main {
    padding: 20% 2rem 5% 2rem;
    color: #27272a;
  }
  main h1 {
    font-size: 3rem;
  }
  .break-desktop {
    display: none;
  }
  footer {
    padding: 1rem;
  }
  .footer-inner {
    padding: 2rem 1rem;
  }
  .quick-links-wrapper {
    padding-bottom: 8rem;
  }
  .quick-links-wrapper a {
    font-size: 1.3rem;
  }
  .quick-link-item img {
    width: 25px;
  }
  .quick-link-animate {
    height: 1.8rem;
  }
  .legal-links-layout {
    flex-direction: column;
    text-align: center;
    gap: 0rem;
  }
  .legal-links-wrapper {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .legal-links-layout div {
    margin-top: 1rem;
  }
  .footer-logo-wrapper {
    height: auto;
    width: 60%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  main {
    padding-top: 15%;
  }
}

@media only screen and (min-width: 2560px) {
  .desktop-header {
    padding: 26px 54px;
  }

  .mobile-header {
    display: none;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .cta-btn-nav p {
    font-size: 1.2rem;
  }

  main p {
    font-size: 1.3rem;
  }

  main a {
    font-size: 1.3rem;
  }

  .quick-link-animate {
    font-size: 2.2rem;
  }
  .footer-layout-top h4 {
    font-size: 1.4rem;
  }
  .links-layout ul li a {
    font-size: 1.2rem;
  }
  .legal-links-layout p {
    font-size: 1.1rem;
  }
  .legal-links-layout a {
    font-size: 1.1rem;
  }
}
