@charset "UTF-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
    height: 100%;
    margin: 0px;
    width: 100%;
	background-image: url("../images/Site Images/pearlescent background.png");
	background-color: linear-gradient(to top left, #FFFFFF, #FFC8F7, #46AFFF);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.background {
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	
}
title, h1 {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 400;
	line-height: normal;
	text-align: center;
	text-justify: center;
	font-size: 1.8rem;
	letter-spacing: 0.25em;
	text-shadow: 1px 1px 10px white, -1px -1px 10px white, 0 0 0.2em white, 1px 1px 1em white, -1px -1px 1em white;
}
h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-justify: center;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
}
h3 {
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 400;
	color: white;
	font-size: 1.8rem;
	letter-spacing: 0.15em;
	text-shadow: 0px 2px 3px gray;
	border-bottom: 2px solid;
}
h4 {
	color: black;
	font-family: 'Raleway', sans-serif;
	font-size: 1.7rem;
	font-weight: 300;
	text-justify: center;
	justify-content: center;
}
h5 {
	color: black;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 18px;
}
h6 {
	color: #292929;
	text-decoration-line: underline;
	text-decoration-color: white;
	text-decoration-style: thick;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-style: italic;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	text-shadow: 0px, 2px, 4px, black;
}
h7 {
	color: black;
	font-family: 'Space Grotesk', sans-serif;
	font-weigth: 400;
	font-size: 30px;
}
h8 {
	color: #DDE8EB;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 400;
	font-size: 66px;
}
section {
	position: relative;
}
section:first-of-type {
	padding-top: px;
}
#home1 {
	position: relative;
	padding-bottom: 20px;
	height: auto;
	overflow: hidden;
}
.home1 {
	display: flex;
	flex-direction: column;
    align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 50px;
}
.video-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	object-fit: cover;
    z-index: -1;
}

