:root {
	--primary-color: #1D1D1D;
	--secondary-color: #BFB59B;
}

body {
	background-color: var(--primary-color);
	color: var(--secondary-color);
}

html {
	scroll-behavior: smooth;
	height: 100%;
}

main {
	flex: 1 0 auto;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(3, 440px);
	gap: 30px;
	grid-auto-rows: 1px;
}

.grid-item {
	position: relative;
}

.grid-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

@media (max-width: 1400px) {
	.grid-container {
		grid-template-columns: repeat(2, 440px);
	}
}

@media (max-width: 768px) {
	.grid-container {
		grid-template-columns: repeat(1, 440px);
	}
}

.fade-in {
	animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.center-content {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

a:link,
a:visited {
	text-decoration: none;
}

.block {
	margin-top: 0rem;
	margin-bottom: 0rem;
}

.block-others {
	position: relative;
	width: 100%;
}

.small_page_title {
	text-align: center;
	margin-top: 100px;
}

h1, h2, h3 {
	font-family: Forum;
}

p {
	font-family: Lora;
	font-weight: 100;
}

.cta {
	font-family: Cormorant;
	font-size: 18px;
	letter-spacing: .2rem;
	padding: 14px 20px;
}

html {
	font-size: 18px;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

p {
	font-size: 1rem;
}

/* Adjust font sizes for smaller screens */
@media (max-width: 768px) {
	html {
		font-size: 16px;
	}

	body {
		font-size: 100%;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	p {
		font-size: 0.875em;
	}
}

@media (max-width: 480px) {
	html {
		font-size: 14px;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	h3 {
		font-size: 1.25rem;
	}

	p {
		font-size: 0.8125em;
	}
}

.button-container {
	margin-top: 30px;
	justify-content: center;
}

@media (max-width: 768px) {
	.button-container {
		margin-top: 10vh;
	}
}