:root {
	overscroll-behavior: none;
	--main-color: rgba(0, 47, 175, 0.6);
	--brand-color: rgba(255, 166, 0);
	--shadow: rgba(0, 0, 0, 0.35) -0.25rem 0.5rem 1rem;
}

body {
	padding: 0px;
	margin: 0px;
	min-height: 100dvh;
	grid-template-columns: 1fr;
	display: grid;
	grid-template-rows: 25%;
	align-items: center;
	justify-items: center;
	font-family: "Capriola", Arial Rounded MT Bold, Arial, sans-serif;
	background-image: url(FarmlandBackgroundBlur.avif);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

body :hover {
	cursor: default;
}

img::selection {
	background-color: transparent;
	color: transparent;
}

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

.top {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	grid-row: 1;
	grid-column: 1;
	text-align: center;
	padding: min(1rem, 6.5%);
	z-index: 100;
}

.top h1 {
	font-size: clamp(2.5rem, 1.5rem + 1.5vw, 4rem);
	white-space: wrap;
	padding: min(1rem, 2rem);
	background-color: var(--main-color);
	border-radius: 2rem;
	box-shadow: var(--shadow);
	transition: 0.6s;
}

.top h1:hover {
	backdrop-filter: blur(5px);
	transition: 0.6s;
}

.idk {
	grid-row: 1;
	display: flex;
	flex-direction: row;
	width: 98vw;
	grid-column: 1;
	justify-content: space-between;
	margin-top: 1rem;
}

.idk img {
	/* width: clamp(5rem, calc(10rem + 2vh), 20rem); */
	width: max(8rem, calc(5% + 3vw));
	height: auto;
	aspect-ratio: 1/1;
	align-self: flex-start;
	align-content: flex-start;
	pointer-events: none;
}

.idk a {
	align-self: flex-start;
	align-content: flex-start;
	color: white;
	text-decoration: none;
	transition: 0.4s cubic-bezier(0.61, 1.08, 0.37, 1);
	text-align: center;
	font-size: clamp(1.25rem, calc(1vw + 1.15rem), 1.75rem);
	background-color: var(--main-color);
	padding: 1rem;
	border-radius: 2.5rem;
	box-shadow: var(--shadow);
}

.idk a:hover {
	cursor: pointer;
	scale: 1.1;
	transition: 0.4s cubic-bezier(0.61, 1.08, 0.37, 1);
	backdrop-filter: blur(5px);
}

.content {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: min(3rem, 7.5rem);
	row-gap: min(3rem, 7.5rem);
	align-items: center;
	align-self: center;
	justify-self: center;
	justify-content: center;
}

.box1 {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 8rem;
	max-width: 17.5rem;
	height: clamp(15rem, 50vh, 20rem);
	background-color: var(--main-color);
	align-self: center;
	padding-left: min(1rem, 4rem);
	padding-right: min(1rem, 4rem);
	padding-top: min(3rem, 7.5rem);
	padding-bottom: min(3rem, 7.5rem);
	border-radius: 2.5em;
	margin-left: 1rem;
	margin-right: 1rem;
	box-shadow: var(--shadow);
	transition: 0.6s;
}

.box1:hover {
	backdrop-filter: blur(5px);
	transition: 0.6s;
}

.content h2 {
	font-size: clamp(1.9rem, calc(1vw + 1rem), 2.25rem);
	padding-bottom: 2rem;
	padding-top: 1rem;
}

.content p {
	font-size: clamp(0.5rem, calc(0.2vw + 1rem), 1.5rem);
	padding-bottom: 1rem;
}

.box2 {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 8rem;
	max-width: 17.5rem;
	height: clamp(15rem, 50vh, 20rem);
	background-color: var(--main-color);
	align-self: center;
	padding-left: min(1rem, 4rem);
	padding-right: min(1rem, 4rem);
	padding-top: min(3rem, 7.5rem);
	padding-bottom: min(3rem, 7.5rem);
	border-radius: 2.5em;
	margin-left: 1rem;
	margin-right: 1rem;
	box-shadow: var(--shadow);
	transition: 0.6s;
}

.box2:hover {
	backdrop-filter: blur(5px);
	transition: 0.6s;
}

::selection {
	color: rgba(255, 255, 255, 1);
	background-color: rgba(30, 255, 30, 0.3);
	text-shadow: rgba(0, 0, 0, 0.6) 0.2rem 0 1rem;
}

@media (max-width: 950px) {
	body {
		row-gap: 3rem;
		grid-template-rows: inherit;
	}
	.idk {
		grid-row: 3;
		justify-content: space-evenly;
		padding-bottom: 1rem;
	}

	.idk a {
		aspect-ratio: 1/1;
		width: clamp(7.5rem, 15%, 13rem);
		margin-right: 2rem;
		align-content: center;
		padding: 0px;
		word-spacing: 10000cm;
		/* please send me a picture of your monitor to me if it's wider than 100 meters and this breaks */
	}

	.idk img {
		margin-left: 2rem;
		width: clamp(7.5rem, 15%, 13rem);
	}
}

@media (max-width: 691px) {
	.content {
		column-gap: 0px;
	}
}

/* disables hovering on devices that can't hover over elements (mostly mobile devices) */

@media (hover: none) {
	body :hover {
		pointer-events: none;
	}

	.idk a {
		border: 0.2rem solid white;
		background-color: rgba(0, 37, 138, 0.75);
		pointer-events: all;
	}
}