.site_header {
    width: 100%;
    text-align: center;
    position: fixed;
    transition: top 0.3s;
	z-index: 50;
}
.navbar {
    overflow: hidden;
	height: 48px;
    text-align:center;
	background-color: #131313;
}
.navbar a {
    display: inline-block;
    color: white;
    position: relative;
    padding: 6px 16px;
    margin: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    width: auto;
    overflow: hidden;
    align-content: center;
    cursor: pointer;
    border: 1px solid black;
    transition: background-image 0.3s, border-radius 0.3s, text-shadow 0.2s, box-shadow 0.3s;
}
.navbar a:hover {
	background-image:linear-gradient(90deg, #3D9BE8, #80A559 50%, #FFD300);
	text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
	border: 1px solid white;
	border-radius: 2px;
	box-shadow: 2px 2px white;
	transition: text-shadow 0.2s, box-shadow 0.1s;
}
.logocontainer {
    color: transparent;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
}
.container {
	background-color: #FFFFFF;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	border-bottom-width: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
/*.sticky_container {
	background-color:transparent;
	z-index: 1;
	position: sticky;
	top: 0;
	bottom: 0;
}*/
.home_pictures {
    display: flex;
    justify-content: center;
    align-items: center;
	width: 80%;
	margin: auto;
}
.home_pictures img {
    max-width: 80%;
    height: auto;
	max-height: 400px;
    margin: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7), 0 6px 20px 0 rgba(0, 0, 0, 0.30);
}
.yellow-container {
    background-color:hsla(43,75%,52%,0.71);
	width: 53%;
	max-width: 850px;
/*	transform: translateX(-50%);*/
    padding: 25px;
    margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-shadow: 5px 5px #a38d29;
	border: 1px hsla(41,51%,15%,0.71) groove;
	border-radius: 5px;
}
.yellow-container p {
    margin: 0;
	font-family: 'Raleway', sans-serif;
	text-align: center;
	text-justify: auto;
	font-size: 1.1rem;
}
.pagebreak {
	height: 52px;
	position: relative;
	padding: 0;
	margin: 0;
}
.warm-gradient {
    background-image: linear-gradient(to right, 
        rgba(215, 235, 177, 0.73), 
        rgba(61, 155, 233, 1.0), 
        rgba(56, 74, 211, 1.0), 
        rgba(36, 220, 157, 1.0), 
        rgba(114, 164, 7, 1.0), 
        rgba(207, 178, 77, 1.0) 
    );
    height: 52px;
    width: 100%;
}
.ctoy-gradient {
	height: auto;
	max-height: 35px;
	padding:0;
	margin:0;
}
#home2 {
	position: relative;
	display: flex;
	flex-direction: column;
    align-items: center;
	justify-content: flex-start;
	text-align: center;
	height: 400px;
	max-height: 400px;
	overflow: visible;
}
#home_palms {
	width: 100%;
	height: 100%;
	position: fixed;
	bottom: -50px;
	z-index: -2;
}
.funding {
	height: 100%;
	max-width: 900px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.funding_title {
    position: absolute;
    padding: 6px 4px 6px 8px;
    background: white;
    font-size: 1.3rem;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration-line: underline;
	text-decoration-thickness: 2px;
    text-decoration-color: #25318D;
    text-align: center;
    justify-content: center;
    align-items: center;
    top: 5%;
}
.funding_content {
	position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20%;
}
.white_funding_text_box {
    flex: 2;
    padding: 1.2rem;
	margin-left: 40px;
    background: white;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    justify-content: center;
    align-items: center;
	min-height: 5em;
	height: auto;
    max-width: 60%;
}
.blue_container {
	flex: 1;
	padding: 1.2rem;
	background: #25318D;
	font-size: 1.2rem;
	font-family: 'Space Grotesk', sans-serif;
	color: white;
	height: auto;
	text-align: center;
	justify-content: center;
	align-items: center;
	max-width: 29%;
}
.image-grid {
    display: grid;
	grid-template-columns: repeat(5, 170px);
	gap: 0px; 
	justify-content: center;
	margin-top: 12%;
	
} 
.column {
	display: flex;
    align-items: center;
    justify-content: center;
	width: 100%;
    height: 100%;
	background: white;
	padding: 15px;
	overflow: hidden;
	
}
.column img {
    width: 100%;
    height: auto; 
    display: block; /* Remove any extra spacing around the images */
}
.site_footer {
    width: 100%;
	height: 48px;
    background-color: #131313;
    position: relative;
    bottom: 0;
    transition: bottom 0.3s;
    display: flex;
    justify-content: center; 
	align-items: center;
	text-align: left;

    /*padding: 5px 10px;  Adjust padding as needed */
    color: white; 
}
.footer-left {
	width: 350px;
    text-align: left; 
	align-items: left;
	justify-content: center;
	display: block;
}
.navbar a {
	height: 40px;
}
.page-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-name {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.63);
    padding: 25px 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 70px;
	text-shadow: -1px 1px 7px #171717; 
    box-shadow: 10px 10px #757575;
    border: 1px solid black;
	border-radius: 5px;
}
.page-name span {
    position: relative;
    display: inline; 
}
.page-name span::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;  
	background-color: var(--line-color, #000);
    position: absolute;
    left: 0;
    bottom: -1px; 
}

/* --------------------------------------------------- TEAM --------------------------------------------------- */
#John {
    display: flex;
    justify-content: center; /* Centers Johns-bio horizontally */
	background-image: url("../images/Site Images/pearlescent background.png");
	background-color: linear-gradient(to top left, #FFFFFF, #FFC8F7, #46AFFF);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.Johns-bio {
    width: 80%; /* Adjust based on your preference */
    max-width: 1200px; /* Prevents the bio from becoming too wide on larger screens */
    margin: 10 auto; /* Additional centering to ensure content is centered within the space */
	padding: 50px;
}
.Johns-bio p {
	font-size: 1.1rem;
	font-family: 'Raleway', sans-serif;
	font-weight: 300px;
	line-height:1.8;
}
.bio-image {
    float: left; /* Makes the image float to the left of the text */
    width: 400px; /* Sets the width of the image */
    height: 400px; /* Sets the height of the image */
    margin-right: 40px; /* Adds space between the image and the text */
    margin-bottom: 20px; /* Ensures space below the image for text wrapping */
    box-shadow: -10px 10px 5px rgba(0, 0, 0, 0.3); /* Shadow down and to the left */
	border-radius: 5px;
}
/* Clear float for subsequent content */
.Johns-bio:after {
    content: "";
    display: table;
    clear: both;
}

	/* Lab Members Area */
