@font-face {
  font-family: "Cooper";
  src: url(./cooper-black.woff);
  font-display: swap;
}

:root {
  --text-color: #444;
  --accent-color: #decc8f;
  --body-bg: #f9f5e5;
}

.section--heading {
  margin: 2em 0 1em;
  transform: rotate(-1deg);
  font-size: 1.8em;
  @media (min-width: 900px) {
    font-size: 2.5em;
  }
}

p a {
  background-color: #decc8f50;
}

ul {
  padding: 0;
}

li {
  margin-bottom: 0.5em;
}

.price {
  position: absolute;
  max-width: 10vmax;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

/* SECTIONS */
.section--title {
  width: 100%;
  background-color: black;
  color: white;
  overflow: hidden;
  align-items: flex-end;
  justify-content: center;
  transform: skew(0, 0.5deg);
  top: -10px;

  .text-container {
    width: 100%;
    padding: 20px;
    margin-top: 65vh;
    margin-bottom: 30vh;
  }

  .section--bgImage-container {
    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 100%
      );
      z-index: 1;
    }

    &:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 20%;
      background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 100%
      );
      z-index: 1;
    }
  }

  .section--bgImage-fixed {
    filter: blur(5px);
    opacity: 0.6;
  }
}

.price-01 {
  top: 47%;
  left: 76%;
  z-index: 1;
  max-width: 8vmax;
}

.price-02 {
  display: none;
}

.price-03 {
  top: 40%;
  left: 72%;
  max-width: 12vmax;
}

.price-04 {
  display: none;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(2em + 5vmin);
  text-align: center;
  line-height: 1;
  margin: 0;
  width: 100%;
  img {
    display: block;
    width: 100%;
    max-width: 1000px;
    max-height: 90vmin;
    height: auto;
    transform: rotate(-1deg);
  }
}

footer {
  margin-top: 5em;
  &::after {
    /* PRICE TAG */
    content: "";
    position: absolute;
    display: block;
    width: 12vmax;
    height: 12vmax;
    background: url(./price-04.webp) center no-repeat;
    background-size: auto 100%;
    top: -4vmax;
    right: 5%;
    z-index: 10;
    opacity: 0.9;
  }
}
