﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #6DA34D;
    margin: 0;
}

main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #56445D;
    width: 420px;
    padding: 15px;
    border-radius: 10px;
    border: 2.5px solid #C5E99B;
    box-shadow: 0 0 15px;
    color: white;
}

.title {
    background-color: #548687;
    text-align: center;
    border-radius: 10px;
    border: 4px solid white;
    margin-bottom: 10px;
}

.game {
    background-color: #548687;
    border-radius: 15px;
    border: 4px solid white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.box {
    aspect-ratio: 1 / 1;
    font-size: 3rem;
    color: red;
    background-color: #C5E99B;
    border-radius: 10px;
    border: 4px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Disable cursor after click */
.disCursor {
    cursor: not-allowed;
}

/* Lock the board */
.lock {
    pointer-events: none;
    opacity: 0.85;
}

.options {
    margin-top: 15px;
    background-color: #56445D;
    border-radius: 15px;
    box-shadow: 0 0 15px;
    border: 4px solid white;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

button {
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

button:hover {
    color: cyan;
}

.resetGame:hover {
    color: red;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    .box {
        font-size: 2.2rem;
    }
}
