:root {
	--pink : #F8357C;
	--blue : #00E5FF;
	--green : #51FF00;
	--yellow : #FB9E3A;
	--purple : #B124F2;
	
	--pink-end : #7E015E;
	--blue-end : #066FB0;
	--green-end : #0B623C;
	--yellow-end : #7D3911;
	--purple-end : #5314AC;
	
	--pink-dark : #1f070f;
	--blue-dark : #001315;
	--green-dark : #00140b;
	--yellow-dark : #140801;
	--purple-dark : #0b011a;
	
	--black : #010B07;
	--white : #D6E9E1;
	--toolbar-height : 60px;
}

body {
	cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M162.35,138.35a8,8,0,0,1,2.46-13l46.41-17.82a8,8,0,0,0-.71-14.85L50.44,40.41a8,8,0,0,0-10,10L92.68,210.51a8,8,0,0,0,14.85.71l17.82-46.41a8,8,0,0,1,13-2.46l51.31,51.31a8,8,0,0,0,11.31,0L213.66,201a8,8,0,0,0,0-11.31Z" opacity=".5"/><path d="M162.35,138.35a8,8,0,0,1,2.46-13l46.41-17.82a8,8,0,0,0-.71-14.85L50.44,40.41a8,8,0,0,0-10,10L92.68,210.51a8,8,0,0,0,14.85.71l17.82-46.41a8,8,0,0,1,13-2.46l51.31,51.31a8,8,0,0,0,11.31,0L213.66,201a8,8,0,0,0,0-11.31Z" fill="rgba(248, 53, 124, .4)" stroke="rgba(248, 53, 124, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>') 0 0, auto;
}

.student-window .window-content {
	cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"  width="24" height="24"  viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M188,56a20,20,0,0,0-20,20V44a20,20,0,0,0-40,0V60a20,20,0,0,0-40,0v92L69.32,122a20,20,0,0,0-34.64,20c32.57,68.72,49.14,90,93.32,90a80,80,0,0,0,80-80V76A20,20,0,0,0,188,56Z" opacity="0.2"/><path d="M168,76a20,20,0,0,1,40,0v76a80,80,0,0,1-80,80c-44.18,0-60.75-21.28-93.32-90a20,20,0,0,1,34.64-20L88,152V60a20,20,0,0,1,40,0" fill="rgba(81, 255, 0, .4)" stroke="rgba(81, 255, 0, 1)"  stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M128,120V44a20,20,0,0,1,40,0v76" fill="rgba(81, 255, 0, .4)" stroke="rgba(81, 255, 0, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>') 0 0, auto;
}

.student-window .window-content:active {
	cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"   viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M88,120H68a20,20,0,0,0-20,20v12a80,80,0,0,0,160,0V108a20,20,0,0,0-40,0V92a20,20,0,0,0-40,0,20,20,0,0,0-40,0Z" opacity="0.2"/><path d="M128,92a20,20,0,0,0-40,0v28" fill="rgba(81, 255, 0, .4)" stroke="rgba(81, 255, 0, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M168,108V92a20,20,0,0,0-40,0v28" fill="rgba(81, 255, 0, .4)" stroke="rgba(81, 255, 0, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M88,152V120H68a20,20,0,0,0-20,20v12a80,80,0,0,0,160,0V108a20,20,0,0,0-40,0v12" fill="rgba(81, 255, 0, .4)" stroke="rgba(81, 255, 0, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>') 0 0, auto;
}

.student-window .window-content a, .student-window .window-content button, .menu-button {
	cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"  viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M162.35,138.35a8,8,0,0,1,2.46-13l46.41-17.82a8,8,0,0,0-.71-14.85L50.44,40.41a8,8,0,0,0-10,10L92.68,210.51a8,8,0,0,0,14.85.71l17.82-46.41a8,8,0,0,1,13-2.46l51.31,51.31a8,8,0,0,0,11.31,0L213.66,201a8,8,0,0,0,0-11.31Z" opacity="0.2"/><line x1="96" y1="16" x2="96" y2="24" fill="rgba(255, 255, 255, .4)" stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="16" y1="96" x2="24" y2="96" fill="rgba(255, 255, 255, .4)" stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="128" y1="32" x2="136" y2="16" fill="rgba(255, 255, 255, .4)" stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="32" y1="128" x2="16" y2="136" fill="rgba(255, 255, 255, .4)" stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><path d="M162.35,138.35a8,8,0,0,1,2.46-13l46.41-17.82a8,8,0,0,0-.71-14.85L50.44,40.41a8,8,0,0,0-10,10L92.68,210.51a8,8,0,0,0,14.85.71l17.82-46.41a8,8,0,0,1,13-2.46l51.31,51.31a8,8,0,0,0,11.31,0L213.66,201a8,8,0,0,0,0-11.31Z" fill="rgba(255, 255, 255, .4)" stroke="rgba(255, 255, 255, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>') 0 0, auto;
}

.student-icon, .student-toolbar-icon {
	--deg : 0deg;
	--gradient : -webkit-linear-gradient(var(--deg), var(--reg), var(--end));	
	&.icon-pink  {
		--reg : var(--pink);
		--end : var(--pink-end);
		--dark : var(--pink-dark);
	}
	&.icon-blue  {
		--reg : var(--blue);
		--end : var(--blue-end);
		--dark : var(--blue-dark);
	}
	&.icon-green  {
		--reg : var(--green);
		--end : var(--green-end);
		--dark : var(--green-dark);
	}
	&.icon-yellow  {
		--reg : var(--yellow);
		--end : var(--yellow-end);
		--dark : var(--yellow-dark);
	}
	&.icon-purple  {
		--reg : var(--purple);
		--end : var(--purple-end);
		--dark : var(--purple-dark);
	
	}
	&.icon-default {
		--reg : white;
		--end : #ccc;
		--dark : #aaa;
	}
	i {	
		background: var(--gradient);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
}

body {
	font-family: 'Recursive', sans-serif;
	background: var(--black);
	color: var(--white);
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	background: #101010;
	mask-image: url('https://rrcdesignshow.ca/archive/2025/wp-content/themes/open-house-2025/assets/interaction/img/circuit-colour.svg');
	mask-size: auto 150%;
	mask-position: center;
	mask-type: luminance;
	z-index: -2;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* .memo-window-needed:before {
	content: "Try Dragging The Window";
	position: absolute;
	top: -30px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .9rem;
} */

header#masthead {
	height: 0;
	padding: 0;
	.site-branding {display: none;}	
	nav#site-navigation > button {display: none;}	
}

.student-icons {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	max-width:400px;
	gap: 20px;
	position: relative;
	z-index: 50;
	padding: 20px;

	.student-icon {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		i {
			font-size: 3rem;
		}
		span {
			font-size: 0.75rem;
			font-weight: bold;
			text-transform: uppercase;
			letter-spacing: 1px;
		}		
	}
}

div#dmd_web_container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	.grad-show-info {
		max-width: 300px;
		width: 100%;
		justify-self: flex-end;
		font-size: .75rem;
	}
}

.show-details {
	padding: 20px;
	display: grid;
	gap: 20px;
	
	> div {
		/* padding: 10px; */
		border: 1px solid var(--white);
		border-radius: 5px;		
		background: var(--black);
		overflow: hidden;
		&.close-show-info > *:not(:first-child) {
			display: none;
		}		
		> * {
			width: 100%;
			display: block;
			padding: 3px 5px;
		}
		:last-child {
			margin-bottom: 5px;
		}
		&.close-show-info .title:before {
			transform: scaleY(1);
			
		}
	}
	a {color: white;}
	.title {
		text-transform: uppercase;
		font-weight: bold;
		background: var(--white);
		color: var(--black);
		width: 100%;
		display: flex;
		&:before {
			content: "\E136";
			order: 2;
			font-family: 'Phosphor-Bold';
			align-self: flex-end;
			transform: scaleY(-1);
			transition: all .25s linear;
		}
		&:before {
			margin-left: auto;
		}
		&:after {
			
		}
	}
}



/* .student-windows {
	display: flex;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 45; */

	.student-window {
		&.window-pink {
			--main-c : var(--pink);
			--acc-c : var(--pink-end);
			--bg : var(--pink-dark);
		}
		&.window-blue {
			--main-c : var(--blue);
			--acc-c : var(--blue-end);
			--bg : var(--blue-dark);
		}
		&.window-green {
			--main-c : var(--green);
			--acc-c : var(--green-end);
			--bg : var(--green-dark);
		}
		&.window-yellow {
			--main-c : var(--yellow);
			--acc-c : var(--yellow-end);
			--bg : var(--yellow-dark);
		}
		&.window-purple {
			--main-c : var(--purple);
			--acc-c : var(--purple-end);
			--bg : var(--purple-dark);
		}
	}	

.student-content {
		display: grid;
		grid-template-columns: 1.2fr 2fr;
		/* overflow: scroll; */
		.links {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-top: auto;
			nav {
				display: flex;
				align-items: center;				
				gap: 10px;
				a {
					font-size: 1.25rem;
					color: white;
				}
			}
		}
		.student-pic.student-pic--dmd_web {
			position: relative;
			min-height: 300px;
			border-right: 1px solid var(--acc-c);
			overflow: hidden;
			height: 100%;
			border-right: 0;
			border-bottom: 1px solid var(--acc-c);
			figure.main-photo {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				margin: 0;
				background-image: var(--bg-img);
				background-size: cover;
				background-position: center;
			}
		}
		.student-content-info {
			padding: 10px;
		}
	}
	
	.student-content-info {
		display: flex;
		flex-direction: column;
		gap: 10px;
		/* overflow: scroll; */
		h3 {
			font-size: 2rem;
		}
		
		.portfolio-link {
				margin-top: auto;
				background: var(--main-c);
				color: var(--bg);
				font-weight: bold;
				padding: 8px 30px 8px 10px;
				display: inline-flex;
				width: fit-content;
				text-decoration: none;
				font-weight: bold;
				font-size: .8rem;
				text-transform: uppercase;
				position: relative;
				&:after {
					content: "";
					width: 0px;
					height: 0px;
					border-style: solid;
					   border-width: 0 0 10px 10px;
					   border-color: transparent transparent var(--bg) transparent;
					   transform: rotate(0deg);
					   position: absolute;
					   bottom: 0;
					   right: 0;
				}
		}
		
		.wi-desc {
			p {
				margin-bottom: 0;
			}
		}
		
		.wi-skills ul {
			margin: 0;
			padding: 0;
			&.pri-list.sec-list {
				li {
					&:nth-child(3):after {						
						content: " ";
					}
					&.secondary-skills {
						display: none;				
					}				
				}
			}
			li:nth-last-child(2):after {
				content: " ";
			}
			li {
				display: inline;
				&:after {
					content: ", ";
				}
			}
			.read-more-skills {
				background: var(--acc-c);
				color: white;
				padding: 3px;
				width: 20px;
				display: inline-flex;
				height: 20px;
				justify-content: center;
				align-items: center;
				border-radius: 50%;
				&:after {						
					content: "";
				}
			}
		}
	}
	
	.window-info {
		--polygon : polygon(0 10%, 2% 0, 100% 0, 100% 95%, 97% 100%, 0% 100%);
		--border-w : 1px;
		display: block;
		padding: 8px 10px;
		font-size: .8rem;
		position:relative;			
		border-top: var(--border-w) solid var(--main-c);
		overflow: hidden;
		> * {
			position: relative;
			z-index: 999;
		}
		&:before {
			content: "";
			position: absolute;
			clip-path: var(--polygon);
			width: calc(100% - calc(var(--border-w) * 2));
			height: 200px;
			bottom: var(--border-w);
			left: var(--border-w);
			background: var(--bg);
			z-index: 100;
		}
		&:after {
			content: "";
			position: absolute;
			clip-path: var(--polygon);
			width: 100%;
			height: 200px;
			bottom: 0px;
			left: 0;
			background: var(--main-c);
			z-index: 50;
		}
		 h5 {
			 color: var(--main-c);
			 text-transform: uppercase;
			 letter-spacing: 2px;
			 display: inline;
			 margin-right: 5px;
			 span:last-child {
				 color: white;
				 text-transform: none;
				 margin-left: 5px;
				 font-weight: normal;
				 font-size: .8rem;
				 letter-spacing: 0;
			 }
		 }
		 ul {
			 display: inline;
		 }
		 p {
			 display: inline;
		 }
	}

	
	@keyframes window_intro {
		0% {transform: scale(1);}
		50% {transform: scale(1.1);}
		100% {transform: scale(1);}
	}
	
	.student-window {
		--window-width : 600px;
		left: calc(50% - calc(var(--window-width) / 2));
		top: calc(50% - 200px);

		position: absolute!important;
		z-index: 9999;
		background: var(--bg);
		transition: opacity .25s linear;
		&.top-window {
			z-index: 10000;
		}
		&.inactive-window {
			height: 0;
			overflow: hidden;	
			opacity: 0;
		}
		&.active-window {
			animation: window_intro .25s;
			/* animation-delay: .25s; */
			opacity: 1;
			height: auto;
			overflow: visible;
			display: block;
			min-width: 350px;
			width: 100%;
			max-width: var(--window-width);
			.window-content {
				border: 1px solid var(--main-c);
				box-shadow: 0 0 5px var(--main-c), 0 0 5px var(--main-c) inset;
				.toolbar {
					--gap : 8px;
					display: flex;
					align-items: center;
					padding: 0 var(--gap);
					gap: var(--gap);
					border-bottom: 1px solid var(--main-c);										
					> i {
						font-size: 1.5rem;						
						display: flex;
						justify-content: center;
						color: var(--main-c);
					}
					.toolbar-url {		
						flex-grow: 2;
						color: white;
						font-variation-settings: "CRSV" 1, "MONO" 1;
						line-height: 1;
						border: 1px solid var(--acc-c);
						//margin: 8px 0;
						padding: 8px;
						text-decoration: none;
						font-size: .8rem;						
					}
					button {
						background: transparent;
						border: 0;
						color: var(--main-c);
						padding: 10px;
						font-size: 1.5rem;
						line-height: 1;
					}
				}
			}
		}
		&.min-window.active-window {
			.window-content {
				display: none;
			}
		}
	}
	
/* } */

.open-window-icon {
	pointer-events: none;
}

@keyframes colour_rotation {
	0% {
		background-color: var(--pink);
	}
	20% {
		background-color: var(--blue);
	}
	40% {
		background-color: var(--green);
	}
	60% {
		background-color: var(--yellow);
	}
	80% {
		background-color: var(--purple);
	}
}

.followers {
	position: absolute;
	z-index: -2;
	width: 80px;
	height: 80px;
	filter: saturate(2);
	background-color: var(--pink);
	animation: colour_rotation 2.5s infinite;
	filter: blur(50px);
	border-radius: 50%;
	pointer-events: none; /* Ensures the div doesn't interfere with mouse events */
}

.follower-top {
	z-index: -1;
	filter: scale(.5) blur(30px);
	background-blend-mode: difference;
}

.follower-bottom {
	z-index: -3;
	
}

.navigation-shell {
	height: calc(90vh - var(--toolbar-height));
	left: 0;
	right: auto;
	bottom: var(--toolbar-height);
	top: auto;
	background: var(--black);
	border-right: 1px solid var(--white);
	border-top: 1px solid var(--white);
	box-shadow: 0 0 6px var(--white);
	z-index: 999998;
	button.menu-trigger {
		color: white;
	}
	a {
		color: var(--white)!important;
	}
	&.shell-closed {
		left: 0;
		bottom: calc(calc(90vh - var(--toolbar-height)) * -1);
		right: auto;
	}
}

.student-toolbar {
	z-index: 999999;
	position: absolute;
	bottom: 0;
	border-top: 1px solid var(--white);
	height: var(--toolbar-height);
	width: 100%;
	display: flex;
	background: var(--black);
	box-shadow: 0 0 5px var(--white);
	.toolbar-start {
		display: flex;
		justify-content: center;
		align-items: center;
		border-right: 1px solid white;
		padding: 0 10px;	
		button.menu-trigger {
			color: var(--white);
			text-transform: uppercase;
			font-weight: bold;
			letter-spacing: 2px;
			font-size: 1.1rem;
			display: flex;
			gap: 10px;
			justify-content: center;
			align-items: center;
			svg {
				width: 30px;
				path {
					fill: white;
				}
			}
		}	
	}
	.student-toolbar-icon {
		font-size: 2rem;
		span {
			display: none;
		}
		&.inactive-toolbar {
			display: none;
		}
		&.active-toolbar {
			display: flex;
			flex-direction: column;
			align-items: center; 
			gap: calc(var(--gap) / 2);
			padding-top: 8px;		
			&:after {
				content: "";
				width: 4px;
				height: 4px;
				display: block;
				background: white;
				border-radius: 10px;
				border: 1px solid white;
				filter: drop-shadow(0 0 1px white);
				transition: all .25s linear;
			}
			i {
				font-family: 'Phosphor-Bold' !important;
				font-size: 1.5rem;
			}
			&.min-icon:after {
				background: transparent;
			}
		}
	}
	.toolbar-icons {
		--gap: 10px;
		flex-grow: 2;
		display: flex;
		align-items: center;
		gap: var(--gap);
		padding: 0 var(--gap);
		overflow-x: scroll;
		overflow-y: hidden;
		scrollbar-color: white transparent;
		scrollbar-width: thin;		
	}
	.toolbar-end {
		text-align: right;
		padding: 5px 20px;
		font-size: .8rem;
		display: flex;
		flex-direction: column;
		justify-content: center;		
		border-left: 1px solid white;
	}
}

.min-content {
	display: none;
}

.min-window .min-content {
	display: block;
}

div#page {
	height: 100vh;
	overflow: hidden;
	position: relative;
}