#Members {
	background-image: url("../images/Site Images/pearlescent background.png");
	background-color: linear-gradient(to top left, #FFFFFF, #FFC8F7, #46AFFF);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	align-items: center;
}
#members-container {
    display: grid;
	grid-template-columns: repeat(4, 1fr); /* Creates four columns. fr = fraction. Autospaces, including gap */
    gap: 30px; 
	margin: 0 auto;
    justify-content: center;
	align-self: center;
    padding: 20px 20px; /* adjust for the GRID'S padding, not the gap between members */
	max-width: 50%;
}
.member {
    display: flex;
    flex-direction: column; /* Arranges the image and info in a column */
    align-items: center; /* Centers the items */
    width: 176px; /* Width of each member item */
    border-radius: 4px; 
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    padding: 10px;
    background-color: transparent; 
}
.member-image {
    width: 176px; 
    height: 176px; 
    object-fit: cover; 
    border-radius: 4px; 
}
.member p {
    font-family: 'Raleway', sans-serif; 
    font-weight: 300; 
    font-size: 14px; 
    text-align: center; 
    margin: 10px 0;
}
.member a {
	color: black;
	font-family: 'Raleway', sans-serif; 
	font-size: 14px;
}
.members-end {
	position: relative;
	width: 100%;
}
.members-end::after {   /*  this makes the grey line at the bottom of members, after the email note */
	content: ""; /* Required for the pseudo-element to be generated */
    position: absolute;
	left: 0;
    bottom: 20;
    width: 100%; 
    height: 5px; 
    background-color: #2E2E2E; 
}
		/* --- Pretty wave video area breaking up members and alumni --- */
#wave-background-section {
	position: relative;
	display: flex;
	height: 420px;
	max-height: 420px;
	overflow: hidden; /* Ensures the video outside this area is not visible */
    justify-content: flex-start;
    align-items: center;
	margin-top: 20px;
}
.wave-video-container {
	position: fixed; /* Positions the video absolutely relative to the viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
	z-index: -2; /* Keeps the video as "background" */
}
.wave-video {
	width:100%;
	height:100%;
	object-fit: cover;
	z-index: -2;
}
		/*  --------- Alumni style copied & edited from Members -------- */
#Alumni {
	background-image: url("../images/Site Images/pearlescent background.png");
	background-color: linear-gradient(to top left, #FFFFFF, #FFC8F7, #46AFFF);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
#alumni-container {
    display: grid;
	grid-template-columns: repeat(6, 1fr); /* Creates four columns. fr = fraction. Autospaces, including gap */
    gap: 10px; 
	margin: 0 auto;
    justify-content: center;
	align-self: center;
    padding: 20px; /* adjust for the GRID'S padding, not the gap between alumni */
	width: 50%;
}
.alumnus {
    display: flex;
    flex-direction: column; /* Arranges the image and info in a column */
    align-items: center; /* Centers the items */
    width: 180px; /* Width of each alumnus item */
    border-radius: 4px; 
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    padding: 10px;
    background-color: transparent; 
}
.alumni-image {
    width: 130px; 
    height: 130px; 
    object-fit: cover; 
    border-radius: 4px; 
}
.alumnus p {
    font-family: 'Raleway', sans-serif; 
    font-weight: 300; 
    font-size: 14px; 
    text-align: center; 
    margin: 10px 0; /* top margin, no bot margin */
}

