/*!
Theme Name: Crooud
Theme URI: http://underscores.me/
Author: Crooud
Author URI: https://crooud.com/
Description: Crooud Theme
Version: 1.0.0
Tested up to: 7.0
Requires PHP: 8.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: crooud
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Crooud is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--font-instrument-serif: "Instrument Serif", serif;
	--font-inter: "Inter", sans-serif;
	--font-jetbrains-mono: "JetBrains Mono", monospace;

	--color-bg: #EBE5DA;
	--color-secondary: #E1DACC;
	--color-black: #1A1410;
	--color-brown: #6B6259;
	--color-red: #B11116;
}

*, *::before, *::after {
	transition: all 0.25s ease;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-family: var(--font-instrument-serif);
	line-height: 1.2;
}
svg {
	max-width: 100%;
}
blockquote {
	border-left: 1px solid var(--color-brown);
	padding-left: 40px;
	margin: 0 0 32px 0;
	color: var(--color-black);
}

html {
	scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	font-family: var(--font-inter);
	font-size: 1rem;
	line-height: 2rem;
	background: var(--color-bg);
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.container {
	position: relative;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
.container-inner {
	position: relative;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
.container-full {
	position: relative;
	width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
}

header#masthead {
	border-bottom: 1px solid var(--color-brown)
}
.mega-menu::before {
	content: '';
	position: absolute;
	top: -42px;
	left: 0;
	right: 0;
	height: 44px;
}


footer,
footer a {
	color: #fff;
}
footer a:hover {
	color: var(--color-red);
	text-decoration: underline;
}
footer .menu .title {
	font-family: var(--font-jetbrains-mono);
	margin-bottom: 12px;
}
footer .menu ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}
footer .menu ul li {
	font-weight: 700;
}
