@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
::selection {
  background: hsl(0, 100%, 50%);
  color: hsl(0, 0%, 100%);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inter, system-ui;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  background: hsl(0, 0%, 0%);
  color: hsl(0, 0%, 100%);
}

.header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  background: hsl(from hsl(0, 0%, 0%) h s l/0.8);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(86rem, 100%);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo .nav__logo-title {
  color: hsl(0, 100%, 50%);
}
.nav__ul {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav__ul .nav__li {
  display: flex;
  gap: 0;
}
.nav__ul .nav__li .nav__a {
  color: currentColor;
  text-decoration: none;
  padding: 1rem 2rem;
  transition: background 0.15s linear;
}
.nav__ul .nav__li .nav__a:hover {
  background: hsl(0, 100%, 50%);
}
.nav .nav__toggle-sidebar,
.nav .nav__overlay-sidebar {
  display: none;
}

.main section:not(.hero) {
  margin-top: 3rem;
  padding: 0 1rem 0;
  scroll-margin-top: 4rem;
}
.main *:not(.hero *) {
  translate: 0 1rem;
  transition: translate 0.5s ease;
}
.main *:not(.hero *).view {
  translate: 0;
}
.main .section__title {
  position: relative;
  font-size: clamp(2rem, 7vw, 3rem);
  padding-left: 1rem;
}
.main .section__title:not(.overview__title):not(.about-gr__title) {
  border-bottom: 1px solid hsl(0, 100%, 50%);
  margin-bottom: 1rem;
}
.main .section__title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 5px;
  height: 85%;
  background: hsl(0, 100%, 50%);
  transform: skew(-15deg);
}
.main .section__heading {
  font-size: 1.5rem;
}
.main ul {
  list-style: none;
}

.hero {
  background: url(/assets/img/hero/hero.webp) center right/cover no-repeat;
}
@media (max-width: 52rem) {
  .hero {
    background: url(/assets/img/hero/hero2.jpg) center/contain no-repeat;
  }
}
.hero .hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(70rem, 100%);
  margin: 0 auto;
  justify-content: center;
  height: 100dvh;
  padding: 0 0 1rem 1rem;
}
@media (max-width: 52rem) {
  .hero .hero__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 52rem) {
  .hero .hero__content {
    justify-content: flex-end;
  }
}
.hero .hero__content .hero__heading {
  font-size: clamp(3.6rem, 9vw, 8rem);
  font-weight: 900;
  width: 7ch;
  line-height: 0.86;
  text-shadow: -2px -2px 0 hsl(0, 0%, 0%), 2px -2px 0 hsl(0, 0%, 0%), -2px 2px 0 hsl(0, 0%, 0%), 2px 2px 0 hsl(0, 0%, 0%);
}
.hero .hero__content .hero__paragraph {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 0 2rem hsl(0, 0%, 0%);
}

.overview {
  display: flex;
  gap: 2rem;
  width: min(70rem, 100%);
  margin: 0 auto;
}
@media (max-width: 52rem) {
  .overview {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
.overview .overview__img {
  position: relative;
}
.overview .overview__img::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -55% -45%;
  width: 100%;
  height: 100%;
  background: hsl(0, 100%, 50%);
  z-index: -1;
}
.overview .overview__img img {
  width: 100%;
}
.overview .overview__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 52rem) {
  .overview .overview__content .overview__title {
    margin-top: 1.5rem;
  }
}
.overview .overview__content .overview__stats {
  display: flex;
  gap: 0;
  margin-top: auto;
}
.overview .overview__content .overview__stats .overview__stats-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
  flex: 1 1 0;
}
.overview .overview__content .overview__stats .overview__stats-item .overview__stats-value {
  font-size: clamp(1rem, 6vw, 1.5rem);
  font-weight: 700;
}
.overview .overview__content .overview__stats .overview__stats-item:not(:last-child) {
  border-right: 2px solid hsl(0, 100%, 50%);
}

