@font-face {
  font-family: "League_Spartan";
  src: url("./League_Spartan/LeagueSpartan-VariableFont_wght.ttf");
}

:root {
  --White: hsl(0, 100%, 100%);
  --Grey-500: hsl(0, 0%, 63%);
  --Grey-800: hsl(0, 0%, 27%);
  --Black: hsl(0, 0%, 0%);

  --header-font-color: var(--White);
  --p-color: var(--Grey-500);
}

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

body {
  font-family: "League_Spartan";
}

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--p-color);
}

.container {
  padding-inline: 50px;
  max-width: 1200px;
  margin-right: auto;
  @media (width<1024px) {
    max-width: 900px;
    padding-inline: 40px;
  }
  @media (width<768px) {
    max-width: 425px;
    padding-inline: 30px;
  }
  @media (width<425px) {
    max-width: 100%;
    padding-inline: 20px;
  }
}

/* header */

header {
  color: var(--header-font-color);
  padding-block: 30px;
  position: absolute;
  width: 100%;
  background: transparent;
  z-index: 1;
}

header .container {
  display: flex;
  gap: 20px;
  align-items: center;
  @media (width<425px) {
    /* justify-content: center; */
  }
}

header .header__img__hamburger {
  display: none;
  @media (width<425px) {
    display: block;
    cursor: pointer;
  }
}

.header__logo {
  @media (width<425px) {
    margin-inline: auto;
  }
}

header nav {
  @media (width<425px) {
    /* display: none; */
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: 0.5s;
    &.active {
      transform: translateX(0);
      left: 0;
      top: 0;
      background: white;
      width: 100%;
      color: black;
    }
    padding-block: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.header__closeImage {
  display: none;
  @media (width<425px) {
    display: block;
    padding-left: 20px;
    cursor: pointer;
  }
}

header .nav__list {
  display: flex;
  list-style-type: none;
  gap: 10px;
}
header .nav__item {
  cursor: pointer;
  padding: 10px 20px;
  @media (width<425px) {
    padding-inline: 10px;
  }
}

/* hero */

.hero {
  overflow: auto;
  scrollbar-width: none;
}
.hero__wrapper {
  display: flex;
  transition: 0.5s;
}
.hero__slide {
  display: grid;
  grid-template-columns: 60% 40%;
  flex-shrink: 0;
  width: 100%;
  @media (width<953px) {
    grid-template-columns: 1fr;
  }
}

.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  @media (width<953px) {
    gap: 30px;
  }
}

.hero .img-holder img {
  width: 100%;
}

.hero__description {
  padding: 70px 70px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__title {
  font-size: 40px;
}
.hero__text {
}

.hero__link {
  color: var(--Grey-800);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 10px;
  text-transform: uppercase;
}
.hero__buttons {
  width: fit-content;
  /* padding: 20px; */
  background: black;
}

.hero__buttons button {
  padding: 25px;
  background: black;
  color: white;
  cursor: pointer;
  border: none;

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* About */

.about {
  display: grid;

  grid-template-columns: repeat(3, calc(100% / 3));
  @media (width<953px) {
    grid-template-columns: 100%;
  }
}
.about__left,
.about__right {
  img {
    @media (width<953px) {
      width: 100%;
      object-fit: cover;
    }
  }
}
.about__middle {
  padding: 40px;
}

.about__title {
  font-size: 25px;
  margin-bottom: 20px;
}

.about__right {
}
