/* -------------------------------------------------- */
/* 🦸 Hero */
/* -------------------------------------------------- */

.hero {
  width: 100%;
  height: calc(100svh - var(--header-heigth));
  position: relative;
  display: flex;
  justify-content: left;
  align-items: center;
  color: var(--color-white);
}
.hero img {
  position: absolute;
  top: 0;
  width: 100%;
  height: calc(100svh - var(--header-heigth));
  object-fit: cover;
}
.hero .overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(rgba(1, 50, 99, 0.5), rgba(1, 50, 99, 0.3));
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  height: 100%;
  color: var(--color-light);
}

.hero__title {
  width: 100%;
}

@media (min-width: 992px) {
  .hero__title {
    width: 70%;
  }
  .hero__description {
    width: 60%;
  }
}

.scroll-down {
  position: absolute;
  bottom: 100px;
  border-radius: 50%;
  background: #fff;
  width: 15px;
  height: 15px;
  -webkit-animation: bounce 0.5s;
  animation: bounce 0.5s;
  -webkit-animation-timing-function: cubic-bezier(0.5, 0.05, 1, 0.5);
  animation-timing-function: cubic-bezier(0.5, 0.05, 1, 0.5);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  content: "";
}

.scroll-down svg {
  width: 15px;
  height: 15px;
}

@keyframes bounce {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, 50px, 0);
  }
}

/* -------------------------------------------------- */
/* 👨‍🏭 About */
/* -------------------------------------------------- */

.about {
  flex-direction: column;
  padding-block: 4rem;
}

.about-img {
  width: 100%;
}

.about p {
  width: auto;
  max-width: 55ch;
}

@media (min-width: 992px) {
  .about {
    flex-direction: row;
    padding-block: 6rem;
    justify-content: space-between;
  }
  .about__title {
    max-width: 85%;
  }
  .about-left {
    flex: 0 0 55%;
  }

  .about-right {
    margin-top: 4rem;
    flex: 0 0 45%;
  }
}

/* -------------------------------------------------- */
/* ⚽ Fixtures */
/* -------------------------------------------------- */

.fixtures {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 2rem;
  background-color: #000;
  color: white;
}

.fixtures::before,
.fixtures::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.fixtures::before {
  opacity: 0.7;
  background: radial-gradient(
    circle at left center,
    var(--left-color) 0%,
    transparent 85%
  );
}

.fixtures::after {
  opacity: 0.7;
  background: radial-gradient(
    circle at right center,
    var(--right-color) 0%,
    transparent 85%
  );
}

.fixtures__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: -1;

  display: flex;
  align-items: center;

  overflow: hidden;
  pointer-events: none;
}

.fixtures__bg--left {
  left: 0;
  justify-content: flex-start;
}

.fixtures__bg--right {
  right: 0;
  justify-content: flex-end;
}

.fixtures__bg-logo {
  height: 300px;
  width: auto;
  max-width: none;

  opacity: 0.08;
  filter: blur(1px);
}

.fixtures__bg--left .fixtures__bg-logo {
  transform: translateX(-50%);
}

.fixtures__bg--right .fixtures__bg-logo {
  transform: translateX(50%);
}

.fixture-intro,
.fixture-card,
.fixture-card__location {
  position: relative;
  z-index: 1;
}

.fixture-intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.fixture-card {
  position: relative;
  color: white;
}

.fixture-card__day {
  font-weight: 700;
}

/* .fixture-card__main {
  width: 100%;
} */

.fixture-card__location {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
}

.fixture-card__location svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
  opacity: 0.8;
}

.fixture-card__teams {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0.75rem;
}

.fixture-card__team {
  flex: 1 1 0;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  text-align: center;
  /* font-family: var(--font-family-heading); */
  font-size: var(--fs-6);
  text-transform: uppercase;
  line-height: 1.1;
  font-weight: 700;
  /* text-wrap: balance; */
}

.fixture-card__team:first-child,
.fixture-card__team:last-child {
  justify-content: flex-start;
  text-align: center;
}

.fixture-card__team:first-child picture,
.fixture-card__team:first-child img,
.fixture-card__team:last-child picture,
.fixture-card__team:last-child img {
  order: 1;
}

.fixture-card__team:first-child .fixture-card__team-name,
.fixture-card__team:last-child .fixture-card__team-name {
  order: 2;
}

.fixture-card__logo {
  height: 6rem;
  flex-shrink: 0;
}

.fixture-card__versus {
  flex: 0 0 auto;
  padding-inline: 1;

  align-self: center;

  font-size: var(--fs-3);
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 992px) {
  .fixture-intro {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .fixture-card__teams {
    align-items: center;
    gap: 1.5rem;
  }

  .fixture-card__team {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-5);
  }

  .fixture-card__team:first-child {
    justify-content: flex-end;
    text-align: right;
  }

  .fixture-card__team:first-child .fixture-card__team-name {
    order: 1;
  }

  .fixture-card__team:first-child picture,
  .fixture-card__team:first-child img {
    order: 2;
  }

  .fixture-card__team:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  .fixture-card__team:last-child picture,
  .fixture-card__team:last-child img {
    order: 1;
  }

  .fixture-card__team:last-child .fixture-card__team-name {
    order: 2;
  }

  .fixture-card__logo {
    height: 9rem;
  }

  .fixture-card__versus {
    font-size: var(--fs-2);
  }

  .fixtures__bg-logo {
    width: 100%;
    opacity: 0.08;
  }

  .fixtures__bg--left .fixtures__bg-logo {
    transform: translateX(-35%);
  }

  .fixtures__bg--right .fixtures__bg-logo {
    transform: translateX(35%);
  }
}
