@import url("../css/header.css");
@import url("../css/keyboard.css");
@import url("../css/wordboard.css");
@import url("../css/loading.css");
@import url("../css/endgame.css");

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: sans-serif;
    user-select: none;
}

#wordboard,
#keyboard {
    .misplaced {
        background-color: rgb(243, 194, 55);
    }

    .correct {
        background-color: rgb(121, 184, 81);
    }

    .incorrect {
        background-color: rgb(164, 174, 196);
    }
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: 40px 40px;
    background-image:
        linear-gradient(
            to right,
            rgba(128, 128, 128, 0.1) 2px,
            transparent 2px
        ),
        linear-gradient(
            to bottom,
            rgba(128, 128, 128, 0.1) 2px,
            transparent 2px
        );

    > p {
        position: fixed;
        left: 0px;
        top: 0px;
        padding: 5px;
    }
}
