:root 
{
	--theme: #77c7c8;
	--sand: #fff5eb;
	--light: #fff9f1;
	--dark: #172a4d;
}

* 
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Vend Sans';
	font-weight: 400;
	line-height: 1.75;
	overflow-x: hidden;
}

::selection 
{
	background-color: var(--theme);
 	color: #fff;
}

::-moz-selection 
{
  	background-color: var(--theme);
 	color: #fff;
}

h1, h2, h3
{
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 500;
	font-size: 3em;
}

h1
{
	font-weight: 400;
}

h1 strong
{
	font-size: 1.5em;
}

h2
{
	font-size: 2.5em;
}

h3
{
	font-size: 2em;
}

h2 + p, h2 + ul, p + p, ul + p
{
	margin-top: 1em;
}

h3 + p, h3 + ul
{
	margin-top: 0.5em;
}

.wrap
{
	max-width: 1080px;
	display: block;
	margin: auto;
	padding: 0px 40px;
	position: relative;
}

.text p, .text ul
{
	max-width: 800px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

#header .wrap
{
	max-width: 1300px;
}

#header
{
	position: sticky;
	-webkit-position: sticky;
	width: 100%;
	left: 0;
	top: -40px;
	background-color: var(--light);
	z-index: 1000;
}

#headerLink
{
	display: block;
	padding: 0.55em 0;
	background-color: var(--theme);
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	text-align: center;
	font-size: 0.8em;
	transition: all 0.2s;
}

#headerLink:hover
{
	background-color: var(--dark);
}

#navigation ul
{
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 40px 0px;
}

#navigation ul li a
{
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	position: relative;
}

#navigation ul li a:after
{
	content: "";
	position: absolute;
	width: 0%;
	height: 2.5px;
	background-color: var(--dark);
	left: 0;
	top: 100%;
	transition: all 0.2s;
	opacity: 0;
}

#navigation ul li a:hover:after, #navigation ul li.active a:after
{
	opacity: 1;
	width: 100%;
}

#navigation ul li.active a
{
	color: var(--dark);
	font-weight: 500;
}

#navigation ul li a:hover
{
	color: var(--dark);
}

#logo
{
	position: absolute;
	height: 100%;
	padding: 20px 0px;
}

#navigation ul li:last-child a
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 400;
	background-color: var(--theme);
	padding: 0.64em 1em 0.6em;
	border-radius: 0.3em;
	transition: all 0.2s;
}

#navigation ul li:last-child a:hover
{
	background-color: var(--dark);
}

#navigation ul li:last-child a:after
{
	display: none;
}

#opener
{
	position: relative;
	width: 100%;
	padding-bottom: 48%;
	background-size: cover;
	background-position: center;
}

#opener:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 0;
	background-image: url(wave.svg);
	background-size: contain;
	background-position: center bottom;
	background-repeat: no-repeat;
	z-index: 10;
}

#opener:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 5;
	background: linear-gradient(180deg,rgba(23,42,77,0) 0%, rgba(23,42,77,1) 100%);
	opacity: 0.3;
}

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	/*top: 45%;
	transform: translateY(-50%);*/
	bottom: 150px;
	z-index: 100;
	color: #fff;
	text-shadow: 0px 0px 2em rgba(0,0,0,0.9);
}

strong
{
	font-weight: 500;
}

.text
{
	margin: 100px 0px;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 400;
	background-color: var(--theme);
	padding: 0.64em 1em 0.6em;
	border-radius: 0.3em;
	transition: all 0.2s;
	text-decoration: none;
}

.text.withButton p a:hover, .text .buttonArea p a:hover, .buttonArea p a:hover, #accepted:hover
{
	background-color: var(--dark);
}

.withButton
{
	margin-top: -75px;
}

.buttonArea
{
	margin-top: 25px;
}

.colored
{
	padding: 100px 0px;
	background-color: var(--sand);
}

.colored + .withImg
{
	position: relative;
	margin-top: -100px;
}

