.activity {
  background-image: url("/static/tube-and-bus.webp");
  background-position: center 65%;
  background-repeat: no-repeat;
  background-size: cover;

  height: 65vh;
  width: 100vw;

  position: relative;

  display: flex;
  align-items: center;
}

.activity::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: linear-gradient(0deg, rgba(8, 9, 14, .9) 0%, rgba(8, 9, 14, .5) 100%);
  opacity: 0.5;
}

.activity-content {
  padding-top: 7.75rem;
  padding-left: 10vw;
  color: white;
  z-index: 20;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.activity-content-title {
  font-family: Mogra;
  font-size: 4rem;
  text-transform: uppercase;
  text-shadow: 5px 5px 2px black;
}

.badge {
  background-color: #fa9d1c;
  color: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(8, 9, 14, .3);
  text-transform: uppercase;
  font-size: 0.75rem;
}

.sidebar {
  --track-card-count: 1;
  --track-width: calc(22.5rem);
  --track-card-gap: 0rem;

  --track-card-width: calc(var(--track-width) / var(--track-card-count) - ((var(--track-card-gap) * (var(--track-card-count) - 1)) / var(--track-card-count)));

  width: var(--track-width);
  background-color: white;
  border-radius: 1rem;
  overflow: clip;

  box-shadow: 0 -10px 75px 0 rgba(8, 9, 14, .15);

  right: 0;
  top: 30vh;
  margin-right: 5vw;

  position: absolute;
}

.sidebar-image {
  width: var(--track-width);
}

.sidebar-image>img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.track-wrapper {
  width: var(--track-width);
  height: 15rem;
}

.track-slide {
  width: fit-content;
  display: flex;
  flex-direction: row;
}

.dots {
  top: 1rem !important;
  bottom: unset !important;
  transform: translate(-50%, 0);
  background-color: transparent;

  width: 100%;
  gap: 0.5rem;
}

.dot,
.dot::before {
  width: 100%;
  border-radius: 0;
  height: 0.25rem;
}

.dot::before {
  background-color: white;
}

.dot.active::before {
  background-color: #b2b8c1;
}

.track-left,
.track-right {
  transform: scale(0.65);
  top: unset;
  bottom: 0;
  margin: 0.5rem;
  filter: invert();
}

.track-left {
  left: unset;
  right: 3rem;
}

.track-right {
  right: 0;
  transform: rotate(180deg) scale(0.65);
}

.item {
  padding: 0.5rem 1rem;
  border-top: 1px solid #f5f7f9;
  border-bottom: 1px solid #f5f7f9;

  padding: 0.5rem 1rem;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;

}

.item-title {
  width: 100%;
  font-size: 0.875rem;
}

.item-info {
  display: flex;
  gap: 2.5rem;
}

.item-description {
  width: 100%;
  color: #455b6f;
  font-size: 0.813rem;
}

.item-price {
  text-align: left;
  width: min-content;
  display: flex;
  gap: 0.25rem;
  height: 1rem;
  display: flex;
  align-items: center;
}

.item-section-header {
  font-weight: 700;
  padding: 0.25rem 1rem;
}

.book-now-button {
  margin: 1rem;
  margin-bottom: 2.5rem;

  padding: 0.75rem 0;

  text-align: center;
  background-color: rgb(239, 65, 35);
  border-radius: 4px;
  text-transform: uppercase;
  color: white !important;

  display: flex;
  align-items: center;
  justify-content: center;
  fill: white;
  gap: 0.75rem;
}

.details {
  width: 100%;
  margin-top: 5rem;
  padding: 1rem;
  background-color: rgba(8, 9, 14, .05);
  border-radius: 0.5rem;
}

.details-item {
  width: 100%;
}

.details-header {
  color: #455b6f;
  font-family: Mogra;
  text-transform: uppercase;
}

.details-items {
  padding-left: 2rem;
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-direction: column;
}

.details-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.details-item-header {
  font-weight: 700;
  margin: 0;
}


.activity-info {
  max-width: 40rem;
  margin-left: 10vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 65rem;
}

.activity-info-header {
  font-family: Mogra;
  font-size: 2.5rem;
  margin-top: 1rem;
  color: #26203d;
}

.mobile-items {
  display: none;
}

.mobile-floating-now-button {
  display: none;
}

@media only screen and (max-width: 1280px) {
  .mobile-items {
    display: unset;
  }

  .sidebar {
    display: none;
  }

  .details {
    max-width: calc(100% - 2rem);
  }

  .content {
    max-width: 80vw;
    margin: 0 auto;
  }

  .activity-info {
    margin: 0 auto;
  }

  .item {
    border: 1px solid #f5f7f9;
    border-left: 2px solid #f5f7f9;
    border-right: 2px solid #f5f7f9;
  }

  .activity {
    height: 25vh;
  }

  .activity-info {
    margin-bottom: 4rem;
  }

  .activity-info-header {
    font-size: 1.5rem;
  }

  .details-items {
    padding-left: 1rem;
  }

  .details {
    margin-top: 2rem;
  }

  .activity-content {
    padding-top: 4rem;
  }

  .activity-content-title {
    font-size: 2rem;
  }

  .mobile-floating-now-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 1rem;
    z-index: 10;
    display: flex !important;
  }

  .mobile-floating-now-button-bg {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(3rem + 2rem);
    background-color: white;
    width: 100vw;
    border-top: 2px solid #f5f7f9;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
  }

  footer {
    padding-bottom: 6rem;
  }
}
