/* 
SPINEL RESEARCH LAB STYLESHEET

Main Color: #DE027B - (Rockin' Research Raspberry) Rhodolite
Secondary Color: #A23467 - Almandine 

Light BG Accent: #EAD1DC - Quartz 
Primary Color for Light BG Accent: #AF1D5A  - Contrast Rhodolite
Almandine Passes WCAG on Quartz, use Contrast Rhodolite for Compliance

Black / Dark Primary: #0B1215 - Obsidian
White / Light Primary: #FAF8F6 - Porcelain Pearl

Header Accent Font: Slabo 27px
Subheading Complement Font: Oswald
Core Text Font: Hedvig Letters Serif 
*/

@charset "UTF-8";

/* FONT IMPORTS */ 
/*Slabo 27px*/
@import url('https://fonts.googleapis.com/css2?family=Slabo+27px&display=swap');
/*Oswald*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
/*Hedvig Letters Serif*/
@import url('https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:opsz@12..24&display=swap');


/* HTML PAGE ELEMENT DEFAULT STYLES */

	/** HTML Page Element: Container Styles **/
	body {
		font-size: 1.2em;
		font-family: "Hedvig Letters Serif", serif;
		color: #0B1215;
		background-color: #fffafd;
		margin: 5px 15px;
		background-image: url("../imgs/hexbg-lightened-fullscreen.png");
		background-size: cover;
		background-repeat: no-repeat;
		background-attachment: fixed;
	}

	main {
		background-color: #FAF8F6;
		padding-bottom: 15px;
		margin: auto;
	}

	footer {
		margin-bottom: -20px;
		padding: 10px 15px;
		text-align: center;
	}

	/** HTML Page Element: Text, Hyperlink, and Heading Styles **/
	p {
		line-height: 1.4em;
		font-optical-sizing: none;
	}
	
	a, a:visited {
		color: #DE027B;
	}
	a:active, a:hover {
		color: #A23467;
		background-color: #EAD1DC;
	}

	h1 {
		font-family: "Slabo 27px", serif;
		color: #DE027B; 
		font-size: 2.4em;
		font-weight: 400;
	}

	h2 {
		font-family: "Oswald", sans-serif;
		color: #A23467;
		font-size: 1.5em;
		font-weight: 400;
		margin-bottom: 0px;
	}

	h3 {
		font-family: "Hedvig Letters Serif", serif;
		color: #DE027B;
		font-size: 1.25em; 
	}

	h4 {
		font-family: "Hedvig Letters Serif", serif;
		color: #0B1215;
		font-size: 1.1em; 
		margin-bottom: -10px;
	}

	/** HTML Page Element: Other Element Styles **/
	img {
		width: 100%;
	} 



/* COLOR AND BACKGROUND MODIFIER STYLES */
	.accent-bg {
		background-color: #EAD1DC;
	}

	.text-primary {
		color:  #DE027B;
	}

	.light-bg {
		background-color: #FAF8F6;
	}
		
	.main-bg { 
		background-color: #DE027B;
	}
	.main-bg p {
		color: #FAF8F6;
	}

	.secondary-bg {
		background-color: #A23467;
	}
	.secondary-bg p {
		color: #FAF8F6;
	}

	.dark-bg { 
		background-color: #0B1215;
	} 
	.dark-bg p{
		color: #FAF8F6;
	}


/* SPACING MODIFIER STYLES */ 
	.simple-padding {
		padding: 15px;
	}

	.left-padding {
		padding-left: 15px;
	}

	.right-align {
		text-align: right;
	}
	
	.tile-margins {
		margin: 5px 15px 10px;
	}

	.pad-bottom {
		padding-bottom: 15px;
	}
	
	.shift-edge {
		margin-top: 8px;
		margin-left: -15px;
		padding-left: 15px;
	}

	.scoot-up {
		margin-top: -15px;
	}


