*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 15px;
}


body {
	margin: 0;
	--color-text: #111;
	--color-link: #aaa;
	--color-link-hover: #000;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	width: 100%;
	height: 100vh;
	overflow-x: hidden;
	pointer-events: all;

}

.studentImage{
	position: fixed;
	width: auto;
	height: auto;
	bottom: -50px;


}


.vidBorder{

	z-index: 105;
}

.vidmainpos{
	position: relative;
	margin:auto 0;

	
}

.backBTN{
	text-align: center;
	margin: 0px auto;
	width: 150px;
	height: 150px;
	position: relative;
	z-index: 300;
	pointer-events: all;
	transform: rotateZ(-90deg);
}



.screen {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}

.fold-scroller {
	height: 100%;
}

.fold-content {
	pointer-events: all;
	width: 100%;
}

.fold-size-fix {
	width: 100%;
	height: 100%;
}

.fold-before .fold-size-fix {
	transform-origin: bottom center;
}

.fold-after .fold-size-fix {
	transform-origin: top center;
}

#base-content {
	display: none;
}

/*  Debug */
.debug .fold:nth-child(2n) {
	background: #dadada;
}

.debug .fold:nth-child(2n + 1) {
	background: #bababa;
}

.btn-debug {
	position: fixed;
	top: 10px;
	padding: 1rem;
	font-size: 16px;
	text-transform: uppercase;
	right: 10px;
	cursor: pointer;
	z-index: 100;
	display: none;
}

.square {
	width: 100%;
	padding-bottom: 100%;
	background: coral;
}

.rectangle {
	width: 100%;
	padding-bottom: 50%;
	background: coral;
	box-shadow: 1px 0 coral, 0 1px coral;
}

.block {
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 101;
	
}
.block-inside{
	position:absolute;
	left: 50%;
	right: 0px;
	top: 45%;
	bottom: 0px;
	display: block;
	width: 100%;
	transform: translate(-50%,-50%);
	z-index: 102;
	padding-top: 0;
	padding-left: 10%;
	padding-right: 10%;
	padding-bottom: 10%;
}

.block-logo{
	position:inherit;
	margin: 0 auto;
	z-index: 103;
}

.aca_logo{
	position:fixed;
	right:-2%;
	bottom:5%;
	display: block;
	z-index: 104;
}
.time_frame{
	display: block;
	position:inherit;
	overflow: visible;
}
.timer_styler{
	display: block;
	margin:-15% auto;
	background-image:url("../img/Frame_Timer.png");
	background-repeat: no-repeat;
	padding-left: 110px;
	padding-top: 65px;
	width: 457px;
	height: 250px;

}

.timer{
	text-align: center;
  	margin-top: 0px;
	color: rgb(255, 255, 255);
	z-index: 110;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 210;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}


@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5, 0.5, 1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

.message {
	background: var(--color-text);
	color: var(--color-bg);
	padding: 1rem;
	text-align: center;
	display: none;
}

.frame {
	padding: 3rem 5vw;
	text-align: center;
	position: relative;
	z-index: 200;
}

.frame__title {
	font-size: 1rem;
	margin: 0 0 1rem;
	font-weight: normal;
}

.frame__links {
	display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
	margin-right: 1rem;
}

.frame__demos {
	margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
	color: var(--color-text);
}

.content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}
.contentPoems {
	display: flex;
	flex-direction:column;
	margin-top: -100px;
	width: 60w;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}
.contentVideo {
	display: flex;
	margin-top: 120px;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}
.overlay {
	
	height: 100%;
	opacity: 0%;
	width: 0%;
	position: fixed; 
	z-index: 210; 
	left: 0;
	top: 0;
	background-color: rgb(0,0,0); 
	background-color: rgba(0,0,0, 0.9);
	overflow-x: hidden; 
	transition: 0.5s; 
  }
  
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 118;
    opacity:1;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: all;
}

.modalDialog:target {
    opacity:1;
    pointer-events: all;
}
.modalDialogHidden {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 0;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: all;
}
.modalDialogHidden:target {
    opacity:1;
    pointer-events: all;
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 120px auto;
    padding: 5px 20px 13px 20px;
	pointer-events: all;
}
.modalDialogHidden > div {
    width: 400px;
    position: relative;
    margin: 120px auto;
    padding: 5px 20px 13px 20px;
	pointer-events: all;
}

.modalStyling{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-family: halyard-display, sans-serif;
	font-weight: 100;
	line-height: 2rem;
	pointer-events: all;
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
	text-decoration: none;
    background: #00d9ff;
}


  .overlay-content {
	pointer-events: all;  
	position: relative;
	top: 0%; 
	text-align: center; 
	margin-top: 30px; 
  }
  

  .overlay a {
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
  }
  
 
  .overlay a:hover, .overlay a:focus {
	color: #f1f1f1;
	text-decoration: none;
  }
  
 
  .overlay .closebtn {
	pointer-events: visible;
	position: absolute;
	top: 20px;
	right: 5px;
	font-size: 60px;
	z-index: 200;
  }
 
  
  @media screen and (max-height: 450px) {
	.overlay a {font-size: 20px}
	.overlay .closebtn {
	  font-size: 40px;
	  top: 15px;
	  right: 35px;
	}
  }
@media screen and (min-width: 500px) {
	.message {
		display: none;
	}

	.frame {
		position: fixed;
		text-align: left;
	
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width:2000px;
		height: 100vh;
		padding: 3rem;
		pointer-events: none;
		grid-template-columns: 50% 50%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'title links'
			'... ...'
			'... demos';
	}

	.frame__title-wrap {
		grid-area: title;
		display: flex;
	}

	.frame__title {
		margin: 0;
	}

	.frame__tagline {
		position: relative;
		margin: 0 0 0 1rem;
		padding: 0 0 0 1rem;
		opacity: 0.5;
	}

	.frame__demos {
		margin: 0;
		grid-area: demos;
		justify-self: end;
	}

	.frame__links {
		grid-area: links;
		padding: 0;
		justify-self: end;
	}

	.frame a {
		pointer-events: auto;
	}

	.content {
		height: 100vh;
		justify-content: center;
	
	}
	
}


@media screen and (max-width: 500px) {
	.frame {
		position: fixed;
		text-align: left;
	
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width:2000px;
		height: 100vh;
		padding: 2rem;
		pointer-events: none;
		grid-template-columns: 100%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'title links'
			'... ...'
			'... demos';
	}
	.timer_styler{
		padding-top: 12%;
		padding-left: 25%;
		background-size: 70%;
	}
	.aca_logo{
		transform: scale(50%);
		position:fixed;
		right: -100px;
		bottom:5%;
		display: block;
		z-index: 300;
	
	   }
	.frame__title {
		margin-top:0px;
	}
}   
