*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #393b4c;
  font-family: "Raleway", sans-serif;
}

.menu {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}

.logo {
  margin: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
}

.logo-mark {
  height: 40px;
  margin-right: 10px;
}

.logo-name {
  height: 28px;
  margin-bottom: -4px;
}

.nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav li {
  margin-left: 24px;
}

.nav li a {
  color: #2b2b2b;
  text-transform: uppercase;
  text-decoration: none;
}

.nav li a:hover {
  border-bottom: 2px solid #e37435;
}

@media (min-width: 640px) {
  .nav {
    display: flex;
  }
}

.intro {
  display: grid;
  grid-template-columns: 100px 1fr minmax(auto, 200px) minmax(auto, 200px) 1fr 100px;
}

.intro__heading {
  font-size: 6vw;
  padding: 48px 24px 24px;
  font-weight: 400;
  grid-column: 1 / -1;
  grid-row: span 1;
}

.intro__heading__jumbo {
  font-size: 16vw;
  margin-top: 0.25em;
  display: block;
  font-weight: bold;
  font-family: "Alice", "Raleway", sans-serif;
  color: #e37435;
}

.intro__info {
  padding: 32px 24px;
  background-color: #e6eece;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 4 / span 1;
}

.intro__info__heading {
  font-size: 20px;
}

.intro__info__content {
  line-height: 1.5;
}

.intro__img {
  grid-column: 1 / -1;
  grid-row: 2 / span 2;
}

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

.intro__social {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 24px 0;
  grid-column: 1 / -1;
  grid-row: 5 / span 1;
  align-self: center;
}

.intro__social__item {
  width: 36px;
  height: 36px;
  margin: 0 0 0 32px;
  background-color: #8eaa3c;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

@media (min-width: 640px) {
  .intro {
    grid-template-rows: 3fr 1fr 3fr 3fr 100px;
  }

  .intro__heading {
    font-size: 5vw;
    grid-column: 1 / -2;
  }

  .intro__heading__jumbo {
    font-size: 12vw;
  }

  .intro__info {
    grid-row: 3 / 4;
    align-self: end;
  }

  .intro__info__heading {
    font-size: 20px;
  }

  .intro__info__content {
    font-size: 18px;
  }

  .intro__img {
    grid-column: 1 / -2;
    grid-row: 2 / span 4;
  }

  .intro__social {
    flex-direction: column;
    padding: 0;
    grid-column: -2 / -1;
    grid-row: 2 / span 4;
    justify-self: center;
    align-self: end;
  }

  .intro__social__item {
    margin: 32px 0 0 0;
  }
}

@media (min-width: 1024px) {
  .intro {
    grid-template-rows: repeat(2, 1fr) 100px;
  }

  .intro__heading {
    font-size: 3vw;
    margin: 44px 0;
    padding: 0;
    grid-column: 2 / span 2;
    align-self: end;
  }

  .intro__heading__jumbo {
    font-size: 7vw;
  }

  .intro__info {
    padding: 50px 280px 50px 100px;
    grid-column: 1 / 5;
    grid-row: 2 / 3;
  }

  .intro__info__content {
    line-height: 1.5;
  }

  .intro__img {
    grid-column: 4 / span 3;
    grid-row: 1 / span 3;
  }

  .intro__social {
    flex-direction: row;
    grid-column: 2 / span 2;
    grid-row: 3 / span 1;
    align-self: center;
    justify-self: start;
  }

  .intro__social__item {
    margin: 0 32px 0 0;
  }
}

.section-header {
  text-align: center;
  margin-top: 64px;
  padding-bottom: 32px;
}

.section-header__subtitle {
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
}

.section-header__title {
  font-family: "Alice", "Raleway", sans-serif;
  font-size: 32px;
  color: #e37435;
  margin: 16px 0 0;
}

@media (min-width: 1024px) {
  .section-header__subtitle {
    font-size: 24px;
  }

  .section-header__title {
    font-size: 48px;
  }
}

.attractions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 100px 1fr 1fr 100px;
  align-items: center;
  justify-items: center;
}

.attraction-img {
  width: 100%;
  grid-column: 1 / -1;
}

.attraction-info {
  background-color: #e6eece;
  padding: 24px;
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
}

.attraction-info__title {
  font-size: 20px;
  margin: 0;
}

.attraction-info__content {
  line-height: 1.6;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .attraction-info {
    padding: 60px;
    margin-top: -100px;
  }

  .attraction-info:first-of-type {
    grid-column: 1 / 4;
  }

  .attraction-info:last-of-type {
    grid-column: 2 / 5;
  }

  .attraction-img:last-of-type {
    margin-top: 40px;
  }
}

@media (min-width: 1024px) {
  .attraction-info {
    margin-top: 0;
  }

  .attraction-img:first-of-type {
    grid-column: 1 / span 3;
    grid-row: 1 / 2;
  }

  .attraction-img:last-of-type {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
  }

  .attraction-info:first-of-type {
    grid-column: 3 / span 2;
    grid-row: 1 / 2;
  }

  .attraction-info:last-of-type {
    padding-left: 100px;
    margin-top: 40px;
    grid-column: 1 / span 2;
    grid-row: 2 / 3;
  }
}

.photo__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
}

.photo {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-top: calc(3 / 5 * 100%);
}

.photo:first-child {
  grid-column: 1 / -1;
}

.photo__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .photo:nth-child(2) {
    grid-column: -3 / -1;
    grid-row: 3 / 5;
    height: 100%;
  }
}
