html {
	background: #fff;
}

body {
	margin: 0;
	padding-right: 0;
	padding-left: 0;
	min-height: 100vh;

	background-color: white;

	font-family: 'Barlow', Helvetica, Arial, sans-serif;
	font-weight: 500;
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.home main {
	display: grid;
	justify-content: center;
	align-items: center;
	align-content: center;
	min-height: 100vh;
	background-color: rgba(255, 255, 255, 0.85);
	z-index: 5;
}


nav {
	background-color: #097f9e;
	position: fixed;
	top: 0; left: 0;
	z-index: 10;

	width: 100%;
	display: block;
	padding: 0 120px;

	transition: top 0.3s;
}

nav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 15px;
	text-decoration: none;
	font-size: 14px;
}

nav a:hover {
	background-color: #ddd;
	color: black;
}


section.foreground {
	position: relative;
	z-index: 5;
}


main {
	position: relative;
	top: 47px;

	margin: auto;
	padding: 80px 135px 80px;
	font-size: 20px;
	width: 100%;
}

body.home main {
	padding: 20px 135px 20px; /* top and bottom padding have to be even for globe alignment */
}

section.content {
	position: relative;
	z-index: 5;

	background-color: rgba(255, 255, 255, 0.85);
	padding: 2rem 0;
}

.content__text {
	text-align: justify;
	line-height: 25px;
	color: gray;
}

body.home section.content {
	text-align: center;
}



.logo {
	width: 200px;
	margin-bottom: 26px;
}

body.home .logo {
	margin: 0 auto 26px auto;
}



h1 {
	color: gray;
	text-align: right;
}

h3 {
	color: #097f9e;
	font-size: 1.25em;
	padding: 0.45em 0;
	line-height: 1;
	margin: 0;
	font-weight: bold;
	text-transform: uppercase;
	font-family: 'Barlow', Helvetica, Arial, sans-serif;
}

body.home h3.page-header {
	display: inline-block;
	margin: auto;
	padding: 0.45em 1em 0.5em 1em;

	background-color: #097f9e;

	font-size: 1.25rem;
	text-align: center;
	letter-spacing: 0.5em;
	color: white;
}

h4 {
	font-family: 'Barlow', Helvetica, Arial, sans-serif;
	color: #097f9e;
}


a {
	text-decoration: none;
	color: #097f9e;
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}


p {
	text-align: justify;
	font-family: 'Barlow', Helvetica, Arial, sans-serif;
	color: gray;
	font-size: 20px;
	line-height: 1.3em;
}

body.home p {
	padding-left: 60px;
	padding-right: 60px;

	font-size: 17px;
	line-height: 1.35em;
}

hr {
	margin: 1rem 0;
	border-bottom: 1px solid;
}



img {
	display: block;
	text-align: left;
	margin: 0 auto;
	max-width: 100%;
	min-width: 50%;
}



footer {
	position: relative;
	top: 47px;
	z-index: 5;

	border-top: 2px solid rgba(0, 0, 0, 0.6);
	margin: 10px 135px 90px 135px;
	padding: 15px 0 17px 0;

	font-size: 0.85rem;
	color: #6b6b6b;
}

.footer-logo {
	width: 80px;
	margin-top: 20px;
	margin-bottom: 10px;
}

address {
	font-style: normal;
	margin-bottom: 10px;
}



button {
	z-index: 1;
	position: relative;
	font-size: inherit;
	font-family: inherit;
	color: white;
	padding: 0.3em 1em;
	outline: none;
	border: none;
	background-color: #2E8E8E;
}

button::before {
	content: '';
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #12617A;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform 0.25s ease-in-out;
}

button:hover {
	cursor: pointer;
}

button:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}



.two-column {
	margin: 2.5rem 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 5rem;
	grid-row-gap: 4rem;
}

.three-column {
	margin: 2.5rem 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 5rem;
	grid-row-gap: 4rem;
}



.news__title {
	padding-top: 50px;
	margin-top: 20px;
	margin-bottom: 1em;

	color: #097f9e;
	font-size: 22px;
	font-weight: 500;
	text-align: left;
}

.news__content {
	margin-bottom: 1.5em;
	text-align: left;
	line-height: 30px;
	color: gray;
}



.figure {
	padding-top: 80px;
	width: 100%;
	max-width: 964px;
	height: auto;
	margin: auto;
}



/* START LEFTOVER MASTER STYLESHEET STUFF */

.text4 {
	padding: 30px 60px 20px 285px;
	text-align: justify;
	line-height: 30px;
	color: gray;
	color: #097f9e;
}


.p2 {
	line-height: 23px;
	color: gray;
}

.p3 {
	font-size: 14px;
	line-height: 23px;
	color: gray;
}


.box {
	max-width: 100.000rem;
	margin: 0 auto;
	padding: 2rem 1rem;
}


.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8.500rem, 1fr));
	grid-gap: 1rem;
}

.column-count {
	column-count: 3;
	column-width: 5.500rem;
}

.column-count p + p {
	margin-top: 1rem;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.5rem;
}

.flex > div {
	padding: 0.5rem;
	flex: 1 1 12.500rem;
}



span.animated-button {
	position: relative;
}

span.animated-button::before, span.animated-button::after {
	content: '';
	position: absolute;
	left: 50%;
	width: 100%;
	height: 2px;
	background-color: #097f9e;
	transform-origin: center;
	transform: translateX(-50%) scaleX(0);
	transition: transform 0.4s ease;
}

span.animated-button::before {
	top: 0;
}

span.animated-button::after {
	bottom: 0;
}

span.animated-button:hover::before, span.animated-button:hover::after {
	transform: translateX(-50%) scaleX(1);
}

/* END LEFTOVER MASTER STYLESHEET STUFF */


/* Fade effect */
.js body {
	opacity: 0;
	transition: opacity 0.6s;
}

.js body.render {
	opacity: 1;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}



@media screen and (max-width: 1100px) {
	nav {
		padding: 0 85px;
	}

	main {
		padding: 60px 100px 80px;
	}

	footer {
		margin: 10px 100px 60px 100px;
	}
}

@media screen and (max-width: 850px) {
	nav {
		padding: 0 60px;
	}

	main {
		padding: 50px 75px 70px;
	}

	footer {
		margin: 10px 75px 50px 75px;
	}


	.two-column {
		grid-template-columns: auto;
	}
}

@media screen and (max-width: 670px) {
	nav {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0;
	}

	main {
		padding: 50px 50px 60px;
	}

	body.home p {
		padding-left: 30px;
		padding-right: 30px;
	}

	body.home h3.page-header {
		padding: 0.45em 1em 0.5em 1em;
		background-color: #097f9e;

		font-size: 1rem;
		text-align: center;
		letter-spacing: 0.3em;
		color: white;
	}

	footer {
		margin: 10px 50px 30px 50px;
	}
}

@media screen and (max-width: 520px) {
	.logo {
		margin-left: auto;
		margin-right: auto;
	}

	nav a {
		padding: 15px 10px;
	}

	main {
		padding: 50px 30px 60px;
	}

	footer {
		margin: 10px 30px 20px 30px;
	}
}

@media screen and (max-width: 350px) {
	nav a {
		padding: 15px 7px;
	}

	main {
		padding: 50px 20px 60px;
	}

	footer {
		margin: 10px 20px 10px 20px;
	}
}
