@font-face {
    font-family: 'Open-Sauce-One-Black';
    src: url('fonts/Open-Sauce-One-Black.ttf.woff') format('woff'),
        url('fonts/Open-Sauce-One-Black.ttf.svg#Open-Sauce-One-Black') format('svg'),
        url('fonts/Open-Sauce-One-Black.ttf.eot'),
        url('fonts/Open-Sauce-One-Black.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open-Sauce-One-Regular';
    src: url('fonts/Open-Sauce-One-Regular.ttf.woff') format('woff'),
        url('fonts/Open-Sauce-One-Regular.ttf.svg#Open-Sauce-One-Regular') format('svg'),
        url('fonts/Open-Sauce-One-Regular.ttf.eot'),
        url('fonts/Open-Sauce-One-Regular.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

body {
    height: 100vh;
    width: 100vw;
    margin: 0;

    display: grid;
    grid-template-columns: 50vw 50vw;
    grid-template-rows: 50vh 50vh;
    grid-template-areas: 
        "links bio"
        "bigtext bigtext";

    background-color: black;

    font-family: Open-Sauce-One-Regular;
    color: white;
}

#links {
    padding-top: 8vh;
    padding-left: 7vw;

    grid-area: links;

    display: flex;
    flex-direction: column;

    opacity: 0;
    animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    -mox-animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    -webkit-animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    animation-fill-mode: forwards;
}

#links > span {
    padding-bottom: 1vh;
}
#links a {
    color: inherit;
    text-decoration: none;
    font: inherit;
}
#links a:visited, #links a:hover, #links a:active {
    color: inherit;
    text-decoration: none;
}






@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#bio {
    padding-top: 8vh;
    padding-right: 7vw;
    padding-bottom: 15vh;

    grid-area: bio;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas: 
        "body body"
        "body body"
        "contact location"
        "signup location";
        
    opacity: 0;

    animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    -mox-animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    -webkit-animation: 700ms cubic-bezier(.90, .06, .15, .90) 1.4s 1 fadeIn;
    animation-fill-mode: forwards;
}








#bigtext {
    grid-area: bigtext;
    padding-left: 5vw;
    padding-right: 5vw;
    font-family: Open-Sauce-One-Black;
    font-size: 22rem;
    font-weight: bolder;
}

@keyframes slideUp {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(0%);
    }
}

.bigtext-letter {
    display: inline-block;
    margin: 0vmin 0.3vmin;
    transform: translateY(100vh);

    animation: 1s cubic-bezier(.90, .06, .15, .90) 5s 1 slideUp;
    -mox-animation: 1s cubic-bezier(.90, .06, .15, .90) 5s 1 slideUp;
    -webkit-animation: 1s cubic-bezier(.90, .06, .15, .90) 5s 1 slideUp;
    animation-fill-mode: forwards;
}

/* Responsive: Ensure #bigtext always fits on screen */
@media (max-width: 1600px) {
    #bigtext {
        font-size: 14rem;
    }
}
@media (max-width: 1200px) {
    #bigtext {
        font-size: 9rem;
    }
}
@media (max-width: 900px) {
    #bigtext {
        font-size: 6rem;
        padding-left: 2vw;
        padding-right: 2vw;
    }
}
@media (max-width: 600px) {
    #bigtext {
        font-size: 3.2rem;
        padding-left: 1vw;
        padding-right: 1vw;
    }
} 

/* @media (max-width: 900px) {
    #bio {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "body"
            "contact"
            "signup"
            "location";
        padding: 4vh 4vw 8vh 4vw;
    }
    #contact, #signup, #location {
        align-items: flex-start;
    }
} */

@media (max-width: 950px) {
    #signup,
    #location,
    #contact {
        display: none !important;
    }
} 