body, html {
    height: 100%;
    overflow: hidden;
}

main {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

hgroup, section, #footnotes {
    height: 100vh;
    scroll-snap-align: start;
    animation: fadeIn 1s;
}

hgroup, section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#footnotes {
    align-items: center;
}

hgroup.img-r, hgroup.img-l, section.img-r, section.img-l {
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

section.col-2, section .col-2 {
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (min-width: 48rem) {
    h3#chaos, h3#death {
        padding-top: 13rem;
        background-position: left top;
        background-repeat: no-repeat;
        background-size: 13rem;
    }

    h3#chaos {
        background-image: url('img/chaos.svg');
    }

    h3#death {
        background-image: url('img/death.svg');
    }
}
