body{
    padding-top: 0;
}


.btn{
    display: block;
    transition: opacity ease .3s;
}

/* ------------------------------------------------------------- */

/* PARALLAX */

#backgroundVideoWrapper{
    top: 0;
    position: fixed;
    width: 100%;
    z-index: -1;
    opacity: 1;
    transition: opacity .5s ease;

    /* Same value parallax.js computes at scroll position 0. Declaring it here
       means the background is already in place at first paint instead of
       shifting up once the script runs. */
    transform: translateY(-10vh);
}

#backgroundVideoOffset{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 50%;
}

#backgroundVideo{
    min-width: 100%;
    height: 100%;
    transform: translateX(-50%);

    border-bottom: solid #474749 1px;
}

/* ------------------------------------------------------------- */

/* WELCOME */

#welcomeWrapper{
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: block;
    padding: 3em;
    box-sizing: border-box;
}

#welcome{
    top: 0;
    height: 100%;
    display: block;
    position: relative;
    transition: opacity .7s ease;
}

#exploreWrapper{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 10pt;
}

#explore{
    background: rgba(0, 0, 0, 0);
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    font-family: Roboto;
    color: inherit;
    text-decoration: none;
    font-size: .6em;
    max-width: 100%;
    letter-spacing: 1.5em;
    padding: 8pt 5pt 7pt 20pt;
    border: solid var(--color-border-outline) 1px;
    text-align: center;
    transition: all .5s ease;
}

#explore:hover{
    background-color: white;
    border-color: white;
    color: black;
    cursor: pointer;
    letter-spacing: 1.6em;

    transition: all .3s ease;
}

.text{
    font-size: 12pt;
    line-height: 20pt;
}

/* ------------------------------------------------------------- */

/* SECTIONS */

section {
    min-height: 100vh;
    min-height: 100dvh;
    height: fit-content;
    width: 90%;
    padding-right: 5%;
    padding-left: 5%;
    background: black;
    position: relative;
}


.content{
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.alignRight{
    float: left;
    width: 50%;
}

.alignLeft{
    float: right;
    width: 50%;
}

.welcomeName{
    /* one of the two copies is the page h1, which would otherwise be bold */
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 10pt;
    font-size: 12pt;
    position: absolute;
}

#welcomeNameLeft{
    text-align: left;
    left: 0;
}

#welcomeNameRight{
    text-align: right;
    right: 0;
}

@media screen and (orientation:landscape) {
    .welcomeName{
        top: 50%;
        transform: translateY(-50%);
    }
}

@media only screen and (max-width: 1000px) {
    #exploreWrapper{
        text-align: center;
    }

    .welcomeName{
        letter-spacing: 7pt;
        font-size: 9pt;
    }

    #exploreWrapper{
        text-align: center;
    }

    #welcomeWrapper{
        padding-right: 1em;
        padding-left: 1em;
        padding-top: 10vh;
    }
}

.textWrapper{
    width: 27%;
    margin-right: 7.5%;
    margin-left: 7.5%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    text-align: justify;
    align-items: center;
    height: 100%;
}


.wideText{
    width: 35%;
}

.illustrationWrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease .5s;

    overflow: hidden;
    flex-direction: column;
}

.illustrationWrapper img{
    max-width: 70%;
    max-height: 70vh;
    transition: all ease .5s;
}

.illustrationWrapper video{
    max-width: 70%;
    max-height: 70vh;
    transition: all ease .5s;
}




@media screen and (orientation:portrait) {
    .alignRight{
        float: none;
        width: 90%;
        flex: 1 1 auto;
    }

    .alignLeft{
        float: none;
        width: 90%;
        flex: 1 1 auto;
    }

    .textWrapper{
        margin-top: 0;
        padding-top: 0;
        height: auto;
        margin-right: 5%;
        margin-left: 5%;
    }

    .illustrationWrapper{
        height: auto;
        width: 100%;
        padding: 0;
        text-align: center;
        margin: auto;
    }
}

@media screen and (orientation:landscape) {
    .reversed{
        flex-direction: row-reverse;
    }
}

.moreBtn{
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
    text-decoration: none;
    margin-top: 15pt;
    padding: 3pt 7pt 3pt 10pt;
    font-size: 11pt;
    letter-spacing: 2pt;
    border: solid 1px #656565;
    transition: all ease .25s;
    border-radius: 3pt;
}

.moreBtn:hover{
    transition: color ease .3s, border ease .3s, letter-spacing ease .5s, border-radius ease .2s;
    color: black;
    background: white;
    border-color: white;
    letter-spacing: 2.6pt;
    border-radius: 6pt;
}

/* ------------------------------------------------------------- */

/* ABOUT ME */

#intro{
    display: flex;
    justify-content: center;
    align-items: center;
}

#introText{
    text-align: center;
}

/* ------------------------------------------------------------- */

/* GAMES */

/* ------------------------------------------------------------- */

/* ASSETS */

/* ------------------------------------------------------------- */

/* ARTWORK */

/* ------------------------------------------------------------- */


@media only screen and (max-width: 1200px) {
    .btn{
        display: none;
    }
}


@media screen and (orientation:portrait) {
    .portrait{
        display: block;
    }
    .landscape{
        display: none;
    }

}

@media screen and (orientation:landscape) {
    .portrait{
        display: none;
    }
    .landscape{
        display: block;
    }
}



.dia {
    position: absolute;
    opacity: 0;
}

.diaDisplay{
    opacity: 1;
}
