* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body {
    background: linear-gradient( to right,
    #6b9080 0%, #6b9080 50%, 
    #a4c3b2 50%, #a4c3b2 100%); 
}

.container {
    width: 100%;
    max-width: 725px;
    margin: 0 auto;
}

/* ====================
    Typography
==================== */

h1 {
    font-size: 1rem;
    font-weight: 800;
    color: #333533;
}

#user-score,
#comp-score {
    font-size: 1.5rem;
}

#msg {
    margin-top: 3em;
    color: #333533;
    font-weight: 700;
    text-align: center;

}

/* ====================
    Layout
==================== */


/* Header */

.navbar {
    display: flex;
    justify-content: space-between;
    margin: 1.5em;
    border-top: 3px ridge #333533;
    border-bottom: 3px ridge #333533;
    border-radius: 0.5em;
    padding: 1em;
}

.score-board {
    display: flex;
    align-items: center;
}

.score {
    font-size: 0.6rem;
    font-weight: bold;
    background-color: #333533;
    color: #F9F9F9 ;
    text-align: center;
    border-radius: 1em;
    margin-left: 1em;
    padding: 1em 1em 0em 1em;
    box-shadow: 2px 3px 5px #333533;
}

/* Choices */

.choices {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5em;
    padding: 2em;
}

.choice {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.choice-image {
    height: 125px;
    width: 125px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 2px 3px 5px #333533;
}

.choice-image:hover {
    opacity: 95%;
    cursor: pointer;
    border: 5px solid #333533;
}

@media (min-width: 500px){

    body {
        background: linear-gradient( to right,
        #6b9080 0%, #6b9080 25%, 
        #a4c3b2 25%, #a4c3b2 50%,
        #cce3de 50%, #cce3de 75%, 
        #eaf4f4 75%, #eaf4f4 100%); 
    }

    h1 {
        font-size: 1.5rem;
    }

    .score {
        font-size: 0.8rem;
        padding: 1em 1em 0.2em 1em;
        margin-left: 3em; 
    }

    #user-score,
    #comp-score {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 1em 2em;
    }

    .choice {
        height: 20%;
        width: 20%;
        margin: 0em 2em;
    }

    .choice-image {
        height: 200px;
        width: 200px;
    }
}

/* Rules */

.tooltip {
    margin-top: 2em;
    display: flex;
    justify-content: center;
}

.tooltip-group {
    position: relative;
    cursor: pointer;
    display: inline;
    color: #F9F9F9;
    background-color: #333533;
    box-shadow: 2px 3px 5px #333533;
    border-radius: 0.5em;
    border-bottom: 3.5px solid #333533;
    padding: 0.4em 1em;
}

.tooltip .tooltipimg {
    visibility: hidden;
    width: 250px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.5em;
}

.tooltip:hover .tooltipimg {
    visibility: visible;
    opacity: 1;
    background-color: #333533;
}

@media only screen and (min-width: 1200px){

    #msg {
        margin-top: 2em;
        font-size: 2rem;
    }
}