body, html {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

#landscape_notice {
	display: none;
}

@media screen and (orientation:landscape) {
	
}

@media screen and (orientation:portrait) {
	#landscape_notice {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 999;
		background-color: rgb(220, 49, 94);
		color:whitesmoke;
		text-align: center;
		box-sizing: border-box;
		font-size: 1.5rem;
		font-weight: bold;
	}

	#landscape_notice p {
		font-family: 'Source Sans Pro', sans-serif;
		position: absolute;
		top: 50%;
		left: 1rem;
		right: 1rem;
		transform: translateY(-50%);
		margin: 0;
	}
}

.darwin_links a {
	padding: 0.5rem 0.75rem;
	border-radius: 2rem;
	border: 0.1rem solid burlywood;
}

* {
	font-family: 'Tiro Telugu', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.page {
	width: 100vw;
    height: 100vh;
    display: block;
    position: relative;
}

.page.hidden {
	display: none;
}

.page.videos {
	height: 100vh;
	width: 100vw;
	background-color: #084142;
	position: relative;
	overflow: hidden;
}
.page.videos h1 {
	font-family: 'Source Sans Pro', sans-serif;
	position: absolute;
	top: 2vw;
	left: 4vw;
	font-size: 5vw;
	color: white;
	margin: 0;
	/* font-style: italic; */
	font-weight: 200;
	line-height: 1;
}

.page.videos .video_wrap {
	width: 100%;
	height: 0%;
	/* position: absolute; */
}

.page.videos .video_curtain {
	position: absolute;
	border-radius: 50%;
	background-color: black;
	overflow: hidden;
	z-index: 40;
}

.page.videos .video_element {
	position: absolute;
	z-index: 50;
}

.page.videos .video_element .video_inner {
	position: absolute;
	top: -4%;
	left: -4%;
	height: 108%;
	width: 108%;
	border-radius: 50%;
	overflow: hidden;
	box-sizing: border-box;
	border: 0.2vw solid #eaefdd;
}

.page.videos .video_element .video_preview {
	position: absolute;
	top: 2%;
	left: 2%;
	height: 96%;
	width: 96%;
	border-radius: 50%;
	overflow: hidden;
	box-sizing: border-box;
	z-index: 10;
	cursor: pointer;
}

.page.videos .video_element .video_preview .video_preview_still {
	position: absolute;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	z-index: 10;
	opacity: 0;
	transition: opacity 2s linear;
	/* box-shadow: inset 0 -1vw 0.5vw rgba(24,64,66,0.3); */
}

.page.videos .video_element .video_preview .video_title {
	position: absolute;
	right: -2vw;
	bottom: 0vw;
	height: 55%;
	width: 55%;
	background-color: rgb(234, 239, 221);
	color: rgb(24, 64, 66);
	position: absolute;
	z-index: 20;
	padding: 12.5% 12.5% 5% 8%;
	box-sizing: border-box;
	border-radius: 50%;
}

.page.videos .video_element.video_small .video_preview .video_title {
	display: none;
}

.page.videos .video_element .video_preview .video_title p {
	font-size: 1.2vw;
	line-height: 1.2;
	margin: 0;
	margin-bottom: 0.5vw;
	font-weight: bold;
	color: #7c7e6e;
	font-family: 'Source Sans Pro', sans-serif;
}

.page.videos .video_element.video_large .video_preview .video_title::after {
	content:"▶";
	font-size: 1vw;
	position: inline-block;
	z-index: 60;
	border-radius: 50%;
	background: #ed1062;
	color: #eaefdd;
	left: 8%;
	bottom: 3vw;
	display: block;
	width: 2.5vw;
	height: 2.5vw;
	text-align: center;
	box-sizing: border-box;
	line-height: 2.5vw;
}

.page.videos .video_element.video_small .video_preview::after {
	content:"▶";
	font-size: 1vw;
	position: absolute;
	z-index: 60;
	border-radius: 50%;
	background: #ed1062;
	color: #eaefdd;
	right: 8%;
	bottom: 3vw;
	display: block;
	width: 2.5vw;
	height: 2.5vw;
	text-align: center;
	box-sizing: border-box;
	line-height: 2.5vw;
}

.page.videos .video_element .video_preview .video_preview_still.current {
	opacity: 1;
}

.page.videos .video_element .video_player {
	position: absolute;
	top: 0%;
	left: 0%;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border: 0.25vw solid white;
	opacity: 0;
	z-index: 0;
	display: none;
	background-color: white;
}

.page.videos .video_element .video_player .video_close {
	display: none;
	position: absolute;
	top: -3vw;
	right: 0;
	color: white;
	font-size: 2vw;
	z-index: 500;
	cursor: pointer;
	width: 2vw;
	height: 2vw;
	overflow: hidden;
	text-indent: -999px;
	background-image: url(Assets/Images/close.svg);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.page.videos .video_element .video_progress {
	position: absolute;
	bottom: -3vw;
	background-color: white;
	left: 0%;
	height: 2vw;
	width: 0%;
	/* transition: width 0.5s linear; */
}


.page.videos .video_element .video_progress_time {
	position: absolute;
	bottom: -3vw;
	color: white;
	right: 0%;
	height: 2vw;
	/* width: 0%; */
	font-size: 1.8vw;
	line-height: 2vw;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;

	/* transition: width 0.5s linear; */
}

.page.videos .video_element.open .video_player .video_close {
	display: block;
}

.page.videos .video_element.open .video_player {
	display: block;
}

.page.videos .videos-page {
	height: 50vw;
	width: 100vw;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.page.videos .video_curtain.open {
	animation: curtain_cover 1000ms;
	animation-fill-mode: forwards;
	z-index: 55;
}

.page.videos .video_element.open {
	z-index: 60;
	animation: video_show 0ms;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-delay: 750ms;
}

.page.videos .video_element.open .video_inner {
	animation: preview_hide 500ms;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-delay: 250ms;
}

.page.videos .video_element.open .video_player {
	z-index: 11;
	animation: player_show 750ms;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in;
	animation-delay: 850ms;
}

#curtain {
	width: 200vw;
	height: 200vw;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	background-color: #084142;
	z-index: 9999;
	display: none;
	opacity: 0;

	/* transition: opacity 1s linear; */
}

#curtain.show {
	display: block;
	/* opacity: 1; */
	animation: curtain_show 0.75s ease-out;
	animation-fill-mode: forwards;
}

#curtain.hide {
	animation: curtain_hide 0.75s ease-in;
	animation-fill-mode: forwards;
}

