/* header div height */
#header_main {
    height: 280px;
}

#header {
    height: 155px;
}

.centerimage {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

body {
    background: url("/index_images/pattern.png") repeat;
    background-color: white;
    margin: unset;
    color: white;
    font-family: "Merienda";
    text-shadow: 2px 2px rgba(71, 26, 71, 0.5);
}

/* LEFT AND RIGHT CONTAINER */
section {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.flex {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

/* LEFTSIDE BUTTONS */
.buttondiv {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: xx-large;
}

.buttondiv p {
    margin-top: 20px;
}

.button {
    height: 200px;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.button:hover {
    background-position-y: 200px;
}

.yiik {
    background-image: url('/index_images/yiik.png');
}

.homestuck {
    background-image: url('/index_images/homestuck.png');
}

.aooni {
    background-image: url('/index_images/aooni.png');
}

.lokam {
    background-image: url('/index_images/lokam.png');
}

/* RIGHTSIDE TEXT */
.sectiondiv {
    margin: 10px;

    padding: 0 25px 0 25px;
    max-width: 700px;
    font-size: xx-large;

    height: max-content;
}

/* 4:3 ideally */

@media screen and (max-width: 1550px) {
    .button {
        zoom: calc((100% / 1.5));
    }
}

/* Mobile */
@media screen and (max-width: 1100px) {

    .buttondiv {
        align-items: center;
        font-size: 16px;
    }

    .buttondiv p {
        margin-top: unset;
    }

    section {
        flex-direction: column;
    }

    .sectiondiv {
        margin-bottom: 50px;
        padding: unset;
        font-size: larger;
    }

    .sectiondiv p, .sectiondiv img {
        margin-left: 10px;
        margin-right: 10px;
    }

    .button {
        zoom: calc((100% / 3));
    }
}