/*
Author: Belmonte Devis
Content: cfbtcomic.com index stylesheet
Date: 04/07/2022
*/
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Syne', arial, sans-serif;
    --color-primary: #FFF;
    --color-secondary: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 700;
}

html {
    font-family: var(--font-primary);
    color: var(--color-primary);
}

body {
    min-height: 100vh;
}

#background-video {
    filter: brightness(40%);
    z-index: -1;
}

.video-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container #background-video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;

    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.grid-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas:    "logo"
                            "follow";
    text-align: center;
    align-content: center;
    justify-items: center;
    min-height: 100vh;
    gap: 2em;
}


.logo {
    grid-area: logo;
}

.follow {
    grid-area: follow;
}

img {
    height: 15em;
}

h1 {
    font-size: 2em;
}

h2{
    font-size: 0.75em;
}

a{
    text-decoration: none;
    color: var(--font-primary);
}


/* Style for tablets */
@media (min-device-width: 768px) {

    img {
        height: 25em;
    }

    h1 {
        font-size: 3em;
    }

    h2{
        font-size: 1em;
    }

    .grid-container {
        gap: 4em;
    }
}

/* Style for desktops */
@media (min-device-width: 992px) {

    img {
        height: 35em;
    }

    h1 {
        font-size: 4em;
    }

    h2{
        font-size: 1.5em;
    }

    .grid-container {
        gap: 5em;
    }
}

/* Responsive sizing for background video */
@media (min-aspect-ratio: 16/9) {
    #background-video {
        width: 100vh;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #background-video {
        width: auto;
        height: 100vh;
    }
}