* {
	box-sizing: border-box;
}

:root {
	--swiper-theme-color: rgb(58, 57, 58);
	--swiper-navigation-size: 44px;

	font-family: "Open Sans", sans-serif;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}
}

html,
body {
	margin: 0;
	min-height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	background-color: rgb(225, 224, 225);
}

body > header {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid black;
	background-color: rgb(122, 121, 122);
}

body > header a {
	text-decoration: none;
}

body > header > nav {
	display: flex;
	background-color: rgb(58, 57, 58);
	padding-left: 60px;
	padding-right: 10px;
	clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
	transition: clip-path 100ms ease;
	overflow-x: auto;
}

body > header > nav a {
	color: white;
	position: relative;
	width: max-content;
}

body > header > nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background-color: transparent;
	transition: background-color 150ms ease;
}

body > header li.nav-active a::after,
body > header li:hover a::after {
	background-color: white;
}

body > header > nav > ul {
	display: flex;
	list-style: none;
	gap: 3ch;
	padding: 0;
	margin: 0;
}

body > header li {
	border-bottom: 1px solid transparent;
	transition: border-bottom 150ms ease;
	display: flex;
	align-items: center;
	padding: 1rem 0;
}

body > header li:last-of-type {
	background-color: white;
	padding: 0 2ch;

	--top: 5px;
	--bottom: calc(100% - 5px);
	--top-left: 0 var(--top);
	--top-right: calc(100% - 2ch) var(--top);
	--mid-right: 100% 50%;
	--bottom-right: calc(100% - 2ch) var(--bottom);
	--bottom-left: 0 var(--bottom);
	--mid-left: 1ch 50%;
	clip-path: polygon(
		var(--top-left),
		var(--top-right),
		var(--mid-right),
		var(--bottom-right),
		var(--bottom-left),
		var(--mid-left)
	);

	transition: clip-path 150ms ease;
}

body > header li:last-of-type:hover {
	--mid-left: 0 50%;
	--top-right: 100% var(--top);
	--bottom-right: 100% var(--bottom);
}

body > header li:last-of-type a {
	color: rgb(88, 87, 88);
}

body > header li.nav-active:last-of-type a::after,
body > header li:hover:last-of-type a::after {
	background-color: rgb(88, 87, 88);
}

@media (max-width: 850px) {
	body > header {
		flex-direction: column;
	}

	body > header > nav {
		clip-path: none;
		padding-left: 10px;
		border-top: 1px solid rgb(88, 87, 88);
	}

	body > header > nav:hover {
		clip-path: none;
	}
}

body > main {
	flex: 1;
	padding: 0.5rem 0 0;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

body > footer {
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
	text-align: center;
}

body > footer > * {
	padding: 0 0.5rem;
}

body > footer .footer-site-disclaimer {
	border-top: 1px solid rgb(58, 57, 58);
	padding: 1rem 0;
	font-style: italic;
	text-align: center;
	font-size: 0.9em;
	background-color: rgb(58, 57, 58);
	color: white;
}

body > footer .footer-site-main {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem 0;
	background-color: rgb(58, 57, 58);
	color: white;
}

body > footer .footer-site-firstfruits-logo-wrapper {
	display: flex;
	justify-content: center;
}

body > footer .footer-site-firstfruits-logo-wrapper a {
	display: contents;
}

body > footer .footer-site-firstfruits-logo-wrapper a img {
	width: 150px;
	height: 150px;
	padding: 15px;
	background-color: white;
	clip-path: circle(75px);
}

body > footer p {
	margin-bottom: 0.75em;
}

body > footer p a {
	background-color: white;
	padding: 0 4px;
	margin: 0 4px;
	border-radius: 4px;
}

body > footer .fa-heart {
	color: red;
}

body > footer .flag-icon {
	margin-left: 0.5ch;
	margin-right: 0.5ch;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1em;
}

h1 {
	font-size: x-large;
	text-align: center;
	margin-top: 1rem;
}

a {
	text-decoration: none;
	color: rgb(42, 130, 218);
}

a .fa-external-link-alt {
	font-size: 0.9em;
	margin-right: 0.2ch;
}

a.url {
	word-break: break-all;
}

img,
video {
	max-width: 100%;
	max-height: 100%;
	object-fit: scale-down;
}

.header-logo-name {
	display: flex;
	align-items: center;
	margin: 0;
	gap: 20px;
	background-color: rgb(58, 57, 58);
	padding: 0.5rem;
	padding-left: 10px;
	padding-right: 50px;
	color: white;
	clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
	transition: clip-path 250ms ease;
}

.header-logo-name:hover {
	clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%);
}

.header-name {
	font-size: 1.1rem;
}

.header-name-2 {
	font-size: 0.7em;
}

.header-logo {
	font-size: 1.5rem;
}