html, body {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    font: 16px/24px "Trebuchet MS", Helvetica, sans-serif;
    background: #f2f2f2;
    color: #453a48;
}

.header {
    margin: 24px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    color: #888;
    box-shadow: 0 0 24px #f4f4f4;
    text-align: center;
}
.header svg {
    height: 48px;
}

.content {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}
.content_i {
    flex-grow: 1;
    padding: 1.2rem 5%;
}
.content a {
    color: #00617b;
}
.content a:hover {
    color: #1191b3;
}

.footer {
    border-top: 1px solid #e6e8ec;
    margin: 24px 24px 0;
    padding: 24px;
    text-align: center;
}

.footer_copyright a {
    color: #838b99;
    text-decoration: none;
}

.footer_copyright a:hover {
    color: #0b7794;
    text-decoration: underline;
}

.footer_icons {
    padding-top: 16px;
    display: flex;
    justify-content: center;
}

.footer_icons a {
    margin: 0 12px;
    text-decoration: none;
}

.footer_icons svg {
    height: 32px;
    fill: #838b99;
}

.footer_icons a:hover svg {
    fill: #0b7794;
}

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

.section {
    margin: 24px 0;
    padding: 12px 0;
    border-radius: 12px;
    background: #fff;
    color: #888;
    box-shadow: 0 0 24px #f4f4f4;
    text-align: center;
}
.section form {
    display: inline-block;
    font-size: 1.8rem;
    color: #2b2b2b;
    line-height: 2.1rem;
}

.section input {
    height: 2.1rem;
    font-size: 1.8rem;
    border: #2b2b2b 2px solid;
    border-radius: 3px;
    padding: 2px 6px;
    margin: 4px 0;
    color: #2b2b2b;
    width: 90%;
    max-width: 400px;
}

.section input:focus {
    outline: none !important;
    border: #6f0b8c 2px solid;
    box-shadow: 0 0 10px #6f0b8c;
    color: #4a095d;
}

.section .form-success {
    margin: 1.4rem 2px;
}

.section .form-success label{
    color: #4A095D;
    font-size: 1.6rem;
}
.section .soundcloud-logo {
    max-width: 180px;
}

#menu-icon {
    width: 36px;
    height: 36px;
    display: none;
    border-radius: 3px;
}

#menu-icon>div {
    width: 36px;
    height: 36px;
    background: url("/assets/close.svg") no-repeat 0 0;
    background-size: contain;
}

div.flex-720.closed #menu-icon>div{
    background: url("/assets/menu.svg") no-repeat 0 0;
}

div.flex-720 {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    align-items: stretch;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

div.menu-collapse {
    padding: 1rem;
    position: relative;
    max-width: 360px;
    min-width: 300px;
    background-color: #fafafa;
    overflow: auto;
}
div.menu-collapse .menu-item {
    margin: 1px;
    padding: 0.8rem;
    font-size: 1.1rem;
    text-align: left;
    background-color: #FDFDFD;
    border-radius: 4px;
    letter-spacing: 1px;
}

#playing-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    display: inline-block;
    right: 6px;
}
#playing-icon>div{
    width: 24px;
    height: 24px;
    background: url("/assets/playing.svg") repeat 0 0;
}
#playing-icon.stopped>div{
    -webkit-animation: none;
}
#playing-icon.playing>div{
    -webkit-animation: linear infinite;
    -webkit-animation-name: bg-scrolling-reverse;
    -webkit-animation-duration: 4s;
}
@-webkit-keyframes bg-scrolling-reverse {
    100% { background-position: 24px 0; }
}
@-moz-keyframes bg-scrolling-reverse {
    100% { background-position: 24px 0; }
}
@-o-keyframes bg-scrolling-reverse {
    100% { background-position: 24px 0; }
}
@keyframes bg-scrolling-reverse {
    100% {
        background-position: 24px 0;
    }
}
div.menu-collapse .menu-item:hover {
    cursor: pointer;
    text-shadow: 0 0 .8px black;
}
div.flex-720 .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: 50% 10%;
    background-size: cover;
}

div.flex-720 .main #content{
    flex: 1;
}

div.flex-720 .main #player{
    width: 100%;
}

div.flex-720 .main audio{
    width: 100%;
    min-height: 20px;
}