/* FUN STYLE COMPONENTS */ 
	/** Fun Style Components: CSS Hexagons with Text **/
	.hex-container { /*Container lets the hexagons float next to each other*/
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  filter: drop-shadow(4px 4px 3px rgba(0,0,0,0.25));
	} 

	.hexagon { /*Flexing the hexagons as flex kids lets the content center*/ 
	  width: 180px;
	  height: 200px;
	  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  margin: 5px 10px;
	}
	
	/** Fun Style Components: Rounded Buttons **/ 
	.rounded-button, .rounded-button:visited {
		border: 1px solid #FAF8F6;
		background-color: #DE027B;
		color: #FAF8F6;
		padding: 10px;
		border-radius: 30px;
		text-decoration: none;
		margin: 10px;
	}

	.rounded-button:hover, .rounded-button:active {
		cursor: pointer;
		background-color: #A23467;
		color: #FAF8F6;
		text-decoration: none;
	}
	
	/** FUN STYLE COMPONENTS: Shadows **/
	.shadow {
		filter: drop-shadow(4px 4px 3px rgba(0,0,0,0.25));
	}


/* TOP NAVIGATION BAR*/
	.navbar {
		background-color: #DE027B;
		width: 100%;
		margin: 0px 32px 15px 0px;
		font-family: "Slabo 27px", serif; 
		padding: 5px 15px;
		filter: drop-shadow(4px 4px 3px rgba(0,0,0,0.25));
	}
	
	.stickit {
		position: fixed;
		top: 0px;
		z-index: 9;
	}
	
	nav ul {
		list-style-type: none;
	}
	
	/** Top Navigation Bar: Anchor Items **/
	.navbar a:hover, .navbar a:active {
		background-color: #A23467;
	}

	.nav-item > a {
		color: #ffffff;
		display: inline-block;
		box-sizing: border-box; 
		padding-left: 10px;
		padding-right: 10px;
		min-height: 80px;
		padding-top: 25px;
	}

	.nav-item > a:hover, .nav-item > a:active {
		background-color: #A23467;
	}
	
	.nav-logo {
		display: inline-block;
		max-width: 225px;
		padding: 15px;
		box-sizing: border-box;
	}


/* LAB HERO HEADER BANNER */
	.hero {
		padding-top: 10px;
		margin-top: -2px;
		font-size: 1.2em;
		padding-bottom: 15px;
	}


/* LAB CURRENT PROJECT STYLES */
	.item-tag {
		border: 1px solid #dadada;
		border-radius: 5px;
		margin: 5px;
		padding: 2px 5px;
		background-color: #fff;
	}

	.tags-container {
		line-height: 1.8em;
		margin-top: -15px;
	}


/* LAB MEMBER STYLES */
	.members {
	list-style-type: none;
	margin-left: -45px;
	margin-right: 15px;
}
	/**Lab Member: Card Styles **/
	.member-card {
	width: 100%;
	background-color: #ffffff;
	border: 1px solid #DADADA;
	filter: drop-shadow(4px 4px 3px rgba(0,0,0,0.25));
	padding: 10px;
	text-align: center;
	border-radius: 25px;
	}
	
		/*** Lab Member Card: Text Styles ***/
		.member-details {
			font-size: .8em;
			margin-top: 0px;
			text-align: left;
		}

		.member-details strong {
			color: #0B1215;
			font-size: 1em;
		}
		
		.member-card strong {
		font-size: .9em;
		color: #DE027B;
		}
		
		/*** Lab Member Card: Picture Styles ***/ 
		.member-card img {
			max-height: 200px;
			object-fit: cover;
			margin-top: 5px;
			border: 1px solid #DE027B;
			border-radius: 10px;
			filter: brightness(120%);
			filter: grayscale(0.3);
		}
			
		.member-card:hover img {
			filter: grayscale(0);
			filter: brightness(100%);
		}
		
		/*** Lab Member Card: Picture Positioning ***/
		.position-top {
			object-position: 0% 20%;
		}

		.position-bottom {
			object-position: bottom;
		}
		
		/*** Lab Member Card: Director Card ***/
		.director {
			max-height: 300px;
			object-position: 10% 10%;
		}

		.director-details {
			margin-left: 15px;
		}

		.director-card {
			padding-right: 0px;
			width: 98%;
		}


