/* Globals */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
}

body {
    background-color: #F5F5F5;
}

strong {
    font-weight: 500;
}

/* Header */
.header {
    background-color: #BACBD3;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

.header > .branding {
    background: url("../assets/checkers-50.png") round;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .4);
    height: 100px;
    margin: 54px 0;
    position: relative;
}

.header > .branding > .logo-container {
    border: 4px solid white;
    border-radius: 100%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .4);
    height: 200px;
    margin: -54px auto 0;
    width: 200px;
}

.header > .event-dates {
    margin: 60px 0 40px;
    padding: 0 10px;
    text-align: center;
}

.header > .event-dates > h1 {
    color: #212121;
    font-size: 22px;
    font-weight: 500;
    margin: 5px 0;
}

.header > .event-dates > h2,
.header > .event-dates > h3,
.header > .event-dates > h4 {
    color: #424242;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}

.header > .event-dates > h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 0;
}

.header > .event-dates > h4 {
    font-size: 12px;
}

.header > .stream-cta {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
}

.header > .stream-cta > #countdown {
    align-items: center;
    display: none;
    justify-content: center;
}

.header > .stream-cta > #countdown > .timer-section {
    align-items: center;
    border: 1px solid #424242;
    border-collapse: collapse;
    border-width: 0 1px 0 0;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.header > .stream-cta > #countdown > .timer-section:first-of-type {
    border-left-width: 1px;
}

.header > .stream-cta > #countdown > .timer-section > .timer-number {
    color: #212121;
    font-size: 22px;
    font-weight: 500;
}

.header > .stream-cta > #countdown > .timer-section > .timer-label {
    color: #424242;
    font-size: 12px;
}

.header > .stream-cta > #stream-button {
    display: none;
}

.header > .scroll {
    animation: bounce infinite 1s linear;
    bottom: 20px;
    font-size: 40px;
    height: 40px;
    left: 50%;
    position: absolute;
    transform: translateX(-20px);
    width: 40px;
}


/* Main */
main {
    line-height: 1.5;
}

.block {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 30px;
    text-align: justify;
}

.block > .detail {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 500px;
}

.block > .detail > h3 {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
}

.cta-button {
    background-color: #FFC107;
    border: none;
    border-radius: 40px;
    color: black;
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 500;
    margin: 2px 0;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s, margin .2s;
}

.cta-button:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, .4);
    margin: 0 0 4px;
}

.cta-button:visited {
    color: black;
}


/* Donate */
.donate > form {
    text-align: center;
}

#thank-you {
    display: none;
}

.donate > h4 {
    font-size: 30px;
    margin: auto 0;
    text-align: center;
}


/* Trailer */
.trailer {
    background: #212121;
}

.trailer > .trailer-content {
    margin: 0 auto;
    max-width: 1200px;
}

.trailer > .trailer-content > .video-container {
    padding-bottom: 56.52%;
    position: relative;
    width: 100%;
}

.trailer > .trailer-content > .video-container > .video {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


/* Merch */
.block > .merch {
    max-width: none;
}

.block > .merch > .products {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
}

#products-unavilable {
    display: none;
}

.block > .merch > .products > .product-link {
    border: 1px solid #9E9E9E;
    border-radius: 10px;
    display: block;
    margin: 10px;
    padding: 10px;
    transition: box-shadow .2s linear;
}

.block > .merch > .products > .product-link:hover {
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    margin: 8px 10px 12px;
}

.block > .merch > .products > .product-link > img {
    width: 100px;
}

.block > .merch > .products > .product-link.disabled {
    position: relative;
}

.block > .merch > .products > .product-link.disabled > img {
    opacity: .3;
}

.block > .merch > .products > .product-link.disabled:hover {
    box-shadow: none;
    margin: 10px;
}

.block > .merch > .products > .product-link.disabled::after {
    color: #212121;
    content: 'NO LONGER AVAILABLE';
    display: block;
    font-weight: 500;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.block > .merch > .store {
    text-align: center;
}

.block > .merch > .store > .cta-button {
    font-size: 16px;
}


/* Pythons */
.pythons {
    background-color: #0076c1;
    color: white;
}

.pythons > .block {
    margin-bottom: 0;
}

.pythons > .block a {
    color: white;
}

.pythons > .block a:visited {
    color: #E0E0E0;
}

.pythons > .block > .silly-walk > img {
    width: 200px;
    margin: 0 50px;
}


/* Footer */
.footer {
    background-color: #E0E0E0;
    color: #616161;
}

.footer > .checkers {
    background: url('../assets/checkers-50.png') round;
    height: 50px;
    width: 100%;
}

.footer > .footer-content {
    margin: 0 auto;
    max-width: 1200px;
    padding: 50px 20px;
}

.footer > .footer-content > small {
    display: block;
    font-size: 12px;
    margin: 0 0 12px;
}


/* Animations */
@keyframes bounce {
    0% { bottom: 10px; }
    50% { bottom: 20px; }
    100% { bottom: 10px; }
}


/* Media Queries */
@media only screen and (min-width: 600px) {
    /* Header */
    .header > .event-dates > h1,
    .header > .stream-cta > #countdown > .timer-section > .timer-number {
        font-size: 36px;
    }
    
    .header > .event-dates > h2,
    .header > .event-dates > h3,
    .header > .event-dates > h4 {
        font-size: 18px;
    }
    
    .header > .event-dates > h2 {
        font-size: 30px;
    }
    
    .header > .event-dates > h4 {
        font-size: 16px;
    }
}


@media only screen and (min-width: 1000px) {
    /* Global */
    html,
    body {
        font-size: 18px;
    }


    /* Main */
    .block {
        align-items: stretch;
        flex-direction: row;
    }

    .block > .detail {
        margin: 0 20px;
    }

    .block > .detail > h3 {
        font-size: 32px;
    }


    /* Donate */
    .donate > form {
        margin: auto 0;
    }

    .donate .cta-button {
        font-size: 32px;
    }


    /* Merch */
    .block > .merch > .products > .product-link > img {
        width: 200px;
    }

    .block > .merch > .store > .cta-button {
        font-size: 24px;
    }


    /* Pythons */
    .pythons > .block {
        align-items: center;
    }

    .pythons > .block > .silly-walk > img {
        width: 400px;
        margin: 0 50px;
    }


    /* Footer */
    .footer > .footer-content {
        padding: 100px 60px;
    }
}


@media only screen and (min-width: 1000px) and (min-height: 900px) {
    /* Header */
    .header > .branding {
        background: url("../assets/checkers-100.png") round;
        height: 200px;
        margin: 104px 0;
    }
    
    .header > .branding > .logo-container {
        height: 400px;
        margin: -104px auto 0;
        width: 400px;
    }

    .header > .event-dates > h1,
    .header > .stream-cta > #countdown > .timer-section > .timer-number {
        font-size: 60px;
    }

    .header > .event-dates > h2,
    .header > .event-dates > h3,
    .header > .event-dates > h4 {
        font-size: 24px;
    }
    
    .header > .event-dates > h4 {
        font-size: 20px;
    }
}