:root {
  --ff-primary: "Poppins", sans-serif;
  --ff-secondary: "Arial";

  --fs-100: 0.85em;
  --fs-200: 1em;
  --fs-250: 1.25em;
  --fs-300: 2em;
  --fs-350: 3.5em;

  --fw-100: 600;
  --fw-200: 800;
  --fw-300: 900;

  --padding-inline: 6.25em;

  --primary-clr: #fff;
  --secondary-clr: #ccc;
  --accent-clr: #222;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-image: url("../assets/destination/background-destination-desktop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--ff-primary);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 10% 90%;
  grid-template-areas:
    "title-wrap title-wrap"
    "destination content-wrap";
  gap: 1rem;
  height: 80%;
  padding: 1rem var(--padding-inline);
  color: var(--primary-clr);
}
.title-wrap {
  grid-area: title-wrap;
}
.content-wrap {
  grid-area: content-wrap;
}
.sub-nav {
  margin-bottom: 2rem;
}
.sub-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.sub-nav ul li {
  display: inline-block;
  cursor: pointer;
  position: relative;
}
.sub-nav ul li a {
  text-decoration: none;
  color: var(--primary-clr);
  font-size: var(--fs-200);
  font-weight: bold;
}
.sub-title {
  font-size: var(--fs-350);
  font-weight: var(--fw-300);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.content {
  margin-bottom: 2rem;
}
.content p {
  line-height: 2;
}
.horizontal-line {
  width: 100%;
  background-color: var(--secondary-clr);
  height: 0.25px;
  opacity: 0.5;
  margin-bottom: 2rem;
}
.desc {
  display: flex;
  align-items: center;
}
.desc .col {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.desc .col p {
  font-size: var(--fs-250);
  text-transform: uppercase;
}
.destination {
  grid-area: destination;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.destination img {
  width: 70%;
  display: block;
  object-fit: contain;
}
.active-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-clr);
  position: absolute;
  bottom: -5px;
  left: 0;
}

@media (max-width: 560px) {
  body {
    background-image: url("../assets/destination/background-destination-mobile.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
  main {
    padding-inline: 2em;
    grid-template-columns: 1fr;
    grid-template-rows: 10% 35% 40%;
    grid-template-areas:
      "title-wrap"
      "destination"
      "content-wrap";
  }
  .content-wrap {
    margin-top: 1rem;
  }
}
@media (max-width: 1024px) {
  main {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }
  .destination {
    padding-block: 1rem;
  }
  .content-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .desc {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}
