.container {
  text-align: justify;
}

#hero {
  padding: 4rem 1rem;
  background-image: linear-gradient(#FFF8, #FFF8), url('/assets/images/golf-bridge.jpg');
  background-size: cover;
  background-position: center;
}

h1 {
  font-family: var(--prif);
  font-size: 4rem;
  text-align: center;
  line-height: 100%;
}

#tagline {
  margin-top: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
}

#course-status {
  display: block;
  padding: .5rem 1rem;
  background-color: rgb(var(--sec));
  border: 1px solid rgb(var(--sec));
  color: #fff;
  margin: auto;
  margin-top: 2rem;
  text-align: center;
  max-width: 1200px;
  transition: color .2s, background-color .2s;
}

#course-status:hover {
  background-color: #fff;
  color: rgb(var(--sec));
}

#intro {
  margin-top: 2rem;
}

#intro p + p {
  margin-top: 0.5rem;
}

#downloads {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.downloads__link {
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
}

.downloads__img {
  display: block;
  width: 100%;
  margin: auto;
  transition: transform .5s;
}

.downloads__text {
  margin: auto;
  margin-top: 1rem;
  text-align: center;
}

.downloads__link:hover .downloads__img {
  transform: scale(.95);
}

#holes {
  display: grid;
  margin-top: 2rem;
}

#holes__heading {
  text-align: center;
  font-size: 2rem;
}

#holes__description {
  text-align: center;
}

#holes__selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.holes__list {
  display: flex;
  flex-flow: row wrap;
  gap: .5rem 1rem;
  list-style-type: none;
  justify-content: center;
}

#holes__selector button {
  padding: .5rem 1rem;
  border-radius: 1rem;
  border: 0;
  outline: 0;
  background-color: #0001;
  cursor:pointer;
  transition: background-color .2s;
}

#holes__selector button:hover,
#holes__selector button:focus {
  background-color: #0002;
}

.holes__title {
  text-align: center;
  font-family: var(--prif);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.holes__list {
  margin-top: 1rem;
}

.hole {
  display: none;
  padding: 2rem 1rem;
  background-color: #0001;
  margin-top: 2rem;
  animation: zoom-in 1s forwards;
}

.hole-front-1 {
  display: grid;
}

.hole__title {
  text-transform: capitalize;
  font-size: 1.8rem;
  text-align: center;
}

.hole__table {
  text-align: center;
  width: 100%;
  margin-top: 2rem;
}
 
.hole__content {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 2rem;
  gap: 1rem;
}

.hole__content__left {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.hole__video {
  width: 100%;
  margin: auto;
}

.hole__description {
  margin: auto 0;
}

.hole__map {
  margin: auto;
  width: 400px;
}

.hole__imgs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.hole__imgs img {
  width: 100%;
  transition: transform .2s;
}

.hole__imgs img:hover {
  transform: scale(.95);
}

#course__panorama {
  width: 100%;
  margin-top: 2rem;
}

footer {
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  #packages__grid {
    flex-flow: column nowrap;
    gap: 2rem;
  }
}

@media (max-width: 1000px) {
  .hole__content {
    grid-template-columns: 1fr;
  }
  .hole__content__right {
    display: grid;
  }
  .hole__map {
    margin: auto;
    width: 100%;
    max-height: 30rem;
    object-fit: contain;
  }
  .hole__description {
    text-align-last: center;
  }
  .hole__imgs {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 .5rem;
  }
  #intro {
    text-align-last: center;
  }
  #downloads {
    grid-template-columns: 1fr;
  }
  .downloads__img {
    max-height: 20rem;
    object-fit: contain;
  }
  .hole__imgs {
    grid-auto-flow: row;
  }
}

@media (max-width: 480px) {
  #holes__selector {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(.95);
    opacity: 0;
  } 100% {
    transform: scale(1);
    opacity: 1;
  }
}