.team-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 75vh; 
    background: url('https://static.igem.wiki/teams/4893/wiki/team/team-header2.jpg') center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.team-header h2 {
    font-size: 40px;
    letter-spacing: 0.2rem;
    color: #fff;
    background-color: rgb(127 139 141 / 78%);
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 75%;
    right: 70%;
}

main {
    margin-top: 70vh; /* Adjust margin-top to allow space for the header */
    padding: 20px;
    background-color: #f4f4f4;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* @import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700,900'); */

/* * {
	box-sizing: border-box;
	transition: all ease-in-out 250ms;
} */

/* body {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	text-align: center;
} */

img {
	max-width: 100%;
	height: auto;
}

/* .container {
    
	width: 95%;
	max-width: 70em;
	margin: 0 auto;
} */

/* .clearfix::after,
section::after,
footer::after {
	content: '';
	display: block;
	clear: both;
} */


/* Column system
=================== */

[class^=col-] {
	width: 100%;
	margin-top: 1em;
}

[class^=col-]:first-child {
	margin-top: 0;
}

.col-1 {
	width: 33.333334%;
	float: left;
}


@media (min-width: 40rem) {

	[class^=col-] {
		float: left;
		padding: 0 .5em;
		margin-top: 0;
	}

	[class^=col-]:first-child {
		padding-left: 0;
	}

	[class^=col-]:last-child {
		padding-right: 0;
	}

	.col-3 {
		width: 50%;
	}

	.col-1 {
		width: 16.6666%;
	}
}





/* typography
=================== */
/* 
h1 {
	font-weight: 300;
	font-size: 1.7rem;
	margin-top: 0;
}

p {
	margin-top: 0;
	line-height: 1.5;
}

p:last-of-type {
	margin-bottom: 0;
}

.title {
	font-size: 2.5rem;
	margin-bottom: 1.5em;
	font-weight: 900;
	margin-top: 1em;
}

.title span {
	font-weight: 300;
	display: block;
	font-size: .9em;
}

.title-cta {
	margin: 0 0 .5em;
}

.unstyled-list {
	margin: 0;
	padding: 0;
	list-style-type: none;
} */

/* @media (min-width:60rem) {

	p {
		font-size: 1.2rem;
		line-height: 1.6;
	}

	.title {
		font-size: 3.7rem;
	}
} */

/* buttons */

.button {
	display: inline-block;
	font-size: 1.15rem;
	text-decoration: none;
	text-transform: uppercase;
	border-width: 2px;
	border-style: solid;
	padding: .5em 1.75em;
	margin: 0 auto;
}

@media (min-width: 60rem) {
	.button {
		font-size: 1.5rem;
	}
}

.button-small {
	font-size: .7rem;
	font-weight: 700;
}

.button-accent {
	color: #fcffff;
	border-color: #4A6Fa5;
}

.button-accent:hover,
.button-accent:focus {
	background: #4A6Fa5;
	color: #fcffff;
}

.button-dark {
	color: #fcffff;
	border-color: #fcffff;
}

.button-dark:hover,
.button-dark:focus {
	background: #fcffff;
	color: #4A6Fa5;
}

/* Parallax
=================== */

.parallax--bg,
.parallax--box {
	transition: initial;
}



/* header
=================== */

/* header {
	position: absolute;
	left: 0;
	right: 0;
	margin: 1em;
} */

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	display: inline-block;
	margin: 1em;
}

nav a {
	font-weight: 900;
	text-decoration: none;
	padding: .5em;
	text-transform: uppercase;
	color: white;
	font-size: .8rem;
}

nav a:hover,
nav a:focus {
	color: #ddd;
}

@media (min-width:60rem) {
	.logo {
		float: left;
	}

	nav {
		float: right;
	}
}


/* hero-home
=================== */

/* .home-hero {
	background-image: url(../ss.jpg);
	background-size: cover;
	background-position: center;
	padding: 10em 0;
	color: #FFF;
} */

@media (min-width: 60rem) {
	.home-hero {
		height: 100vh;
		padding-top: 35vh;
	}
}


/* hero-home
=================== */

.home-about-textbox {
	background-color: #fcffff;
	padding: 4em;
	width: 100vw;
	margin-left: -2.5%;
	outline: 2px solid #4A6Fa5;
	outline-offset: -2.5em;
	color: #FFF;
	position: relative;
}

.home-about-textbox h1 {
	color: #4A6Fa5;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: .75em;
	background: #fcffff;
	padding: 0 .145em;
}

@media (min-width: 25rem) {
	h1 {
		font-size: 2rem;
	}

	.home-about-textbox {
		padding: 5.5em;
	}

	.home-about-textbox h1 {
		top: .6em;
		padding: 0 .325em;
	}
}

@media (min-width: 60rem) {
	h1 {
		font-size: 2.5rem;
	}

	.home-about {
		background-image: url(../work.jpg);
		background-repeat: no-repeat;
		padding-bottom: 10em;
	}

	.home-about-textbox {
		width: 50%;
		padding: 7em;
		outline-offset: -3.75em;
		margin-left: -2.5%;
		top: -5em;
		text-align: center;
		box-shadow: 0 0 4em 0 rgba(0,0,0,.3);
	}

	.home-about-textbox h1 {
		top: .75em;
		left: 6rem;
		transform: translateX(0);
	}


}



/* portfolio
=================== */

.portfolio {
	margin: 3em 0 0;
}

.port-item {
	margin: 0;
	position: relative;
}

.port-item img {
	display: block;
}

.port-desc {
	position: absolute;
	z-index: 100;
	bottom: 0em;
	left: 0em;
	right: 0em;
	color: white;
	background: rgba(0,0,0,.6);
	padding-bottom: 2em;
}

.port-desc p {
	margin: 1em;
}

@media (min-width: 37rem) {
	.port-item {
		width: 50%;
		float: left;
	}
}

@media (min-width: 60rem) {
	.port-item {
		width: 25%;
		overflow: hidden;
	}

	.port-desc {
		transform: translateY(150%);
	}

	.port-item:hover .port-desc {
		transform: translateY(0%);
	}
}


/* CTA
=================== */

.cta {
	background-color: #abd0dd;
	padding: 5em 0;
}


/* Footer
=================== */

footer {
	background: #00122d;
	color: #fff;
	text-align: left;
	padding: 5em 0;
}