.design {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.design .design__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 52rem) {
  .design .design__content .design__card {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
.design .design__content .design__card {
  display: flex;
  gap: 0;
  background: hsl(from hsl(0, 0%, 100%) h s l/0.2);
}
.design .design__content .design__card .design__card-img {
  flex: 2;
  min-width: 0;
  width: 100%;
}
.design .design__content .design__card .design__card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.interior {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.interior .interior__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  grid-template-areas: "card-1 card-1" "card-2 card-3";
}
@media (max-width: 52rem) {
  .interior .interior__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 1rem;
  }
}
.interior .interior__content .interior__card:first-child {
  grid-area: card-1;
}
.interior .interior__content .interior__card:nth-child(2) {
  grid-area: card-2;
}
.interior .interior__content .interior__card:last-child {
  grid-area: card-3;
}
.interior .interior__content .interior__card {
  background: hsl(from hsl(0, 0%, 100%) h s l/0.2);
}
.interior .interior__content .interior__card .interior__card-img {
  width: 100%;
}
.interior .interior__content .interior__card .interior__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.drivetrain {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.drivetrain .drivetrain__content {
  display: flex;
  gap: 1rem;
}
@media (max-width: 52rem) {
  .drivetrain .drivetrain__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
.drivetrain .drivetrain__content .drivetrain__card {
  background: hsl(from hsl(0, 0%, 100%) h s l/0.2);
}
.drivetrain .drivetrain__content .drivetrain__card .drivetrain__card-img {
  width: 100%;
}
.drivetrain .drivetrain__content .drivetrain__card .drivetrain__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.colours {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.colours .colours__content {
  display: flex;
  gap: 1rem;
}
@media (max-width: 52rem) {
  .colours .colours__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
.colours .colours__content .colours__card {
  width: 100%;
}
.colours .colours__content .colours__card .colours__card-img {
  Width: 100%;
}
.colours .colours__content .colours__card .colours__card-content {
  text-align: center;
  background: hsl(from hsl(0, 0%, 100%) h s l/0.2);
  padding: 1rem;
}
.colours .colours__content .colours__card .colours__card-content .section__heading {
  font-size: 2rem;
}

.gallery {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.gallery .gallery__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-template-areas: "card-1 card-1 card-2 card-4" "card-1 card-1 card-3 card-5";
}
@media (max-width: 52rem) {
  .gallery .gallery__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 1rem;
  }
}
.gallery .gallery__content .gallery__card:first-child {
  grid-area: card-1;
}
.gallery .gallery__content .gallery__card:nth-child(2) {
  grid-area: card-2;
}
.gallery .gallery__content .gallery__card:nth-child(3) {
  grid-area: card-3;
}
.gallery .gallery__content .gallery__card:nth-child(4) {
  grid-area: card-4;
}
.gallery .gallery__content .gallery__card:last-child {
  grid-area: card-5;
}
.gallery .gallery__content .gallery__card {
  border: 2px solid hsl(0, 100%, 50%);
  position: relative;
}
.gallery .gallery__content .gallery__card .gallery__card-img {
  display: block;
  width: 100%;
}
.gallery .gallery__content .gallery__card .gallery__card-span {
  position: absolute;
  content: "";
  bottom: 3%;
  right: 3%;
  font-weight: 700;
  font-size: 1.5rem;
}

.commercial {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.commercial .commercial__content .commercial__video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

.other-cars {
  max-width: min(100rem, 100%);
  margin: 0 auto;
}
.other-cars .other-cars__content {
  display: flex;
  gap: 0;
  align-items: flex-end;
}
@media (max-width: 52rem) {
  .other-cars .other-cars__content {
    display: flex;
    gap: 0;
    flex-direction: column;
    gap: 0;
  }
}
.other-cars .other-cars__content .other-cars__card {
  width: 100%;
}
.other-cars .other-cars__content .other-cars__card .other-cars__card-img {
  Width: 100%;
}
.other-cars .other-cars__content .other-cars__card .other-cars__card-content {
  text-align: center;
}

.about-gr {
  background: url(/assets/img/about-gr/bg.jpg) center right/cover no-repeat;
}
.about-gr .about-gr__content {
  max-width: min(100rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1rem;
}

.footer {
  max-width: min(100rem, 100%);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-between;
  padding: 1.5rem 2rem 1.5rem;
}
@media (max-width: 52rem) {
  .footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-end;
  }
}
.footer ul {
  list-style: none;
}
.footer ul a {
  color: currentColor;
  text-decoration: none;
}
.footer ul a:hover {
  text-decoration: underline;
}
.footer .copyright .copyright__heading {
  color: hsl(0, 100%, 50%);
  font-size: 2rem;
}
.footer .technologies .technologies__ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer .technologies .technologies__ul .technologies__li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.footer .technologies .technologies__ul .technologies__li .technologies__img {
  height: 2REM;
  width: 2REM;
}

@media (max-width: 52rem) {
  .nav {
    padding: 0.4rem 2rem;
  }
  .nav .nav__toggle-sidebar {
    display: block;
    width: 1.6rem;
    height: 2rem;
    border: none;
    background: none;
  }
  .nav .nav__toggle-sidebar .bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: hsl(0, 0%, 100%);
    transition: 0.3s ease;
  }
  .nav .nav__toggle-sidebar .bar.active:first-child {
    translate: 0 8px;
    rotate: 45deg;
  }
  .nav .nav__toggle-sidebar .bar.active:nth-child(2) {
    opacity: 0;
  }
  .nav .nav__toggle-sidebar .bar.active:last-child {
    translate: 0 -8px;
    rotate: -45deg;
  }
  .nav__ul {
    position: fixed;
    top: 3.28rem;
    right: -120%;
    width: 15rem;
    height: 100dvh;
    padding-top: 3rem;
    flex-direction: column;
    background: hsl(from hsl(0, 0%, 0%) h s l/0.8);
    box-shadow: 0 0 2rem hsl(0, 0%, 0%);
    z-index: 998;
    transition: right 0.5s ease;
  }
  .nav__ul.active {
    right: 0;
  }
  .nav__ul .nav__a {
    width: 100%;
  }
  .nav .nav__overlay-sidebar.active {
    display: block;
    position: fixed;
    inset: 0;
    background: hsl(from hsl(0, 0%, 0%) h s l/0.35);
    z-index: -1;
  }
}

/*# sourceMappingURL=style.css.map */
