:root {
	--black : #141414;
	--white : white;
}

body {
	background: var(--black);
	color: var(--white);
	font-family: "Alumni Sans", sans-serif;
	&.window-closed {
		overflow: hidden;
	}
}

button.menu-trigger {
	color: white;
}

.navigation-shell {
	background: var(--black);
	font-size: 1.35rem;
	font-weight: 500;
	p.archive-memo {
		font-size: 1rem;
	}
	a {
		color: var(--white)!important;
	}
}

.swiper-button-next, .swiper-button-prev {
	color: var(--white);
}

.corner {
	position: absolute;
	width: 100px;
	height: 100px;
	border-top: 1px solid white;
	border-left: 1px solid white;
	z-index: 999999;
	pointer-events: none;
	display: none;
	&#top-left {
		top: 10px;
		left: 10px;
	}
	&#top-right {
		top: 10px;
		right: 10px;
		transform: scaleX(-1);
	}
	&#bottom-left {
		bottom: 10px;
		left: 10px;
		transform: scaleY(-1);
	}
	&#bottom-right {
		bottom: 10px;
		right: 10px;
		transform: scale(-1);
	}
}

#page {
	min-height:100vh;
	display: flex;
	flex-direction: column;
}

svg.rrc-logo.horizontal.black path {fill: white;}

h1, h2, h3 {
	font-family: "Six Caps", sans-serif;
}

.video-controls {
	display: flex;
	justify-content: center;
	align-items: center; 
	button {
		background: transparent;
		color: white;
		border: 0;
		font-size: 3rem;
		line-height: 1;
		padding: 0;
	}
	.close-slide {
		display: flex;
	}
	&.video-playing {
		.pause-slide {display: flex;}
		.play-slide {display: none;}
	}
	&.video-paused {
		.pause-slide {display: none;}
		.play-slide {display: flex;}
	}
}

.links {
	--link-gap : 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: calc(var(--link-gap)*0);
	margin: 20px 0;
	font-size: 1.25rem;
	> a {
		display: flex;
		align-items: center;
	}
	a {
		color: white;
		text-decoration: none;
	}
	nav {
		display: flex;
		gap: var(--link-gap);
		a {
			font-size: 2rem;
		}
	}
}

.student-description {
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	p {
		max-width: 600px;
		text-align: center;
		line-height: 1.3;
		font-size: 1.2rem;
	}
}

/* .site-branding svg {
	position: relative;
	z-index: 2000;
} */

.swiper {
	padding: 20px 0 50px;
}

.show-details {
	display: grid;

	gap: 20px;
	padding: 20px;
	margin-top: auto;
	.title {
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 1px;
	}
	
	.date > * {
		line-height: 1.1;
		font-size: 1.1rem;
	}
	
	.date a {
		color: white;
	}
	

	
	.land-ack {
		justify-self: end;
		grid-column: span 2;
		p {
			font-size: 1.1rem;
			line-height: 1.1;
			&:last-child {
				margin-bottom: 0;
			}
		}
	}
	
	> .date:first-child {
		/* grid-area: ind; */
		/* text-align: right; */
	}
	
	> .date + .date {
		/* grid-area: show; */
		/* text-align: right; */
	}
}






.slide {
	transition: all .125s linear;
	&:hover, &.swiper-slide-active {
		transform: scale(1.05);
	}
	&.swiper-slide-active {
		.student-pic-container {
			figure {
				filter: grayscale(0) contrast(1) brightness(1);
			}
		}
	}
	.student-pic-container {
		max-width: 150px;
		background: var(--black);
		min-height: 300px;
		width: 100%;
		height: 60vh;
		position: relative;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0 auto;
		filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
		figure {
			margin: 0;
			width: 100%;
			height: 100%;
			position: absolute;
			background-image: var(--bg-img-standard);
			background-position: center;
			background-size: cover;
			background-repeat: no-repeat;
			filter: grayscale(1) contrast(1.1) brightness(1.1);
			&:hover {
				filter: grayscale(0) contrast(1) brightness(1);
			}
			&:before {
				content: "";
				width: 100%;
				height: 100%;
				position: absolute;
				background-image: var(--bg-img-hover);
				background-position: center;
				background-size: cover;
				background-repeat: no-repeat;
				opacity: 0;
				transition: all .25s linear;
			}
			&:hover:before {
				opacity: 1;
			}
			/* &.headshot {
				filter: grayscale(1) contrast(1.1) brightness(1.1);
			}
			&.hovershot {
				opacity: 0; z-index: 1000; transition: all .25s linear;
			} */
		}
		
		&:hover {
			.hovershot {
				opacity: 1;
			}
		}

	}
	.student-info {
		display: none;
	}
}


