:root {
    --logo-size: 100px;
    --poster-height: calc(3508px * .5);
    --poster-width: calc(2480px * .5);
    --poster-ratio: .2;
    --primary: #fdff03;
}

html, body {
    font-size: 0;
    font-family: cera-round-pro, "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    margin: 10px;
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, 0);
}

.logo {
    width: var(--logo-size);
    height: var(--logo-size);
    background-image: url('logo_web.png');
    background-size: auto var(--logo-size);
    background-position: center;
    background-repeat: no-repeat;
}

nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translate(0,-50%);
    padding: 5px;
    background-color: rgba(50,50,50,.6);
    border-radius: 5px;
    display: flex;
    z-index: 10;
    backdrop-filter: blur(5px) saturate(180%);
}

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: inline-flex;
        flex-direction: column;
    }

        nav ul li {
            text-align: center;
            position: relative;
        }

            nav ul li a {
                font-size: 16px;
                color: #fff;
                text-decoration: none;
                padding: 5px;
                display: block;
                height: 20px;
                width: 20px;
                position: relative;
            }

            nav ul li:hover a:after {
                content: attr(title);
                font-size: 14px;
                position: absolute;
                left: 30px;
                padding: 4px 8px;
                top: 50%;
                translate: 0 -50%;
                background-color: var(--primary);
                color: #000;
                border-radius: 0 3px 3px 0;
            }

            nav ul li:hover a {
                background-color: var(--primary);
                border-radius: 3px;
                color: #000;
            }

            nav ul li a i {
                position: absolute;
                top: 50%;
                left: 50%;
                translate: -50% -50%;
            }

            nav ul li:not(:last-child) {
                margin-bottom: 2px;
            }

#backer {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.container {
    height: calc(100vh - 20px);
    overflow-y: auto;
    overflow-x: hidden;
}

content {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: table;
    position: relative;
    z-index:1;
    scroll-snap-stop: always;
    scroll-snap-type: y proximity;
}

content:nth-child(even) {
    background-color: rgba(50,50,50,.3);
    backdrop-filter: blur(5px) saturate(180%);
}

    content .outer {  
        display: table-cell;
        vertical-align: middle;
    }

        content .outer .inner {
            text-align: left;
            margin: 10vw auto; 
            max-width: 800px;
            width: 80vw; 
        }

h1 {
    font-size: 34px;
    color: var(--primary);
    margin: 0 0 10px -5px;
    display: inline-block;
    padding: 10px;
    background-color: #000;
    transform: rotate(-2deg);
    transform-origin: left bottom;
    text-transform: uppercase;
    font-weight: bold;
}

p {
    color: #fff;
    font-size: 16px;
    margin: 15px 0;
    padding: 0;
    line-height: 1.3;
}

ul#merch {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

    ul#merch li {
        width: calc(33.33% - 10px);
        margin: 5px;
        overflow: hidden;
        border-radius: 5px;
        background-color: #fff;
    }

        ul#merch li a img {
            width: 100%;    
            transition: transform .2s cubic-bezier(0.55, 0.25, 0.25, 1);
        }

            ul#merch li a img:hover {
                transform: scale(1.2);
            }

        ul#merch li:last-child {
            width: calc(66.66% - 10px);
        }

ul#merch li:last-child div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%,-50%);
    text-align: center;
}

ul#merch li:last-child {
    position: relative;
}

ul#merch li:last-child div p {
    color: #000;
}

ul#merch li:last-child div a.btn {
    display: inline-block;
}

.inline {
    display: flex;
    align-items: center;
}

img.headline-poster {
    width: calc(var(--poster-width) * var(--poster-ratio));
    height: calc(var(--poster-height) * var(--poster-ratio));
    margin-right: 20px;
}

img.headline-poster:not([src]) {
    background-image: url('logo_web.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: calc(calc(var(--poster-width) * var(--poster-ratio)) * .5);
    filter: grayscale(1);
    opacity: .5;
}

.inline > div {
    width: calc(100% - calc(var(--poster-width) * var(--poster-ratio)) - 30px);
}

a.btn {
    font-size: 18px;
    background-color: var(--primary);
    padding: 12px 18px;
    margin-right: 5px;
    border-radius: 20px;
    color: #000;
    text-decoration: none;
    display: block;
}

a.btn:last-child {
    margin-right: 0 !important;
}

.inline .inline {
    margin-top: 30px;
}

a#donate-now-btn {
    font-size: 42px;
    padding: 28px 48px;
    border-radius: 60px;
}

#socials a.btn {
    font-size: 32px;
    margin-right: 10px;
    border-radius: 40px;
    position: relative;
    width: 80px;
    height: 80px;
    padding: 0;
}

    #socials a.btn i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

@media screen and (max-width: 600px) {

    :root {
        --logo-size: 80px;
        --poster-ratio: .15;
    }
    
    body {
        margin: 0;
    }
    
    .container {
        height: 100vh;
    }
    
    div#backer {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    nav {
        top: unset;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 0;
    }
    
        nav ul {
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            width: 100%;
        }

            nav ul li a {
                font-size: 26px;
                height: 30px;
                width: 30px;
            }

            content .outer .inner {
                margin: 2vw auto;
                width: 90vw;
            }
            
            .inline {
                flex-direction: column;
                align-content: center;
            }
            
            .inline > div {
                width: auto !important;
            }
            
            img.headline-poster {
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            a.btn {
                margin-right: 0;
                margin-bottom: 5px;
            }

            ul#merch li {
                width: calc(50% - 10px);
            }
            
            ul#merch li:last-child {
                width: 100%;
            }
            
            ul#merch li:last-child div {
                position: static;
                transform: none;
                padding: 5% 10%;
            }
            
            a#donate-now-btn {
                font-size: 28px;
            }

            nav ul li:hover a:after {
                display: none;
            }

}
