@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --bg-main: #060606;
    --black: #000;
    --white: #fff;
    --bg-game: #6fa8dc;
}

/* ========== General Style Css ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    all: unset;
    cursor: pointer;
}

button:active {
    scale: 0.9;
}

/* Start Style X/O  */
#app {
    background: var(--bg-main);
    height: 100vh;
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: "Josefin Sans", sans-serif;

}

#app .content-app {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#app .content-app .header input {
    width: 100%;
    height: 40px;
    border: 1px solid #8080806e;
    background: #808080c5;
    cursor: pointer;
    border-radius: 18px;
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
}

#app .content-app .game {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3,1fr);
    place-items: center;
    width: 300px;
    height: 300px;
    box-shadow: 0 0 2px 8px #e4cfcf60;
    border-radius: 8px;
    background: var(--bg-game);
    padding: 1.75rem;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: var(--black);
    font-weight: bold;
    font-size: 1.25rem;
    cursor: pointer;
    border: 1.5px solid var(--black);
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.box:hover {
    background: #00000062;
    color: var(--bg-game);
}

.reset button {
    display: block;
    margin: 0 auto;
    background: #e466e4;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: rgba(185, 192, 212, 0.737);
    font-weight: bold;
    text-align: center;
}

.reset button:hover {
    background: #d726d7;
}

/* End Style X/O  */
footer p b {
    background: linear-gradient(to right, #d726d7, #6fa8dc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Mobile Start */
@media (max-width:450px) {
    html {
        font-size: 13px;
    }
}
/* Mobile End */