body {
  font-family: "Poppins", sans-serif;
  background-color: #5077b1;
}
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(images/mt-rainier.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}
header h1 {
  font-weight: 700;
  line-height: 1.5;
  font-size: 96px;
  margin: 0;
}
header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 5px;
  text-transform: uppercase;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #272044;
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  background: white;
  border-radius: 2px;
  transition: all 200ms ease-in-out;
}
header a:hover {
  background-color: #7e606686;
  transform: scale(1.05);
  color: white;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 5px;
  color: #282d5e;
  opacity: 0.3;
  text-transform: uppercase;
}
main h3 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  color: #282d5e;
  margin: 0;
}

main h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #282d5e;
  margin: 0;
}

main h5 {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
  line-height: 1;
  color: #282d5e;
}
main p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #282d5e;
  opacity: 0.7;
}
footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/dt-tacoma.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
}

footer div {
  padding: 0 40px;
}
footer a {
  color: white;
  cursor: pointer;
  opacity: 0.7;
  transition: all 200ms ease-in-out;
}

footer a:hover {
  opacity: 1;
  transform: scale(1.03);
}
footer h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}
footer p {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.7;
  margin-right: 20px;
  line-height: 24px;
}
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 0;
}
.glass-bridge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: white;
}
.glass-bridge-section {
  padding: 0 30px;
}

.restaurants {
  background-color: #f8f8f8;
}
.restaurants h2,
.restaurants h3,
.tacoma-photos h2,
.tacoma-photos h3 {
  text-align: center;
}
.restaurant-cards,
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.card,
.photo-grid {
  background-color: white;
  margin: 30px;
}
.card-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card-body {
  padding: 30px;
}
.card-footer {
  padding: 0 30px 30px;
}
.card a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: white;
  padding: 16px 32px;
  display: block;
  margin: 0 auto;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  background: #282d5e;
  border-radius: 2px;
  transition: all 200ms ease-in-out;
}
.card a:hover {
  background-color: #7e606686;
  transform: scale(1.05);
  color: white;
}
.map-embed {
  border: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.tacoma-photos {
  background-color: white;
}
.photo-grid {
  gap: 60px;
}
.gallery-img {
  width: 330px;
  padding: 0 30pxd;
}
.links {
  display: flex;
  flex-direction: column;
}
.responsive-img {
  width: 100%;
  height: auto;
}
@media (max-width: 960px) {
  .section {
    padding: 30px;
  }
  header h1 {
    font-size: 48px;
  }
  header h2 {
    font-size: 20px;
  }
  header h3 {
    font-size: 12px;
  }
  header a {
    font-size: 12px;
    padding: 12px 24px;
  }
  footer,
  .glass-bridge,
  .restaurant-cards,
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .glass-bridge-section {
    padding: 0;
  }
  .card-header {
    grid-template-columns: 1fr;
  }
  .card img {
    display: none;
  }
  .map-embed {
    aspect-ratio: 16 / 9;
  }
}
