
body, html{
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

body{
 display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background:transparent;
}


#status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align:center;
    color: white;
    background: var(--main-color);
    background: linear-gradient(340deg, var(--main-color), var(--second-color));
    padding: 5px 20px 5px 20px;
    border-radius: 10px;
}

#status.hide {
    display: none;
}

.container {
    position: absolute;
    background: transparent;
    width: 1920px;
    height: 1080px;
    border-bottom: 5px solid var(--main-color);
    transform:scale(1);
    overflow: hidden;
}

#player{
    position: absolute; 
    border: var(--border-size) solid var(--border-color);
    border-radius: var(--border-radius);
    width: 95%;
    aspect-ratio: 16/9;
    top: 0; 
    left: calc(2.5% - var(--border-size)); 
    z-index: 0;
    transition: all .5s ease;
    -webkit-box-shadow: 0px 2px 3px 1px #000000; 
    box-shadow: 0px 2px 3px 1px #000000;
}

#player.hidden{
    top: 110%;
}

#progress {
    position: absolute;
    z-index: 0;
    bottom: 0;
    height: var(--progress-height);
    background: var(--main_color);
    background: linear-gradient(var(--progress-color-angle), var(--progress-color-1), var(--progress-color-2));

    border-radius: 10px;
    border: 1px solid var(--progress_color_2);
    
    -webkit-box-shadow: 0px 2px 3px 1px #000000; 
    box-shadow: 0px 2px 3px 1px #000000;
    transition-property: all 0.5 ease;
}

#progress.top{
    top: calc(48px - var(--progress-height));
}

#overlay {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 30px;
    width: 100%;
    height: 50px;
    transition: all .5s ease;
    opacity: 1;
}

#overlay.hidden{
    bottom: -20%;
}

#overlay.top {
    top: 4px;
}

#overlay.disabled{
    opacity:0;
}

#overlay.hidden.top{
    top: 120%;
}

#overlay_text{
    position: absolute;
    z-index: 1;
    left: 10px;
    top:4px;
    color: white;
    font-size: large;    
    max-width: calc(100% - 60px);
    padding: 5px 20px 5px 20px;
    border-radius: 10px; 
    background: rgba(41,41,40,1);
    -webkit-box-shadow: 0px 2px 3px 1px #000000; 
    box-shadow: 0px 2px 3px 1px #000000;
}

#overlay_text.top{
    top: 0;
}

.title{
    font-size: smaller;
}

.date, .creator{
    color: var(--main-color);
}


/*******************************************************
***************** SPINNER 
**********************************/

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

h2#copyright {
    font-weight: bold;
    font-size: 1rem;
    z-index: 1;
    position: absolute;
    bottom: -4px;
    text-align: center;
    width: 100%;
    color: var(--main-color);
    font-variant: all-small-caps;
}

h2#copyright.hidden{
    display: none;
}