
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.page-grid {
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-rows: 4rem 1fr 2rem;
    grid-template-areas: 
        ". header ." 
        ". main ." 
        ". footer .";
}

.app-title {
    grid-area: header;
    width: auto;
    height: 100%;
    margin: 0;
    border: solid 1px #ddd;
}

.editor-container {
    margin-top: 5px;
    grid-area: main;
    /* border: solid 1px #ddd; */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr auto auto auto;
}

.editor-container.empty > * {
    display: none;
}   

.editor-preview-container {
    grid-column: 1/4;
    grid-row: 1 / 5;
    border: dashed 1px lightgray;
    margin:auto;
}

.editor-overlay-selectors {
    z-index: 50;
    grid-column: 2/3;
    grid-row: 2;
    display: grid;
    min-height: 2rem;
    min-width: 8rem;
    border: solid 1px #ddd;
    border-radius: 4px;
    background-color: #ddd;
    margin-top: .4rem;
}

.editor-options {
    z-index: 50;
    grid-column: 2/3;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(6, auto);
    grid-template-rows: 1fr;
    padding: 0 1rem;
    min-height: 2rem;
    min-width: 8rem;
    justify-self: center;
    align-self: center;
    border: solid 1px #ddd;
    border-radius: 4px;
    background-color: #ddd;
}

.color-picker {
    align-self: center ;
    justify-self: center;
    margin: .4rem .8rem;
    border: none;
    background-color: transparent;
    max-width: 2rem;
    border: solid 1px #ccc;
}

.option-duation {
    align-self: center ;
    justify-self: center;
    margin: .4rem .8rem;
    max-width: 4rem;
    max-height: 1.4rem;
    border: solid 1px #ccc;
    padding: .1rem .3rem;
    border-radius: 2px;
}

.editor-controls {
    grid-row: 4;
    grid-column: 2/3;
    display: grid;
    grid-template-columns: repeat(7, auto);
    padding-bottom: .6rem;
    z-index: 50;
    margin-top: .2rem;
}

.editor-control {
    margin: .3rem .5rem;
    height: 2.8rem;
    width: 2.8rem;
    border: none 1px #A0A0A0;
    border-radius: 50%;
    background-color:transparent;
    cursor: pointer;
    color: white;
    display: grid;
    align-content: center;
    justify-content: center;
}

.video-source {
    display: none;
}

.video-editor-frame {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 
        ". controls-top ."
        ". video ."
        ". controls-bottom .";
    min-height: 55rem;
}

.video-editor-title {
    grid-area: title;
}

.video-editor-display {
    grid-area: video;
    width: 100%;
    height: auto;
    border: solid 1px #ddd;
}

.video-style-controls {
    grid-area: controls-top;
    display: grid;
    margin-bottom: 1rem;
}

.video-upload-controls {
    margin-top: 1rem;
    grid-area: controls-bottom;
    display: grid;
}

.empty * {
    display: none;
}

