* {
    box-sizing: border-box;
}

body {
    background-image: url('cover-blurry.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #0e2c30;
    font-family: 'Open Sans', sans-serif;
    background-attachment: fixed;
}

.logo {
    width: 100%;
    max-width: 480px;
    height: 209px;
    font-size: .000001rem;
    color: transparent;
    text-indent: -9999px;
    background-image: url('timepioneer-logo.png');
    background-size: 100%;
    background-repeat: no-repeat;
    margin: 10px auto;
}

.container {
    width: calc(100% - 40px);
    max-width: 400px;
    margin: 40px auto;
}

.container p {
    color: #fff;
}

.container span {
    color: #fff;
}

.centered {
    text-align: center;
}

.less-space {
    margin: 10px auto;
}

.about-text {
    flex: 0 0 100%;
    line-height: 155%;
    margin-bottom: 20px;
}

#lyric-overlay {
    position: fixed;
    top: 10vh;
    left: 15vw;
    width: 70vw;
    height: 80vh;
    background-image: url('cover-blurry.jpg');
    background-size: inherit;
    display: block;
    overflow: auto;
    z-index: -10;
    pointer-events: none;
    opacity: 0;
    padding: 40px;
    text-align: center;
    transition: opacity 0ms;
}

#lyric-overlay.visible {
    z-index: 10;
    pointer-events: all;
    opacity: 1;
    transition: opacity 500ms ease-in-out;
}

.lyric-headline {
    font-size: 1.6em;
    color: #fbae74;
    margin: 0;
}

.lyric-author {
    font-size: .9em;
    margin-bottom: 30px;
    display: block;
    font-style: italic;
    color: #629fa2;
}

.lyric {
    color: #fff;
    line-height: 150%;
}

.overlay-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    display: inline-block;
    transition: opacity 200ms ease-in-out;
}

.overlay-close:hover {
    opacity: .7;
}

/******** Player ********/
.player {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 7px 20px 20px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #fff;
    width: calc(100% - 40px);
}

.player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .15);
    mix-blend-mode: overlay;
    z-index: -1;
}

.playlist {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.playlist li {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, .75);
    width: 100%;
    text-align: center;
}

.playlist li:nth-child(2n+1) {
    background: #fff;
}

.playlist li a {
    color: #0d3442;
    text-decoration: none;
    display: block;
    padding: 10px;
    font-size: 1.1rem;
}

.playlist li a span {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23629fa2'><path d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM9 6h6v2H9V6zm-2 6h10v2H7v-2zm2 4h6v2H9v-2z'/></svg>");
    vertical-align: middle;
    margin-left: 7px;
    cursor: pointer;
    transition: opacity 200ms ease-in-out;
}

.playlist li a span:hover {
    opacity: .7;
}

#track-title {
    display: block;
    text-align: center;
    font-style: italic;
    font-size: .9rem;
    margin-bottom: 0;
    height: 20px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.controls button {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    margin: 0 10px;
    font-size: 20px;
    cursor: pointer;
    flex: 0 0 50px;
    text-align: center;
}

.controls button:hover {
    background-color: #e3e3e3;
    cursor: pointer;
}

.controls button i {
    display: inline-block;
    position: relative;
    top: 6px;
    cursor: pointer;
}

/* Specific buttons */
.fa-play {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23629fa2'%3E%3Cpath d='M3 22v-20l18 10-18 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 80%;
    height: 80%;
    left: 3px;
}

.fa-pause {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23629fa2'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 80%;
    height: 80%;
    left: 1px;
}

.fa-backward {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23629fa2'%3E%3Cpath d='M16 12l-10 7v-14l10 7zm2-7v14h2v-14h-2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 80%;
    height: 80%;
    left: 1px;
    transform: rotate(180deg);
    top: -1px !important;
}

.fa-forward {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='%23629fa2'%3E%3Cpath d='M16 12l-10-7v14l10-7zm6-7h-2v14h2v-14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 80%;
    height: 80%;
    left: -1px;
    top: 6px !important;
}

.controls input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
}

.controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-5px);
}

.controls input[type="range"]::-moz-range-track {
    background-color: #629fa2;
}

.controls input[type="range"]:hover::-webkit-slider-thumb {
    background-color: #faa63d;
}

.controls input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    background-color: #629fa2;
    border-radius: 5px;
}

.controls input[type="range"]:hover::-webkit-slider-runnable-track {
    background-color: #629fa2;
}

.controls span {
    font-size: 12px;
    margin: 0 10px;
    white-space: nowrap;
}

.controls button:focus {
    outline: none;
}

.subline {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: #fff;
    cursor: pointer;
}

.instagram {
    width: 40px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    transition: opacity 200ms ease-in-out;
}

.instagram:hover {
    cursor: pointer;
    opacity: .7;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.image-container .image-container-item {
    flex: 0 0 46%;
    height: auto;
    width: 46%;
    margin: 20px 2%;
}

.image-container .image-container-item img {
    width: 100%;
}

.image-container img:after {

}

@media (max-width: 700px) {
    .controls {
        flex-wrap: wrap;
    }

    .controls button {
        margin: 10px;
    }

    .controls input[type="range"] {
        order: 1;
        flex: 0 0 100%;
    }

    body {
        background-size: 300%;
    }

    #lyric-overlay {
        left: 3vw;
        width: 92vw;
    }
}
