/* main css file for subtitles and audio player */
body{
	overflow: hidden; /* Hide scrollbars */
	background-color: #000;
	height: 100vh;
}

/*       S U B T I T L E S       */
.subtitle.bottom-center {
	position: fixed;
	bottom: 70px;
	left: 50%;
	transform: translateX(-50%);
    font-size: calc(22px + (45 - 22) * ((100vw - 300px) / (3000 - 300)));
    background-color: rgba(0, 0, 0, 0.3);;
	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;
	z-index: 99;
}

.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;
}

/* Fake Fullscreen */
.fake-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: black;
  z-index: 9999;
}

body.fake-fullscreen .reveal {
  height: 100vh !important;
}

body.fake-fullscreen {
  margin: 0;
  padding: 0;
  touch-action: none;
  overscroll-behavior: none;
}

/* persitent Iframe Background*/
#persistent-iframe-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  border: none;
  z-index: 1;
  pointer-events: none;
}

/* Highlighted when in fullscreen */
.fullscreen-btn.active {
	color: #fff;
	background-color: #00a57daa;
	box-shadow: 0 0 10px #0affc2aa;
}


.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 {
	background-color: transparent;
	border-style: solid;
	border-color: #FFF;
	border-radius: 5px;
	color: white;
	cursor: pointer;
	margin-right: 5px;
	margin-left: 5px;
	font-size: 18px;
	font-weight: normal;
	font-family: Helvetica, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.toggle-subtitle-btn.active {
	text-decoration: line-through;
}


/*       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: rgba(256, 0, 256, 0.3);

 background: linear-gradient(to left,
    #00a57daa 0%,
    #9f00a7aa 100%);

	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);
}

/* placeholder */
.placeholder{
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
}

.placeholder img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
}


/*ADDED FROM PHP, TODO DYNAMICALLY */
.reveal .slides,
.reveal .slides h1,
.reveal .slides h2,
.reveal .slides h3 {
	font-family: "Source Code Pro";
}
.reveal .blurry-slide {
	filter: blur(5px);
}
.reveal .slides section {
	transition: all 8.5s ease-in-out !important;
	transform-origin: center center;
}
.reveal #iframe-background-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 0;
	/* Behind everything */
	pointer-events: none;
	/* So it doesn't block slides */
	overflow: hidden;
}
.reveal #background-iframe {
	width: 100%;
	height: 100%;
	border: none;
}
.reveal .scroll-window {
	width: 800px;
	/* or any size you want */
	height: 600px;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	/* center horizontally */
}
.reveal .scrolling-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	animation: verticalScroll 20s linear forwards;
}
@keyframes verticalScroll {
	0% {transform: translateY(0);}
	100% {transform: translateY(-2400px);}
}
.reveal .reveal {
	z-index: 1;
	position: relative;
}
.reveal code,
.reveal pre {
	font-family: 'Source Code Pro', monospace;
}
.reveal .source-code-regular {
	font-family: 'Source Code Pro', monospace;
	font-weight: 400;
}
.reveal .source-code-italic {
	font-family: 'Source Code Pro', monospace;
	font-style: italic;
	font-weight: 400;
}
.reveal .source-code-bold {
	font-family: 'Source Code Pro', monospace;
	font-weight: 700;
}
.reveal .source-code-black {
	font-family: 'Source Code Pro', monospace;
	font-weight: 900;
}
.reveal .scroll-container {
	width: 1500px;
	height: 800px;
	overflow: hidden;
	position: relative;
	border: 2px solid #ccc;
	border-radius: 33px;
	top: 140px;
	left: 210px;
}
.reveal .scroll-inner {
	display: flex;
	flex-direction: column;
}
.reveal .animate-scroll {
	animation: scroll-up 20s linear infinite;
	animation-delay: 5s;
}
@keyframes scroll-up {
	0% {
		transform: translateY(0%);
	}
	100% {
		transform: translateY(-2400px);
	}
}
.reveal #data-background {
	display: none;
	visibility: hidden;
}



