@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Linden+Hill&display=swap');

html,
body {
    /* background-color: #252124; */
    background-color: #F4EEDC;
    margin: 0;
    padding: 0;
    font-family: 'Linden Hill';
}

.headline {
    font-size: 34pt;
    font-family: 'Bebas Neue';
    margin-top: 20pt;
    margin-bottom: -1pt;
}

.reverse {
    background-color: #252124;
    color: #F4EEDC;
}

iframe {
    border: 0;
}

#mobOnly {
    text-align: left;
    padding: 20pt;
    color: #252124;
    background-color: #F4EEDC;
    font-size: 12pt;
    display: none;
}

#controls {
    text-align: right;
    padding: 0pt 20pt;
    width: 160pt;
    height: 100%;
    color: #252124;
    background-color: #F4EEDC;
    font-size: 24pt;
    float: left;
    margin: 0;
    /* position: absolute;
            x: 0pt;
            y: 0pt; */

}

#controlsMobile {
    display: none;
    position: absolute;
    bottom: 0pt;
    width: 100dvh;
    height: 72pt;
    margin: 0;
    padding: 0;
}


#art,
#ifGen {
    width: calc(100dvw - 200pt);
    height: 100dvh
}

#ifGen {
    position: absolute;
    x: 200pt;
    y: 0pt;
    background-color: #252124;
}

#buttons {
    position: absolute;
    bottom: 10pt;
    width: 160pt;
    margin: 0;
    padding: 0;
}

a {
    color: #030102;
    outline-color: #252124;
}


@media (hover: hover) {
    a:hover {
        opacity: 40%;
        text-decoration: underline;
    }

    button:hover {
        background-color: #252124;
        color: #F4EEDC;
        border-color: #252124;
        opacity: 0.5;
    }

    button:active {
        opacity: 0.5;
    }

    .reverse:hover {
        opacity: 0.5;
    }

    .reverse:active {
        opacity: 0.85;
    }

}

/* Styles for devices that do NOT support hover (e.g., touchscreens) */
@media (hover: none) {
    a:active {
        opacity: 40%;
        text-decoration: underline;
    }

    button:active {
        background-color: #252124;
        color: #F4EEDC;
        border-color: #252124;
        opacity: 0.5;
    }

    .reverse:active {
        opacity: 0.5;
    }
}

@media (width >=600px) {
    button {
        /* font-family: 'Bebas Neue'; */
        font-family: 'Linden Hill';
        font-size: 13pt;
        margin: 0;
        margin-bottom: 12pt;
        padding: 8pt;
        padding-top: 10pt;
        color: #252124;
        background-color: #F4EEDC;
        width: 100%;
        border-width: 1px;
        border-color: #252124;
        outline-color: #252124;
    }
}

@media (width < 600px) {

    .headline {
        font-size: 20pt;
        margin-top: 10pt;
    }

    button {
        /* font-family: 'Bebas Neue'; */
        font-family: 'Linden Hill';
        font-size: 11pt;
        margin: 0;
        margin-bottom: 12px;
        margin-right: 0px;
        margin-left: 10px;
        padding: 4px;
        padding-top: 8px;
        color: #252124;
        background-color: #F4EEDC;
        width: calc((100% - 73px) / 5);
        border-width: 1px;
        border-color: #252124;
        outline-color: #252124;
    }

    #mobileHeader {
        width: 100dvw;
        margin-top: 0px;
        padding: 10px;
    }

    #buttons {
        margin: 0;
        padding: 0;
        padding-left: 0px;
        width: 100dvw;
        bottom: 5px;
    }

    #controls {
        display: none;
        width: 100dvw;
    }

    #controlsMobile {
        width: 100dvw;
        margin: 0;
        padding: 0px;
        padding-top: 15px;
        display: block;
    }

    #art,
    #ifGen {
        width: 100dvw;
        height: calc(100dvh - 72pt);
    }

    #ifGen {
        x: 0pt;
        y: 0pt;
    }

}