@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");

:root {
	font-family: "IBM Plex Sans", sans-serif;
	scroll-behavior: smooth;
	-webkit-tap-highlight-color: transparent;
}
html,
body {
	min-height: 100vh;
	min-width: 100vw;
}
body {
	display: grid;
	place-items: start center;
	height: max-content;
	background-color: var(--color-lochmara-50);
	overflow-x: hidden;
}
nav {
	width: 100%;
	z-index: 10;
	background-color: transparent;
}
.nav-content {
	padding: 1.5rem;
}
h1 {
	color: var(--color-lochmara-950);
	line-height: 1;
}

a {
	color: var(--color-lochmara-950);
	font-weight: 500;
	font-size: 1.25em;
}

section {
	flex-direction: column;
	font-size: 1.5em;
	margin-top: 5rem;
}
.paragraph {
	line-height: 1.3;
}
section h1 {
	margin: 0;
	font-size: 2.75em;
}
.paragraph.offset {
	margin-inline: 0.5em;
}

body.menuOpen {
	overflow: hidden;
}
.testimonial {
	gap: 1rem;
	position: relative;
	display: grid;
	grid-template-columns: 50px 1fr;
	grid-template-rows: 1fr;
	place-items: center;
}
.contacts {
	gap: 1rem;
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr;
	grid-template-rows: 1fr;
	font-size: 1.15rem;
	place-items: center left;
}
.contacts svg,
.contacts img {
	width: 100%;
}
.contact-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 3rem;
	flex-wrap: wrap;
}

.testimonial img,
.testimonial svg {
	width: 100%;
}
.testimonial.no-transition {
	transition: none;
}
h2 {
	color: var(--color-lochmara-950);
	font-size: 1.55em;
}
.marquee {
	margin-top: 2rem;
	gap: 2em;
	font-size: 1.25rem;
}
.testimonial h2 {
	font-weight: 500;
}

.center {
	text-align: center;
}
.inverse li.unseen:not(.show),
article:not(.inverse) h2.unseen:not(.show) {
	transform: translateX(75px);
}

.unseen {
	opacity: 0;
	transform: translateX(-75px);
	transition-duration: 700ms;
	transition-timing-function: ease-out;
	transition-property: opacity, transform;
	transition-delay: 100ms;
}
.unseen.up {
	transform: translateX(0) translateY(75px);
}
.unseen.right {
	transform: translateX(75px);
}
h2.unseen,
h1.unseen,
main.unseen {
	transition: transform 600ms ease;
}
.unseen.show,
h2.show {
	opacity: 1;
	transform: translateX(0) translateY(0);
}

article {
	display: grid;
	width: 100%;
	position: relative;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 50px 1fr;
	column-gap: 1em;
	margin: 3em 0;
}
article.inverse div.image {
	grid-column: 2;
	margin-left: auto;
}
article.inverse h2 {
	grid-column: 1;
	grid-row: 1;
}
article div.image {
	grid-row: span 2;
	border-radius: 7.5px;
}
article ul {
	padding-left: 1em;
	margin-top: 0;
}
article ul li {
	margin: 0.5em 0;
}
ul li::marker {
	color: var(--color-lochmara-600);
}
article h2 {
	margin: 0;
}
.first-section {
	margin-top: 2em;
}
footer {
	min-height: 600px;
	margin-top: 1em;
	background-color: var(--color-lochmara-900);
	width: 100%;
	display: grid;
	place-items: center;
}
footer * {
	color: var(--color-lochmara-50);
}
.footer-links {
	height: fit-content;
	gap: 1.5em;
	display: grid;
}
.footer-links,
.footer-about {
	height: fit-content;
}
.footer-content {
	max-width: 1480px;
	width: calc(2 / 3 * 100%);
	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 1fr 1fr;
	place-items: center;
}

footer a {
	color: var(--color-lochmara-50);
	text-align: left;
	font-weight: 400;
}
footer a::after {
	content: none;
}