.student-name-photo {
	--font-size: 6rem;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-transform: uppercase;
	position: relative;
	h2 {
		position: absolute;
		z-index: 9999;
		font-size: var(--font-size);
		letter-spacing: 10px;
		font-weight: 400;	
		line-height: 1;	
	}
	h2.student-name.student-name-first {
		/* transform: translateY(calc(var(--font-size) * -1)); */
		top: 0;
	}	
	h2.student-name.student-name-last {
		/* transform: translateY(calc(var(--font-size) * -1)); */
		bottom: 0;
	}
}


.closed-window {
	.video-bg {
		height: 0;
		width: 0;
		min-width: 0;
		min-height: 0;
	}
}
.video-bg {
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;

	video {		
		object-fit: cover;
		height: 110%;
		opacity: .2;
	}

}




.student-pic {
	
	max-width: 500px;
	min-width: 300px;
	position: relative;
	z-index: 999;
	height: 100%;
	background-position: center;
	aspect-ratio: 2/2.5;
	margin: calc(var(--font-size) / 2) 0;
	figure {
		position: absolute;
		margin: 0;
		width: 100%;
		height: 100%;
		top:  0;
		background: var(--bg-img);
		background-position: top center;
		background-size: cover;
		&:first-child {
			z-index: 900;
		}
		&:last-child {
			z-index: 450;
		}		
	}
	&:hover figure:last-child {
		z-index: 1000;
	}
	
}




.swiper-control-nav {
	display: flex;
	justify-content: center;
	gap: 30px;
	.swiper-button-next:after, .swiper-button-prev:after {
		font-size: 1.25rem;
	}
	.swiper-button-next, .swiper-button-prev {
		position: static;
		margin-top: 0;
		height: auto;
	}
	.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
		display: flex;
		justify-content: center;
		align-items: center;
		position: static;
		width: auto;
		.swiper-pagination-bullet {
			width: 2px;
			height: 8px;
			background: white;
			border-radius: 0;
			&.swiper-pagination-bullet-active {
				height: 12px;
			}
		}
	}

}

.student-window-container {
	position: absolute;
	z-index: 100;
	background: var(--black);
	transition: opacity .25s linear;
	&.swc-closed {
		opacity: 0;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		overflow: hidden;
		transition: opacity .25s linear;
		video {
			display: none;
		}
	}
	&.swc-open {
		opacity: 1;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow: visible;
		transition: opacity .25s linear;
		video {
			display: block;
		}
	}
	.student-window {
		position: absolute;
		z-index: 101;
		top: 0;
		left: 0;
		display: grid;
		grid-template-rows: auto 1fr;
		&.closed-window {
			width: 0;
			height: 0;
			overflow: hidden;
		}
		&.open-window {
			width: 100%;
			height: 100%;
			overflow-y: scroll;
			scrollbar-color: white transparent;
		}
	}
}

.logged-in .student-window.open-window {
	top: var(--wp-admin--admin-bar--height);
	height: calc(100% - var(--wp-admin--admin-bar--height));
}

.show-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
	padding: 50px;
	.title {
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
}

@media screen and (min-width: 760px) {

		
	.show-details {
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr  2fr;
		.land-ack {
			grid-column: span 1;
		}
	}
	
	.links {
		flex-direction: row;
		gap: 20px;
		nav {
			font-size: 1.25rem;
		}		
	}
	


}

@media screen and (min-width: 1024px) {


	.show-details {
		grid-template-columns: repeat(5, 1fr);
		grid-template-areas: "land land 1fr ind show ";		
		grid-template-rows: 1fr;
		.land-ack {
			grid-area: land;
		}
		
		> .date:first-child {
			grid-area: ind;
			text-align: right!important;
		}
		
		> .date + .date {
			grid-area: show;
			text-align: right!important;
		}
	}
	
}