html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
a {
    text-decoration: none;
    color: inherit;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    scrollbar-width: none;
}

::-webkit-scrollbar { 
    display: none; 
}

body {
    font-family: 'Open Sans', sans-serif;
}

* {
    user-select: none;
}

html, body {
    background-color: black !important;
}

body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}

.u-hidden {
    display: none;
}

.suprfan-bg {
    background-image: var(--album-art-url);
    background-position: center center;
    background-size: cover;
    box-sizing: border-box;
    filter: brightness(50%) blur(10px);
    transform: scale(1.1);
    position: fixed; top: 0; left: 0; bottom: 0; right: 0;
}

.suprfan {
    width: 100vw;
    box-sizing: border-box;
}

.suprfan-wrapper {
    width: 100%;
}

.suprfan-content {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
    background-color: white;
    animation: slide-in-fwd-center .75s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.suprfan-video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.suprfan-video-container iframe,
.suprfan-video-container object,
.suprfan-video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.suprfan-thumbnail {
    width: 100%;
    padding: 100% 0 0 0; /* 1:1 aspect ratio */
    padding-top: 100%;
    margin: 0;
    position: relative;
    background-image: var(--album-art-url);
    background-position: center center;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
}

.suprfan-song {
    width: 100%;
    background-color: #171717;
    padding: 1rem 0;
    margin: 0;
}

.suprfan-song-title, .suprfan-song-subtitle {
    color: white;
    text-align: center;
    margin: 0.6rem 0;
}

.suprfan-song-title {
    font-size: 1.25rem;
    line-height: 2rem;
}

.suprfan-new-badge {
    background-color: #d00;
    border-radius: 2px;
    color: white;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 1px 2px 1px 3px;
}

.suprfan-next {
    background-color: #16c;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.9rem;
    display: block;
    padding: 0.4rem 1rem;
    text-align: center;
}

.suprfan-text-ul {
    text-decoration: underline;
}

.suprfan-song-subtitle {
    font-size: .9rem;
}

.suprfan-social {
    text-align: center;
}

.suprfan-social .twitter-share-button {
    width: 70px;
    position: relative;
    height: 20px;
    box-sizing: border-box;
    padding: 1px 8px 1px 6px;
    background-color: #1b95e0;
    color: #fff;
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    outline:  none;
    max-width:  100%;
    text-decoration:  none;
}

.suprfan-social .twitter-share-button i {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: transparent 0 0 no-repeat;
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h72v72H0z%22%2F%3E%3Cpath%20class%3D%22icon%22%20fill%3D%22%23fff%22%20d%3D%22M68.812%2015.14c-2.348%201.04-4.87%201.744-7.52%202.06%202.704-1.62%204.78-4.186%205.757-7.243-2.53%201.5-5.33%202.592-8.314%203.176C56.35%2010.59%2052.948%209%2049.182%209c-7.23%200-13.092%205.86-13.092%2013.093%200%201.026.118%202.02.338%202.98C25.543%2024.527%2015.9%2019.318%209.44%2011.396c-1.125%201.936-1.77%204.184-1.77%206.58%200%204.543%202.312%208.552%205.824%2010.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163%200%206.345%204.513%2011.638%2010.504%2012.84-1.1.298-2.256.457-3.45.457-.845%200-1.666-.078-2.464-.23%201.667%205.2%206.5%208.985%2012.23%209.09-4.482%203.51-10.13%205.605-16.26%205.605-1.055%200-2.096-.06-3.122-.184%205.794%203.717%2012.676%205.882%2020.067%205.882%2024.083%200%2037.25-19.95%2037.25-37.25%200-.565-.013-1.133-.038-1.693%202.558-1.847%204.778-4.15%206.532-6.774z%22%2F%3E%3C%2Fsvg%3E);
}

.suprfan-social .twitter-share-button span {
    font-size: 11px;
    line-height: 18px;
    margin-left: 3px;
    white-space: nowrap;
}

.suprfan-playlist {
    padding: 0 10px;
    max-width: 100%;
}

.suprfan-playlist-section {
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.suprfan-playlist-section:first-child {
    margin-top: 1em;
}

.suprfan-playlist-section:not(:first-child) {
    margin-top: 2em;
}

.suprfan-playlist-item {
    --border-color: #000000;
    --color: #000000;

    background-color: var(--color)20;
    box-sizing: border-box;
    color: var(--color);
    min-height: 60px;
    border: 1.5px solid var(--border-color);
    border-radius: 0.3rem;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 1em 0;
}

.suprfan-playlist-item:not(.disabled) {
    cursor: pointer;
}

.suprfan-playlist-item.disabled {
    filter: grayscale(80%);
}

.suprfan-playlist-item:not(.disabled):hover {
    box-shadow: 0 1px 2px var(--border-color);
}

.suprfan-playlist-logo {
    width: 40px;
    height: 40px;
    background-image: var(--icon-url);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat no-repeat;
    margin-right: .3em;
}

.suprfan-playlist-item-text {
   text-align: center;
   line-height: 1.2em;
   font-size: 1.2em;
   transition: box-shadow .5s ease;
}

.suprfan-footer {
    text-align: center;
    background-color: #111111;
    color: #aaa;
    font-size: .6em;
    margin: 0;
    margin-top: 1em;
    padding: 0.5em;
}

/* BRANDS COLORS */

.itunes {
    --border-color: #E77FD9;
    --color: #BC5EFB;
}

.apple-music {
    --border-color: #31D3EE;
    --color:#EA6E72;
}

.spotify {
    --border-color: #1BD760;
    --color: #1BD760;
}

.google-play {
    --border-color: #FABD86;
    --color: #CC445E;
}

.deezer {
    --border-color: #333333;
    --color: #333333;
}

.amazon-music {
    --border-color: #007BC3;
    --color: #007BC3;
}

.youtube, .youtube-music {
    --border-color: #FF0000;
}


/* END BRAND COLORS*/


/* MOBILE < DEVICES */

@media screen and (min-width: 540px) {
    .suprfan {
        width: 100vw;
    }

    .suprfan-wrapper {
        width: 100vw;
    }

    .suprfan-content {
        width: 540px;
        margin: 0 auto;
        background-color: white;
    }
}


/* ANIMATIONS */
@-webkit-keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
