/* RESET: This page also clears default element spacing. */
* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
}

.page {
  max-width: 430px;
  overflow: hidden;
}

/* HEADER */

.header {
  background: white;
  border-bottom: 1px solid #e7ebef;
}

.menu-button {
  color: #102f57;
  font-size: 29px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(
      180deg,
      rgba(238, 247, 255, 0.08) 0%,
      rgba(238, 247, 255, 0.28) 36%,
      rgba(238, 247, 255, 0.9) 66%,
      rgba(238, 247, 255, 0.98) 100%
    ),
    linear-gradient(
      90deg,
      rgba(238, 247, 255, 0.7) 0%,
      rgba(238, 247, 255, 0.32) 58%,
      rgba(238, 247, 255, 0.08) 100%
    ),
    url("https://upload.wikimedia.org/wikipedia/commons/4/4c/Naval_Air_Station_Sunnyvale%2C_Mt_View%2C_Ca_%28aerial%29.jpg") center / cover no-repeat;
}

.hero-text {
  width: 100%;
  padding: 0 22px 30px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #174775;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -1px;
}

.hero p {
  color: #4f6781;
  font-size: 17px;
  line-height: 1.45;
}

.hero > .photo-credit {
  position: absolute;
  right: 12px;
  bottom: 7px;
  padding: 0;
  background: transparent;
  color: #60758b;
  font-size: 11px;
  line-height: 1.35;
}

/* CONTENT */

.content {
  padding: 18px 22px 26px;
}

.card {
  margin-bottom: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #eaf4fb;
  border-radius: 10px;
}

.large-icon,
.small-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d5eafa;
  color: #123f72;
  border-radius: 50%;
}

.large-icon {
  width: 50px;
  height: 50px;
  font-size: 26px;
  font-weight: 700;
}

.large-icon img,
.small-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.card-text {
  flex: 1;
}

.card h2 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.2;
}

.card p {
  color: #5f748a;
  font-size: 14px;
  line-height: 1.45;
}

.section-intro {
  margin-bottom: 14px;
}

/* WHAT YOU'LL FIND */

.find-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.find-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.small-icon {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

.small-icon.people {
  font-size: 8px;
  letter-spacing: -1px;
}

.find-item h3 {
  margin-bottom: 1px;
  font-size: 15px;
  line-height: 1.2;
}

.find-item p {
  font-size: 13px;
  line-height: 1.3;
}

/* TOUR BUTTON */

.tour-button {
  min-height: 82px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #17558f;
  color: white;
  border-radius: 10px;
}

.tour-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #104678;
  border-radius: 50%;
  font-size: 24px;
}

.tour-text h2 {
  margin-bottom: 3px;
  font-size: 17px;
}

.tour-text p {
  color: #d9e8f5;
  font-size: 13px;
  line-height: 1.3;
}

.arrow {
  font-size: 31px;
  line-height: 1;
}

/* QUOTE */

.quote {
  min-width: 185px;
}

/* DESKTOP */

@media (min-width: 768px) {
  body {
    padding: 40px 20px;
  }

  .page {
    max-width: 1000px;
    min-height: auto;
    box-shadow: 0 30px 60px rgba(16, 47, 87, 0.18);
  }

  .header {
    height: 85px;
    padding: 0 40px;
  }

  .museum-name {
    font-size: 26px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-text {
    width: 62%;
    padding: 0 50px 48px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero p {
    max-width: 460px;
    font-size: 20px;
  }

  .content {
    padding: 28px 50px 36px;
  }

  .card {
    padding: 24px 28px;
  }

  .large-icon {
    width: 62px;
    height: 62px;
    font-size: 31px;
  }

  .card h2 {
    font-size: 24px;
  }

  .card p {
    font-size: 17px;
  }

  .find-list {
    margin-top: 4px;
    gap: 12px;
  }

  .small-icon {
    width: 40px;
    height: 40px;
  }

  .find-item h3 {
    font-size: 18px;
  }

  .find-item p {
    font-size: 15px;
  }

  .tour-button {
    min-height: 95px;
    padding: 17px 24px;
  }

  .tour-text h2 {
    font-size: 22px;
  }

  .tour-text p {
    font-size: 16px;
  }

  .quote {
    min-width: 250px;
  }
}
