* {
    font-family: monospace, serif;
    margin: 0;
    padding: 0;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 800px;
    height: 500px;
    min-width: 400px;
    min-height: 400px;
    background: #00ff8b;
    border-radius: 10px;
}

.high-score {
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.player {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.feedback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
    font-size: 26px;
}

.opponent {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-again-text {
    font-weight: bold;
    background: black;
    color: white;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
}

.play-again-text:hover {
    cursor: pointer;
}

img {
    height: 70px;
    padding: 5px;
}

img:hover {
    background: deepskyblue;
    border-radius: 10px;
    cursor: pointer;
}

.hide {
    display: none;
}

.show {
    display: block;
}


/* Media Queries for Mobile Devices */
@media screen and (max-width: 600px) {
    main {
        width: 100%;
        min-width: 100%;
        min-height: 100%;
        border-radius: 0;
        height: 100%;
    }

    .player,
    .feedback,
    .opponent {
        height: 22%;
    }

    .high-score {
        height: 50px;
        align-items: center;
    }
}
