@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap");

/* General */
:root {
	--primary-text: #484848;
	--white: #ffffff;
	--secondary-background: #252525;
	--chutneys: #aa7657;
	--jams: #b16e76;
	--jellies: #70585e;
	--marmalades: #666c62;
	--mustard: #ab916c;
	--red: #9c5d51;
	--header-height: 11rem;
}

* {
	font-family: "Karla", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Karla", sans-serif;
	font-weight: 700;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--white);
	font-weight: 700;
	color: var(--primary-text);
}

a {
	color: var(--primary-text) !important;
}

/* Positioning/Sizing */
.center-hor {
	display: flex !important;
	justify-content: space-around;
	align-items: center;
}

.center {
	text-align: center;
}

.no-margin {
	margin: 0 !important;
}

.vertical-stack {
	flex-direction: column;
}

.hidden {
	visibility: hidden;
}

.visible {
	visibility: visible;
}

/* Header */
header {
	color: var(--primary-text);
	background-color: var(--white);
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 2;
	transition: top 0.3s;
	font-size: 19px;
}

header .row {
	display: flex;
	align-items: center;
	height: var(--header-height);
	margin: auto;
}

header .column {
	margin-bottom: 0 !important;
}

#logo img {
	width: 14rem;
	padding-top: 1rem;
}

#menu {
	flex-grow: 1;
	flex-basis: 200%;
}

nav {
	text-align: center;
}

nav ul {
	margin: 0;
	display: flex;
	justify-content: space-evenly;
}

nav li {
	display: inline-block;
	margin-bottom: 0;
}

nav li:hover {
	text-decoration: underline;
}

nav li a.active {
	text-decoration: underline;
}

#socials {
	text-align: right;
}

#socials i {
	margin-left: 1rem;
}

#hamburger {
	display: none;
}

/* Footer */
footer {
	background-color: var(--secondary-background);
	color: var(--white);
	width: 100%;
	flex-shrink: 0;
	font-weight: 400;
	font-size: small;
}

footer .row {
	display: flex;
	align-items: center;
	padding: 2rem 0;
	max-width: var(--max-width);
	text-align: center;
	margin: auto;
}

footer a {
	color: var(--white) !important;
}

/* Content */
main {
	display: flex;
	flex: 1 0 auto;
	/* margin: var(--header-height) 0 0 0; */
	width: 100%;
	flex-direction: column;
	justify-content: center;
}

section.panel .bg {
	background-blend-mode: soft-light;
	background-size: cover;
	opacity: 0.05;
	height: 100%;
	position: absolute;
	width: 100%;
}

section .container {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

/* Cookie Prompt */
#cookie-prompt {
	text-align: left;
	display: none;
	position: fixed;
	background: var(--secondary-background);
	color: var(--white);
	bottom: 0;
	width: 100%;
	padding: 1.5rem;
	z-index: 3;
	margin-bottom: 0 !important;
}

#cookie-prompt a {
	color: var(--chutneys) !important;
}

#cookie-prompt .button-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#cookie-prompt .button {
	background-color: var(--white) !important;
	color: var(--primary-text) !important;
	border: none !important;
}

/* 404 */
#missing p {
	text-align: center;
	width: 100%;
	font-size: 2rem;
}

/* Mobile */
@media only screen and (max-width: 1024px) {
	/* Header */
	header .row {
		height: auto;
		flex-direction: column;
		margin: 0;
		width: 100%;
	}

	#logo {
		display: flex;
		justify-content: space-between;
		padding-top: 1rem;
	}

	nav#menu {
		text-align: left;
		display: none;
	}

	nav ul {
		display: block;
	}

	.mobile-fixed {
		position: absolute;
		background: var(--white);
		font-size: 2rem;
		height: 100vh;
	}

	nav li {
		width: 100%;
		height: 5rem;
		line-height: 5rem;
	}

	#socials {
		display: none;
		text-align: left;
		height: 5rem;
		line-height: 5rem;
		margin-left: 0 !important;
		margin-right: 1rem;
	}

	#hamburger {
		display: flex;
		align-items: center;
		font-size: 2rem;
	}

	/* Content */
	section .container {
		padding: 3rem;
	}

	section#top {
		justify-content: start;
	}

	#landing {
		/* min-height: auto; */
		height: 100%;
		margin-top: 0;
		padding-top: 10rem;
	}

	/* Positioning */
	.center-hor {
		margin-top: 0;
		/* margin-top: 10rem; */
	}

	/* Cookie Prompt */
	#cookie-prompt {
		text-align: center;
	}

	#cookie-prompt .column {
		max-width: 100%;
	}

	#cookie-prompt .button {
		margin: 1rem auto;
	}
}

@media only screen and (max-width: 640px) {
	h2 {
		font-size: 3rem;
	}

	section#top {
		min-height: auto !important;
	}

	#logo img {
		width: 10rem;
	}

	section .container {
		padding: 2rem;
	}
}