div.vertical {
	max-width: 400px;
	max-height: 500px;
	width: 100%;
	aspect-ratio: 4/5;
	background-size: cover;
	background-position: center;
}
div.vertical.icon {
	background-color: var(--color-lochmara-200);
	display: grid;
	place-items: center;
}
div.vertical.icon svg {
	width: 150px;
}

.paragraph .contact {
	font-size: 1em;
	padding: 0;
	background-color: transparent;
	color: var(--color-lochmara-600);
	font-weight: 800;
}
blockquote {
	border-left: 10px solid var(--color-lochmara-600);
	background-color: var(--color-lochmara-100);
	width: fit-content;
	margin-inline: 0.2em;
	margin-block: 0.35em;
	padding: 0.5em;
	padding-left: 0.65em;
	border-radius: 5px;
}
.pdf-links {
	margin: 0;
	padding: 0;
}
.pdf-links li {
	display: flex;
	margin-block: 1em;
	align-items: center;
	gap: 0.65em;
	color: var(--color-lochmara-800);
	font-weight: 500;
}

.pdf-links li > a,
.pdf-links li > a::after,
a.special-links,
a.special-links::after {
	all: unset;
	cursor: pointer;
	font-size: 1em;
}

a.special-links {
	margin-block: 1em;
	font-weight: 700;
	color: var(--color-lochmara-700)
}

.pdf-links li::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	background-image: url("../public/pdf.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.pdf-links li.exe::before {
	background-image: url("../public/exe-file.png");
}
.pdf-links li::marker {
	display: none;
	color: transparent;
}
table {
	font-size: 0.8em;
	border-collapse: collapse;
}
td {
	text-align: center;
	border: 1px var(--color-lochmara-700) dashed;
	padding: 0.35em;
}
.table-container {
	max-width: 100vw;
	overflow: scroll;
}
li.twoliner {
	flex-wrap: wrap;
}
li.twoliner p {
	width: 100%;
	color: var(--color-lochmara-950);
	margin-top: 0;
	font-size: 0.8em;
}

@media screen and (max-width: 1460px) {
	.nav-content {
		min-width: unset;
		max-width: 100%;
		width: 100%;
	}
}

@media screen and (max-width: 1000px) {
	.nav-content {
		min-width: unset;
		max-width: 100%;
		width: 100%;
	}
	.nav-links-container {
		position: fixed;
		top: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: var(--color-lochmara-500);
		width: 100vw;
		height: 100vh;
	}
	.nav-links-container .contact {
		background-color: var(--color-lochmara-500);
	}
	.nav-links-container a {
		color: var(--color-arapawa-50);
	}
	p.paragraph {
		font-size: 0.8em;
		line-height: 1.6;
	}
	section h1 {
		font-size: 2em;
		right: 0;
	}
	.marquee {
		font-size: 1rem;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
	}
	.testimonial img,
	.testimonial svg {
		width: 100%;
	}
	.footer-content {
		width: 100%;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
		padding-inline: 5.5em;
	}
	.footer-about {
		width: 100%;
	}
	.footer-links {
		grid-template-columns: 1fr 1fr;
	}
	.footer-links a {
		width: fit-content;
	}
	table {
		font-size: 0.6em;
	}
	.pdf-links li > a,
	.pdf-links li > a::after,
	a.special-links,
	a.special-links::after {
		font-size: 0.8em;
	}
}

@media screen and (min-width: 1001px) {
	.delay-100 {
		transition-delay: 200ms;
	}
	.delay-200 {
		transition-delay: 400ms;
	}
	.delay-1 {
		transition-delay: 100ms;
	}
	.delay-2 {
		transition-delay: 200ms;
	}
	.delay-3 {
		transition-delay: 300ms;
	}
	.delay-4 {
		transition-delay: 400ms;
	}
	.delay-5 {
		transition-delay: 500ms;
	}
	.marquee {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
	}
	.testimonial {
		grid-template-columns: 65px 1fr;
	}
}
