@font-face {
	font-family: 'Red Hat Display';
	src: url('./fonts/RedHatDisplay/static/RedHatDisplay-Regular.ttf');
}
@font-face {
	font-family: 'Questrial';
	src: url('./fonts/Questrial/Questrial-Regular.ttf');
}
@font-face {
	font-family: 'Bebas Neue';
	src: url('./fonts/Bebas_Neue/BebasNeue-Regular.ttf');
}


*, *::before, *::after
{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	font-size: 18px;
}

html, body {
	padding: 0;
	margin: 0;
	width: 100%;
	min-height: 100%;
}

body {
	font-family: 'Red Hat Display', 'Questrial', Tahoma, Geneva, sans-serif;

	background-color: #fff;
	color: #606060;

	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#defs {
	display: none;
}

header {
	padding: .4em 0 .8em 0;
	margin-bottom: 3em;

	background-color: #0B6181;
	color: #F2EAE0;

	text-align: center;
}

header h1 {
	margin: 0;

	font-family: 'Bebas Neue', 'Red Hat Display', 'Questrial', Tahoma, Geneva, sans-serif;
	font-size: 6em;
	font-weight: normal;
}

header h2 {
	margin: 0;

	font-size: 1.5em;
}

header, section, footer {
	margin-left: 5%;
	margin-right: 5%;

	-webkit-transition: margin-left .5s ease .1s, margin-right .5s ease .1s;
	-moz-transition: margin-left .5s ease .1s, margin-right .5s ease .1s;
	-ms-transition: margin-left .5s ease .1s, margin-right .5s ease .1s;
	-o-transition: margin-left .5s ease .1s, margin-right .5s ease .1s;
	transition: margin-left .5s ease .1s, margin-right .5s ease .1s;
}

footer {
	margin-top: 1.5em;
}

section p {
	margin-top: 0;
	margin-bottom: .3em;

	line-height: 1.5em;
}

section.top p {
	font-style: italic;
}

section p + p {
}

button.more {
	appearance: none;
	border: 0;
	background: none;
	padding: .25rem 0;
	margin-top: .5rem;

	display: inline-flex;
	align-items: center;
	gap: .4rem;

	font: inherit;
	font-size: .9em;
	font-weight: 600;
	color: #606060;

	cursor: pointer;
}

button.more::after {
	content: "";
	width: .6rem;
	height: .6rem;

	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;

	transform: rotate(45deg) translateY(-2px);
	transition: transform 200ms ease;
}

button.more[aria-expanded="true"]::after {
	transform: rotate(225deg) translate(-1px, -1px);
}

/* Handle different screen sizes (above everything is based on small 320px screen) */
@media only screen and (min-width: 300px) {
	body {
		font-size: 1.1em;
	}
}

@media only screen and (min-width: 480px) {
	header, section, footer {
		margin-left: 8%;
		margin-right: 8%;
	}
	section p.more {
		padding-left: 0;
	}
}

@media only screen and (min-width: 600px) {
	header, section, footer {
		margin-left: 10%;
		margin-right: 10%;
	}
}

@media only screen and (min-width: 768px) {
	body {
		font-size: 1.1em;
	}
	header, section, footer {
		margin-left: 12%;
		margin-right: 12%;
	}
	section p.more {
		padding-left: 1em;
	}
}

@media only screen and (min-width: 940px) {
	body {
		font-size: 1.3em;
	}
	header, section, footer {
		margin-left: 15%;
		margin-right: 15%;
	}
	section p.more {
		padding-left: 2em;
	}
}

@media only screen and (min-width: 1280px) {
	body {
		font-size: 1.4em;
	}
}

#greeting {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Handle different screen sizes (above everything is based on small 320px screen) */
@media only screen and (min-width: 600px) {
	#greeting {
		flex-direction: row;
		justify-content: space-between;
	}
}

#goodbye {
	height: 5em;
	white-space: pre;
}

#goodbye .message {
	line-height: 1.4em;
}

#goodbye .cursor {
	display: inline-block;
	background-color: #606060;
	width: 0.7em;
	height: 1.2em;
	line-height: 1.4em;
	vertical-align: text-bottom;

	-webkit-transition: background-color .5s ease 1s;
	-moz-transition: background-color .5s ease 1s;
	-ms-transition: background-color .5s ease 1s;
	-o-transition: background-color .5s ease 1s;
	transition: background-color .5s ease 1s;
}

#goodbye .cursor.hidden {
	background-color: #ffffff;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

/* Handle different screen sizes (above everything is based on small 320px screen) */
@media only screen and (min-width: 600px) {
	img {
		width: 50%;
		max-width: 20em;
	}
}

a {
	text-decoration: none;
	color: #6060ff;
}

a:hover {
	text-decoration: underline;
}

.icon {
	display: inline-block;
	margin: 0 2px 0 2px;
	vertical-align: middle;
}

.icon svg {
	width: 1em;
	height: 1em;
}

.icon svg path {
	fill: #606060;
}

.no-break {
	white-space: pre;
}
