body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-top: 5px;
    gap: 10px;
    background-image: url(https://wallpaperaccess.com/full/7270403.gif);
    background-size: cover;
}

.header {
    width: 100%;
    height: 10vh;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-text {
    font-size: 3vw;
    font-family: arial;
    font-weight: 600;
    color: rgb(229, 194, 38);
    transition: color 0.5s;
}

.header-text:hover {
    color: grey;
}

.middle {
    width: 60vw;
    height: 84vh;
    background-color: rgba(0,0,0,0.8);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5vh;
}

.js-score, .js-result, .js-moves {
    color: rgb(229, 194, 38);
    font-size: 15px;
    font-family: arial;
    font-weight: 550;
    transition: color 0.5s
}

.js-score:hover, .js-moves:hover, .js-result:hover {
    color: grey;
}

.js-result {
    animation-duration: 1s;
    animation-name: padding;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background-color: transparent;
    border-radius: 20px;
    padding: 5px;
}

@keyframes padding {
    from {
        background-color: transparent;
    }
    to {
        padding: 10px;
        background-color: black;
    }
}

.first {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5vw;
}

@media screen and (max-width: 600px) {
    .first {
        grid-template-columns: 1fr 1fr;
    }
    .middle {
        gap: 0;
    }
}

@media screen and (max-width: 400px) {
    .first {
        grid-template-columns: 1fr;
    }
}

.button1 {
    background-color: rgba(244,68,253,255);
    border: none;
    border-radius: 25px;
    transition: background-color 0.5s , color 0.5s;
}

.button1:hover {
    background-color: grey;
    color: black;
}

.rockimg {
    width: 10vw;
    height: 10vw;
    padding: 1vw;
}

.resetbutton1 {
    color: black;
    font-size: 20px;
    font-family: arial;
    font-weight: 550;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: rgba(244,68,253,255);
    border: none;
    border-radius: 25px;
    transition: background-color 0.5s , color 0.5s;
}

.resetbutton1:hover {
    background-color: grey;
    color: black;
}

/* rgba(244,68,253,255)
rgb(229, 194, 38) */