body{
	overflow: hidden;
	margin: 0;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

main{
	opacity: 0.5;
	height: 100vh;
	width: 100%;
}
main.active{
	opacity: 1;
}
.p-small{
	font-size: 0.875rem;
}

#starter-modal.hide{
	display: none;
}
#starter-modal{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;

	width: 50%;
	min-width: 55rem;
	max-width: 60rem;

	height: 80%;
	min-height: 30rem;
	max-height: 40rem;

	background-color: rgba(255,255,255,0.95);

	padding: 1rem;
	border-radius: 0.6rem;
	border: 1px solid #FC5353;

	display: flex;
	align-items: center;
	justify-content: space-around;

	z-index: 100;
}

#starter-modal h1{
	margin-top: 0;
	text-align: center;
}

#starter-modal >div, #starter-modal>ol{
	width: 45%;
}

#starter-modal .how-to-allow+img{
	position: absolute;
	top: 1rem;
	right: 1rem;
	opacity: 0;
	border: 1px solid #8C6BFA;
	padding: 2rem;
	z-index: 2;
	background-color: white;
	border-radius: 0.6rem;
	pointer-events: none;
}
#starter-modal .how-to-allow:hover+img{
	opacity: 1;
}


#starter-modal ol{
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 1;
}


#starter-modal input{
	min-width: 10rem;
	width: 50%;
	border: 1px solid #FC5353;
	padding: 0.5rem;
	border-radius: 0.5rem;
	font-size: 1rem;
	margin-left: 3rem;
	height: 2rem;
	font-size: 1.5rem;
}
#starter-modal input:focus{
	outline: none;
}

#starter-modal input.error{
	border: 3px solid orangered;
}

#starter-modal .step{
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-color: #FC5353;
	line-height: 1rem;
	font-size: 1rem;
	text-align: center;
	border-radius: 100rem;
	padding: 0.5rem;
	margin-right: 1rem;
	color: white;
}

#starter-modal li img{
	margin-left: 3rem;
	pointer-events: none;
}

#starter-modal li p{
	font-weight: bold;
	font-size: 1.2rem;
}

#starter-modal a{
	color: black;
}

#starter-modal .btn, #js-leave-trigger.btn, #SC_password_buttons .btn{
	border-radius: 3rem;
	width: 10rem;
	height: 3rem;
	font-size: 1.2rem;
	background-color: #FC5353;
	color: white;
	border-style: none;
	margin-left: 3rem;
	cursor: pointer;
}
#SC_password_buttons .btn{
	margin-left: initial;
	width: 6rem;
}
#js-leave-trigger.btn{
	opacity: 0;
	background-color: #8C6BFA;
	width: 7rem;
	font-size: 1rem;
	margin: 0;
	padding: 0;
	height: 2rem;
	margin-top: 0.5rem;
	margin-right: 0.5rem;
}
#js-leave-trigger.btn:hover{
	background-color: red;
}
#js-leave-trigger.btn.active{
	opacity: 1;
}

#starter-modal .btn:hover{
	opacity: 0.5;
}

.screenshare-modal{
	position: absolute;
	bottom: -4rem;
	width: 100%;

	color: black;
	text-align: center;
	background-color: #bff3f4;
	height: 4rem;
	transition: transform 1s ease-in-out, background 0.5s ease-in-out, color 0.5s ease-in-out;
	display: none;
	font-weight: bold;
	font-size: 1.2rem;
}
.screenshare-modal.active{
	display: block;
	z-index: 200;
	transform: translateY(-4rem);
	animation: popup 3s ease-in-out 1s forwards;
}

.screenshare-modal p{
	z-index: 1;
}

.screenshare-modal img{
	position: fixed;
	width: 30vw;
	right: 0;
	border: 1px solid #8C6BFA;
	transition: transform 1s ease-in-out;
	z-index: 0;
}
.screenshare-modal.active img{
	transform: translateY(calc(-100% - 4rem));
}


@keyframes popup{
	0% { background: #bff3f4; color: black;}
	10% { background: orange; color: white;}
	50% { background:  orange; color: white;}
	100% { background: #bff3f4; color: black;}
}

#starter-modal img.hero{
	opacity: 0.25;
	z-index: 0;
	position: absolute;
	width: 80%;
	bottom: 0;
	right: 0;
	pointer-events: none;
}

.video-container{
	opacity: 0;
	position: absolute;
	background-color: white;
	top: 0;right: 45%;
	border-radius: 0.6rem;
	border: 1px solid #FC5353;
	padding: 0.5rem;
	transition: padding 0.5s, opacity 1s;
}
.video-container video{
	border-radius: 0.6rem;
	width: 100%;
}
.inner-container{
	display: flex;
	flex-direction: column;
	margin-left: 0;
	width: 0;
	transition: all .5s;
}
.video-container p{
	text-align: center;
	opacity: 0;
	font-size: 0;
	transition: all .5s;
}
.video-container.active{
	opacity: 0.8
}

.room{
  display: flex !important;
  flex-direction: row;
}

#teacher-video{
	width: 10rem;
	transition: all .5s;
}

