@font-face {
    font-family: riffic;
    src: url(RifficFree-Bold.ttf);
}

@font-face {
    font-family: halogen;
    src: url(Halogen.ttf);
}

body {
    background: scroll url(club.png) top;
}

h1 {
    font-family: riffic, Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

p, span, ul, ol {
    font-family: halogen, Arial, sans-serif;
}

#logo {
    display: block;
    margin-inline: auto;
    max-width: 300px;
}

content-wrap {
    position: fixed;
    height: calc(100% - 260px);
    overflow-y: scroll;
    margin-top: 10px;
}

section {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    margin: 10px;
}

article {
    background-color:rgba(255, 175, 195, 0.7);
    padding: 10px;
    border-radius: 10px;
}

#spoiler {
    grid-column: 1 / 3;
    text-align: center;
}

#what {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

#quote p:nth-child(1) {
    font-size: 1.5rem;
    font-weight: bold;
}

#quote p:nth-child(2) {
    text-align: right;
    font-size: 1.2rem;
}

#quote p:nth-child(2) > s {
    opacity: 75%;
    font-size: 0.8rem;
}

#mensrea {
    grid-row: 4 / 5;
}

#sentient {
    grid-row: 4 / 6;
}

#gallery img {
    width: 150px;
}

#diabox {
    display: initial;
    position: fixed;
    bottom: 0;
    left: 50%;
    max-width: 100%;
    margin-left: -450px;
}

#diabox-buttons {
    display: flex;
    position: fixed;
    bottom: 7.5%;
    left: 50%;
    width: 899px;
    margin-left: -450px;
    justify-content: space-evenly;
}

#diabox-buttons button {
    border: 0;
    background-color: rgba(255, 55, 138, 0.4);
    width: 40%;
    height: 30px;
}

#diabox-mobile, #diabox-mobile-buttons {
    display: none;
}

button {
    font-family: halogen, Arial, sans-serif;
    border-radius: 7px;
}

#img-ddlc {
    max-width: 200px;
    float: left;
    margin: 10px;
}

#hang-quote {
    width: 80%;
    margin-inline: auto;
    font-size: 0.9rem;
}

#moni {
    background: 0;
    text-align: right;
}

#monimg {
    max-width: 50%;
    transform: scaleX(-1);
    position: relative;
    right: 20%;
}

#credits {
    height: 150px !important;
    position: relative;
    top: 40%;
    right: 20%;
}

@media (max-width: 900px) {
    section {
        grid-template-columns: repeat(1, auto);
    }
    #diabox {
        left: 0;
        margin-left: 0;
    }
    #diabox-buttons button {
        width: 30%;
    }
    #monimg {
        max-width: 75%;
        transform: scaleX(-1);
        position: relative;
        right: 20%;
    }
    #credits {
        height: 200px !important;
        position: relative;
        top: 40%;
        right: 20%;
    }
}

@media (max-width: 700px) {
    #diabox, #diabox-buttons {
        display: none;
    }
    #diabox-mobile {
        display: initial;
        position: fixed;
        bottom: 0;
        left: 0;
        max-width: 100%;
        margin-left: 0;
    }
    #diabox-mobile-buttons {
        display: flex;
        position: fixed;
        bottom: 5%;
        width: 100vw;
        justify-content: space-evenly;
    }
    #diabox-mobile-buttons button {
        border: 0;
        background-color: rgba(255, 55, 138, 0.4);
        width: 40%;
        height: 30px;
    }
    content-wrap {
        position: fixed;
        height: calc(100% - 185px);
        overflow-y: scroll;
    }
    #img-ddlc {
        max-width: 100%;
        float: none;
        display: block;
        margin: auto;
    }
    #spoiler {
        grid-column: 1 / 2;
    }
    #who {
        grid-row: 2 / 3;
    }
    #what {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    #quote {
        grid-row: 4 / 5;
    }
    #mensrea {
        grid-row: 5 / 6;
    }
    #sentient {
        grid-row: 6 / 7;
    }
    #route {
        grid-row: 7 / 8;
    }
    #monimg {
        display: none;
    }
    #credits {
        height: 200px !important;
        position: initial;
        top: 0;
        right: 0;
    }
}