#hero {
  height: fit-content;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 650px;
  border-radius: 0px 0px 50px 0px;
  object-fit: cover;
}

.hero-image,
.hero-video {
  border-radius: 0;
  filter: brightness(0.8);
}

.hero-sidebar {
  width: 30%;
  height: 700px;
  min-width: 320px;
  background-color: var(--header-bg);
  padding: 0 40px;
  position: relative;
}
.hero-video-controls {
  display: none !important;
}

.hero-text-and-search {
  max-width: 730px;
  z-index: 1;
}

.hero-image {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.hero-image.fade-out {
  opacity: 0;
}

@media screen and (max-width: 425px) {
  .hero-sidebar {
    height: 580px;
  }

  .hero-image,
  .hero-video {
    height: 550px;
  }
}

.image-slider {
  position: relative;
}

.slider-btn {
  width: 10px;
  height: 10px;
  background-color: #707070;
  border-radius: 50%;
  margin-right: 0.5rem;
  border: none;
}

.slider-btn.active {
  background-color: #d89685;
  cursor: default;
  pointer-events: none;
}

.video-control {
  width: fit-content;
  color: #707070;
  border: none;
  background: none;
  font-weight: 300;
}

.slider-btn-wrapper {
  margin: 10px 40px 0 0;
}

/* info buttons  */

.info-buttons {
  position: absolute;
  display: flex;
  top: 2%;
  gap: 0.5rem;
  right: 0;
  z-index: 2;
  transition: all ease 0.5s;
  flex-direction: column;
  overflow: hidden;
}

.info-box {
  background-color: #fff;
  height: 9rem;
  width: 14rem;
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border-radius: 0.5rem 0rem 0rem 0.5rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: all 0.3s ease;
  transform: translateX(2rem);
}

.info-box:hover {
  transform: translateX(1rem);
}

.info-box img {
  max-height: 4rem;
  object-fit: cover;
}

.info-box p {
  font-size: 0.9rem;
  transition: all ease 0.5s;
  margin-bottom: 0rem;
}

.info-box:hover h3 {
  color: #580405;
}

@media screen and (max-width: 1077px) {
  .info-buttons {
    top: auto;
    bottom: 0;
    right: auto;
    flex-direction: row;
  }

  .info-box {
    padding: 1rem 1rem 3rem 1rem;
    border-radius: 0.5rem 0.5rem 0rem 0rem;
    transform: translateY(1rem);
  }

  .info-box:hover {
    transform: translateY(1rem);
  }
}

@media screen and (max-width: 638px) {
  .info-buttons {
    position: relative;
    flex-direction: column;
    padding-bottom: 1rem;
  }

  .info-box {
    width: 100%;
    height: 7rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transform: translateY(0rem);
  }
  .info-box:hover {
    transform: translateY(0rem);
  }
}
