/*===== SLIDER ======== */
.slider{
  height: 100.3vh;
  margin-top: -50px;
  position: relative;
  touch-action: pan-x;
  background-color: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.slider .list .item img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.slider .list .item::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.9;
  background-image: linear-gradient(to top,#000 20%, transparent);
}

.slider .list .item .content{
  position: absolute;
  left: 10%;
  top: 30%;
  width: 900px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1){
  text-transform: uppercase;
  letter-spacing: 10px;
}

.slider .list .item .content h2{
  font-size: 100px;
  color: #FFF4EE;
  margin: 0;
}

@media (max-width: 767px) {
  .slider .list .item .content h2 {
    font-size: 50px !important; 
    font-weight: 900;
  }
}

.slider .list .item .content p{
  color: #FFF4EE;
}

@media (min-width: 768px) {
  .slider .list .item .content p {
    font-size: 23px; 
  }
}

.slider .list .item.active{
  opacity: 1;
  z-index: 10;
}

@keyframes showContent {
  to{
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}

.arrows{
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
}
.arrows button{
  background-color: #eee5;
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  font-size: x-large;
  color: #eee;
  transition: .5s;
}

.arrows button:hover{
  background-color: #FFF4EE;
  color: #512702;
}

.thumbnail {
  padding-top: 20px !important;
  position: absolute;
  bottom: 50px;
  z-index: 11;
  display: flex;
  gap: 70px;
  width: 100%;
  height: 250px;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
  touch-action: pan-y; /* Prevents horizontal swipe from scrolling the page vertically */
}

.thumbnail::-webkit-scrollbar{
  width: 0;
  display: none;
}

.thumbnail .item{
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
  position: relative;
  flex: 0 0 auto;
}

.thumbnail .item img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 100%;
}

.thumbnail .item.active{
  filter: brightness(1.5);
}

/* @keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */


/* @keyframes rotateRing {
  0% {
    transform: rotate(0deg);
    border-color: #FF6B6B; 
    box-shadow: 0 0 10px #FF6B6B;
  }
  33% {
    border-color: #FFD93D; 
    box-shadow: 0 0 10px #FFD93D;
  }
  66% {
    border-color: #6BCB77; 
    box-shadow: 0 0 10px #6BCB77;
  }
  100% {
    transform: rotate(360deg);
    border-color: #FF6B6B; 
    box-shadow: 0 0 10px #FF6B6B;
  }
} */

@keyframes shadow-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.thumbnail .item.active::after {
  content: "";
  position: absolute;
  opacity: 0.5;
  top: 45.5%;
  left: 66.5%;
  width: 200px; /* slightly more than 200px thumbnail */
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: shadow-rotate 2.5s linear infinite;
  transform-origin: center;
  box-shadow:
    0 -5px 10px 1px #512702,
    6px 0 15px 1px #a16908,
    -6px 6px 12px 1px #FEBF00;
}


/* .thumbnail .item.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 5px dashed #ffd9d9;
  animation: rotateRing 7s linear infinite;
  z-index: 2;
  pointer-events: none;
} */

@media (max-width: 768px) {
  /* .thumbnail .item.active::before {
    top: -8px;
    left: -8px;
    width: 145px;
    height: 145px;
    border-width: 4px;
  } */

  .thumbnail .item.active::after {
    top: 29.5%;
    left: 43%;
    width: 130px;
    height: 130px;
  }
}

/* .thumbnail .item .content{
  position: absolute;
  inset: auto 10px 40px 70px;
  color: #FFF4EE;
} */

.thumbnail .item .content { 
  position: absolute;
  bottom: 40px; 
  left: 50%;
  transform: translateX(-40%); 
  color: #FFF4EE;
  text-align: center; 
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .thumbnail{
      justify-content: start;
  }
  .slider .list .item .content h2{
      font-size: 60px;
  }
  .arrows{
      top: 20%;
  }
}

@media (max-width: 768px) {
  .thumbnail{
    gap: 0px;
    padding: 0 4px;
  }
  .thumbnail .item img{
    width: 130px;
    height: 130px;
  }

  .thumbnail .item .content{
    position: absolute;
    inset: 150px 10px 30px 55px;
    /* bottom: 50px;  */
    color: #FFF4EE;
  }
}



/*===== SLIDER ======== */

/*===== TYPING EFFECT ======== */
.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*===== SLIDER ======== */
.slider{
  height: 100.3vh;
  margin-top: -50px;
  position: relative;
  touch-action: pan-x;
  background-color: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.slider .list .item img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.slider .list .item::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.9;
  background-image: linear-gradient(to top,#000 20%, transparent);
}

.slider .list .item .content{
  position: absolute;
  left: 10%;
  top: 30%;
  width: 900px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1){
  text-transform: uppercase;
  letter-spacing: 10px;
}

.slider .list .item .content h2{
  font-size: 100px;
  color: #FFF4EE;
  margin: 0;
}

@media (max-width: 767px) {
  .slider .list .item .content h2 {
    font-size: 50px !important; 
    font-weight: 900;
  }
}

.slider .list .item .content p{
  color: #FFF4EE;
}

@media (min-width: 768px) {
  .slider .list .item .content p {
    font-size: 23px; 
  }
}

.slider .list .item.active{
  opacity: 1;
  z-index: 10;
}

@keyframes showContent {
  to{
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}

.arrows{
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
}
.arrows button{
  background-color: #eee5;
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  font-size: x-large;
  color: #eee;
  transition: .5s;
}

.arrows button:hover{
  background-color: #FFF4EE;
  color: #512702;
}

.thumbnail {
  padding-top: 20px !important;
  position: absolute;
  bottom: 50px;
  z-index: 11;
  display: flex;
  gap: 70px;
  width: 100%;
  height: 250px;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
  touch-action: pan-y; /* Prevents horizontal swipe from scrolling the page vertically */
}

.thumbnail::-webkit-scrollbar{
  width: 0;
  display: none;
}

.thumbnail .item{
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
  position: relative;
  flex: 0 0 auto;
}

.thumbnail .item img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 100%;
}

.thumbnail .item.active{
  filter: brightness(1.5);
}

/* @keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */


/* @keyframes rotateRing {
  0% {
    transform: rotate(0deg);
    border-color: #FF6B6B; 
    box-shadow: 0 0 10px #FF6B6B;
  }
  33% {
    border-color: #FFD93D; 
    box-shadow: 0 0 10px #FFD93D;
  }
  66% {
    border-color: #6BCB77; 
    box-shadow: 0 0 10px #6BCB77;
  }
  100% {
    transform: rotate(360deg);
    border-color: #FF6B6B; 
    box-shadow: 0 0 10px #FF6B6B;
  }
} */

@keyframes shadow-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.thumbnail .item.active::after {
  content: "";
  position: absolute;
  opacity: 0.5;
  top: 45.5%;
  left: 66.5%;
  width: 200px; /* slightly more than 200px thumbnail */
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: shadow-rotate 2.5s linear infinite;
  transform-origin: center;
  box-shadow:
    0 -5px 10px 1px #512702,
    6px 0 15px 1px #a16908,
    -6px 6px 12px 1px #FEBF00;
}


/* .thumbnail .item.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 5px dashed #ffd9d9;
  animation: rotateRing 7s linear infinite;
  z-index: 2;
  pointer-events: none;
} */

@media (max-width: 768px) {
  /* .thumbnail .item.active::before {
    top: -8px;
    left: -8px;
    width: 145px;
    height: 145px;
    border-width: 4px;
  } */

  .thumbnail .item.active::after {
    top: 29.5%;
    left: 43%;
    width: 130px;
    height: 130px;
  }
}

/* .thumbnail .item .content{
  position: absolute;
  inset: auto 10px 40px 70px;
  color: #FFF4EE;
} */

.thumbnail .item .content { 
  position: absolute;
  bottom: 40px; 
  left: 50%;
  transform: translateX(-40%); 
  color: #FFF4EE;
  text-align: center; 
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .thumbnail{
      justify-content: start;
  }
  .slider .list .item .content h2{
      font-size: 60px;
  }
  .arrows{
      top: 20%;
  }
}

@media (max-width: 768px) {
  .thumbnail{
    gap: 0px;
    padding: 0 4px;
  }
  .thumbnail .item img{
    width: 130px;
    height: 130px;
  }

  .thumbnail .item .content{
    position: absolute;
    inset: 150px 10px 30px 55px;
    /* bottom: 50px;  */
    color: #FFF4EE;
  }
}



/*===== SLIDER ======== */

/*===== TYPING EFFECT ======== */
.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*===== TYPING EFFECT ======== */
