﻿@font-face {
    font-family: Roboto-Light;
    src: url('../fonts/Roboto/Roboto-Light.ttf');
}

@font-face {
    font-family: Roboto-Medium;
    src: url('../fonts/Roboto/Roboto-Medium.ttf');
}

html,
body,
form,
.fullscreen {
    width: 100vw;
    height: 100vh;
    margin: 0px;
    overflow: hidden;
}

.fullscreen-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: url(../img/app_icon_without_bg_inset.png);
    background-color: black;
    background-size: 27%;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.centered-image {
    max-width: 100%;
    max-height: 100%;
}

a {
    outline: none !important;
    cursor: pointer;
}

    a:hover,
    a:active,
    a:focus {
        text-decoration: none;
    }

.creator-info-div {
    display: none;
    background-color: #18181C;
    border-radius: 20px;
    width: 96%;
    height: 65px;
    z-index: 2;
    position: absolute;
    top: 12px;
    left: 12px;
    transition: 0.3s;
}

.creator-info {
    width: 100%;
    position: absolute;
    top: 15px;
    left: 70px;
}

.channel-name {
    width: 70%;
    font-size: 14px;
    font-family: Roboto-Light;
    z-index: 2;
    color: white;
}

.follower_count {
    width: 70%;
    font-size: 12px;
    font-family: Roboto-Light;
    z-index: 2;
    color: white;
}

.sp-thin-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    width: 130px;
    height: 30px;
    line-height: 1.5;
    cursor: pointer;
    border: none;
}

.sp-follow {
    color: #ffffff;
    background-color: #ED3237;
    border-color: #ED3237;
    position: absolute;
    right: 15px;
    top: 18px;
}

.sp-following {
    color: #ffffff;
    background-color: #FC8A80;
    border-color: #FC8A80;
    position: absolute;
    right: 15px;
    top: 18px;
}

.text-overflow-hidden {
    max-width: 90%;
    width: auto;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}


    .thumb .thumbCaption {
        padding: 10px 0;
    }

.overlay {
    position: relative;
    opacity: 2;
    height: 100%;
    width: auto;
}

    .overlay .thumbnail {
        display: block;
        height: 100%;
        width: auto;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .overlay .content-info-panel {
        width: 90%;
        height: 33px;
        font-size: 20px;
        font-family: Roboto-Light;
        position: absolute;
        z-index: 2;
        left: 80px;
        top: 18px;
        color: white;
        line-height: 33px;
        text-decoration: none;
    }

    .overlay .creator-info-panel {
        width: 90%;
        height: 33px;
        font-size: 18px;
        font-family: Roboto-Light;
        position: absolute;
        z-index: 2;
        left: 80px;
        top: 40px;
        color: white;
        line-height: 35px;
        text-decoration: none;
    }

    .overlay .content-title {
        height: 27px;
        vertical-align: middle;
    }

    .overlay .creator-img {
        width: 50px;
        border-radius: 50%;
        position: absolute;
        z-index: 2;
        left: 20px;
        top: 20px;
    }

    .overlay .ss-features-img {
        width: 25px;
        position: relative;
        z-index: 2;
        left: auto;
        top: 3px;
        padding: 2px 5px;
        vertical-align: middle;
    }

    .overlay .playWrapper {
        position: absolute;
        z-index: 1;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6) url("/img/icons/play_pink.png") no-repeat scroll center center / 70px 70px;
    }

    .overlay .is_processing {
        position: absolute;
        z-index: 1;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
    }

.playWrapper .playBtn {
    position: absolute;
    z-index: 2;
    width: 50px;
    height: 50px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto; /* center */
}

.error-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

    .error-panel .app-info-main-container {
        position: relative;
        width: 100%;
        text-align: center;
        z-index: 2;
        display: flex;
        justify-content: center;
    }

    .error-panel .app-info-sub-container {
        width: 250px;
        border-radius: 5%;
        border-style: solid;
        border-color: #ED3237;
        border-width: 5px;
        text-align: center;
        background-color: #ED3237;
    }

    .error-panel .app-info-qrcode-img {
        text-align: center;
        width: 100%;
        border-radius: 5%;
    }

    .error-panel .app-info-text {
        color: white;
        font-size: 24px;
        font-family: Roboto-Medium;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .error-panel .app-info-msg {
        position: relative;
        text-align: center;
        width: 100%;
    }

    .error-panel .title-label {
        color: #ffffff;
        font-size: 32px;
        font-family: Roboto-Medium;
        text-align: center;
    }

    .error-panel .sub-title-label {
        color: dimgray;
        font-size: 32px;
        font-family: Roboto-Light;
        text-align: center;
    }

    .error-panel .app-info-banner-img {
        width: 100%;
        height: 100%;
        margin: 0px;
        object-fit: cover;
    }

#content_unavailable .app-info-msg {
    width: 400px;
}

#suspended_content_unavailable .app-info-msg {
    width: 50%;
}

#private_content_unavailable .app-info-msg {
    width: 300px;
}

.content-unavailable {
    gap: 15px;
    background: rgb(0 0 0);
}

    .content-unavailable .app-info-msg {
        display: flex;
        flex-direction: column;
    }

    .content-unavailable .info-icon {
        position: relative;
        width: 150px;
    }

    .content-unavailable .title-label {
        text-align: left;
    }

    .content-unavailable .sub-title-label {
        text-align: left;
    }

.tint {
    position: relative;
    float: left;
}

    .tint:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgb(0 0 0 / 65%);
        transition: background .3s linear;
    }

@media only screen and (min-width: 320px) and (max-width: 540px) {

    .overlay .creator-img {
        width: 40px;
        position: absolute;
        z-index: 2;
        left: 20px;
        top: 25px;
    }

    .overlay .info-panel {
        width: 90%;
        height: 33px;
        font-size: 16px;
        font-family: Roboto-Light;
        position: absolute;
        z-index: 2;
        left: 70px;
        top: 25px;
        color: white;
    }

    .creator-info {
        width: 50%;
        position: absolute;
        top: 15px;
        left: 60px;
    }

    .channel-name {
        width: 70%;
        font-size: 14px;
        font-family: Roboto-Light;
        z-index: 2;
        color: white;
    }

    .follower_count {
        width: 70%;
        font-size: 12px;
        font-family: Roboto-Light;
        z-index: 2;
        color: white;
    }

    .sp-thin-btn {
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        width: 75px;
        height: 30px;
        line-height: 1.5;
        cursor: pointer;
        border: none;
    }

    .creator-info-div {
        display: none;
        background-color: #18181C;
        border-radius: 20px;
        width: 93%;
        height: 65px;
        z-index: 2;
        position: absolute;
        top: 12px;
        left: 12px;
        transition: 0.3s;
    }
}
