html,body {
    height:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    background: transparent;
}

h1, h2, h3 {
    font-family: 'Bigger Display';
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

#sidewaveLogoLink {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

#sidewaveLogo {
    width: auto;
    height: 30px;
    background: none;
}

#video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#video-bg iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#image-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

#title {
    position: absolute;
    top: 100px;
    left: 20px;
    right: 20px;
    font-family: 'Bigger Display';
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-size: 4vw;
    line-height: 5vw;
    margin: 0;
    color: white;
    width: calc(100% - 600px);
}

#title:before {
    content: "[ USE CASE ]";
    position: absolute;
    font-size: 10px;
    font-family: 'Fraktion Mono';
    top: -15px;
    line-height: 15px;
    letter-spacing: 0;
    font-weight: normal;
}

#subtitle {
    position: absolute;
    top: calc(100px + 4vw + 5px);
    left: 20px;
    right: 20px;
    font-family: 'Fraktion Mono', monospace;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    width: calc(100% - 600px);
}

#content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    width: 600px;
    max-width: 100%;
    right: 0;
    padding: 80px 5vw;
    color: white;
    display: flex;
    flex-direction: column;
}
#content[style*='display: block'] {
    display: flex !important;
}

#content:before {
    content: "";
    position: fixed;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

#content h2 {
    font-size: 50px;
    margin: 0;
}


#projectInfo {
    display: flex;
    margin-top: auto;
}
.inside-iframe #projectInfo {
    margin-bottom: 60px;
}

#projectInfo .metaTitle {
    opacity: .5;
    white-space: pre;
    flex: none;
    width: auto;
    height: auto;
    position: relative;
    text-transform: uppercase;
    font-size: 13px;
}

.meta {
    flex-flow: row;
    flex: 2 0 0;
    place-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    width: 1px;
    height: min-content;
    padding: 0;
    display: flex;
    position: relative;
    overflow: visible;
}

.meta > div {
    flex-flow: column;
    flex: 1 0 0;
    place-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 1px;
    height: min-content;
    padding: 0;
    display: flex;
    position: relative;
    overflow: visible;
}
#projectInfo .metaData {
    text-transform: uppercase;
    font-size: 13px;
}

.meta #services {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.back {
    text-align: center;
    cursor: pointer;
}


#findMore, #tapToClose {
    font-family: 'Fraktion Mono',sans;
    text-transform: uppercase;
    font-size: 12px;
    color: white;
    text-align: center;
}

#findMore {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 80px;
}
#tapToClose {
    display: none;
}

@media (max-width: 1400px ) {

}
@media screen and (orientation: landscape) {
    #findMore, #tapToClose {
        display: none !important;
    }
    #content {
        display: flex !important;
    }
    #title {
        display: block !important;
    }
}

@media screen and (orientation: portrait) {
    #findMore {
        display: block;
    }


    #tapToClose {
        display: block;
        margin-top: auto;
    }
    #title {
        position: relative;
        top: auto;
        font-size: 50px;
        line-height: 50px;
        width: auto;
        left: auto;
        right: auto;
        padding: 80px 20px 0;
    }
    #subtitle {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
        padding: 0 20px;
    }

    #content {
        display: none;
        left: 0;
        padding: 80px 20px;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.6);
        min-width: auto;
        width: auto;
        overflow-y: auto;
    }

    #content h2 {
        font-size: 40px;
    }

    #content p {
        font-size: 14px;
    }
    #content:before {
        display: none;
    }

    #projectInfo {
        margin-top: 20px;
    }
}
