#heading {
	height: 100dvh;
}

main {
	padding-top: 0;
}

h1 {
	font-size: calc(.75rem + 4vw);
}



.carousel {
	/* 2 columns layout */
	width: 100%;
	display: flex;
	/* flex-wrap: wrap; */
	/* justify-content: space-between; */
	/* flex-direction: row; */
	gap: 2em;
	/* overflow-x: scroll; */
	scroll-snap-type: x mandatory;
}

.carousel section {
	flex: 0 0 calc(50% - 1em);
	box-sizing: border-box;
	scroll-snap-align: center;
	transition: transform 0.2s ease-in-out,
		box-shadow 0.2s ease-in-out,
		border-bottom 0.2s ease-in-out;
}

.carousel section:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	border-bottom: 2px solid #ba8412;
	cursor: pointer;
}

.carousel section.card:hover > h2 {
	transition: text-shadow 0.3s ease-in-out,
	text-shadow: 1px 1px 18px rgba(0, 0, 0, .4);
}

@media only screen and (max-width: 935px) {
	.carousel section:hover {
		transform: none;
		border-bottom: 1px solid #ba8412;
	}
}

@media only screen and (max-width: 935px) {
	.carousel {
		flex-direction: column;
		gap: 0em;
	}
}





#done img {
	width: 30%;
}

.embedded {
	display: flex;
	justify-content: left;
	align-items: top;
	gap: 2em;
}

.embedded img {
	display: block;
}

/* Header script */
#title {
	transition: opacity 0.2s ease-in-out;
	opacity: 0;
}

#logo-breve, #subtitle, #cookiebanner {
	transition: opacity 0.5s cubic-bezier(0.5, 0, 0.5, 1) 0.2s;
	opacity: 0;
}

#heading {
	transition: background-color 10s;
	background-color: #000000;
}
