main {
    height: 100vh;
    position: relative;
}

#lyrics_full_view_container {
    height: 80%;
    position: absolute;
    top: 50%;
    left: 20%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#lyrics {
    max-height: 100%;
    max-width: 350px;
    overflow-y: auto;
    direction: rtl;
    padding-left: 1em;
    font-size: 21px;
}

#lyrics::-webkit-scrollbar {
    width: 7px;
}

#lyrics::-webkit-scrollbar-track {
    background: #444;
}

#lyrics::-webkit-scrollbar-thumb {
    background: #fff;
}

#lyrics::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

#lyrics pre, #lyrics h1, #lyrics h2 {
    direction: ltr;
    max-width: 100%;
}

#lyrics h1 {
    font-weight: 500;
    font-size: 2em;
    margin-top: -.2em;
    margin-bottom: .15em;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    overflow: hidden;
}

#lyrics h2 {
    font-size: 1.5em;
    color: #808080;
    font-weight: 300;
    margin-top: -.1em;
    margin-bottom: .8em;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    overflow: hidden;
}

#lyrics pre {
    font-size: 21px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

#shadow_top, #shadow_bottom {
    width: 100%;
    width: -webkit-calc(100% - 1em);
    width: calc(100% - 1em);
    height: 20%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(17,17,17,1)), to(rgba(17,17,17,0)));
    background: -o-linear-gradient(top, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
    background: linear-gradient(180deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
    position: absolute;
    right: 0;
    top: -2px;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 100ms linear;
    -o-transition: opacity 100ms linear;
    transition: opacity 100ms linear;
}

#shadow_bottom {
    top: auto;
    bottom: -2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(17,17,17,1)), to(rgba(17,17,17,0)));
    background: -o-linear-gradient(bottom, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
    background: linear-gradient(0deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 100%);
}

#right {
    position: relative;
}

#left {
    padding-right: 21px;
    width: 300px;
}

#left img {
    box-shadow: 0 0 25px rgba(255,255,255,.1);
    margin-bottom: 21px;
    width: 100%;
    float: right;
    clear: both;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#left iframe {
    margin-bottom: 8px;
    width: 100%;
    float: right;
    clear: both;
}

.release_date {
    font-size: 16px;
    text-align: right;
    display: inline-block;
    float: right;
    clear: both;
}

.release_date time {
    display: block;
    font-size: 1.33em;
}

@-moz-document url-prefix() {
    #lyrics {
        scrollbar-width: none;
    }
    #right {
        position: relative;
    }
    #right::before {
        content:"";
        height: 100%;
        width: 2px;
        position: absolute;
        left: 0;
        top: 0;
        background: linear-gradient(0deg, transparent 0%, white 50%, transparent 100%);
    }
}

@media only screen and (max-width: 1000px) {
    #lyrics_full_view_container {
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
            -ms-transform: translate(-50%,-50%);
                transform: translate(-50%,-50%);
    }
}

@media only screen and (min-width: 851px) and (max-height: 750px) {
    #lyrics_full_view_container {
        height: 75%;
    }
}

@media only screen and (min-width: 851px) and (max-height: 650px) {
    #lyrics_full_view_container {
        height: 70%;
    }
    #left {
        width: 250px;
    }
}

@media only screen and (min-width: 851px) and (max-height: 600px) {
    #lyrics_full_view_container {
        height: 65%;
    }
    #left img {
        width: 75%;
        float: right;
    }
}

@media only screen and (min-width: 851px) and (max-height: 550px) {
    #left img {
        width: 66%;
    }
}

@media only screen and (min-width: 851px) and (max-height: 500px) {
    #left img {
        width: 50%;
    }
}

@media only screen and (min-width: 851px) and (max-height: 450px) {
    #left img {
        width: 40%;
    }
}

@media only screen and (max-width: 850px) {
    #right::before {
        content: none;
    }
    #shadow_top, #shadow_bottom {
        display: none;
    }
    main {
        height: auto;
        min-height: 100vh;
    }
    #lyrics_full_view_container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        position: static;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
        display: block;
        margin: auto;
        height: auto;
        width: 50%;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    #left,#right {
        width: 100%;
    }
    #lyrics {
        width: 100%;
        padding-left: 0;
        max-width: none;
    }
    .release_date {
        display: none;
    }
    #lyrics h1 {
        margin-top: 0;
    }
}

@media only screen and (max-width: 650px) {
    #lyrics_full_view_container {
        width: 75%;
    }
}

@media only screen and (max-width: 450px) {
    #lyrics pre {
        font-size: 18px;
    }
}

@media only screen and (max-width: 333px) {
    #lyrics_full_view_container {
        width: 85%;
    }
}

@media only screen and (max-width: 285px) {
    #lyrics_full_view_container {
        width: 90%;
    }
}
