body{
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right,rgb(199,133,9),rgb(244,244,87));
    font-family: Arial;
    overflow: hidden;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: appear 1s ease;
}

h1{
    font-size: 45px;
    color: #222;
    margin-bottom: 30px;
    animation: title 1s ease;
}

#image{
    width: 300px;
    cursor: pointer;
    border-radius: 20px;
    animation: float 2s ease-in-out infinite;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#image:hover{
    filter: brightness(1.1);
}

.buttons{
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

button{
    padding: 15px 25px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
    background-color: rgb(251,230,1);
    color: rgb(245,106,13);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:hover{
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

button:active{
    transform: scale(0.95);
}

#stopBtn{
    background-color: #222;
    color: white;
}

@keyframes appear{

    from{
        opacity: 0;
        transform: translateY(100px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes float{

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0);
    }

}

@keyframes title{

    from{
        opacity: 0;
        transform: scale(0.5);
    }

    to{
        opacity: 1;
        transform: scale(1);
    }

}
.shake{
    animation: shake 0.5s ease;
}

.glow{
    box-shadow: 0 0 20px #fff,
                0 0 40px #ff9900,
                0 0 70px #ff6600;
}

@keyframes shake{

    0%{
        transform: translateX(0);
    }

    25%{
        transform: translateX(-15px) rotate(-3deg);
    }

    50%{
        transform: translateX(15px) rotate(3deg);
    }

    75%{
        transform: translateX(-10px) rotate(-2deg);
    }

    100%{
        transform: translateX(0);
    }

}