/*
	Eventually by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
	Mom's Cooking – cleaned version
*/

@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}

body {
	display: block !important;
	line-height: 1.65em;
	background-color: #000;
	padding: 6em 4em 4em 4em;
}

#header {
	height: auto !important;
	min-height: auto !important;
	padding-top: 6rem;
	padding-bottom: 3rem;
}

/* =========================================================
   Background slideshow
   ========================================================= */
#bg {
	-moz-transition: opacity 0s ease-in-out;
	-webkit-transition: opacity 0s ease-in-out;
	-ms-transition: opacity 0s ease-in-out;
	transition: opacity 0s ease-in-out;
	height: 100%;
	left: 0;
	opacity: 0.375;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
}

	#bg div {
		-moz-transition: opacity 3s ease;
		-webkit-transition: opacity 3s ease;
		-ms-transition: opacity 3s ease;
		transition: opacity 3s ease;
		background-size: cover;
		height: 100%;
		left: 0;
		opacity: 0;
		position: absolute;
		top: 0;
		visibility: hidden;
		width: 150%;
	}

		#bg div.visible {
			-moz-animation: bg 45s linear infinite;
			-webkit-animation: bg 45s linear infinite;
			-ms-animation: bg 45s linear infinite;
			animation: bg 45s linear infinite;
			opacity: 1;
			visibility: visible;
			z-index: 1;
		}

			#bg div.visible.top {
				z-index: 2;
			}

@media screen and (max-width: 1280px) {
	#bg div.visible {
		-moz-animation: bg 29.25s linear infinite;
		-webkit-animation: bg 29.25s linear infinite;
		-ms-animation: bg 29.25s linear infinite;
		animation: bg 29.25s linear infinite;
	}
}

@media screen and (max-width: 736px) {
	#bg div.visible {
		-moz-animation: bg 18s linear infinite;
		-webkit-animation: bg 18s linear infinite;
		-ms-animation: bg 18s linear infinite;
		animation: bg 18s linear infinite;
	}
}

#bg div:only-child {
	-moz-animation-direction: alternate !important;
	-webkit-animation-direction: alternate !important;
	-ms-animation-direction: alternate !important;
	animation-direction: alternate !important;
}

/* NERO ELIMINATO: opacity rimane 0.375 anche durante preload */
body.is-preload #bg {
	opacity: 0.375;
}

@-moz-keyframes bg {
	0% {
		-moz-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-moz-transform: translateX(-25%);
		transform: translateX(-25%);
	}
}

@-webkit-keyframes bg {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-webkit-transform: translateX(-25%);
		transform: translateX(-25%);
	}
}

@-ms-keyframes bg {
	0% {
		-ms-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-ms-transform: translateX(-25%);
		transform: translateX(-25%);
	}
}

@keyframes bg {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-25%);
	}
}

/* Keep content above BG */
body > * {
	position: relative;
	z-index: 2;
}

/* =========================================================
   Footer
   ========================================================= */
#footer {
	-moz-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	bottom: 4em;
	color: rgba(255, 255, 255, 0.5);
	left: 4em;
	opacity: 0.5;
	position: absolute;
}

	#footer .icons {
		margin: 0 0 0.5em 0;
		list-style: none;
		padding: 0;
	}

	#footer .copyright {
		font-size: 0.8em;
		list-style: none;
		padding: 0;
	}

		#footer .copyright li {
			border-left: solid 1px rgba(255, 255, 255, 0.25);
			display: inline-block;
			line-height: 1em;
			margin: 0 0 0 0.75em;
			padding: 0 0 0 0.75em;
		}

			#footer .copyright li:first-child {
				border-left: 0;
				margin-left: 0;
				padding-left: 0;
			}

		#footer .copyright a {
			color: inherit;
		}

	#footer:hover {
		opacity: 1;
	}

	#footer > :last-child {
		margin-bottom: 0;
	}

@media screen and (max-width: 1680px) {
	#footer {
		bottom: 3.5em;
		left: 3.5em;
	}
}

