﻿/* Main layout */

@font-face {
	font-family: HeeboBlack;
	src: url(../fonts/Heebo-Black.ttf);
	font-weight: normal;
}

@font-face {
	font-family: HeeboRegular;
	src: url(../fonts/Heebo-Regular.ttf);
	font-weight: normal;
}

@font-face {
	font-family: HeeboLight;
	src: url(../fonts/Heebo-Thin.ttf);
	font-weight: normal;
}

body {
	padding: 0;
	margin: 0;
	background-color: #ffffff;
	font-family: HeeboRegular, sans-serif;
	font-weight: 300;
	color: #6A6D6A;
	overflow-x: hidden;
}

.section {
	padding: 64px 128px;
}

.section-extra-large {
	padding: 128px 64px;
}

.limit-1880 {
	max-width: 1880px;
	margin: 0 auto;
}

.limit-1280 {
	max-width: 1280px;
	margin: 0 auto;
}

.limit-720 {
	max-width: 720px;
	margin: 0 auto;
}

.flex-row-2 {
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
}

	.flex-row-2 > div {
		width: calc(100% / 2);
		padding: 128px 64px;
	}

.flex-swap-order {
	order: 0;
}

.flex-row-4 {
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
}

	.flex-row-4 > div {
		width: calc(100% / 4);
		padding: 64px 32px;
	}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-gap: 64px;
	width: 100%;
	border-radius: 16px;
	align-items: self-start;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-gap: 128px;
	width: 100%;
	border-radius: 16px;
	align-items: self-start;
}

div {
	box-sizing: border-box;
}

.aspect-ratio-2-3 {
	width: 100%;
	padding-top: calc(100% * (2/3)); /* 2:3 Aspect Ratio */
	position: relative;
}

	.aspect-ratio-2-3 > * {
		position: absolute;
		top: 0;
		left: 0;
	}

.aspect-ratio-1-1 {
	width: 100%;
	padding-top: 100%; /* 1:1 Aspect Ratio */
	position: relative;
}

	.aspect-ratio-1-1 > * {
		position: absolute;
		top: 0;
		left: 0;
	}



/* General text */
h1 {
	font-family: HeeboBlack, sans-serif;
	font-size: 3.6em;
	margin: 0.4em 0;
}

h2 {
	font-family: HeeboBlack, sans-serif;
	font-size: 3.2em;
	margin: 0.4em 0;
}

h3 {
	font-family: HeeboLight, sans-serif;
	font-size: 2.8em;
	line-height: 1.1em;
	margin: 0.4em 0;
}

h4 {
	font-size: 1.4em;
	font-weight: bold;
	color: white;
	margin: 0.4em 0;
}

h5 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0.4em 0;
}

p {
	font-size: 20px;
	line-height: 1.6em;
}


a {
	font-size: 1.1em;
	text-decoration: none;
}

.privacy ol li {
		padding-bottom: 18px; 
}

/* Colours */
.primary-blue {
	color: #0227D4;
}

.primary-blue-background {
	background-color: #0227D4;
}

.primary-green {
	color: #00FFB4;
}

.primary-green-background {
	background-color: #00FFB4;
}

.secondary-coral-vibrant {
	color: #FF5F7F;
}

.secondary-coral-muted {
	color: #4D007A;
}

.secondary-coral-vibrant-background {
	background-color: #FF5F7F;
}

.secondary-coral-muted-background {
	background-color: #4D007A;
}

.secondary-magenta-vibrant {
	color: #FF00FF;
}

.secondary-magenta-muted {
	color: #60005B;
}

.secondary-magenta-vibrant-background {
	background-color: #FF00FF;
}

.secondary-magenta-muted-background {
	background-color: #60005B;
}

.secondary-mint-vibrant {
	color: #D6FFEF;
}

.secondary-mint-muted {
	color: #C8C0D9;
}

.secondary-mint-vibrant-background {
	background-color: #D6FFEF;
}

.secondary-mint-muted-background {
	background-color: #C8C0D9;
}

.crumpled-paper-1-overlay {
	background-image: url("../img/crumpled-paper-1.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-blend-mode: multiply;
}

.crumpled-paper-2-overlay {
	background-image: url("../img/crumpled-paper-2.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-blend-mode: multiply;
}


/* Items */

.black-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.3;
	top: 0;
	left: 0;
}

.vertical-seperator-bar {
	width: 3px;
	margin: 0 16px;
}

.call-out-button {
	display: inline-block;
	font-size: 1.2em;
	font-weight: bold;
	border: 0px;
	border-radius: 48px;
	padding: 12px 48px !important;
	color: white;
	text-align: center;
	margin: 1em 0;
}

.center-content {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.background-fade
{
	background-color: rgba(0, 0, 0, 0.3);
}

.accordion {
	position: relative;
	color: #0227D4;
	cursor: pointer;
	padding: 24px 0;
	width: 100%;
	border-top: 2px solid #DDDDDD;
	font-family: HeeboBlack, sans-serif;
	font-size: 2.4em;
	transition: 0.5s;
}

	.accordion::after {
		position: absolute;
		border-style: solid;
		border-width: 0.1em 0.1em 0 0;
		content: '';
		height: 0.4em;
		width: 0.4em;
		right: 0;
		top: 50%;
		transform: rotate(135deg) translateY(100%);
		transition: 0.5s;
	}

.panel {
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease-out;
}

#map {
	width: 100%;
	height: 512px;
	background-color: gray;
	margin-top: 32px;
}

@media all and (max-width: 1280px) {
	.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media all and (max-width: 1080px) {
	/* General text */
	h1 {
		font-size: 3em;
	}

	h2 {
		font-size: 2.8em;
	}

	h3 {
		font-size: 2.6em;
	}

	.section {
		padding: 48px;
	}

	.section-extra-large {
		padding: 96px 48px;
	}

	.flex-row-2 > div {
		padding: 96px 48px;
	}

	.flex-row-4 > div {
		padding: 48px 24px;
	}

	.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid-3 {
		grid-gap: 64px;
	}
}

@media all and (max-width: 640px) {
	.grid-4 {
		grid-template-columns: minmax(0, 1fr);
		grid-gap: 48px;
	}
	.grid-4 {
		grid-template-columns: minmax(0, 1fr);
		grid-gap: 48px;
	}

	.grid-3 {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-gap: 48px;
		width: 100%;
		border-radius: 16px;
	}

	.flex-row-2 {
		flex-flow: column;
		align-items: center;
		justify-content: center;
	}

	.flex-row-2 > div {
		width: 100%;
		padding: 24px;
	}
	
	.center-on-mobile {
		text-align: center;
	}
}

@media all and (max-width: 420px) { 

	/* General text */
	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 2em;
	}

	h3 {
		font-size: 1.8em;
	}

	.stacked-header {
		font-size: 2em;
	}

	.section-extra-large {
		padding: 64px 24px;
	}

	.section {
		padding: 48px 24px;
	}

	.flex-swap-order {
		order: 2;
	}

	.flex-row-4 {
		flex-flow: column;
		align-items: center;
		justify-content: center;
	}

	.flex-row-4 > div {
		width: 100%;
		padding: 24px;
	}

	.toggle-center {
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.vertical-seperator-bar {
		width: unset;
		height: 3px;
		margin: 16px 0;
	}

	.accordion {
		padding: 16px 0;
		font-size: 1.4em;
	}


}
