/* HEADER */
header {
    padding: 20px;
    margin-bottom: 30px;
    border-bottom: solid 5px #00465b;
    background: url("index_images/pattern banner.png") repeat-x;
    background-repeat: repeat;
    animation: header-scroll 25s linear infinite;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-height: 200px;
    image-rendering: pixelated;
}

header a:hover {
    filter: brightness(5);
}

@keyframes header-scroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1125px -270px; 
    }
}

/* OVERALL */ 
.merienda-coolfont {
    font-family: "Merienda", cursive;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

body {
    background: url("index_images/pattern.png") repeat;
    background-color: white;
    margin: 0;
    color: white;
    font-family: "Merienda";
    text-shadow: 2px 2px rgba(71, 26, 71, 0.5);
}

/* LEFT AND RIGHT CONTAINER */
section {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
}

/* 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 {
    border-radius: 16px;
    background: linear-gradient(rgba(242, 0, 255, 0.806),rgba(0, 179, 255, 0.786));

    margin: 10px;

    padding: 0 25px 0 25px;
    max-width: 700px;
    font-size: xx-large;

    height: max-content;
}

/* Mobile */
@media screen and (max-width: 1100px) {
    header {
        justify-content: center;
        flex-direction: column;
        zoom: 50%;
    }

    .buttondiv {
        align-items: center;
    }

    section {
        flex-direction: column;
    }

    .sectiondiv {
        margin-bottom: 50px;
    }

    .button {
        /*zoom: 45%;*/
        zoom: calc((100% / 2));
    }
}