*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body{
    height: 100vh;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
       display: flex;
        flex-direction: column;
        justify-content: center;

        align-items: center;
        margin: 0;
        text-align: center;
        
}

h1{
    position: relative;
    font-size: 34px;
    color: black;
    font-weight: 800;

        top: -100px;
        text-decoration: underline #ff0059;
}

.container{
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d ;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.7s;
}

.container span
{
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
}

.container span img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.container span img:hover{
    transform: scale(1.1);
}

.btn-container{
    position: relative;
    width: 80%;
}

.btn{
    position: absolute;
    bottom: -80px;
    background: rgb(244, 94, 7);
    color: white;
    border: none;border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
        font-size: 18px;
        font-weight: 600;
    transition: 0.3s all ease;

}

#prev{
    left: 20%;
    
}

#next{
    right: 20%;
}

.btn:hover{
    filter: brightness(1.5);
    transform: translateY(-10px);
}


.credit{
    font-size: 22px;
    font-family: cursive;
    font-weight: 400;
    margin-top: 20px;

}

.sphere{

    position: absolute;
    width: 150px;
    height: 150px;
    background:  radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
     border-radius: 50%;
     animation: float 10s infinite ease-in-out;
  }



  @keyframes float {
    0%, 100%{
        transform: translateY(-10px) translateX(0px) scale(1);
        opacity: 0.6;
        
    }

    50%
    {
        transform: translateY(300px) translateX(100px) scale(1.2);
        opacity: 1;
    }
    
  }

  .sphere:nth-child(1){
    top: 10%;
    left: 20%;
    animation-delay: 0s;
  }



  .sphere:nth-child(2){
    top: 50%;
    left: 50%;
    animation-delay: 3s;


  }
  
  .sphere:nth-child(3){
    top: 30%;
    left: 80%;
    animation-delay: 1s;

  }
  .sphere:nth-child(4){
    top: 70%;
    left: 10%;
    animation-delay: 5s;


  }
  .sphere:nth-child(5){
    top: 80%;
    left: 60%;
    animation-delay: 8s;
  }

  .btn{
    text-align: center;
  }