/* Simple CSS reset */

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

* {
	margin: 0;
}

body {
	font-family: Inter,Arial,sans-serif;
	font-size: 18px;
	line-height: 1.5;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

input, button, textarea, select {
	font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

body>.max-width>* {
	margin: 0 auto;
	max-width: 1230px;
	padding: 0 2rem;
}

/* Header bar */

.max-width:has(header) {
	background-color: rgb(229, 229, 229);
}
header {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;

	font-family: "JetBrains Mono", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.31rem;
	line-height: 1.8;
	letter-spacing: 0.11rem;
}
header a {
	color: black;
	text-decoration: none;
	padding-right: 2rem;
}
header img {
	height: 18rem;
	width: auto;
	margin: -3.5rem 0;
}
nav {
	display: flex;
	list-style: none;
}

/* Hero image and title */

.max-width:has(#intro) {
	padding: 4.5rem 0;
	background-size: cover;
	background-position: 0% 50%;
	background-attachment: scroll;
	background-color: #000000;
	background: url(/images/Head-Image-Fader-scaled.jpg) right center / cover no-repeat scroll black;
}

#intro h1 {
	padding-top: 8rem;
	font-family: "Anuphan", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 6.5rem;
	line-height: 5.5rem;
	color: white;
	max-width: 44rem;
}

#intro h2 {
	padding-top: 2rem;
	font-family: "Domine", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 2.25rem;
	letter-spacing: 1px;
	line-height: 1.25;
	max-width: 25rem;
	color: rgb(87, 165, 255);
}	

/* About Virtual Leo */

.max-width:has(#about) {
	padding: 4.5rem 0;
	background-color: rgb(87, 165, 255);
	font-size: 1.4rem;
}

#about {
	display: flex;
}

#about p {
	margin-top: 2rem;
	font-family: "Anuphan", sans-serif;
	letter-spacing: 0.032rem;
	line-height: 2.8rem;
	color: rgb(41, 42, 44);
	max-width: 48rem;
}

#about p em {
	color: white;
	font-style: inherit;
}

#about p:first-child {
	font-family: Inter,Arial,sans-serif;
	font-size: 5.9rem;
	font-weight: 700;
	letter-spacing: -0.2rem;
	line-height: 1.2;
	white-space: pre;
	color: rgb(0, 75, 164);
}

#about ul {
	color:rgb(0, 75, 164);
	list-style: none;
	margin-top: 2rem;
	padding: 0 0 0 2rem;
	width: 30rem;
	padding-left: 7rem;
}

#about img {
	width: 7rem;
	height: auto;
	float: left;
	margin: 0.5rem 1rem 0 0;
}

#about li>span {
	font-size: 5.6rem;
	font-weight: 700;
	line-height: 1;
	margin: 1rem 0 0 -7rem;
	display: block;
}
#about li>span:after {
	content: '\a';
	white-space: pre;
}

/* Preview renders */

.max-width:has(#preview) {
	padding: 4.5rem 0;
	background-color: #546431;
	color: white;
}

#preview {
	columns: 2 auto;
	column-gap: 2rem;
}

#preview p {
	font-family: Inter,Arial,sans-serif;
	font-size: 1.25rem;
	letter-spacing: 0.032rem;
	line-height: 1.9;
	margin-top: 1.25rem;
}

#preview p:first-child {
	font-size: 3.5rem;
	font-weight: 700;
	letter-spacing: -0.07rem;
	line-height: 1.45;
}

#preview img {
	width: 100%;
	height: auto;
	margin-top: 2rem;
}

/* Download */

.max-width:has(#download) {
	padding: 7.5rem 0;
	background-color: rgb(211, 211, 211);
	font-size: 1.4rem;
	color: rgb(41, 42, 44);
}

#download h1 {
	margin: 1.9rem 0 2.5rem 0;
	font-family: "Anuphan", sans-serif;
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 3.8rem;
	letter-spacing: 0.066rem;
	text-align: center;
}

#download ul {
	display: flex;
	list-style: none;
	padding: 0;
	justify-content: space-around;
	align-items: flex-start;
	gap: 1.5rem;
}

#download ul>li {
	flex-basis: 33%;
	flex: 1;
}

#download h2 {
	font-family: "JetBrains Mono", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 2.5rem;
	line-height: 1.8;
	letter-spacing: 0.03rem;
	text-align: center;
}

#download p {
	font-family: Inter,Arial,sans-serif;
	font-size: 1.25rem;
	letter-spacing: 0.032rem;
	line-height: 1.9;
	margin-top: 1.25rem;
}

#download a {
	display: block;
	margin: 1rem auto;
	padding: 0.631rem;
	background: #2600ff;
	text-align: center;
	max-width: fit-content;
	font-family: "JetBrains Mono", sans-serif;
	font-size: 1rem;
	color: white;
	text-decoration: none;
	border-radius: 0.5rem;

	transition-property: background-color;
	transition-duration: 0.2s;
}

#download a[href="#"] {
	background: #727272;
}

#download a:hover {
	background: #ff8251;
}

/* Organisation credits */

.max-width:has(#credits) {
	padding: 7.5rem 0;
	background-color: white;
	font-family: "Anuphan", sans-serif;
	font-size: 2.5rem;
	color: rgb(41, 42, 44);
}

#credits {
	display: flex;
	justify-content: space-around;
	align-items: stretch;
	gap: 1.5rem;
}

#credits p {
	flex-basis: 33%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	letter-spacing: 0.03rem;
}

#credits p>span {
	font-size: 1.3rem;
	font-family: "Domine", sans-serif;
	letter-spacing: 0.08rem;

	color: rgb(38, 0, 255);
}

#credits img {
	max-width: 100%;
	height: auto;
	margin-top: 4rem;
}

/* Contact details */

.max-width:has(#contact) {
	padding: 3.75rem 0;
	background-color: #020202;
	font-family: "Domine", sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	color: white;
}

#contact>h1 {
	font-family: "Anuphan", sans-serif;
	font-size: 3.5rem;
	letter-spacing: 0.063rem;
	float: left;
	line-height: 1;
	padding: 0;
	border: none;
}

#contact address {
	padding-top: 0;
}

#contact a {
	color: white;
	text-decoration: none;
}

#contact a:hover {
	text-decoration: underline;
}

#contact>* {
	display: block;
	max-width: 35rem;
	margin: 2rem 0 2rem auto;
	font-style: normal;
	border-bottom: solid 0.25rem #555;
	margin: 0 0 0 auto;
	padding: 2rem 0;
}

#contact>*:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* Footer */

footer {
	padding: 3rem 0;
	background-color: white;
	font-family: "Anuphan", sans-serif;
	font-size: 1.25rem;
	line-height: 2;
	text-align: center;
}

footer a {
	display: inline-block;
	margin: 0 0.25rem;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