@keyframes curtain_show {
	0% {
		opacity: 0;
	}
	95%,
	100% {
		opacity: 1;
	}
}

@keyframes curtain_hide {
	0%, 5% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
/* .page.videos .video_curtain.open.close_now {
	animation: curtain_cover 1000ms;
	animation-fill-mode: forwards;
	z-index: 55;
	animation-direction: reverse;
} */

/* .page.videos .video_element.open.close_now {
	z-index: 60;
	animation: preview_hide 0ms;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-delay: 750ms;
} */
/* 
.page.videos .video_element.open.close_now .video_inner {
	animation: preview_hide 500ms;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-delay: 250ms;
	animation-direction: reverse;
}

.page.videos .video_element.open.close_now .video_player {
	z-index: 11;
	animation: player_show 750ms;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in;
	animation-delay: 850ms;
	animation-direction: reverse;
} */


@keyframes curtain_cover {
	100% {
		width: 200vw;
		height: 200vw;
		left: -50vw;
		top: -70vw;
	}
}

@keyframes video_show {
	100% {
		width: 70%;
		height: 79.2%;
		left: 15%;
		top: 10%;
		border-radius: 0;
	}
}

@keyframes preview_hide {
	100% {
		opacity: 0;
	}
}

@keyframes player_show {
	100% {
		opacity: 1;
	}
}

/* 
.page.videos .video_wrap.close_now {
	animation: preview_hide 750ms;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in;
} */


/* .page.videos .video.close_now {
	animation: preview_hide 750ms;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in;
} */

