/* ATF */
.hero {
  position: relative;
}

.hero img {
  width: 100%;
}

.hero .mobile, .mobile-description {
  display: none;
}

.hero h1 {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: 3.5rem;
  color: var(--white);
  font-family: 'PP Neue Montreal Light', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  z-index: 1;
  font-weight: 300;
}

.hero h1.hidden {
  z-index: -1;
}

.hero button, .hero a {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
}

.hero button svg, .hero a svg {
  width: 80px;
}

/* Details */
.details, .mobile-description {
  padding: 4rem 0;
}

.details ul, .details .credits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}

/* Specific styles for Reunion spot */
.reunion .details ul {
  grid-template-columns: repeat(3, 1fr);
}

.reunion .details ul li.credits {
  grid-template-columns: 1fr;
}

.credits ol {
  justify-self: center;
}

.details ul li h2, .all-films ul li span {
  text-transform: uppercase;
  font-size: .8rem;
  font-family: 'PP Neue Montreal Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--black);
  font-weight: 400;
}

.details ul li ol li {
  margin-bottom: 2rem;
}

.details ul li p, .all-films ul li a h4, .mobile-description p {
  margin-top: .25rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-family: 'PP Neue Montreal Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
}

.details ul li.description p {
  line-height: 1.6;
  max-width: 460px;
  margin-left: auto;
}

.details ul li.description p + p {
  margin-top: 1rem;
}

.details ul li.description img, .mobile-description img {
  max-width: 160px;
  width: 100%;
  margin-top: 1rem;
}

.awards {
  margin-top: 2rem;
}

.awards img {
  width: 100%;
}

.awards .mobile {
  display: none;
}

/* All films */
.all-films {
  padding: 4rem 0;
}

.all-films > a {
  text-transform: uppercase;
  font-size: 1.125rem;
  font-family: 'PP Neue Montreal Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 2rem;
  font-weight: 400;
  color: var(--black);
  display: block;
}

.all-films ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.all-films ul li img {
  width: 100%;
  margin-bottom: 1rem;
}

.all-films ul li a {
  color: var(--black);
}

.all-films ul li a h4 {
  font-family: 'PP Neue Montreal Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  margin-top: .25rem;
}

/* Mobile */
@media screen and (max-width: 767px) {
  /* Hero */
  .hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
  }

  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero .desktop {
    display: none;
  }

  .hero .mobile {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
    left: 0;
    width: 100%;
  }

  /* Details and all films */
  .details, .all-films, .mobile-description {
    padding: 2rem;
  }

  .mobile-description {
    display: block;
  }

  .credits ol {
    justify-self: flex-start;
  }

  .awards {
    margin-top: 1rem;
  }

  .awards .mobile {
    display: block;
  }

  .awards .desktop {
    display: none;
  }

  .details ul, .all-films ul, .details .credits {
    grid-template-columns: 1fr;
    grid-gap: 2.5rem;
  }

  .details ul li.description:not(.in-development) {
    display: none;
  }

  /* Specific styles for Reunion spot */
  .reunion .details ul {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }

  .all-films ul li a h4 {
    font-size: 1.25rem;
  }
}

/* Styles for each film */
.being {
  background-color: var(--teal);
}

.altrimenti-linverno {
  background-color: var(--light-blue);
}

.vermiglio {
  background-color: var(--light-blue);
}

.gli-ultimi-giorni-dell-umanita {
  background-color: var(--green);
}

.gli-indifferenti {
  background-color: var(--orange);
}

.last-summer {
  background-color: var(--salmon);
}

.likemeback {
  background-color: var(--pink);
}

.after-dive {
  background-color: var(--violet);
}

.reunion {
  background-color: var(--yellow);
}