/* ANIMATIONS */
	/** Animations: Fade In Animation Across Whole Page **/
	.grid-container { 
		  -webkit-animation: fadeInAnimation 1s; /* Safari, Chrome and Opera > 12.1 */
		   -moz-animation: fadeInAnimation 1s; /* Firefox < 16 */
			-ms-animation: fadeInAnimation 1s; /* Internet Explorer */
			 -o-animation: fadeInAnimation 1s; /* Opera < 12.1 */
				animation: fadeInAnimation 1s;
	} 
  
	@keyframes fadeInAnimation { 
	   from { opacity: 0; }
		to   { opacity: 1; }
	} 


/* OTHER STYLESHEET OVERRIDES - BOOTSIE CUSTOM CONTAINER ADJUSTMENT */
	.grid-container {
		padding-top: 100px;
		border-left: 1px solid #DADADA;
		border-right: 1px solid #DADADA;
		margin-left: auto;
		margin-right: auto;
	}


/* BREAKPOINTS */

/* LARGE BREAKPOINT - OVER 769px */
	@media screen and (min-width: 769px) {
		
		/** Large Breakpoint: Hide Button, Make Navigation Items Visible Styles **/
		.nav-menu {
			display: flex;
			flex-direction: row;
			align-items: center;
			margin-top: 0px;
			margin-bottom: 0px;
		}
		
		.navbar {
			display: flex;
			flex-wrap: nowrap;
			justify-content: flex-start;
			max-height: 100%;
		}
		
		.menu-borgor {
			display: none;
		}
		
			/*** Sticky Nav Bar: If Modifier Class applied, adjust for large view ***/
			.modifier {
				display: flex;
				margin-top: initial; 
			}
	}

/* MEDIUM BREAKPOINT - 768px */
	@media screen and (max-width: 768.9px) {
		
		/** Medium Breakpoint: Show Button, Hide Navigation Items in Button Styles **/
		.nav-menu {
			flex-direction: column;
			flex-basis: 100%;
			display: none;
			margin-left: -15px;
			padding-top: 40px;
			text-align: center;
			background-color:  #DE027B;
		}
		
		.navbar {
			flex-wrap: wrap;
			justify-content: space-between;
			max-height: 100px;
		}
		
		.stickit {
			width: 100%;
		}
		
			/*** Sticky Nav Bar: Adjust Display of Items In Bar ***/
			.logo {
				display: inline-block;
				min-height: 80px;
			}
			
			.logo:hover, .logo:active {
				background-color: #A23467;
			}
			
			.nav-item > a {
				min-height: 50px;
				width: 110%;
				padding-top: 10px;
				margin-left:-80px;
			}
		
		
			/*** Sticky Nav Bar: Adjust location and visibility of Menu Button Nav Items ***/
			.modifier {
				display: flex;
				margin-top: -52px; 
			}
		
			/***Sticky Nav Bar: Menu Button Styling ***/
			.menu-borgor, .menu-borgor:visited {
				display: flex;
				color: #FAF8F6; 
				border: 1px solid #FAF8F6; 
				background-color:  #DE027B;
				border-radius: 50px;
				width: 80px;
				height: 60px;
				position: fixed;
				top: 20px;
				right: 50px;
				justify-self: right;
				padding-left: 20px;
				padding-top: 20px;
			}
			
			.menu-borgor:hover, .menu-borgor:active {
				cursor: pointer;
				background-color: #A23467;
				color: #FAF8F6;
			}
			
		/** Adjust Hero Header Banner at Breakpoint **/
		.hero {
			padding-bottom: 25px;
		}
	}