@import "fonts.css";

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

* {
    margin: 0;
}

body {
    font-family: var(--text-font), serif;
    color: var(--title-color);
    font-size: var(--text-size);
    background: radial-gradient(circle, rgb(87, 86, 83) 0%, rgb(58, 58, 58) 52%, rgb(27, 27, 27) 100%);
}

main {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    height: 100vh;
    width: 100vw;
    justify-content: space-evenly;
}

a {
    color: inherit;
}

#end-message {
    width: 100vw;
    justify-self: center;
    position: fixed;
    text-align: center;
    top: 1rem;
    text-shadow: black 2px 3px;
    white-space: pre-wrap;
    z-index: 10;
}

#reset-message {
    font-size: 4rem;
}

#win-loose-message {
    font-size: 10rem;
}

@media screen and (max-width: 1000px), screen and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
    #end-message {
        display: flex;
        flex-flow: row wrap;
        width: 50%;
        text-align: center;
        justify-content: center;
        text-shadow: black 2px 3px;
        white-space: pre-wrap;
        gap: 1rem;
        border-radius: 15px;
        padding: 3rem;
        margin: 1rem;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    #reset-message {
        font-size: 1.5rem;
    }

    #win-loose-message {
        font-size: 3rem;
    }
}