/* Reset default margins and set up a clean, modern font */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* Style the main heading */
.game-card {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    width: 90%; /* Responsive wrapper for mobile screens */
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}


.container {
    display: flex;
    gap: 19px; 
    margin-bottom: 2rem;
}


div button {
    font-size: 3.5rem; 
    padding: 15px 25px;
    background-color: hsl(227, 80%, 64%);
    border: 2px solid #e0e0e0;
    border-radius: 200px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}


button:hover {
    transform: translateY(-4px); 
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
    background-color: hsl(227, 80%, 74%);
    border-color: hsl(0, 4%, 75%); 
}

button:active {
    transform: translateY(1px); 
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}


#PlayerDisplay, #ComputerDisplay {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 8px 0;
    color: #34495e;
}


#Result {
    display: none;
    border: 2px solid;
    padding: 10px 12px;
    border-radius: 25px;
    box-shadow: 2px 2px 2px 2px;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1.5rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ScoreDisplay{
    font-size: 2.05rem
}

.greentext, #PlayerScoreDisplay{
    color :#2ecc71;
}
.redtext, #ComputerScoreDisplay{
    color: red;
}
#resetBtn {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

#resetBtn:hover {
    background-color: #c0392b;
}
