.body{
    background: linear-gradient(to right, gold, gold, gold, palegoldenrod, gold);
    height: 100vh;
}3

body{
    overflow: hidden;
}

#playground{
    position: relative;
    width: 100vw;
    height: 85vh;
    cursor:none;
    overflow: hidden;
    background: linear-gradient(to right, gold, gold, gold, palegoldenrod, gold);
}

.element{
   position: absolute;
    transition: transform 1s ease;
}
.element > img{
    width: 200px;
    height: 400px;
    animation: alternate infinite 5s;
    animation-name: porog_forog;
}
#hud{
    display: flex;
    height: 50px;
    background: linear-gradient(to bottom, green,lightgreen, green, green, darkgreen);
    gap: 100px;
    color: #cdf6cd;
    padding: 10px;
}

@keyframes porog_forog {
    0% {
        transform: rotate(769deg) scale(0.7);
    }
    33% {
        transform: rotate(10deg) scale(0.8);

    }
    66% {
        transform: rotate(-536deg) scale(0.5);

    }
    100% {
        transform: rotate(0deg) scale(0.9);

    }
}

.alertDialogWrapper{
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.alertDialog{
    margin-left: 30vw;
    margin-right: 30vw;
    margin-top: 25vh;
    width: 40vw;
    display: inline-block;
    max-width: 40vw;
    background-color: white;
    opacity: 100%;
    z-index: 200;
    box-shadow: 10px 10px magenta;
}

.alertDialog span{
    width: 100%;
    text-align: center;
    padding: 10px;
    display: block;
}

.alertDialog button {
    margin: 5%;
    width: 90%;
    background-color: darkgray;
    border: 2px darkgray outset;
}

.alertDialog > button:active {
    border: 2px darkgray inset;
}

.alertDialog p{
    width: 100%;
    background-color: aqua;
    padding: 5px;
    font-family: "Times New Roman";
    font-size: large;
}

.alertDialogBg{
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 50%;
    z-index: -100;
}