@font-face 
{
    font-family: 'Rye';
    src: url('/static/fonts/rye.ttf') format('truetype');
}

body 
{
    background-image: url('/static/images/login/desert.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    
    display: flex;
    justify-content: center;
    align-items: center; 
    font-family: 'Rye', serif;
}

.board 
{
    background-image: url('/static/images/login/wooden_board.png');
    background-size: cover;
    background-position: center;
    
    width: fit-content;
    padding: 12vh 12vw; 
    
    position: absolute;
    top: 10vh; 
    bottom: -50vh;
    
    box-sizing: border-box;
    border: 0.5vh solid #000000;
    box-shadow: 0 0 5vh rgba(0,0,0,0.8);

    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.poster 
{
    background-color: #e6d5b8; 
    
    padding: 5vh 4vw; 
    width: 30vw;
    
    border: 0.5vh solid #3d2b1f; 
    box-shadow: 0 2vh 5vh rgba(0,0,0,0.6);
    
    text-align: center;
    border-radius: 0.5vh;
    position: relative;
}

.poster::before, .poster::after 
{
    content: '.';
    position: absolute;
    top: -1vh;
    font-size: 8vmin; 
    color: #585756;
}
.poster::before { left: 1vw; }
.poster::after { right: 1vw; }

h2 
{
    font-size: 5vmin;
    margin: 0 0 2vh 0;
    color: #3d2b1f;
    text-transform: uppercase;
    border-bottom: 0.3vh solid #3d2b1f;
}

h3 
{
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5vmin;
    color: #5d4037;
    margin-top: -1.5vh;
    margin-bottom: 4vh;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.2vw;
}

label 
{
    display: block;
    text-align: left;
    font-weight: bold;
    color: #3d2b1f;
    text-transform: uppercase;
    font-size: 1.8vmin;
    letter-spacing: 0.1vw;
    margin-bottom: 0.5vh;
}

input 
{
    width: 100%;
    padding: 1.5vh;
    margin-bottom: 3vh;
    border: 0.25vh solid #3d2b1f;
    background: rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 2vmin;
    outline: none;
}

button 
{
    width: 100%;
    padding: 2vh;
    background-color: #3d2b1f;
    color: #e6d5b8;
    border: none;
    font-size: 2.5vmin;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s;
    margin-top: 1vh;
}

button:active 
{
    transform: scale(0.98);
}

/* Mobile */

@media (max-width: 600px) 
{
    body 
    { 
        background-color: #e6d5b8; 
        overflow: auto;
    }

    .board 
    {
        position: relative;
        top: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
        background-image: none;
        background-color: #e6d5b8;
    }

    .poster 
    {
        width: 100vw;
        height: 100vh;
        border: none;
        box-shadow: none;
        border-radius: 0;
        box-sizing: border-box;
        padding: 5vh 8vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .poster::before, .poster::after { display: none; }

    h2 { font-size: 10vmin; } 

    h3 { font-size: 5vmin; }

    label 
    { 
        font-size: 4vmin;
        margin-bottom: 1vh;
    }

    input, button 
    {
        font-size: 5vmin;
        padding: 2vh;
        margin-bottom: 3vh;
    }
}