.section-title {
  margin-block-end: 1%;
}
.carousel {
  padding: 3% 3%;
  display: flex;
  justify-content: center;
}

.wrapper {
  display: flex;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.wrapper i {
  top: 50%;
  height: 7%;
  width: 4%;
  color: grey;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  background: none;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  transition: background-color 1.5s ease;
}

.wrapper i.hover {
  background-color: var(--orange-red);
}

.wrapper img.not-active {
  display: none;
}

.wrapper img.active {
  display: block;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
  background-color: var(--white);
}

/* handle orientation */

#orientation-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--orange-red);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

#orientation-message.hidden {
  display: none;
}

.rotate-indicator {
  position: relative;
  width: 150px;
  height: 150px;
}

.rotate-indicator .fa-mobile-alt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  color: #333;
  animation: rotate-phone 4s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes rotate-phone {
  0%,
  25% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50%,
  75% {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@media screen and (max-width: 896px) and (orientation: landscape) {
  .wrapper {
    max-height: 325px;
    width: auto;
    margin: 0 auto;
  }

  .wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .wrapper i {
    height: 24px;
    width: 24px;
  }
}

.img-viewable {
  cursor: pointer;
}

@media screen and (orientation: landscape) {
  #orientation-message {
    display: none;
  }
}

@media screen and (max-width: 896px) and (orientation: portrait) {
  #orientation-message {
    display: flex;
  }

  .section {
    display: none;
  }
}
