/* main css file for subtitles and audio player */

body{
	background-color: #000;
	height: 100vh;
}

/*       S U B T I T L E S       */
/*.subtitle {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 24px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 10px 20px;
	border-radius: 8px;
	opacity: 0;
	transition: all 0.5s;
	z-index: 99;
	opacity: 1;
}*/

.subtitle.bottom-center {
	position: fixed;
	bottom: 70px;
	left: 50%;
	transform: translateX(-50%);
/*	font-size: 36px;*/
	font-size: calc(22px + (45 - 22) * ((100vw - 300px) / (3000 - 300)));
	background-color: transparent;
/*	color: #FDDA0D;*/
	color: #FFF;
	text-align: center;
	opacity: 0;
	transition: all 0.5s;
	width: 80%;
	line-height: 1.3;
	font-family: sans-serif;
	text-shadow: 0px 0px 1px #000;
	display: block;
}

.subtitle.hidden{
	display: none;
}

.subtitle.bottom-center.to-the-bottom{
 	bottom: 10px;
}
				
#subtitleContainer{
	display: none;
}

.toggle-subtitle-btn,
.fullscreen-btn,
.speed-btn{
    background-color: transparent;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
}

.speed-btn{
	font-size: 20px;
	font-weight: normal;
	font-family: Helvetica, sans-serif;
}

.audioPlayerBtn{
	margin-left: 10px;
	display: flex;
	justify-content: space-between;
}

/*.toggle-subtitle-btn {
    bottom: 10px;
    right: 70px;
}

.fullscreen-btn{
    bottom: 10px;
    right: 23px;
}

.speed-btn{
    bottom: 15px;
    right: 110px;
    font-size: 20px;
}*/


/*       P L A Y E R       */

.audioPlayerContainer{
	width: 100%;
	left: 0;
	position: fixed;
	bottom: 0px;
	z-index: 1000;
	transition: transform 0.5s ease, opacity 0.5s ease;
  	opacity: 1;
  	display: flex;
}

.audioPlayerContainer.hidden {
    transform: translateY(100px); /* Move it down */
    opacity: 0;
    pointer-events: none;
}

.green-audio-player{
	background-color: rgb(30, 30, 30);
	text-shadow: 0 0 2px rgba(0,0,0,.5);
}

.green-audio-player .play-pause-btn svg path{
	fill: rgb(230, 230, 230);
}

.green-audio-player .controls{
	color: rgb(230, 230, 230);
	width: 70%;
}


.green-audio-player .slider{
	background-color: grey;
}

.green-audio-player .slider .gap-progress{
	background-color: rgb(230, 230, 230);
}

.green-audio-player .slider .gap-progress .pin{
	background-color: rgb(230, 230, 230);
}

.green-audio-player .volume__speaker{
	fill: rgb(230, 230, 230);
}

/*#audioPlayer{
	width: 95%;
	left: 2.5%;
	position: fixed;
	bottom: 20px;
	z-index: 1000;
}*/



/* Size of project */

.size-of-project{
	position: fixed;
	top: 10px;
	left: 10px;
	background-color: rgba(255, 255, 255, 0.1);
	z-index: 99;
	color: grey;
	font-family: monospace;
	font-size: 14px;
}

/* placeholder */
.placeholder{
	width: 100vw;
	height: 100vh;
}

.placeholder img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}



