@import url("base.css");

.container {
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  background-color: var(--dark-blue);
}

.pick-destination {
  text-transform: uppercase;
  color: var(--white);
  word-spacing: 2px;
  letter-spacing: 1.5px;
  font-size: 1rem;
  margin-bottom: 5rem;
  margin-top: 5rem;
  margin-left: 5rem;
}

.number {
  color: var(--dark-grey);
  font-weight: 700;
}

/* Main Content */
.main-content-section {
  display: flex;
  justify-content: space-around;
}

.placeholder-container {
  width: 25rem;
  height: 25rem;
}

/* content container */
.content-container {
  width: 25rem;
}

.content-container h1 {
  font-size: 7rem;
  padding-top: 2rem;
}

#tab-items-list {
  list-style-type: none;
  display: flex;
  /* margin-bottom: 2rem; */
}

.tab-item {
  font-size: 0.8rem;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

.tab-item:not(:last-of-type) {
  margin-right: 1rem;
}

.tab-item:hover {
  cursor: pointer;
  border-bottom: 2px solid var(--light-blue);
}

.active {
  border-bottom: 2px solid var(--light-blue);
}

.description {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 2.5rem;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--dark-grey-transparent);
  margin-bottom: 1rem;
}

.distance-time {
  display: flex;
  justify-content: space-between;
}

.distance > .subheading2,
.travel-time > .subheading2 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .container {
    padding-top: 0;
  }

  .main-content-section {
    flex-direction: column;
    align-items: center;
  }

  .content-container {
    text-align: center;
    width: 70%;
  }

  .content-container h1 {
    font-size: 5rem;
  }

  #tab-items-list {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .pick-destination {
    text-align: center;
    margin-left: 0;
  }

  .placeholder-container {
    width: 80%;
    height: 15rem;
  }

  .content-container {
    text-align: center;
    width: 80%;
  }

  .distance-time {
    flex-direction: column;
  }

  .distance {
    margin-bottom: 2rem;
  }

  .divider {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .content-container {
    width: 90%;
  }

  .placeholder-container {
    width: 90%;
    height: 10rem;
  }
}
