:root {
  --primary-color: #FF6B6B;
  --secondary-color: #4ECDC4;
  --dark-color: #292F36;
  --light-color: #F7FFF7;
  --accent-color: #FFE66D;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;}
body{
  min-height: 100vh;
  display: flex;
  justify-content: center ;
  align-items: center;
  flex-direction: column;
  gap: 100px;
  width: 100%;
  background-color: white;
  /* background: url("../IMG/poster-frame-children-room-kids-room-nursery.jpg"); */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  position: relative;
  padding: 1vh 50px;
}

/* .overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5));
} */
section{
  display: flex;
  gap: 500px;
  flex-wrap: wrap;
  justify-content: center;
}

section .box {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--light-color);
  z-index: 10;
  transition: .5s;
  border-radius: 50%;
}
section .box h2{
  margin-bottom: 10px;
  font-size: 35px;
  font-weight: 500;
  font-style: italic;
  margin: 15px 0px;
  color: var(--dark-color);
}

section .box img{
  width: 200px ;
  height: 200px;
  transition:1s;
  border-radius: 50%; /*problem*/
  box-shadow: 0 5px 10px rgba(0, 0, 0, .5);
}
section .box .img1{
  animation: scale-animation 2s ease-in-out infinite ;
  transition:1s;
}
section .box .img2{
  animation: scale-animation 2s .4s ease-in-out infinite ;
}
section .box .img3{
  animation: scale-animation 2s .7s ease-in-out infinite ;
}
section .box .img1:hover{
  animation-play-state: paused;
}
section .box .img2:hover{
  animation-play-state: paused;
}
section .box .img3:hover{
  animation-play-state: paused;
}

section .box .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;      
  display: block;
}
section .box .video-wrapper:hover, section .box img:hover{
  transform: scale(1.1);
}


.video-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
}
.video-container .video-sub-container {
  width: fit-content;
  position: relative;
  animation: fadeIn 0.8s ease forwards;
  text-align: center;
  transition: 1s;
  /* aspect-ratio: 16/9; */
  width: 100%;       
  height: 100%;
}
.video-sub-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  border-radius: 10px;
}
#unmute-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
  z-index: 100;
}

#unmute-btn:hover {
  transform: scale(1.1);
}

@media (max-width:1000px){
  section{
    gap: 300px;
  }
  body{
    gap: 100px;
  }
  section .box img{
    width: 180px ;
    height: 180px;
  }
  .video-container video{
    width: 100%;
    height: 100%;
  }
  .video-container .video-sub-container  button{
    right: 7%;
  }
}
@media (max-width:800px){
  section{
    gap: 100px;
  }
  body{
    padding: 40px 10px;
    gap: 80px;
  }
  .video-sub-container video {
    height: 100%;
  }

}
@media (max-width:500px){
  section{
    gap: 60px;
  }
  body{
    padding: 40px 0;
    gap: 60px;
  }
  section .drama{
    display: flex;
    flex-direction: column-reverse;
  }
}

@keyframes scale-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  }
} 
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.9); }
}