#dmd_web_container {
	height: 93vh;
	.grad-show-info {
		max-width: 100%;
		font-size: 1rem;
		align-self: flex-end;
	}
}

@media screen and (max-width: 350px) {	
	.student-icons {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media screen and (max-width: 600px) {	
	

	
	.student-icons {
		margin: 0 auto;
		max-width: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		.student-icon {
			i {
				font-size: 4.25rem;
			}
		}
	}
	
	div#dmd_web_container {
		grid-template-columns: 1fr;
		.grad-show-info {
			max-width: 100%;
			font-size: .9rem;
			.title {
				padding-top: 8px;	
				padding-bottom: 8px;	
			}
		}
	}
	
	.show-details {
	& > div {
		> * {
			display: none;
		}
		}
	}
	
	.student-window.active-window {
		top: 5%!important;
		left: 5%!important;
		width: 90%;
		height: 85%;
		.window-content {height: 100%;
			overflow: scroll;
			
			.student-pic.student-pic--dmd_web {
				box-shadow: 0 0 5px var(--main-c), 0 0 5px var(--main-c) inset;
				min-height: 200px;
				/* overflow: scroll; */
			}
			.student-content {
				height: 100%;
				grid-template-columns: 1fr;
				grid-template-rows: 35vh auto;
				/* overflow: scroll; */
				.student-content-info {
					height: 100%;
					/* overflow: scroll; */
				}
				
				a.portfolio-link {
					margin-top: 20px;
				}
			}
		}
	}	
	
}