/* Adjusts the grid for responsiveness */
@media (max-width: 768px) {
    #members-container {
		grid-template-columns: repeat(2, 1fr); /* Adjusts to two columns on smaller screens */
    }
	#alumni-container {
		grid-template-columns: repeat(2, 1fr); /* Adjusts to two columns on smaller screens */
    }
}


/* --------------------------------------------------- Software --------------------------------------------------- */
#Software {
    padding: 20px;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
    text-align: center;
}
#Software-video {
    position: relative;
    height: 350px;
}
.repo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	text-align: center;
    gap: 50px;
	width: 50%;
	transform: translateX(50%);
}
.repo-link {
    display: block;
    width: calc(50% - 25px); /* Adjusts for gap */
    height: 80px;
    /* line-height: 40px;  Centers text vertically */
	font-size: 1.5rem;
	color: #5C8505;
    border-bottom: 2px solid #395203;
    text-decoration: none;
	transition: color 0.5s, border-bottom 0.5s;
}.repo-link:hover {
	color: #CFB24D;
	border-bottom: 5px solid #CFB24D;
	transition: color 0.5s, border-bottom 0.5s;
}
/* Mobile version */
@media (max-width: 768px) {
    .repo-link {
        width: 100%; /* Single column layout */
    }
}
.textured-ctoy {
	/* "ctoy" stands for cyan-to-yellow gradient */
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:20px;
}

/* --------------------------------------------------- RESEARCH --------------------------------------------------- */
.Research-texts {
    background-image: linear-gradient(315deg, #A0A09F, #FFDB82, #E6E6E6);
    padding: 60px 0px;
    font-family: 'Raleway', sans-serif;
}
.Research-texts p, .Research-texts h4 {
    width: 45%;
    max-width: 1200px; /* Ensures the content doesn't grow too wide */
    min-width: 500px; /* Ensures the content doesn't get too narrow */
    margin: 0 auto; /* Centers content */
}
.centered-text {
    text-align: center;
	font-size: 1.1rem;
}
.centered-image {
    display: block;
    margin: 40px auto; /* Centers the image and adds some vertical spacing */
	box-shadow: 0px 2px 4px 2px #717171; 
}
.left-aligned, .right-aligned {
    font-family: 'Raleway', sans-serif;
}
.left-aligned h4, .left-aligned p {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
	padding-right: 100px;
}
.right-aligned h4, .right-aligned p {
    text-align: right;
    margin-left: auto;
    margin-right: auto;
	padding-left: 100px;
}
.left-aligned p, .right-aligned p {
	font-size: 1.1rem;
    margin-bottom: 60px; /* Adds space below paragraphs */
}
.Scholar-text {
	text-align: center;
	background-color: rgba(255,255,255,0.85);
	width: 600px;
	padding: 20px;
	margin-top: 30px;
	color: black;
	font-family: 'Raleway', sans-serif;
	font-size: 1.3rem;
	border-radius: 5px;
	box-shadow: 0px 2px 4px 2px #717171;
	margin-left: 50%;
	transform: translate(-50%);
} 
.scholar-text p a {
	color: black;
	font-family: 'Raleway', sans-serif;
	font-size: 1.3rem;
}
.articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	align-items: center;
	padding: 30px 0;
    gap: 30px; /* Space between article containers */
	width: 55%;
	max-width: 1200px;
	font-family: 'Space Grotesk', sans-serif;
	margin-left: 22.5%;
}
.article {
    flex-basis: calc(50%-10px); /* Adjusts width to fit two containers per row, accounting for gap */
	max-width: 45%;
    padding: 30px;
    margin: 10px; /* Space between rows of articles */
	width: 500px;
	min-width: 400px;
    color: black; /* Adjust text color as needed */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally in the container */
    text-align: center; /* Centers text */
	box-shadow: 1px 1px 3px 2px #626466;
}
.article img {
    width: 100%; /* Adjust image width as needed */
	height: auto;
	object-fit: contain;
    margin-top: 20px; /* Space between text and image */
}
.publisher {
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .article {
        flex-basis: 75%; /* Each article takes full width on smaller screens */
        max-width: 100%;
        margin: 20px 0; /* Adjusted for single column layout */
    }
	body {
		background-size: auto;
	}
}

