/* Global style, remove default margins */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f9;
}

/* Hide the second page */
#page2 {
    display: none;
}

/* Big box style */
.big-box {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    width: 80%;
    height: 75vh;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Big title style on the first page */
#page1 p {
    font-size: 48px;
    font-weight: bold;
    color: #007BFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #007BFF, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scaleIn 1s ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Button style */
button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Game container style on the second page */
#page2 .game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Player choice area style */
#page2 .player-choices {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Player choice image style */
#page2 .player-choice {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

#page2 .player-choice:hover {
    border-color: #007BFF;
}

/* Result display area style */
#page2 .result {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Computer choice display area style */
#page2 .computer-choice-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#page2 .computer-choice-display img {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

/* Restart button style */
#restart {
    margin-top: 20px;
}