.remote-streams-students video{
	margin-top: 0.5rem;
}
.remote-streams-students video:first-child{
	margin-top: 0;
}
.remote-streams-students{
  display: flex;
  justify-content: space-around;
	flex-direction: column;
}

.video-container:hover{
	padding: 1rem;
	opacity: 1;
}
.video-container:hover .inner-container{
	width: 10rem;
	margin-left: 1rem;
}
.video-container:hover  p{
	opacity: 1;
	font-size: 1rem;
}

.video-container:hover #teacher-video{
	width: 25rem;
}


#js-leave-trigger{
	position: absolute;
	top: 0;
	right: 0;
}

iframe{
	opacity: 0;
	transition: opacity	0.5s;
	animation: opacity 1s ease-in-out 1s forwards;
}
@keyframes opacity{
	0% { opacity: 0;}
	100% { opacity: 1;}
}



#teacher-pointer{
	opacity: 0;
	position: absolute;
	top: 5rem;
	left: 5rem;
	width: 0;
	height: 0;
	pointer-events: none;
	z-index: 99999999999;
}
#teacher-pointer.active{
	opacity: 1;
}
#teacher-pointer .dot{
	margin: auto auto;
	position: relative;
}

#teacher-pointer.active .centraldot{
	width: 1rem;
	height: 1rem;
	background: rgba(32,150,243,0.7);
	border-radius: 30px;
	position: absolute;
	left:-.5rem;
	top:-.5rem;
	animation: animationDotCentral linear 3s;
	transform-origin: 50% 50%;
	animation-fill-mode:forwards;
}


#teacher-pointer.active .wave{
	width: 10rem;
	height: 10rem;
	background: rgba(32,150,243,0.4);
	border-radius: 100rem;
	position: absolute;
	left:-5rem;
	top:-5rem;
	opacity: 0;
	animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
	transform-origin: 50% 50%;
	animation-fill-mode:forwards;
	animation-delay:0.9s;
}

#teacher-pointer.active .wave2{
	width: 10rem;
	height: 10rem;
	background: rgba(32,150,243,0.4);
	border-radius: 100rem;
	position: absolute;
	left:-5rem;
	top:-5rem;
	opacity: 0;
	animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
	transform-origin: 50% 50%;
	animation-fill-mode:forwards;
	animation-delay:1.07s;
}


@keyframes animationDotCentral{

	0% {
		transform:  scale(0) ;
		opacity: 0;
	}

	5% {
		transform:  scale(2) ;
	}

	10% {
		transform:  scale(0.90) ;
		opacity: 1;
	}


	11% {
		transform:  scale(1.50) ;
	}

	12% {
		transform:  scale(1.00) ;
	}

	28% {
		background: rgba(32,150,243,1);
	}

	29% {
		background: rgba(255,255,255,1);
	}

	31% {
		background: rgba(32,150,243,1);
	}

	33% {
		background: rgba(255,255,255,1);
	}

	35% {
		background: rgba(32,150,243,1);
	}

	90%{
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes animationWave{
	0% {
		opacity: 0;
		transform:  scale(0.00);
	}

	1% {
		opacity: 1;
	}

	10% {
		background: rgba(32,150,243,0.4);
	}

	100% {
		transform:  scale(1) ;
		background: rgba(32,150,243,0.0);
	}
}

/*small chat*/
#Smallchat{
	position: relative;
	z-index: 150;
	opacity:0.8;
}
#Smallchat:hover{
	opacity: 1;
}
#Smallchat iframe{
	left: 19rem !important;
	z-index: 999999999999999;
}

/* share faild for mac */
#screenshare-failed{
	bottom: 0;
	z-index: 250;
	background-color: white;
	border-radius: 0.6rem;
	border: 1px solid #FC5353;
	position: fixed;
	padding: 1rem;
	width: 30rem;
	left: 0;
	transform: translateY(100%);
	transition: transform 1s ease-in-out;
}
#screenshare-failed.active{
	transform: translateY(0%);
}

#screenshare-failed img{
	width: 100%;
}