@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;600;700;900&display=swap');

body {
    min-height: 0px;
    direction: rtl;
    font-family: 'Rubik', sans-serif;
    background-color: #2D2C2F;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
    color: white;
    margin: 16px;
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 300px;
    height: 300px;
    gap: 5px;
    margin: 30px auto;
}

#board>div {
    color: #EF332E;
    background-color: white;
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
}

#players {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin: 50px auto;
}

#players>div {
    text-align: center;
    color: white;
    border-radius: 50%;
    background: #ffffff2b;
    display: flex;
    width: 160px;
    height: 160px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#players h2 {
    margin: 0;
    font-size: 3em;
}

#players>div.currentTurn {
    border: 3px solid;
}

#board>div.win {
    color: white;
    ;
    background-color: #3DBDA4;
}

.gameOption {
    background-color: transparent !important;
}

.newGame,
.startOver {
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    width: 75%;
    height: 37.5%;
    background-color: transparent;
    border: 0;
    color: white;
    border: 3px solid white;
    border-radius: 10px;
    margin: 10px;
}

.gameOption>div {
    width: 100%;
}

.gameOption>button:hover {
    background-color: white;
    color: #00363c;
    font-weight: bold;
    cursor: pointer;

}

footer {

    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 0.75em 0.75em 0.75em 0.75em;

}

@font-face {
    font-family: "Heebo-Regular";
    src: url(./Heebo/static/Heebo-Regular.ttf);
}

footer>h2 {
    margin: 0 1em;
    color: #2D2C2F;
    font-size: 1.25em;
    font-family: "Heebo-Regular";
}


.MG {
    text-align: left;
}


.save {

    text-align: right;
}

@media screen and (max-width: 680px) {
    body {
        display: unset;
    }

    footer {
        width: 95%;
        font-size: 1em;
        flex-direction: column;
    }

    .MG,
    .save {
        text-align: center;
    }
}