@import "../global.css";

#content_second{
  width: 100vw;
  height: calc(100vh - 20px);
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.img_parent{
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 20px);
  flex: 1 1 auto;
}

img{
  max-height: calc(100% - 20px);
  max-width: calc(100% - 20px);
  margin: 10px;
  object-fit: contain;
  flex: 1 0 0;
  filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.6)) drop-shadow(-4px -4px 4px rgba(0, 0, 0, 0.6));
}


.hidden{
  display: none;
}

#image{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  flex-grow: 1;
  flex-basis: 33vw;
}

#image img{

  max-height: calc(100% - 20px);
  max-width: calc(100% - 20px);
  margin: 10px;
  object-fit: contain;
  flex: 1 0 0;
  filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.6)) drop-shadow(-4px -4px 4px rgba(0, 0, 0, 0.6));


  animation: fade 800ms ease-in-out;
}

@keyframes fade {
  from {transform: translateX(100%)} 
  to {transform: translateX(0)}
}

#containProgress{
  height: 20px;
  width: calc(100% - 20px);
  position: absolute;
  top: 5px;
  margin: 1px;
  z-index: 10;
  display: flex;
  flex-direction: row;
}

.progress{
  height: 100%;
  border: solid 2px var(--progress-color);
  border-radius: 10px;
  margin: 0 10px;
  overflow: hidden;
  flex-grow: 1;
}

.progress div{
  height: 100%;
  background-color: var(--progress-color);
}

.progress-finish{
  width: 100%;
}

.progress-current{
  animation: moveProgress 15s linear infinite;
}

.progress-wait{
  width: 0%;
}

@keyframes moveProgress{
  from {width: 0%}
  to {width: 100%}
}
