/* ========== CAROUSEL ========== */
/* Fix me */
#carousel {
  position: relative;
  min-height: 90vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2vw;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  min-width: 100vw;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  object-position: center center;
  transform: translateX(-50%);
  filter: brightness(75%);
}

.box {
  position: absolute;
  background: rgba(0,0,0,0.3);
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
}

.box-container {
  position: absolute;
  overflow: hidden;
  flex-shrink: 1;
}
/* Fix me */
#small.box-container {
  min-width: clamp(120px, 15vw, 300px); 
  top: 10%;
  left: 10%;
}

#large.box-container {
  min-width: clamp(200px, 28vw, 500px);
  top: 2%;
  left: 38%;
}

#medium.box-container {
  min-width: clamp(160px, 20vw, 400px);
  top: 2%;
  right: 5%;
}


/* Fix me */
#left.box,
#center.box,
#right.box {
  position: static;
  min-width: 100%;
  height: auto;
}
/* Fix me */
#left.box {
  top: 50%;
}

.box img {
  min-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  top: 50%;
  border: 15px ridge #6c6c6c;
}

.turn-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  color: #111;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 2;
}

.left-btn  { left: 2.5%; }
.right-btn { right: 2.5%; }
    

@media (max-width: 1100px) {
  /* Fix me */
  #medium.box-container {
    display: none;
  }
/* Fix me */
  #small.box-container {
    left: 20%;
    top: 10%;
    min-width: clamp(100px, 20vw, 40vw);
    width: clamp(100px, 20vw, 40vw);
    max-width: 45vw;
    flex-shrink: 1;
  }
/* Fix me */
  #large.box-container {
    left: 50%;
    top: 10%;
    min-width: clamp(150px, 30vw, 55vw);
    width: clamp(150px, 30vw, 55vw);
    max-width: 60vw;
    flex-shrink: 1;
  }

  .box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

@media (max-width: 768px) {
  /* Fix me */
  #medium.box-container, #small.box-container {
    display: none;
  }

  .turn-btn {
    top: 50%;
  }
/* Fix me */
  #large.box-container {
    width: 100%;
    max-height: 100vh;
    top: 50% ;
    left: 50% ;
    transform: translate(-50%, -50%);
  }
/* Fix me */
  #center.box {
    padding: 0;
    margin: 0;
  }

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