@font-face {
    font-family: space;
    src: url('../fonts/Space-Notorious-rounded.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}
@font-face {
    font-family: dosis;
    src: url('../fonts/Dosis/static/Dosis-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
}
html,
body {
    height: 100%;
    overflow: hidden;
    margin: 0 0;
    background-color: #000;
    
    -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */

}
a:link,
a:visited,
a:hover,
a:active {
    color: #fff;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
    margin-block-start: 0;
    margin-block-end: 0;
}
/* img {
    width: 100%;
} */


.desktop .desktopOnly {
    display: block;
}
.desktop .mobileOnly {
    display: none;
}
.mobile .desktopOnly {
    display: none;
}
.mobile .mobileOnly {
    display: block;
}

.about {
    color: #fff;
    font-family: space;
    position: absolute;
    width: 100vw;
    height: 100vh;
    height: -webkit-fill-available;
    height: fill-available;
    height: -moz-available;
    height: stretch;
    overflow: hidden;
    z-index: 2;
    top: 0;
    left: 0;
}
.about-component {
    position: absolute;
    line-height: 0.8;
}
.about h1 {
    font-size: 80px;
}
.about h2 {
    font-size: min(6.5vw, 28px);
}
.about-name {
    bottom: 60px;
    left: 30px;
}
.about-contact {
    left: 280px;
    bottom: 120px;
    transform: rotate(6deg);
    animation-name: glow;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in;
    filter: drop-shadow(0px 0px 2px #E7E7FF);
}
.about-title {
    left: 30px;
    bottom: 30px;
}
.about-controls {
    display: none;
}
.about-controls-marquee {
    display: block;
    font-size: 20px;
    height: 40px;
    overflow: hidden;
    width: max(1200px, 100vw);
    position: relative;
}
.about-controls-marquee p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: left;
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: scroll-left 20s linear infinite;
    -webkit-animation: scroll-left 20s linear infinite;
    animation: scroll-left 20s linear infinite;
    animation-play-state: running;
    -o-animation-play-state: running;
    -moz-animation-play-state: running;
    -webkit-animation-play-state: running;
}
.about-controls-marquee p:hover {
    animation-play-state: paused;
    -o-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}


.description {
    font-family: dosis;
    position: relative;
    background-color: #000;
    color: #fff;
    border: 2px solid white;
    width: calc(100vw - 24px);
    height: 100vh;
    height: -webkit-fill-available;
    height: fill-available;
    height: -moz-available;
    height: stretch;
    overflow-y: scroll;
    top: 12px;
    margin: 0 auto;
    margin-bottom: 24px;
    z-index: 98;
    display: none;
}


.scroll-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
} 
.desktop .scroll-content {
    overflow-y: scroll;
}
.desktop .description {
    overflow-y: hidden;
}
.mobile .scroll-content {
    overflow-y: hidden;
}
.mobile .description {
    overflow-y: scroll;
}
.work {
    position: relative;
    width: 100%;
    margin: 30px 0;
}
.work > * {
    padding: 12px 12px;
}
.h1-sm {
    display: block;
}
.h1-md {
    display: none;
}
.work h1 {
    font-family: space, dosis;
    font-size: 48px;
}
.work h2 {
    animation: none;
    font-family: space;
    font-size: 28px;
    filter: drop-shadow(0px 0px 2px #E7E7FF);
}
.work p a:link,
.work p a:visited,
.work p a:active {
    text-decoration: underline;
} 
.work p a:hover {
    text-decoration: none;
}
.work h2:hover {
    animation-name: glow;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in;
}
.work p {
    font-size: 24px;
}
.work .img-container {
    width: calc(100vw - 48px);
    height: auto;
}
.work img {
    max-width: 95%;
    max-height: 100%;
}
.work .iframe-wrapper-portrait {
    width: 95%;
    margin: 0 auto;
    padding:177.78% 0 0 0;
    position:relative;
}
.work .iframe-wrapper-landscape {
    width: 95%;
    margin: 0 auto;
    padding:56.25% 0 0 0;
    position:relative;
}
.work .iframe-wrapper-landscape-sa {
    width: 95%;
    margin: 0 auto;
    padding:78% 0 0 0;
    position:relative;
}
.work .iframe-wrapper-landscape-am {
    width: 95%;
    margin: 0 auto;
    padding:100% 0 0 0;
    position:relative;
}
.work iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.work:last-child {
    /* padding-bottom: 80px; */
}

@media only screen and (min-width: 750px) {
    /* For desktop */

    .about-component {
        line-height: 0.8;
    }
    /* .about h1 {
        font-size: 4em;
    }
    .about h2 {
        font-size: 2.5em;
    } */
   
    .about-contact {
        position: absolute;
        font-size: 2.5em !important;
        right: 2vw;
        bottom: 30px;
        top: unset;
        left: unset;
        transform: unset;
        animation: none;
        filter: unset;
    }
    .about-contact:hover {
        animation-name: glow;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        animation-timing-function: ease-in;
        filter: drop-shadow(0px 0px 2px #E7E7FF);
    }
    .about-controls-marquee {
        font-size: 22px;
    }
    .about-controls-marquee p {
        -moz-animation: scroll-left 30s linear infinite;
        -webkit-animation: scroll-left 30s linear infinite;
        animation: scroll-left 30s linear infinite;
    }
    .work:not(:nth-of-type(1)) {
        padding-top: 72px;
        clear: both;
    }
    .work .img-wrapper-mica {
        width: 480px;
        float: left;
        height: 600px;
        /* padding: 375px 0 0 0; */
    }
    .work .iframe-wrapper-portrait {
        width: 450px;
        margin: 0;
        padding:720px 0 0 0;
        position:relative;
        float: left;
    }
    .work .iframe-wrapper-landscape {
        width: 520px;
        margin: 0 auto;
        padding: 300px 0 0 0;
        position:relative;
        float: left;
    }
    .work .iframe-wrapper-landscape-sa {
        width: 520px;
        margin: 0 auto;
        padding: 375px 0 0 0;
        position:relative;
        float: left;
    }
    .work .iframe-wrapper-landscape-am {
        width: 480px;
        margin: 0 auto;
        padding: 480px 0 0 0;
        position:relative;
        float: left;
    }

    .h1-sm {
        display: none;
    }
    .h1-md {
        display: block;
    }
}

@keyframes glow {
    0% {
        text-shadow: 0px 0px 1px #E7E7FF;
    }
    100% {
        text-shadow: 0px 0px 6px #E7E7FF;
    }
}