/* Reset and Base Styles */
* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    margin: 0;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 54px;
    font-weight: 500;
    color: #e0e0e0;
}

h3 {
    text-align: center;
    color: #4caf50; /* Red accent for result messages */
    font-weight: 500;
    font-size: 40px;
}

.main-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 100px 0px;
}

/* Game Button and Option Styles */
.player-option {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.player-option button {
    width: 100%;
    max-width: 150px;
    height: 100px;
    border: none;
    border-radius: 10px;
    background-color: #333; /* Dark button background */
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.player-option button svg {
    width: 50%;
    height: 50%;
    color: #ffffff;
}

.player-option button:focus {
    background-color: #4caf50; /* Green color for player's selected option */
}

.compbtns.selected {
    background-color: #d32f2f; /* Red color for computer's selected option */
}

.compbtns.blink {
    background-color: #d32f2f; /* Red color for computer's selected option */
}

/* Blinking Animation for Computer's Choice */
@keyframes blink-animation {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.compbtns.blink {
    animation: blink-animation 0.5s ease-in-out infinite alternate;
}

/* Score and Option Panels */
input {
    width: 100%;
    max-width: 100px;
    background-color: transparent;
    color: #e0e0e0;
    font-size: 25px;
    text-align: center;
    border: none;
    outline: none;
}

.opt-sect {
    background-color: #212121; /* Dark panel background */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

span {
    color: #e0e0e0;
    font-size: 20px;
    text-align: center;
    margin: 10px 0;
}

/* Footer, Navbar, and Miscellaneous Styles */
.navbar, .footer {
    background-color: #212121;
    color: #e0e0e0;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    border-top: 1px solid #333;
    position: fixed;
    width: 100%;
}

.navbar {
    top: 0;
}

.footer {
    bottom: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
    h1 {
        font-size: 40px;
    }

    h3 {
        font-size: 35px;
    }

    span, input {
        font-size: 18px;
    }

    .player-option button {
        height: 80px;
        max-width: 120px;
    }
}


/* dialog box */

.dialogue-box {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333; /* Dark background */
    color: #e0e0e0; /* Light text */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 300px;
}

#dialogue-text{
    font-size: 24px;
}

.dialogue-box.show {
    display: block; /* Show when active */
}

.close-btn {
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 20px;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}
