﻿html {
    scroll-behavior: smooth
}

body {
    background-image: url("Images/editor_background.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

h1 { display: inline }

.logo {
    position: absolute;
    top: 20px;
}

.top_bar_main_content {
    padding-top: 20px;
    color: white;
}

input[type="text"] {
    background: none;
    border: none;
    border-bottom: 2px solid #000 !important;
    outline: none;
}

input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

input[type="radio"]:checked + label {
    border-color: #4c4;
}

input[type="radio"] + label {
    position: relative;
    display: inline-block;
    padding: 2px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 4px;
}

.description_container {
    position: absolute;
    width: 100%;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%);
}

.description {
    font-size: 16px;
    text-align: center;
}

.description_steps {
    display: flex;
    flex-wrap: wrap;
    row-gap: 28px;
    justify-content: space-between;
}

.description_step {
    display: inline-block;
    text-align: center;
}

.description_step_title {
    font-weight: 600;
    color: #f8ad3b;
}

.description_step_icon {
    height: 100px;
    width: 100px;
}

.description_step_description {
    display: inline-block;
    margin-top: 1em;
}

.description_start_container {
    text-align: center;
    margin-top: 48px;
}

.description_start {
    padding: 1em;
    background-color: #f8ad3b;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    width: 10em;
}

.section {
    position: relative;
    height: 100%;
    width: 100%;
}

.section_content {
    position: absolute;
    top: 20%;
    bottom: calc(20% - 90px);
    left: 20%;
    right: 20%;
}

.section_content > div > h1 {
    font-size: 2em;
}

@media only screen and (max-width: 600px) {
    .section_content {
        left: 4%;
        right: 4%;
    }
}

.section_title_icon {
    height: 32px;
    width: 32px;
    margin-bottom: 20px;
}

.section_nav {
    position: absolute;
    bottom: 0;
}

.entry {

}

.entry_add {
    border-top: 1px solid lightgray;
    margin-top: 20px;
    padding-top: 10px;
}

.select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 175px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%0'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
    background-size: 12px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #000 !important;
    border-radius: 0;
}

.select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

.backgrounds_container {
    height: calc(100% - 200px);
    overflow-y: auto;
}

.background_preview {
    height: 124px;
    width: 220px;
    background: white;
}

.background_preview + span {
    position:absolute;
    top:50%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 24px;
    transform: translateY(-50%);
}

.final_preview {
    display: inline-block;
    position: relative;
    height: calc(100% - 150px);
    width: 100%;
    margin-top: 18px;
    cursor: pointer;
}

.final_background_preview {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.final_text_preview {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 24px;
    transform: translateY(-50%);
}

.final_preview_start {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 6em;
    background-color: #00000063;
    color: white;
    opacity: 0.5;
    border-radius: 1em 1em;
    transform: translate3d(-50%, -50%, 0);
}

.btn_action {
    color: #fff;
    background-color: #4c4c4c;
    border-color: #000;
}

.btn_action:hover {
    color: #fff;
    background-color: #000;
}

.btn_action_inverted {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn_action_inverted:hover {
    color: #000;
    background-color: #fff;
}

.success_container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000AA;
    z-index: 999;
}

.success_inner {
    position: absolute;
    top: 50%;
    left: 30%;
    right: 30%;
    padding: 12px;
    background-color: #ffffff;
    text-align: center;
    transform: translateY(-50%);
}

@media only screen and (max-width: 700px) {
    .success_inner {
        left: 15%;
        right: 15%;
    }
}

.success_close {
    position: absolute;
    right: 4px;
    top: 4px;
    cursor: pointer;
}

.success_message {
    margin: 48px;
}

.success_message_link {
    position: relative;
    margin-top: 16px;
}

.success_message_link > a > span {
    white-space: nowrap;
    display: inline-block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.success_message_playlist_title {
    font-weight: 600;
}

.vjs-tech {
    object-fit: cover;
    background-color: transparent;
}

.video-js {
    background-color: transparent !important;
}

.copied_notice {
    display: inline-block;
    background-color: #0D0035;
    color: white;
    padding: 0px 12px;
    border-radius: 4px;
    opacity: 0;
}

.copied_notice:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 1.3em;
    border-bottom: 8px solid #0D0035;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    transform: translateX(-50%);
}