.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-top: 2rem;
  text-align: center;
  transition: color .2s, background-color .2s;
}

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

#adrian-stiff {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#adrian-stiff *+p {
  margin-top: 0.5rem;
}

#learn-more {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  text-align-last: center;
}

.learn-more__item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 8rem 4rem;
  text-align: center;
}

.learn-more__item p {
  padding: .5rem 1rem;
  background-color: rgb(var(--pri));
  color: #fff;
  transition: transform .2s, color .2s, background-color .2s;
  transition-timing-function:
    cubic-bezier(0.16, 0.34, 0.55, 2.09),
    cubic-bezier(0.16, 0.34, 0.55, 2.09),
    cubic-bezier(0.16, 0.34, 0.55, 2.09);
}

.learn-more__item:hover p {
  color: rgb(var(--pri));
  background-color: #fff;
  transform: scale(1.1);
}

.learn-more__item span {
  font-weight: bolder;
}

#green-fees h2, #useful h2, #deals h2 {
  text-align: center;
  font-family: var(--prif);
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

#green-fees {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
}

#green-fees__tagline {
  margin-bottom: 1rem;
}

#green-fees__tables {
  max-width: 100%;
  overflow-x: auto;
}

.green-fees__table {
  margin-bottom: 1rem;
  width: 56rem;
}

.green-fees__table th, .green-fees__table td {
  border-collapse: collapse;
  border: 1px solid #fff;
  padding: .5rem 1rem;
  background-color: #0801;
}

th.green-fees__table__title {
  text-transform: uppercase;
  letter-spacing: 2px;
}

th.green-fees__table__title, .green-fees__table th[scope=row] {
  background-color: rgb(var(--sec));
  color: #fff;
  font-weight: normal;
}

#useful {
  margin-top: 2rem;
}

#useful li {
  list-style-type: none;
}

#useful li+li {
  margin-top: .5rem;
}

#deals__list {
  display: flex;
  flex-flow: column nowrap;
  gap: 2rem;
}

.deals__deal {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 1rem 2rem;
}

.deal__image {
  width: 20rem;
  grid-row: 1 / 3;
  margin: auto;
}

.deal__title {
  font-size: 2rem;
  text-align: left;
  text-align-last: left;
}

.deal__content {
  width: 100%;
}

.deal__content a {
  font-weight: 600;
  transition: opacity .2s;
}

.deal__content a:hover {
  opacity: .75;
}

footer {
  margin-top: 2rem;
}

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

@media (max-width: 720px) {
  .container {
    text-align-last: center;
  }

  #learn-more {
    grid-template-columns: repeat(1, 1fr);
  }

  .learn-more__item {
    padding: 6rem 1rem;
    width: 100%;
  }

  .deals__deal {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .deal__image {
    grid-row: 1 / 2;
  }

  .deal__image,
  .deal__title,
  .deal__content {
    margin: 0 auto;
    text-align: center;
    text-align-last: center;
  }
}

@media (max-width: 460px) {
  .deal__image {
    width: 100%;
  }
}