/****** Global CSS **********/
*{
    margin:0;
    padding: 0;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(156,117,210,1) 100%);    box-sizing: border-box;
}
/****** rps game CSS ********/

#rps-game {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(151, 42, 42, 0.1);
    text-align: center;
}
h1 {
    font-size: 2rem;
    color: hsl(0, 0%, 20%);
    margin: 20px 0;
    text-align: center;
}
/****** 3 choices CSS **********/

.choices {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.choices button {
    font-size: 4rem;
    min-width: 100px;
    margin: 10px;
    padding: 20px;
    border-radius: 50%;
    background-color: hsl(200, 100%, 50%);
    cursor: pointer;
    transition: background-color 0.5s ease, transform 0.3s ease;
    border: none;
    color: white;
}

.choices button:hover {
    background-color: hsl(200, 100%, 70%);
    transform: scale(1.1);
}

/****** player-computer-display ********/

#playerDisplay,
#computerDisplay {
    font-size: 1.3rem;
    margin: 8px 0;
    display: inline-block;
    width: 45%;
    text-align: center;
}
#playerDisplay {
    float: left;
    text-align: left;
    padding: 0 0 0 10px;

}
#computerDisplay {
    float: right;
    text-align: right;
    margin-right: 0;
    padding: 0 10px 0 0;
}

/***** result display CSS ******/
#resultDisplay {
    font-size: 1.7rem;
    margin: 20px 0;
    text-align: center;
}

/******** game-info CSS ***********/
#game-info {
    text-align: center;
    margin: 20px 0;
}

#round {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
}
.scoreDisplay {
    font-size: 1.5rem; 
    margin: 10px 0;
    text-align: center; 
}

#playerScoreDisplay,
#computerScoreDisplay {
    margin: 10px;
}

/****** Result Color ******/
.greenText {
    color: hsl(130, 84%, 54%);
}

.redText {
    color: hsl(0, 84%, 60%);
}


/* Responsive Design */
@media (max-width: 768px) {
    #rps-game {
        padding: 0;
    }
    h1,#resultDisplay {
        font-size: 1.5rem;
    }
    .choices button {
        font-size: 2.5rem;
        min-width: 80px;
    }
    #playerDisplay,
    #computerDisplay {
        width: 100%;
        float: none;
        text-align: center;
    }
    #playerDisplay,
    #computerDisplay,
    .scoreDisplay {
        font-size: 1.2rem;
    }
}
@media (max-width: 368px) {
    h1,#round,#resultDisplay{
        font-size: 1.2rem;
    }
}