.colored + .withImg:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100px;
	left: 0;
	top: 0;
	background-color: var(--sand);
	z-index: -1;
}

.gallery
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 20px);
	margin-left: -20px;
	margin-bottom: -20px;
}

.galleryItem
{
	cursor: zoom-in;
	width: calc(33.3% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;
}

.galleryImg
{
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
	border-radius: 0.2em;
}

.inline
{
	width: 100%;
	margin-bottom: -10px!important;
	border-radius: 0.2em;
}

.partners 
{
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: -50px;
}

.partner-track 
{
    display: flex;
    width: max-content;
    animation: partnerScroll 50s linear infinite;
    position: relative;
    top: 3px;
}

.partner
{
	flex: 0 0 auto;
	margin: 0px 30px;
}

.partner img
{
	height: 60px;
	margin-bottom: -5px;
}

@keyframes partnerScroll{
    from 
    {
        transform: translateX(0);
    }
    to 
    {
        transform: translateX(-50%);
    }
}

.divider
{
	width: 50%;
	height: 5px;
	background-color: var(--theme);
}

.colored + #footer
{
	margin-top: -100px;
}

#footer
{
	padding: 41px 0px 40px;
	background-color: var(--dark);
	color: #fff;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.3em;
}

#footerList
{
	text-align: right;
}

#footerList li
{
	display: inline-block;
	margin-left: 40px;
}

#footerList li a
{
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	border-bottom: 1px solid transparent;
}

#footerList li a:hover
{
	border-bottom: 1px solid #fff;
}

#copy
{
	position: absolute;
	font-weight: 500;
}

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--theme);
	border-bottom: 1px solid var(--theme);
	text-decoration: none;
	transition: all 0.2s;
}

.text p a:hover, .text ul a:hover, form a:hover, #cookieNotice a:hover
{
	color: var(--dark);
	border-bottom: 1px solid var(--dark);
}

#cookieNotice
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	font-size: 0.8em;
	background-color: rgba(0,0,0,0.2);
	z-index: 500000;
	display: none;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
}

#cookieBox
{
	padding: 33px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 400px;
	overflow: auto;
	display: block;
	margin: auto;
	position: relative;
	background-color: #fff;
	border-radius: 0.3em;
}

#cookieBoxInner
{
	position: relative;
	z-index: 100;
}

#acceptWrap
{
	text-align: center;
}

#cookieCheckboxes
{
	margin-top: 1em;
	margin-bottom: 1em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.6em;
	padding-left: 1.9em;
	cursor: pointer;
	display: block;
	margin-top: 0.3em;
}

#cookieCheckboxes input
{
	position: absolute;
	left: 0;
	top: 48.5%;
	transform: translateY(-50%);
}

#accepted
{
	margin-top: 0.6em;
	cursor: pointer;
}

#instagram
{
	background-image: url(instagram.svg);
	background-size: auto 80%;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 1.8em;
}

.imgFlex
{
	display: flex;
}

.imgFlex .inline
{
	border-radius: 0.2em;
}

.imgFlex.right
{
	flex-direction: row-reverse;
}

.imgFlex .imgFlexItem:nth-child(1)
{
	width: 40%;
	padding-top: 55px;
}

.imgFlex .imgFlexItem:nth-child(2)
{
	width: 60%;
}

.textBox
{
	padding: 50px 60px;
	position: relative;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	background-color: var(--sand);
	border-radius: 0.2em;
}

.right .textBox:before
{
	left: 0;
	right: auto;
}

.textBox .buttonArea
{
	margin-bottom: 10px;
}

#navigation ul li ul
{
	display: none;
}

.projects
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 20px);
	margin-left: -20px;
	margin-bottom: -20px;
	margin-top: -50px;
}

.project
{
	width: calc(33.3% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;
	position: relative;
	color: #fff;
	border-radius: 0.2em;
	overflow: hidden;
}

.project:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background: linear-gradient(180deg,rgba(23,42,77,0) 0%, rgba(23,42,77,0.7) 100%);
}

