/* Genral Styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #007bff, #ff4b2b);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Containers */
.game-container, .score-container {
    max-width: 90%;
    width: 600px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.game-container {
    background-color: #ffffff;
}

.score-container {
    background-color: #f8f9fa;
}
/* Game Choices */
.choices {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.choice {
    width: 60px;
    height: 60px;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
/* Text Elements */
.result, .tries {
    font-size: 20px;
    margin-bottom: 20px;
}

.tries {
    font-size: 18px;
}


/* Screen Responsive  */
@media (max-width: 768px) {
    .game-container, .score-container {
        width: 100%;
        padding: 10px;
    }
    .choice {
        width: 50px;
        height: 50px;
    }
    .score {
        font-size: 20px;
    }
    .result, .tries {
        font-size: 16px;
    }
    
}

@media (max-width: 480px) {
    .choices {
        flex-direction: column;
    }
    .choice {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .score-board {
        flex-direction: column;
    }
    .score {
        font-size: 18px;
    }
    .result, .tries {
        font-size: 14px;
    }
}

/* Media query for 414px */
@media (max-width: 414px) {
    .game-container, .score-container {
        width: 95%;
        padding: 10px;
    }
    .choice {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
        font-size: 20px;
    }
    .score {
        font-size: 16px;
    }
    .result, .tries {
        font-size: 13px;
    }
    .score-board {
        flex-direction: column;
    }
}

/* Media query for 320px */
@media (max-width: 320px) {
    .game-container, .score-container {
        width: 100%;
        padding: 8px;
    }
    .choices {
        flex-direction: column;
        align-items: center;
    }
    .choice {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
        font-size: 18px;
    }
    .score {
        font-size: 14px;
        margin: 5px 0;
    }
    .result, .tries {
        font-size: 12px;
    }
    
    .score-board {
        flex-direction: column;
    }
}