body {
	font-family: "Poor Story", system-ui;
	font-weight: 400;
	font-style: normal;
	font-size: 3rem;

	margin: 0;
	padding: 0;
}

html {
	font-size: 62.5%;
}

html,
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.header {
	width: 100%;
	background: url(https://www.symprove.com/cdn/shop/articles/web_banners_new_5.png?v=1681469543&width=1500);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	backdrop-filter: blur(5px);
	display: flex;

	min-height: 80vh;
}

.header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4); /* black overlay */
	z-index: 1;
}

.header__container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	text-align: center;
}

.nutricari {
	font: inherit;
	font-family: "Sour Gummy", sans-serif;
	font-weight: 800;
	color: #b2f589;
}

.header__text-container {
	font: inherit;
	background-color: #ffffff8e;
	transform: skew(-10deg);
	padding: 3rem;
	border-radius: 0.9rem;
	margin-top: 10rem;
	backdrop-filter: blur(5px);
}

.header__text {
	transform: skew(10deg);
}

.title {
	font-size: 9rem;
	margin: 0 auto;
	text-transform: uppercase;
	z-index: 2;
	font-weight: 800;
	font-family: "Sour Gummy";
	color: #b2f589;
}

.white {
	color: white;
}

.background {
	background: linear-gradient(#fff, #e3ffd5, #b2f589);
}

.background2 {
	background: linear-gradient(#b2f589, #e3ffd5, #fff);
	width: 100%;
	height: 100%;
	position: relative;
}

.input-section {
	background: linear-gradient(#b2f589, #618c46);
	width: calc(100% - 15rem);
	margin: 3rem 5rem;
	padding: 3rem 2.5rem;

	border-radius: 0.4rem;
	box-shadow: 0.4rem 0.4rem 0.4rem #00000057;

	text-align: center;

	flex: 1;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.selection__desc {
	margin: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.selection__container {
	margin: 3rem 0;
}

.selection__select {
	padding: 0.7rem 2rem;
	min-width: 35rem;
	font: inherit;
	font-size: 2rem;
	box-shadow: 0.4rem 0.4rem 0.4rem #00000057;
	border-radius: 2rem;
	border: 1px solid #000;
	outline: none;
}

.btn {
	background-color: #ff7847;
	padding: 0.7rem 2rem;
	font-family: "Sour Gummy";
	font-weight: 700;
	font-size: 2rem;
	box-shadow: 0.4rem 0.4rem 0.4rem #00000057;
	border-radius: 2rem;
	border: 1px solid #000;
	cursor: pointer;
}

#custom {
	margin-left: 2rem;
}

.location__desc {
	margin: 2rem 0 0 0;
}

#submit {
	margin-top: 2rem;
}

.footer {
	padding: 2rem 3rem;
	background: url(https://www.symprove.com/cdn/shop/articles/web_banners_new_5.png?v=1681469543&width=1500);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;

	display: flex;
	justify-content: space-between;
	color: #fff;
	position: relative;
}

.footer__names,
.footer__love {
	z-index: 5;
}

.footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}
.map__container {
	position: relative;
}

#map {
	position: relative;
	top: 0;
	z-index: 1;
	outline: none;
}

.map__overlay {
	position: absolute;
	width: 100%;
	height: 40rem;
	z-index: 5;
	background-color: #00000056;
	backdrop-filter: blur(2px);

	top: 0;
	left: 0;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;

	visibility: visible;
	opacity: 1;

	transition: 0.2s all;
}

.map__overlay--hidden {
	visibility: hidden;
	opacity: 0;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #00000085;
	z-index: 100;
	backdrop-filter: blur(5px);

	visibility: visible;
	opacity: 1;

	transition: 0.3s all;
}

.modal__container {
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 2rem;
	box-shadow: 0.4rem 0.4rem 0.4rem #00000057;
}

.modal__close {
	position: absolute;
	top: 2rem;
	right: 2rem;
	font-size: 3rem;
	cursor: pointer;
}

.modal__header {
	background-color: #b2f589;
	padding: 2rem;
	border-radius: 2rem 2rem 0 0;
}

.modal__body {
	padding: 2rem;
}

.modal__title {
	margin: 0;
	font-family: "Sour Gummy";
}

input {
	padding: 0.7rem 2rem;
	font: inherit;
	font-size: 2rem;
	box-shadow: 0.4rem 0.4rem 0.4rem #00000057;
	border-radius: 2rem;
	border: 1px solid #000;
	outline: none;
}

.form {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.form__group {
	flex: 1 0 calc(50% - 4rem);
	display: flex;
	flex-direction: column;
}

.btn--submit {
	margin: auto;
	width: 100%;
	margin-top: 2rem;
}

.modal--hidden {
	visibility: hidden;
	opacity: 0;
}

.output-section {
	background: linear-gradient(#fff, #428636);
	width: calc(100% - 15rem);
	margin: 3rem 5rem;
	padding: 3rem 2.5rem;

	border-radius: 0.4rem;
	box-shadow: 0.4rem 0.4rem 1rem #00000057;

	transition: 0.7s all;
	display: none;
	visibility: hidden;
	opacity: 0;
}

#loading {
	width: fit-content;
	font-weight: bold;
	font-family: "Sour Gummy";
	font-size: 6rem;
	color: #0000;
	background: linear-gradient(
			90deg,
			#000 25%,
			#fcfe7d 0 50%,
			#c02942 0 75%,
			#06d9ec 0
		)
		0 0/400% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: l10 20s infinite cubic-bezier(0.3, 1, 0, 1);
}
.loading:before {
	content: "Loading...";
}
@keyframes l10 {
	25% {
		background-position: calc(1 * 100% / 3) 0;
	}
	50% {
		background-position: calc(2 * 100% / 3) 0;
	}
	75% {
		background-position: calc(3 * 100% / 3) 0;
	}
	100% {
		background-position: calc(4 * 100% / 3) 0;
	}
}

/* HTML: <div class="loader"></div> */
.loader {
	width: 50px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(farthest-side, #7ff033 95%, #0000) 50% 1px/12px
			12px no-repeat,
		radial-gradient(farthest-side, #0000 calc(100% - 14px), #ccc 0);
	animation: l9 2s infinite linear;
}
@keyframes l9 {
	to {
		transform: rotate(1turn);
	}
}

.results {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	transition: 0.4s all;
}

.results__card {
	flex: 1 0 calc(33% - 4rem);
	box-shadow: 0.4rem 0.4rem 0.4rem #0000005b;
	position: relative;
	border-radius: 2rem;
	display: flex;
	flex-direction: column;
	transition: 0.4s all;
}

.results__header--img {
	width: 100%;
	border-radius: 2rem 2rem 0 0;
	margin: 0;
	aspect-ratio: 16 / 9;
	padding: 0;
}

.results__body {
	background-color: #07c5bf;
	padding: 2rem;
	border-radius: 0 0 2rem 2rem;
	flex: 1;
}

.results__title {
	font-size: 3rem;
	margin: 1rem 0;
	font-weight: 500;
}
.results__menu {
	font-size: 2rem;
	margin: 0;
	margin-bottom: 1rem;
}

.results__desc {
	font-size: 1.6rem;
	margin: 0;
}

.btn--stretch {
	margin-top: 3rem;
	width: 100%;
}
