@import url('https://fonts.googleapis.com/css?family=Coiny');

#main_picture {
    position: relative;
    width: 200px;
    margin: 0 auto;
}
#main_picture img {
    width: 200px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
#pick_story_cover {
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 4px;
    font-size: 12px;
    vertical-align: middle;
    font-weight: 300;
    border-top-right-radius: 5px;
}
#pick_story_cover span {
    vertical-align: middle;
    font-size: 12px;
    padding-right: 2px;
    transform: translate(0px, -2px);
}
#story_title {
    font-size: 1.5em;
    color: white;
    font-weight: 900;
    text-align: center;
    margin-top: 20px;
}
#progress_bar {
    margin-top: 30px;
    height: 4px;
    background: #c7c6c6;
    width: 100%;
    border-radius: 4px;
    position: relative;
}
.progress {
    background: #ffbc41;
    height: 100%;
    width: 0%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    position: relative;
}
/* Progress after: circle */
.progress:after {
    content: "";
    position: absolute;
    top: -3px;
    left: 100%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffbc41;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
#controls {
    text-align: center;
}
#controls span {
    cursor: pointer;
}
#rewind, #forward {
    font-size: 64px;
    line-height: 128px;
    vertical-align: middle;
    width: 75px;
    text-align: center;
}
.play_icon {
    font-size: 64px;
    line-height: 90px;
    width: 90px; height: 90px;
    margin: 0px 10px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #ffbc41;
    border-radius: 50%;
    color: #26114a;
}
#current_time, #total_time {
    font-weight: 300;
    padding-top: 4px;
}
#durations {
    height: 30px;
}
#current_time {
    float: left;
    padding-left: 10px;
}
#total_time {
    float: right;
    padding-right: 10px;
}
#actions {
    height: 50px;
    width: 100%;
    background: #1b143b;
    border-radius: 5px;
    text-align: center;
}
#playback_speed {
    padding: 15px 0px;
    cursor: pointer;
    z-index: 3;
    background: transparent;
    border: none;
    color: white;
    font-weight: 900;
    font-size: 20px;
    vertical-align: middle;
    width: 23%;
    text-align: center;
}
#actions .action {
    display: inline-block;
    width: 24%;
}
#actions .material-icons {
    font-size: 36px;
    line-height: 50px;
    text-align: center;
    color: #a0a0a0;
    cursor: pointer;
    vertical-align: middle;
}
#actions .action:hover {
    color: white;
}
#actions .red-text {
    color: #ff0000 !important;
}
#actions .dark-green-text {
    color: #189218 !important;
}
#story_not_ready_message {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    margin-top: 20px;
    color: #b0b0b0;
    padding-bottom: 50px;
}
#transcript_panel {
    position: fixed;
    z-index: 200;
    top: 0px; left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
}
.transcript_center {
    max-width: 100%;
    width: 340px;
    position: relative;
    margin: auto;
    height: 100%;
}
#transcript_progress {
    height: 4px;
    border-radius: 2px;
    background: #b0b0b0;
    width: 100%;
    position: absolute;
    bottom: 90px;
    left: 0px;
}
#transcript_play_icon {
    font-size: 40px;
    line-height: 54px;
    vertical-align: middle;
    cursor: pointer;
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translate(-50%, 0px);
    width: 54px; height: 54px;
}
#transcript_close_button, #transcript_close_button span {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 15px;
    font-size: 36px;
    font-weight: 900;
    cursor: pointer;
    z-index: 3;
}
#page_numbers {
    font-family: "Roboto Condensed";
    position: absolute;
    z-index: 2;
    top: 20px; left: 0px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}
.transcript_paragraph {
    position: absolute;
    top: 0px; width: 100%;
    box-sizing: border-box;
    margin-top: 70px;
    height: calc(100% - 200px);
    border-bottom: 1px solid white;
    overflow-y: auto;
    padding: 0px 20px 0px 20px;
    font-size: 28px;
    line-height: 1.5;
    display: none;
}
#transcript_paragraph_0 {
    display: block;
}
#header_info_icon {
    position: absolute;
    top: 0px; right: 0px;
    padding: 15px;
    cursor: pointer;
    z-index: 3;
}

/* Story in creation clouds */

.cloud_text {
    font-family: 'Coiny', cursive;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: url(/images/clouds.jpg);
    background-size: auto;
    background-attachment: unset;
    background-position: 0%;
    font-size: 2.6em;
    line-height: 1.0;
    padding-bottom: 10px;
    animation: clouds-moving infinite 120s;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-timing-function: linear;
    text-align: center;
}

@keyframes clouds-moving {
    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }
}
#background_music {
    position: relative;
}
#background_options {
    position: absolute;
    bottom: 100%; left: 50%;
    transform: translate(-50%, 0px);
    width: 140px;
    text-align: center;
    padding-bottom: 5px;
    display: none;
}
.background_option {
    background: #28223c;
    width: 100%;
    font-size: 16px;
    vertical-align: middle;
    text-transform: capitalize;
}
.background_option:hover {
    background: #3a3566;
}
.background_option .material-icons-round {
    font-size: 30px !important;
    vertical-align: middle;
}
.narrator {
    vertical-align: middle;
    font-weight: 300;
    font-family: "Roboto Condensed";
}
.narrator_img {
    width: 24px;
    vertical-align: middle;
}
