@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #141414;
  font-family: 'Poppins', sans-serif;
}

h1 {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 1;
}

h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #FFE8CC;
}

h1 img {
  height: 60px;
  width: auto;
  display: block;
}

.hint {
  position: absolute;
  top: 55px;
  right: 30px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  background: #FFF3E0;
  color: #1A1A1A;
}

.task {
  position: absolute;
  top: 148px;
  right: 30px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: right;
  background: #FFF3E0;
  color: #1A1A1A;
}

.carousel {
  position: relative;
  width: 400px;
  height: 300px;
  perspective: 1400px;
}

.carousel-items {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(253, 253, 253, 0.652);
  border-color: #F5F5F5;
  opacity: 0.2;
  transition: transform 0.5s ease, border-color 0.5s ease, opacity 0.5s ease;
}

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

.item.active {
  opacity: 1;
  background: #E3F2FD;
  border: 2px solid #90CAF9;
  box-shadow: 0 0 25px #BBDEFB;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 2;
}

.description {
  margin-top: 20px;
  height: 110px;
  text-align: center;
  font-size: 1.1rem;
  color: #4A4A4A;
  transition: opacity 0.3s ease;
}

.description strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  text-align: center;
  color: #111111;
}

.description strong::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #DDECF9;
  margin-top: 3px;
}

#fadeOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 100;
}

.signature {
  position: absolute;
  bottom: 0px;
  right: 20px;
  text-align: right;
  font-size: 1.2rem;
  color: #141414;         
}