html {
    font-size: 16px;
}

body {
    margin: 0;
    background-color: #9B2D2D;
}

main {
    padding: 10px;
    max-width: 330px;
    box-sizing: border-box;
    margin: auto;    
    font-family: "Karla";
    text-transform: uppercase;
    
}



/* home ========================================= */

.home main {
    min-height: 720px;
    background-image: url(../img_layout/background_home.jpg);
    background-size:contain ;
    background-repeat: no-repeat;
}

h1{
    font-style: italic;
    font-weight: 800;
    font-size: 41pt;
    letter-spacing: -0.05em;
    color: #6D3925;
    text-align: center;
}

.tag{
    width: 45%;
    position: relative;
    right: -160px;
    top: -50px;
    transform: rotate(10deg);
}

/* navigation =============== */

ul{
    list-style-type: none;
    padding: 0;
    
}

.home main ul{
    transform: translateY(120%);
}

.home main nav a{
    width: 50%;
    padding:10px 30px ;
    background-color: #9B2D2D;
    color: #DCC9A7;
    position: relative;
    top: 80px;
}

.home a{
    display: block;
    margin: 9px auto; 
    border-radius: 30px;
    font-weight: bold;
    letter-spacing: -0.03em;
    text-decoration: none;
    box-shadow:  3px 3px 5px rgba(0, 0, 0, 0.558);
}

strong{
    color: #9B2D2D;
}


/* pages ========================================== */

.page-video main{
    min-height: 720px;
    padding: 20px 20px;
    background: url(../img_layout/background_page.jpg);
    background-size:contain ;
    background-repeat: no-repeat;
}

video {
    width: 100%;
    box-shadow:  3px 3px 5px rgba(0, 0, 0, 0.558);
}

.overlay-video{
    margin-top: 70px;
    padding: 0 30px;
    position: relative;
    top: -20px;
}

/* nav page ======== */

.back img{
    width: 20px;
    margin: 30px 0 0 15px;
}

#active{
    background-color: #9B2D2D;
    color: #DCC9A7;
}

/* #region CONTROLS */
#video-controls {
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
}

.buttons{
    display: flex;
    flex-wrap: wrap;
    background-color: #9B2D2D;
    border-radius: 35px;
    box-shadow:  3px 3px 5px rgba(0, 0, 0, 0.558);
    padding: 5px 35px;
    margin: auto;
    position: relative;
    top: -15px;
}

#video-controls li {
    list-style: none;
    margin: 0 .3em .35em;
}

/* #region progress */
.progress,
#progress {
    width: 100%;
    margin: 0;
}

.progress {
    position: relative;
    top: -40px;
    left: 20px;
    width: 70%;
}

progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    border-radius: 2px;
}

/* progress bar background */
progress[value]::-webkit-progress-bar {
    background-color: #DCC9A7;
    border-radius: 2px;
}

/* progress bar progress */
progress[value]::-webkit-progress-value {
    border-radius: 2px;
    background-color: #9B2D2D;
}

#handle {
    position: absolute;
    bottom: -50px;
    width: 5px;
    height: 5px;
    top: 6px;
    background-color: brown;
    transform: rotate(45deg) translateX(-5px);
    z-index: 2;
}


.progress_add{
    position: relative;
    top: -9px;
}


#handle {
    top: 0px;
    border-radius: 15px;
    width: 12px;
    height: 12px;
    background-color: #9B2D2D;
    transform: translateX(-5px);
    z-index: 3;
    cursor: grab;
}

/* #endregion */

/* #region buttons */
/* reset default button */

button {
    border: none;
    padding: .5rem .75rem;
}

#rew {
    background: #9B2D2D url(../img_layout/rew.jpg) no-repeat center center;
    background-size: contain;
}

#play-pause{
    background: #9B2D2D url(../img_layout/play.jpg) no-repeat center center;
    background-size: contain;
}

#play-pause.playing{
    background: #9B2D2D url(../img_layout/pause.jpg) no-repeat center center;
    background-size: contain;
}

#ff {
    background: #9B2D2D url(../img_layout/ff.jpg) no-repeat center center;
    background-size: contain;
}

#fs{ 
    position: relative;
    top:-48px;
    right: -20px;
    font-size: .5em;
    padding: 5px;
    background-color:#DCC9A7;
}


/* #endregion */

/* #endregion */