/* --------------------------------------------------- The Lab --------------------------------------------------- */
#The-Lab-video {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center; /* Centers the containers horizontally */
    align-items: center; /* Aligns the containers vertically */
    overflow: hidden; /* Ensures nothing spills outside this container */
}
#The-Lab-video .page-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensures the video is behind the containers */
}
/* Utilize flexbox on a wrapping container instead */
#The-Lab-video .container-wrapper {
    position: absolute;
    display: flex;
    gap: 80px; /* 80px of space between the containers */
    justify-content: center;
    width: 100%;
    top: 50%;
    transform: translateY(-50%); /* Centers vertically in #The-Lab-video */
}
.dark-lab-container {
    position: relative;
    width: 500px;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.6); 
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 10px 10px 2px rgba(0, 0, 0, 0.5); 
    overflow: hidden; 
	justify-content: center;
	align-content: center;
}
.dark-lab-container p {
	color: #DDE8EB;
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	font-size: 16px;
	justify-content: center;
	align-content: center;	
}
/* Styling for images floating to the left of paragraphs in the first container */
.float-left {
    float: left;
    margin: 5px 20px 15px; /* Adds some space between the image and text */
}
/* Reset float for elements following floated images */
.dark-lab-container p::after {
    content: "";
    display: table;
    clear: both;
}
/* Adjustments for container backgrounds */
#container-one {
	display: flex;
	flex-direction: column;
    background-image: url("../images/Site Images/pale rainbow gradient.png");
	background-size: cover;
	padding: 5px 30px;
}
#container-one h8 {
    text-align: center;
}
#container-two {
    /* Any specific styles for the Google Maps container. Dunno how to do that */
}

#info-squares {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line as needed */
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    gap: 0; /* No gap between items */
	height: auto;
    width: 100%;
    align-content: center; /* Centers the wrapped items vertically */
}
.info-square {
    display: flex;
	flex-direction: column;
    justify-content: center;  /* Centers text horizontally */
    align-items: center; /* Centers text vertically */
    width: 244px;
    height: 244px;
    background-color: rgba(255, 255, 255, 0.31);
    border: 2px solid #EABF1B;
    border-radius: 20px;
    box-sizing: border-box; /* Ensures the border is included in the width/height */
    margin: 0; /* Adjusts margin to ensure no extra space between items */
	padding: 15px;
	gap: 0px;
	text-justify: center;
}
.info-square h5, a {
	color: black;
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	font-weight: 400;
	 text-align: center; text-align: center;
}
.info-square p {
	color: black;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	text-align: center;
	letter-spacing: 0.1em; 
}
.image-links-container {
    display: flex; /* Aligns the child <a> tags in a row */
    justify-content: space-around; /* Distributes space evenly around the links */
    align-items: center; /* Centers the links vertically */
}

#sd-art {
    display: flex;
    justify-content: space-between; /* Distributes space evenly between the columns */
    gap: 50px; 
    background-image: url('../images/Art/art bg rectangle.png');
    background-size: 60%; /* Resize the background image to cover 60% of the element */
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px; 
    width: 50%; 
    margin: 0 auto; 
}
.art-column {
    width: calc((100% - 100px) / 3); /* Adjust the width of each column, accounting for the gap */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the content vertically if needed */
}
.art-column img {
    width: auto; /* Ensures the width is adjusted automatically */
    height: 430px; /* Sets a fixed height for the images */
    object-fit: cover; /* Ensures the images cover the area without losing aspect ratio */
}

