:root {
    --prin-clr: #080708;
    --ply-o-clr: #3772ff;
    --ply-t-clr: #df2935;
    --acc-clr: #fdca40;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    width: min(100vw, 100%);
    min-height: 100vh;
    color: var(--prin-clr);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section {
    height: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 0 1rem;
    padding: 20px;
    border-radius: 20px;
    font-size: 1.5rem;
}

#container {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, auto));
    grid-template-rows: repeat(3, minmax(100px, auto));
}

#container > div {
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 3rem;
}

.square:hover {
    background-color: var(--acc-clr);
}

#status {
    font-weight: 700;
    text-align: center;
    color: var(--acc-clr);
}

#score {
    display: flex;
    gap: 40px;
    justify-content: center;
    font-weight: 700;
}

#score-one {
    color: var(--ply-o-clr);
}

#score-two {
    color: var(--ply-t-clr);
}

footer {
    position: absolute;
    bottom: 0;
    background-color: var(--prin-clr);
    width: 100%;
    justify-content: center;
    color: white;
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    padding-top: 5px;
}

h5 {
    margin: 0;
}

a {
    font: inherit;
}

a:link {
    color: inherit;
}

a:visited {
    color: var(--acc-clr);
}

a:hover {
    font-size: larger;
}

* {
    transition: all .3s ease;
    box-sizing: border-box;
}

.start {
    margin-bottom: 20px;
}

.start:hover {
    width: 48px;
    height: 48px;
    background-color: var(--acc-clr);
    padding: 10px;
    border-radius: 50%;
}