body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;   
}

#game-board {
    position: relative;
    width: 100vw;
    height: 56.25vw; 
    background-image: url('../images/bg.png'); 
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
}

h1, h3 {
    position: absolute;
    width: 100%;
    margin: 0;
    font-family: "democratica", sans-serif;
    color: #FF2800;
    text-align: center;

}

h1 {
    top: 2vw; 
    font-size: 5vw;
    font-weight: 900;
    text-transform: uppercase;
}

h3 {
    top: 10vw; 
    font-size: 2.75vw; 
    left: 74vw; 
    text-transform: uppercase;
    width: auto;
}


h3.result-style {
    left: 0 !important;
    top: 24vw !important; 
    width: 100% !important;
    font-size: 5vw !important;
    z-index: 20 !important;
    text-shadow: 0 0 15px #000, 0 0 5px #FF2800;
    transition: none !important;
}

#rps_left, #rps_right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 15vw;
    width: 10vw;
    gap: 1vw;
}

#rps_left { left: 8vw; }
#rps_right { right: 8vw; }

.rps_button {
    display: block;
    width: 8vw; 
    height: 11vw;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 2vw; 
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}


#rps_left .rps_button:hover { background-color: rgba(255, 0, 0, 0.5); transform: scale(1.1); }
#rps_right .rps_button:hover { background-color: rgba(81, 255, 0, 0.5); transform: scale(1.1); }

.rock { background-image: url('../images/rock.png'); }
.paper { background-image: url('../images/paper.png'); }
.scissors { background-image: url('../images/scissors.png'); }


#rps_left .move-to-center { background-color: rgba(255, 0, 0, 0.6) !important; box-shadow: 0 0 20px #FF0000; }
#rps_right .move-to-center { background-color: rgba(0, 255, 0, 0.6) !important; box-shadow: 0 0 20px #00FF00; }

h3.result-style {
    left: 0 !important;
    top: 24vw !important; 
    width: 100% !important;
    font-size: 5vw !important;
    z-index: 20 !important;
    text-shadow: 0 0 15px #000, 0 0 5px #FF2800;
}

.game-result {
    position: absolute;
    top: 18vw; 
    left: 0;
    width: 100%;
    text-align: center;
    color: #cc00cc; 
    font-family: "democratica", sans-serif;
    font-size: 3.2vw; 
    z-index: 30;
    text-shadow: 2px 2px 10px #000;
    pointer-events: none;
}


#rps_left .move-to-center, 
#rps_right .move-to-center {
    position: absolute !important;
    top: 10vw !important; 
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.5) !important;
    z-index: 100;
    transition: all 0.5s ease-in-out;
}

#rps_left .move-to-center {
    left: 21vw !important; 
    box-shadow: 0 0 20px #FF0000;
}

#rps_right .move-to-center {
    right: 21vw !important; 
    box-shadow: 0 0 20px #00FF00;
}