@media screen and (max-width: 736px) {
	#footer {
		bottom: 2em;
		left: 2em;
	}
}

@media screen and (max-width: 360px) {
	#footer {
		bottom: 1.25em;
		left: 1.25em;
	}
}

@media screen and (max-height: 640px) {
	#footer {
		bottom: auto;
		left: auto;
		margin: 1em 0 0 0;
		position: relative;
	}
}

/* =========================================================
   Buttons
   ========================================================= */
input[type="submit"], input[type="reset"], input[type="button"], button, .button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background-color: #1cb495;
	border-radius: 6px;
	border: 0;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-block;
	font-weight: 700;
	height: 2.75em;
	line-height: 2.75em;
	padding: 0 1.125em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

	input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, .button:hover {
		background-color: #1fcaa7;
	}

	input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, button:active, .button:active {
		background-color: #199e83;
	}

	input[type="submit"].disabled, input[type="submit"]:disabled,
	input[type="reset"].disabled, input[type="reset"]:disabled,
	input[type="button"].disabled, input[type="button"]:disabled,
	button.disabled, button:disabled,
	.button.disabled, .button:disabled {
		opacity: 0.5;
	}

@media screen and (max-width: 480px) {
	input[type="submit"], input[type="reset"], input[type="button"], button, .button {
		padding: 0;
	}
}

/* =========================================================
   Form Inputs
   ========================================================= */
input[type="text"], input[type="password"], input[type="email"], select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background-color: transparent;
	border-radius: 6px;
	border: solid 2px rgba(255, 255, 255, 0.35);
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1em;
	width: 100%;
}

	input[type="text"]:invalid, input[type="password"]:invalid,
	input[type="email"]:invalid, select:invalid, textarea:invalid {
		box-shadow: none;
	}

	input[type="text"]:focus, input[type="password"]:focus,
	input[type="email"]:focus, select:focus, textarea:focus {
		background-color: rgba(255, 255, 255, 0.125);
		border-color: #1cb495;
	}

select {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(255, 255, 255, 0.35)' /%3E%3C/svg%3E");
	background-size: 1.25rem;
	background-repeat: no-repeat;
	background-position: calc(100% - 1rem) center;
	height: 2.75em;
	padding-right: 2.75em;
	text-overflow: ellipsis;
}

	select option {
		color: #fff;
		background: #000;
	}

/* =========================================================
   Icons
   ========================================================= */
.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}

	.icon:before {
		display: inline-block;
		font-style: normal;
		font-family: 'Font Awesome 5 Free';
		font-weight: 400;
	}

	.icon.solid:before {
		font-weight: 900;
	}

	.icon.brands:before {
		font-family: 'Font Awesome 5 Brands';
	}

/* =========================================================
   Nav + Titles (Mom's Cooking brand)
   ========================================================= */
#header h1, h1, h2 {
	color: #D633FF !important;
}

.top-nav {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 1.25em 0;
}

	.top-nav a {
		border-bottom: none !important;
		text-decoration: none !important;
		font-weight: 700;
		color: #D633FF !important;
		border: 2px solid #D633FF;
		padding: 10px 16px;
		border-radius: 999px;
		font-size: 0.95rem;
		line-height: 1;
	}

		.top-nav a:hover {
			background: #D633FF;
			color: #fff !important;
		}

/* =========================================================
   Mobile
   ========================================================= */
@media screen and (max-width: 980px) {
	html, body {
		height: auto !important;
		min-height: 100% !important;
	}

	body {
		display: block !important;
		padding: 5.5em 2em 2em 2em !important;
	}

	#footer {
		position: relative !important;
		left: auto !important;
		bottom: auto !important;
		margin: 2em 0 0 0 !important;
		opacity: 0.85;
	}
}

@media screen and (max-width: 736px) {
	#header h1 {
		font-size: 2em;
	}

	#header p {
		font-size: 1em;
	}
}
