@import url('https://fonts.googleapis.com/css2?family=Rubik');

body {
	font-family: 'Rubik', sans-serif;
	margin: 0;
    padding: 0;
    font-size: 24px;
	overflow-y:hidden;
    overflow-x:hidden;
}

/*INTERFACE STRUCTURE*/
.logo {
	width: 100vw;
	z-index: 400;
	color: white;
	font-size: 1rem;
	position: absolute;
	bottom: 1rem;
	text-align: center;

}


/*.game__interface_border{
	width: 80vw;
	height: 80vh;
	border: 1px solid white;
	border-radius: 5rem;
	z-index: 500;
} */

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.6);
    z-index: 400;
	transition: all 0.5s;
}

.introduction__text {
	z-index: 200;
	text-align: center;
	max-width: 35rem;
	color:white;

} 

.game__interface {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}


/*Target*/
#camera__target {
	height: 8rem;
	width: 8rem;
	position: absolute;
	z-index: 200;
	display:none;
}

#camera__target > img {max-width: 100%; height: auto;}

/*Video*/
.barometer {
    width: 100vw;
    height: 100vh;
	object-fit: cover;
    overflow: hidden;
}

.bg_video {
    right: 0;
    bottom: 0;
	padding:0;
	object-fit: cover;
    width:100%;
	height:100%;
    position: absolute;
	z-index:1;
}


#game__indication {
	display: none;
	bottom: 18rem !important;
	z-index:300;
		
	padding: 0.1rem 1.5rem;
	border: 1px solid white;
	border-radius: 3rem;

	display: flex;
	flex-direction: row;
	justify-content:space-around;
	position: relative;

	width: 20vw;
	
	color:white;
	font-size: 1rem;
	text-align: center;
}

.label {
	font-size: 0.8rem;
}
.Timer .Score {
	position:absolute;
}

/*Subtitle and transcription display*/

#subtitle {
	position:fixed;
	bottom:0;
	padding:1rem 2rem;
	margin-bottom: 2rem;
	height:10vh;
	width:50vw;
	border: 1px solid rgb(255, 255, 255);
	display: block;
	overflow: hidden;
	z-index:400;
	font-size: 1rem;
	color:white;
	display:none;
	background-color:rgb(255, 255, 255,0.2) ;
}

.subtitle__transcription {
	display:none;
}

.show {
	display:block;
}

.typing {
	font-family: 'Rubik';
	font-size: 1.2rem;
	display:block;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
	animation: typewriter 3s steps(40) 0.3s 1 normal both;
}

  @keyframes typewriter{
	from{width:0ch;}
	to{width:35ch;}
  }
  
 

/*earth*/
canvas {
    position: fixed;
    top:0;
    left:0;
    z-index: 100;
}

/*INTERACTIONS*/

.button {
	color:white;
	font-size: 1rem;
	font-weight: 700;
	padding: 1rem 2rem;
	border: 1px solid rgb(255, 255, 255);
	border-radius: 2rem;
	background: transparent;
	font-family: 'Rubik', sans-serif;
	text-transform: uppercase;
	cursor: pointer;
	margin:1rem;
	transition: all 0.2s;
}

.button:hover{
	background-color:rgb(255, 255, 255,0.2);
	transition: all 0.2s;
}

#closeButton {
	border:none;
	font-weight: 100;
	background: transparent;
	float:right;
	font-size: 2rem;
}

#startButton {
	z-index: 200;
}

/*INTRO INTERFACE*/

.intro__interface {
	z-index:300;
	height: 100vh;
	position: relative;
	flex-direction:column;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#soundButton {
	width:64px;
	height:64px;
	margin-top:5rem;
	z-index:300;
}
#soundButton > img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/*HIDDEN TAB*/
/*notification*/

#notification{
	text-align: center;
	font-size: 1rem;
	border: 1px solid;
	background-color:rgb(255, 255, 255,0.2) ;
	padding: 1rem 1rem;
	color:white;
	width:35rem;
	position: absolute;
	z-index:300;
	display:none;
}

#endGame {
	text-align: center;
	background-color:black;
	width:50vw;
	height: 40vh;
	padding: 1rem;
	color:white;
	position: absolute;
	z-index:600;
	display:none;
}

#endGame_message {
	width: 35rem;
	margin-left: auto;
	margin-right: auto;
}




