@font-face {
	font-family: "remixicon";
	font-style: normal;
	font-display: swap;
	src: url("/fonts/remixicon.ttf");
}

:root {
	--bg: #FFFFFF;
	--fg: #000000;
	--accent: #FECA3A;
	--accent-hover: #FFD866;
}

body {
	font-family: "Montserrat";
	font-weight: 400;
	background-color: var(--bg);
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	scroll-padding-top: 1em;
	overflow-y: scroll;
	overflow-x: hidden;
}

.contact {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding-right: 0.4em;
}

.contact > span > a, .contact > span > span {
	margin-left: 0.4em;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.contact .icon, .contact .icon, .contact .icon {
	color: var(--accent);
	font-size: 16pt;
}

.contact span a .icon,  {
	margin-right: 0.1em;
}

header {
	padding-top: 0.5em;
	background-color: #FAFAFA;
}

nav {
	top: 0;
	left: 0;
	right: 0;
	max-width: 100vw;
	background-color: #FAFAFA;
	position: sticky;
	z-index: 99;
	padding: 0.5em;
	box-shadow: var(--fg) 0px 4px 8px -6px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

#nav-right {
	margin-top: 0.5em;
}

#nav-right a {
	margin-right: 0.6em;
	color: var(--fg);
	text-decoration: none;
}

#nav-right a:hover {
	text-decoration: 1pt solid underline;
	text-underline-offset: 6pt;
	text-decoration-color: var(--accent);
}

:target {
	scroll-margin-top: 200px;
}

section > h1 {
	font-size: 1.5em;
}

footer {
	background-color: #121212;
	margin: 0;
	color: white;
	margin-top: 2em;
	padding: 1em;
}

#footer-line {
	background-color: #333333;
	width: 100%;
	height: 1px;
	position: relative;
	margin: 0.6em 0;
}

#copyright-info {
	font-size: 10pt;
}

.icon {
	font-family: "remixicon";
	color: var(--accent);
}

.icon:hover {
	color: var(--accent-hover);
}

a {
	color: inherit;
}

.button {
	background-color: var(--accent);
	border: none;
	border-radius: 1em;
	box-shadow: black 0px 2px 8px -4px;
	color: var(--fg);
	display: block;
	font-weight: bold;
	padding: 0.5em 1.5em;
	text-decoration: none;
	width: fit-content;
	text-shadow: none;
}

.button:hover {
	background-color: var(--accent-hover);
}

@media (max-width: 805px) {
	.contact-text {
		display: none;
	}

	.contact span a .icon, .contact span .icon, .contact span span .icon {
		font-size: 20pt;
	}
}

@media (max-width: 745px) {
	nav {
		justify-content: center;
	}

	#nav-right a {
		margin-right: 1em;
	}
}

@media (max-width: 410px) {
	nav a img {
		width: 100%;
	}
}

@media (max-width: 375px) {
	#nav-about {
		display: none;
	}
}
