@import url('http://fonts.cdnfonts.com/css/informal-roman');

* {
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

h2, h3 {
	width: 100%;
}

h1 {
	margin: 0px;
	font-size: 2.8em;
	user-select: none;
	color: white;
	font-family: 'Informal Roman', sans-serif;
	text-shadow: 2px 2px black;
}

h2 {
	font-size: 2.4em;
	margin-top: 0px;
}

h3 {
	font-size: 1.2em;
}

p {
	font-size: 1.2em;
}

body {
	margin: 0px;
	background-color: #ffffff;
}

.header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	height: 60px;
	width: 100%;
	background-color: white;
	z-index: 3;
}

.hidden {
	position: absolute;
	display: none;
}

.shadow {
	box-shadow: 0px 5px 5px #424242;
	
}

.navbar {
	position: fixed;
	width: 100%;
	top: 60px;
	left: 0;
	opacity: 0.9;
	display: flex;
	flex-direction: column;
	transform: translateX(-105%);
	z-index: 2;
	text-shadow: 2px 1px black;
}

.navbar,
label > span {
	transition: transform 0.3s ease;
}

#navbar-toggle:not(:checked) ~ .navbar {
	transform: translateX(0px);
}

.header,
.navbar {
	padding: 20px;
	background-color: #7aa061;
}

label {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	height: 38px;
	width: 45px;
}

label > span {
	border-bottom: 2px solid white;
	opacity: 1;
}

#navbar-toggle:not(:checked) ~ label span:first-child {
	transform: translateY(8px) rotate(45deg);
	opacity: 1;
}

#navbar-toggle:not(:checked) ~ label span:last-child {
	transform: translateY(-8px) rotate(-45deg);
	opacity: 1;
}

#navbar-toggle:not(:checked) ~ label span{
	opacity: 0;
}

.container {
	margin: auto;
	display: flex;
	flex-direction: column;
}

.container .content {
	width: 100%;
  height: 100%;
	padding: 12px;
	margin-top: 60px;
}

.content {
	background-color: white;
}

.container > div {
	display: flex;
	justify-content: center;
}

img {
	width: 100%;
	height: auto;
}

.footer img {
	padding-bottom: 50px;
}

.navbar > a,
.clickable {
	text-decoration: none;
	padding: 10px;
	font-size: 1.2em;
	color: white;
	border-radius: 10px;
}

.clickable {
	cursor: pointer;
	user-select: none;
}

.wrapper {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}

.wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 75vh;
	border: none;
}

#description .content > div {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
}

#intro > .content {
	background-image: url("images/sauna.jpg");
	background-size: cover;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

#intro h1 
{
	text-align: center;
	font-size: 5em;
}

/* Div that contains team member information */
#team .content > div {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 25px;
	background-color: #fdffc4;
	border-radius: 25px;
	padding: 10px;
	box-shadow: 5px 5px grey;
}

#team .content > div > div {
	padding: 10px;
}

#team .content > div > img {
	border-radius: 15px;
}

#collaboration .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
}

#description .content {
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#description .content > div {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

@media only screen and (min-width: 768px) {
	.container .content {
		max-width: 768px;
	}

	.navbar > a:hover,
	.clickable:hover {
		background-color: #a2cb87;
	}

	#description .content > div > p{
		max-width: 70%;
	}

	#description .content > div > img{
		max-width: 30%;
	}

	#team .content > div > img{
		max-width: 30%;
	}
	
	#team .content > div > div{
		display: flex;
		justify-content: center;
		flex-direction: column;
		width: 70%;
	}

	#team .content > div > div {
		padding: 20px;
	}

	#collaboration .content img {
		width: 30%;
	}
}

@media only screen and (min-width: 1024px) {
	.container .content {
		max-width: 1024px;
		padding: 24px;
	}

	/*
	Changes the navbar from vertical to horizontal
	Becomes always visible
	*/
	.navbar {
		position: static;
		visibility: visible;
		display: flex;
		flex-direction: row;
		align-items: center;
		height: 60px;
		transform: translateX(0px);
	}

	.navbar.shadow {
		box-shadow: none;
	}

	/* .navbar > a:last-child {
		position: fixed;
		right: 25px;
	} */

	/* 
	Hides navbar hamburger button
	*/
	.header label {
		display: none;
	}
}

@media only screen and (min-width: 1440px) {
	.container .content {
		max-width: 1440px;
	}
}