#page-title {
    margin: 1px 1px 1rem;
    padding: 0.8rem;
    text-align: left;
}

@media (max-width: 780px) {
    div.flex-720{
        flex-direction: column;
        max-width: 100vw;
        overflow: hidden;
    }
    div.menu-collapse {
        max-width: 100vw;
    }
    div.flex-720.closed div.menu-collapse {
        display: none;
    }
    div.flex-720 #menu-icon{
        display: block;
        position: absolute;
        z-index: 200;
        right: 3px;
        top: 1px;
        box-shadow: 0 0 2px #fafafa;
        background-color: #fafafada;
    }
    div.flex-720.closed #menu-icon{
        left: 3px;
    }
}

@media (max-width: 600px) {
    div.flex-720 #trackinfo {
        font-size: 1.2rem!important;
        padding: 0.8rem 0.6rem 0.8rem 1rem!important;
    }
    .section .soundcloud-logo {
        max-width: 120px;
    }
    .content_i {
        padding: 0.2rem 5%;
    }
    .header {
        margin: 1.2rem;
    }
    .section {
        margin: 1rem 0;
    }
    .section form {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }
    .section input {
        height: 1.7rem;
        font-size: 1.4rem;
    }
}

/** Audio player **/


div.flex-720 #trackinfo{
    color: #fafafa;
    padding: 0.8rem 0.8rem 0.8rem 1.6rem;
    text-align: left;
    font-size: 1.6rem;
    display: inline-block;
    min-width: 320px;
    width: 100%;
    white-space: nowrap;
    overflow: visible;
}

.timeline {
    background: #1b1b1bbb;
    width: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 #0008;
    min-height: 2.8rem;
}

.timeline .progress {
    background: #007faf;
    width: 0;
    height: 100%;
    transition: 0.25s;
}

.audio-player {
    height: 38px;
    line-height: 38px;
    width: 100%;
    background: #444;
    box-shadow: 0 0 20px 0 #000a;

    font-family: arial;
    color: white;
    font-size: 0.75em;
    overflow: hidden;
    padding-bottom: 4px;
}
.audio-player .controls .toggle-play.play:hover {
    transform: scale(1.1);
}

.audio-player .controls .toggle-play.play {
    cursor: pointer;
    position: relative;
    left: 0;
    height: 0;
    width: 0;
    border: 7px solid #0000;
    border-left: 13px solid white;
}
.audio-player .controls .toggle-play.pause:before {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}
.audio-player .controls .toggle-play.pause:after {
    position: absolute;
    top: 0;
    right: 8px;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}

.audio-player .controls .toggle-play.pause:hover {
    transform: scale(1.1);
}

.audio-player .controls .toggle-play.pause {
    height: 15px;
    width: 20px;
    cursor: pointer;
    position: relative;
}

.audio-player .controls .toggle-play {
}

.audio-player .controls > * {
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-player .controls .time {
    display: flex;
}

.audio-player .controls .next,
.audio-player .controls .prev {
    width: 24px;
    background: url("/assets/next.svg") no-repeat 0 50%;
}

.audio-player .controls .next:hover,
.audio-player .controls .prev:hover {
    cursor: pointer;
}

.audio-player .controls .prev {
    transform: scaleX(-1);
}

.audio-player .controls .time > * {
    padding: 2px;
}

.audio-player .controls .volume-container .volume-button {
    width: 28px;
    display: flex;
    align-items: center;
}

.audio-player .controls .volume-container .volume-button .volume {
    transform: scale(0.7);
    height: 26px;
    width: 28px;
    background-image: url("/assets/volume-max.svg");
    background-size: cover;
}

.audio-player .controls .volume-container .volume-button .volume.volume-off {
    background-image: url("/assets/volume-off.svg");
}


.audio-player .controls .volume-container  .volume-slider .volume-percentage {
    background: #007faf;
    height: 100%;
    width: 75%;
}

.audio-player .controls .volume-container  .volume-slider {
    position: absolute;
    left: -3px; top: 15px;
    z-index: -1;
    width: 0;
    height: 15px;
    background: white;
    box-shadow: 0 0 20px #000a;
    transition: .25s;
}


.audio-player .controls .volume-container:hover .volume-slider {
    left: -123px;
    width: 120px;
}

.audio-player .controls .volume-container {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.audio-player .controls {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 20px;
}

/** End of audio player **/
