/* jost-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/jost-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/ibm-plex-sans-v22-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/ibm-plex-mono-v20-latin-300.woff2') format('woff2');
}

@media (max-width: 800px) {
    @font-face {
        font-display: swap;
        font-family: 'Cascadia Mono';
        font-style: normal;
        font-weight: 300;
        src: url('fonts/cascadia-mono-v5-braille-300.woff2') format('woff2');
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-height: 100vh;
    overflow: hidden;
}

@media (max-width: 800px) {
    #body {
        max-height: 100dvh;
        max-width: 100dvw;
    }
}

#loadingscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-items: center;
    z-index: 999999999;
    cursor: pointer;
    background-color: black;
    touch-action: none;
}

@media (max-width: 800px) {
    #loadingscreen {
        height: 100dvh;
        width: 100dvw;
    }
}

#loadingscreen>* {
    grid-area: 1/1/2/2;
    font-family: 'IBM Plex Sans';
    color: #fff;
}

@media (max-width: 800px) {
    #loadingscreen>* {
        font-size: 5vw;
    }
}

#begin {
    opacity: 0;
}

.content,
#header,
.features {
    width: 100vw;
}

#smooth-content {
    display: grid;
}

#smooth-content>* {
    grid-area: 1/1/2/2;
}

#header {
    height: max-content;
    display: grid;
    /* overflow: hidden; */
}

@media (max-width: 800px) {
    #header {
        height: 60vh;
    }
}

#header>* {
    grid-area: 1/1/2/2;
}

#logo {
    font-family: 'IBM Plex Mono';
    background-color: black;
    color: #fff;
    align-self: start;
    justify-self: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    width: fit-content;
    height: fit-content;
}

@media (max-width: 800px) {
    #logo {
        font-size: 2.5vw;
    }
}


#logo>* {
    width: fit-content;
}


#future {
    font-family: 'Jost';
    font-size: 2rem;
    align-self: start;
    justify-self: end;
    margin-top: 45vh;
    margin-right: 150px;
}

@media (max-width: 800px) {
    #future {
        font-family: 'Jost';
        font-size: 3vw;
        margin: auto;
        padding-left: 60vw;
        padding-bottom: 10vh;
    }
}

video {
    width: 100vw;
    height: auto;
    object-fit: contain;
    /* object-position: 50% 60%; */
}

@media (max-width: 800px) {
    #rvl {
        width: 100vw;
        height: 60vh;
        object-fit: cover;
    }
}

/* intro */


#intro {
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
    cursor: pointer;
    align-self: start;
}


.photo_cap {
    height: fit-content;
    margin: 20vh 0;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: #fff;
}

@media (max-width: 800px) {
    .photo_cap {
        margin: 10vh 0;
    }

    #reveal_text {
        margin-top: 10vh;
    }
}

/* #ports_text {
    margin: 35vh 0;
} */

/* @media(min-width: 801px) {
    .photo_cap {
        margin: 35vh, 0;
    }
}

@media(max-width: 800px) {
    .photo_cap {
        margin: 20vh, 0;
    }
} */

.title {
    text-align: center;
    text-transform: uppercase;
    font-family: 'IBM Plex Sans';
    font-size: 3rem;
    background-color: black;
    color: #fff;
    width: fit-content;
    justify-self: center;
    padding-left: 5px;
    padding-right: 5px;
}

@media (max-width: 800px) {
    .title {
        font-size: 6vw;
    }
}

.text {
    text-align: center;
    font-family: 'Jost';
    font-size: 2rem;
    background-color: #fff;
    color: black;
    justify-self: center;
    text-align: justify;
    /* text-wrap: balance; */
    align-self: center;
}

@media (max-width: 800px) {
    .text {
        max-width: 30ch;
    }
}

@media (min-width: 801px) {
    .text {
        max-width: 50ch;
    }
}

/* #reading {
    width: 100vw;
    justify-self: center;
    padding: 100px 0px;
} */

@media (max-width: 800px) {
    .text {
        font-size: 5vw;
    }
}

.photo img,
picture {
    height: auto;
    width: 100vw;
    object-fit: contain;
    justify-self: centre;
}

@media (max-width: 800px) {

    .photo img,
    picture {
        height: auto;
        width: 100vw;
        object-fit: contain;
        justify-self: centre;
    }
}

/* .features {
    background-color: #fff;
} */

#music {
    width: 100vw;
    display: flex;
    justify-self: center;
    margin-top: 10vh;
    border-top: 5px solid black;
    border-bottom: 5px solid black;
}

#music>* {
    display: block;
    width: 50vw;
    height: 50vh;
    object-fit: cover;

    /* border-radius: 20px; */
    background-color: black;
}

@media (max-width: 800px) {
    #music>* {
        height: 25vh;
    }
}

#pn0 {
    border-left: 5px solid black;
}


#blurb {
    /* width: 100vw; */
    height: fit-content;
    padding-bottom: 50px;
    padding-top: 50px;
}

#pgp1 {
    padding-top: 20px;
}

#footer {
    background-color: black;
    max-width: 100vw;
    height: 50vh;
    font-family: 'IBM Plex Mono';
    font-size: 1rem;
    align-items: center;
    justify-items: start;

}

#about_outer,
#attr_outer {
    color: #fff;
    text-transform: uppercase;
}

#attr_outer {
    width: 50vw;
    text-align: end;
    margin-right: 50px;
}

#about_outer {
    margin-left: 50px;
}

@media (min-width:801px) {
    #footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    #footer {
        height: fit-content;
        padding: 10vh 0;
    }
}

#attributions {
    color: #fff;
    text-transform: uppercase;
    text-align: end;
    margin-right: 20px;

}

@media (max-width: 800px) {
    #attributions>* {
        width: 50vw;
        margin: 15px 0;
    }

    #attributions {
        justify-self: end;
    }
}

#introgrid {
    display: grid;
    /* width: 100vw; */
}

#introgrid>* {
    grid-area: 1/1/2/2;
}

#displayImg {
    margin-top: 10vh;
}

/* #intro {
    opacity: 0;
    visibility: hidden;
} */


.text_video {
    width: 50vw;
    height: auto;
    object-fit: contain;

    justify-self: center;
}

.text_video video {
    border: 2px solid black;
    border-radius: 5px;
    width: 50vw;
    height: auto;
    object-fit: contain;
}

@media(min-width: 801px) {
    .text_video {
        padding-bottom: 35vh;
    }
}

@media(max-width: 800px) {
    .text_video {
        padding-bottom: 20vh;
    }
}

.vid_caption {
    justify-self: center;
    text-align: center;
    font-size: 0.75rem;
    font-style: italic;
}

#header {
    background-color: black;
}

#final {
    display: block;
    /* width: 100vw; */
    height: auto;
    object-fit: cover;
}

#footer_about {
    color: #fff;
}

#footer_attr {
    justify-self: end;
    color: #fff;
}

@media (max-width: 800px) {
    #footer_attr {
        margin-top: 50px;
    }
}

@media (max-width: 800px) {
    #attr_outer {
        justify-self: end;
    }
}

/* .features,
.content,
.photo_cap {
    width: 100vw;
} */