* {
    font-family: sans-serif;
    font-size: large;
    box-sizing: border-box;
    user-select: none;
}

.screen {
    display: flex;
    flex-direction: column;
    background-color: bisque;

    .main {
        padding: 20px;
        flex-grow: 2;
        overflow-y: scroll;

        * {
            word-wrap: break-word;
        }
    }

    footer,
    header {
        display: flex;
        padding: 20px;
        background-color: burlywood;
        min-height: 50px;
        flex-shrink: 0;

        span {
            font-weight: bold;
        }
    }


    header {
        display: flex;
        justify-content: space-between;
        ;

        &>span {
            font-size: x-large;
        }
    }
}

button,
select {
    height: fit-content;
}


@media screen and (min-width: 600px) {
    body {
        padding: 2% 0;
        display: flex;
        justify-content: space-evenly;
        background-color: antiquewhite;
        height: 100dvh;
        overflow-x: scroll;
    }

    .screen {
        min-width: 200px;
        max-width: 400px;

        .navigation {
            display: none;
        }
    }
}

@media screen and (max-width: 599px) {
    .screen {
        position: fixed;
        top: 0;
        left: -100dvw;
        width: 100dvw;
        height: 100dvh;

        &.x-open {
            left: 0;
        }
    }
}