@font-face {
    font-family: 'Gal';
    src: url('./font/GalneroDemo-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --bg: orange;
    --text: white;
}

body {
    height: 100vh;
    width: 100vw;
    font-family: 'Gal';
}

main {
    display: flex;
    height: 100%;
    width: 100vw;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: var(--bg);
}

.playerDetails {
    height: 500px;
    width: 500px;
    /* border: 1px solid black; */

    .playerName {
        height: 60%;
        width: 100%;
        /* border: 1px solid black; */
        display: flex;
        flex-direction: column;

        h1 {
            height: 40%;
            font-size: 90px;
            /* border: 1px solid; */
        }

        span {
            display: flex;
            align-items: center;
            font-size: 20px;
            width: 100%;
            height: 20%;
            /* border: 1px solid; */
            gap: 20px;

            input {
                border: solid;
                width: 77%;
                border-width: 0 0 1px 0;
                background: none;
                font-size: 20px;
                font-family: 'Gal';
                outline: none;
                padding-left: 10px;
            }

            input::placeholder {
                font-size: 18px;
            }
        }

        button {
            height: 15%;
            width: 100%;
            margin-top: 3%;
            color: var(--bg);
            background: black;
            border: none;
            font-family: 'Gal';
            font-size: 22px;
        }
    }

    .playerHistory {
        /* border: 1px solid; */
        height: 40%;
        width: 100%;
        display: flex;
        flex-direction: column;


        h1 {
            /* height: 50%; */
            font-size: 50px;
            /* border: 1px solid; */
            margin-top: 10%;
            margin-bottom: 2%;
        }

        span {
            display: flex;
            align-items: center;
            font-size: 20px;
            width: 100%;
            height: 25%;
            /* border: 1px solid; */
            gap: 20px;

            input {
                border: solid;
                width: 77%;
                border-width: 0 0 1px 0;
                background: none;
                font-size: 20px;
                font-family: 'Gal';
                outline: none;
            }
        }
    }
}

.playerMoves {
    height: 500px;
    width: 500px;
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;

    h1 {
        height: 20%;
        font-size: 80px;
        /* border: 1px solid ; */
    }

    #player1Moves,
    #player2Moves {
        border: 1px solid;
        height: 15%;
        margin-top: 5%;
        display: flex;
        gap: 10px;
        padding-left: 10px;
        align-items: center;
        width: 95%;
        font-size: 20px;
    }

    .Victory {
        height: 15%;
        width: 100%;
        margin-top: 3%;
        color: var(--bg);
        background: black;
        border: none;
        font-family: 'Gal';
        font-size: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#board {
    height: 500px;
    width: 500px;
    /* background-color: var(--text); */
    display: grid;
    /* border: 1px solid; */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);

    span {
        border: solid;
        display: flex;
        align-items: center;
        justify-content: center;
        color: black;
    }

    span:nth-child(1) {
        border-width: 0px 1px 1px 0px;
    }

    span:nth-child(2) {
        border-width: 0px 1px 1px 1px;
    }

    span:nth-child(3) {
        border-width: 0px 0px 1px 1px;
    }

    span:nth-child(4) {
        border-width: 1px 1px 1px 0px;
    }

    span:nth-child(5) {
        border-width: 1px;
    }

    span:nth-child(6) {
        border-width: 1px 0px 1px 1px;
    }

    span:nth-child(7) {
        border-width: 1px 1px 0px 0px;
    }

    span:nth-child(8) {
        border-width: 1px 1px 0px 1px;
    }

    span:nth-child(9) {
        border-width: 1px 0px 0px 1px;
    }
}