.projectImg
{
	width: 100%;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	transition: all 0.5s;
}

.project:hover .projectImg
{
	transform: scale(1.05);
}

.projectTitle
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 20px 25px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	z-index: 20;
	line-height: 1.4;
	font-weight: 500;
}

@media all and (max-width: 450px){
	#cookieBox
	{
		padding: 18px 25px 25px 25px;
	}
}

@media all and (max-width: 550px){
	.galleryItem
	{
		width: calc(100% - 20px);
	}

	.project
	{
		width: calc(100% - 20px)!important;
	}
}

@media all and (max-width: 750px){
	h1
	{
		font-size: 1.5em!important;
		line-height: 1.3;
	}

	h1 strong
	{
		font-size: 1.5em;
	}

	h2
	{
		font-size: 1.5em!important;
	}

	h3
	{
		font-size: 1.3em!important;
	}

	#opener
	{
		padding-bottom: 70%!important;
	}

	.partner img
	{
		height: 45px!important;
	}

	#headerLink
	{
		letter-spacing: 0.2em;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

	.imgFlex .imgFlexItem:nth-child(1)
	{
		padding-top: 0px!important;
	}

	.textBox:before
	{
		width: 100%;
		border-radius: 0 0 0.2em 0.2em;
	}

	.imgFlex .inline
	{
		border-radius: 0.2em 0.2em 0 0;
	}

	.project
	{
		width: calc(50% - 20px);
	}
}

@media all and (max-width: 950px){
	#copy
	{
		position: relative;
		display: block;
		margin-bottom: 5px;
	}

	#footerList
	{
		text-align: left;
	}

	#footerList li
	{
		display: block;
		margin-left: 0;
		margin-top: 3px;
	}
}

@media all and (max-width: 1150px){
	#navigation
	{
		display: none;
		position: absolute;
		width: 100%;
		left: 0;
		top: 85px;
		max-height: calc(100vh - 85px);
		overflow: auto;
		background-color: var(--light);
	}

	#navigation ul li
	{
		display: block;
		margin-left: 0;
		padding: 0;
		margin-bottom: 5px;
	}

	#navigation ul li:last-child
	{
		margin-top: 12px;
	}

	#navigation ul
	{
		padding: 0px 40px 15px;
	}

	#navOpener
	{
		position: absolute;
		width: 26px;
		height: 20px;
		cursor: pointer;
		top: 50%;
		transform: translateY(-50%);
		right: 40px;
	}

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		background-color: var(--dark);
		transition: all 0.2s;
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	#navOpener .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#navOpener .line:nth-child(3)
	{
		bottom: 0;
		width: 50%;
		right: 0;
	}

	#navOpener.active .line:nth-child(1)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	#navOpener.active .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	#navOpener.active .line:nth-child(3)
	{
		width: 0;
	}

	#header .wrap
	{
		height: 90px;
	}

	#headerLink .wrap
	{
		height: auto;
	}

	#headerLink
	{
		padding: 0.45em 0;
	}

	#logo
	{
		padding: 15px 0px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.withButton
	{
		margin-top: -35px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	.colored + .withImg
	{
		margin-top: -60px;
	}

	.colored + .withImg:before
	{
		height: 60px;
	}

	.colored + #footer
	{
		margin-top: -60px;
	}

	#footer
	{
		padding: 30px 0px;
	}

	#opener
	{
		padding-bottom: 55%;
	}

	h1
	{
		font-size: 2.2em;
	}

	h1 strong
	{
		font-size: 1.5em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.6em;
	}

	.partners, .projects
	{
	    margin-top: -20px;
	}

	.partner
	{
		margin: 0px 20px;
	}

	.partner img
	{
		height: 50px;
	}

	.imgFlex .imgFlexItem:nth-child(1)
	{
		padding-top: 35px;
	}

	.textBox
	{
		padding: 30px 40px;
		position: relative;
	}

	#openerContent
	{
		bottom: 100px;
	}
}

@media all and (min-width: 1151px){
	#navigation
	{
		display: block!important;
	}
}