.letter-contaier {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100vw;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

}

#open-env-text {
	position: absolute;
	font-family: 'Pushkin';
	margin-inline: 3vw;
	line-height: 1.4em;
	font-size: clamp(21px, 2.6vw, 42px);
	color: white;
	text-align: center;
	z-index: 5;
	top: 35%;
}

#open-env-text2 {
	position: absolute;
	font-family: 'Brown Sugar';
	margin-inline: 2vw;
	line-height: 2em;
	font-size: clamp(32px, 4.7vw, 82px);
	color: white;
	text-align: center;
	z-index: 5;
	top: 54%;
}

#open-env-text3 {
	position: absolute;
	font-family: 'Pushkin';
	margin-inline: 5vw;
	line-height: 2em;
	font-size: clamp(18px, 2.2vw, 40px);
	color: white;
	text-align: center;
	z-index: 9;
	top: 23%;
}



.flip-container {
	perspective: 1500px; 
	display: inline-block;
	cursor: pointer;
	width: 45vw;
	height: 30vw;
	position: relative;
}

.elements-div {
	position: absolute;
	width: 1vw;
	background-color: tomato;
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
}

.flipper {
	transition: transform 2s;
	transform-style: preserve-3d;
    width: 100%;
	height: 100%;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.flip-container.flipped .flipper {
    transform: rotateY(-180deg);
}

.front, .back {
	position: absolute;
	backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%; 
}

.back {
	transform: rotateY(-180deg);
}

/**** add shadow ****/
#sigillo {
	position: absolute;
	width: clamp(40px, 4vw, 120px);
	height: auto;
	z-index: 10;
	bottom: 0.2%;
}

/**** FLAP ****/
#env-front {
	width: 45vw;
	height: 30vw;
}

#env-back-bottom, #env-back, #env-back-bottom3, #env-back-bottom4 {
	display: inline-block;
	width: 45vw;
	height: 30vw;
	position: absolute;
	z-index: 1;
}

#env-back {
	z-index: 3;
}

#env-back-bottom3 {
	z-index: 9;
}

#env-back-bottom3-ext {
	z-index: 9;
	display: none;
}

#env-back-bottom4 {
	z-index: 7;
}


.flip-container-flap {
    perspective: 1400px;
	display: inline-block;
	cursor: pointer;
	width: 45vw;
	height: 30vw;
	position: absolute;
	z-index: 6;
}


.flipper-flap {
	transition: transform 2s;
	transform-style: preserve-3d;
    width: 100%;
	height: 100%;
	position: relative;
	transform-origin: top center;
}



.flip-container-flap.flipped .flipper-flap {
	transform: rotateX(180deg);
}

.flap-front, .flap-back {
	position: absolute;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	backface-visibility: hidden;
	width: 100%;
	height: 100%;
}


.flap-back {
  transform: rotateX(180deg);
}

#flap-front-img {
	display: inline-block;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 6;
}

#flap-back-img {
	display: inline-block;
	width: 100%;
	height: 20vw;
	position: absolute;
	bottom: 0;
	z-index: 1;
}


/*** Back-button ***/

#back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
	z-index: 9999;
    top: 20vh;
    right: 13vw;
    width: clamp(30px, 3vw, 60px);
    height: clamp(30px, 3vw, 60px);
    border-radius: 50%; 
    border: 2px solid #515f3b;
    background-color: #f0ffd8;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;  
    transition: opacity 0.5s ease, transform 0.3s ease;
}

#back-button.visible-custom {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Effetto hover */
#back-button:hover {
    transform: scale(1.1);
}


/**** LETTER ELEMENTS ****/
.elements {
	display: none;
	visibility: hidden;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: absolute;
	z-index: 7;
	cursor: pointer;
}

.elements img{
    width:100%;
    height:100%;
    display:block;
	cursor: pointer;
}

.elements-container {
	display: none; 
	overflow-x: hidden; 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100vw; 
	min-height: 100vh; 
	overflow-y: visible !important;
	max-height: none !important;
}

.elements.visible-custom {
	visibility: visible;
}

#starting-point {
	width: 4vw;
	height: 9vw;
}

#save-the-date {
	width: 6.5vw;
	height: 8vw;
	z-index: 8;
}

#meteo {
	width: 10vw;
	height: 7vw;
	z-index: 8;
}


#indicazioni {
	width: 4vw;
	height: 9vw;
}

#trip {
	width: 10vw;
	height: 8vw;
}

#plettri {
	width: 7.5vw;
	height: 6vw;
}

.link-maps {
	position: absolute;
	width: 10%;
	height: 15%;
	top: 22%;
	right: 6%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	cursor: pointer;
}




/* zoom ogetto selezionato */
#focus-overlay {
	position: fixed;
	inset: 0; /* top:0 right:0 bottom:0 left:0 */
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25); /* leggero oscuramento */
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

#focus-overlay.visible-custom {
	opacity: 1;
	pointer-events: auto;
}

/* contenuto centrale */
.focus-content {
	overflow: auto;
	display: none;
	opacity: 0;
	padding: 1vw;
}

.focus-content.visible-custom {
	display: flex;
	position: fixed;
	opacity: 1;
	transition: opacity 0.4s ease 0.2s;
}


.focus-content#fc-save-the-date {
	width: 34vw;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.polaroid-container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2vh;
}

#fc-polaroid-img{
    width:100%;
    display: block;
	height: auto;
}

.video-trigger{
    position: relative;
    cursor:pointer;
	width: 100%;
	height: auto;
	z-index: 3;
	cursor: pointer;
}


.play-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);

    width: 5vw;
    height: 5vw;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:50px;
    color:white;

    background:rgba(0,0,0,0.45);
    border-radius:50%;

    transition:0.2s;
}

.video-trigger:hover .play-overlay{
    transform: translate(-50%, -50%) scale(1.1);
}
#fc-polaroid-video {
    display: none;
}

.polaroid-text-container {
	position: absolute;
	width: 100%;
	height: auto;
	justify-content: end;
	display: flex;
	flex-direction: column;
	bottom: 3%;
}

.polaroid-text {
	color: #8962a5;
	text-align: center;
	width: 100%;
	z-index: 4;
}

#p-up {
	transform: translateY(10%);
	font-family: 'Pushkin';
	font-size: clamp(21px, 2.3vw, 42px);
	line-height: 0.9em;
	color: #b79cca;
}

#p-text {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(10px, 1.3vw, 24px);
	line-height: 0.9em;
	padding-bottom: 1vh;
}


.focus-content #mappa{
	width: 60vw;
	height: 40vw;
}

.focus-content#fc-trip{
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 90vw;
	height: 80vh;
}

.focus-content .trip-c{
	width: 26vw;
	height: 14vw;
}

.focus-content .c0-container{
	width: 34vw;
	height: 21vw;
	position: absolute;
	top: 0%;
	left: 5%;
}

#c0{
	width: 34vw;
	height: 21vw;
}

.c0-text-container {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5vw;
}

.c0-text {
	color: #739ad5;
	font-family: 'Quicksand', sans-serif;
	text-align: center;
	width: 100%;
}

#c0-pre-title{
	font-size: clamp(17px, 2.4vw, 50px);
	line-height: 1em;
	text-shadow:
		-2px -2px 0 #fef9f3,
		 2px -2px 0 #fef9f3,
		-2px  2px 0 #fef9f3,
		 2px  2px 0 #fef9f3;
}

#c0-title{
	font-family: 'Brown Sugar' !important;
	font-size: clamp(20px, 3vw, 60px);
	line-height: 1em;
	text-shadow:
		-2px -2px 0 #fef9f3,
		 2px -2px 0 #fef9f3,
		-2px  2px 0 #fef9f3,
		 2px  2px 0 #fef9f3;
}

#c0-text{
	font-size: clamp(10px, 1.3vw, 24px);
	line-height: 0.9em;
	padding-top: 2.5vh;
}


.focus-content#fc-trip2 {
	width: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3vh;
	padding: 4vh 0;
	box-sizing: border-box;
}

.c0-container-trip2 {
	position: relative;
	width: 34vw;
	max-width: 90vw;
}

#c0-trip2 {
	width: 100%;
	height: auto;
	display: block;
}

.c0-text-container-trip2 {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5vw;
	box-sizing: border-box;
}

.c0-text-trip2 {
	color: #739ad5;
	font-family: 'Quicksand', sans-serif;
	text-align: center;
	width: 100%;
	padding-top: 0.5vh;
	padding-inline: 2vw;
}

#c0-pre-title-trip2 {
	font-size: clamp(17px, 2.4vw, 50px);
	line-height: 1em;
	text-shadow:
		-2px -2px 0 #fef9f3,
		 2px -2px 0 #fef9f3,
		-2px  2px 0 #fef9f3,
		 2px  2px 0 #fef9f3;
}

#c0-title-trip2 {
	font-family: 'Brown Sugar' !important;
	font-size: clamp(20px, 3vw, 60px);
	line-height: 1em;
	text-shadow:
		-2px -2px 0 #fef9f3,
		 2px -2px 0 #fef9f3,
		-2px  2px 0 #fef9f3,
		 2px  2px 0 #fef9f3;
}


#carosello-trip2 {
	position: relative;
	width: 30vw;
	height: 18vw;
	max-width: 85vw;
	max-height: 52vw;
	cursor: pointer;
}

.trip-card {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	transform-origin: center center;
	transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.trip-card:nth-child(1) {
	z-index: 4;
	transform: translate(-50%, -10%) rotate(-6deg) scale(1);
}

.trip-card:nth-child(2) {
	z-index: 3;
	transform: translate(-50%, -10%) rotate(4deg) scale(0.96);
}

.trip-card:nth-child(3) {
	z-index: 2;
	transform: translate(-50%, -10%) rotate(-3deg) scale(0.92);
}

.trip-card:nth-child(4) {
	z-index: 1;
	transform: translate(-50%, -10%) rotate(7deg) scale(0.88);
}


#c1{
	position: absolute;
	top: 1%;
	right: 15%;
}

#c2{
	position: absolute;
	top: 45%;
	right: 15%;
	z-index: 2;
}

#c3{
	position: absolute;
	bottom: 5%;
	right: 35%;
}

#c4{
	position: absolute;
	bottom: 5%;
	left: 5%;
}

.fc-meteo-card {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.fc-starting-card {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.fc-starting-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 2s;
  transform-style: preserve-3d;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fc-starting-inner.flipped {
  transform: rotateY(180deg);
}

.fc-meteo-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 2s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.fc-meteo-inner.flipped {
  transform: rotateY(180deg);
}


.fc-meteo-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.fc-starting-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#fc-starting-point {
	width: 32vw;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#fc-starting-point img {
	width: 100%;
	height: auto;
}

#fc-meteo {
	width: 34vw;
	height: 100%;
}

.fc-meteo-face img {
	width: 100%;
	height: auto;
}

.fc-meteo-back {
  transform: rotateY(180deg);
}

.fc-starting-back {
  transform: rotateY(180deg);
}

#form-sp {
	gap: 0.5vh;
}

.fc-text-container {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-inline: 4.5vw;
	padding-top: 6vh;
}

.fc-title {
	font-family: 'Brown Sugar';
	color: white;
	text-align: center;
	line-height: 0.9em;
	padding-top: 1.5vh;
	padding-bottom: 1.5vh;
}

.fc-text {
	text-align: center;
	font-family: 'Quicksand', sans-serif;
	color: white;
}

#fc-title-front-meteo {
  	font-size: clamp(20px, 3vw, 60px);
}

#fc-title-back-meteo {
	font-size: clamp(15px, 2.3vw, 45px);
}

#fc-text-front-meteo {
	font-size: clamp(14px, 1.6vw, 34px);
}

#fc-text-back-meteo {
	font-size: clamp(12px, 1.3vw, 26px);
	line-height: 1em;
}

/* Starting point card */

#fc-text-front-starting {
	font-size: clamp(12px, 1.3vw, 30px);
	line-height: 1.4em;
}

#fc-title-front-starting {
	padding-top: 7vh;
	font-family: 'Pushkin';
	font-size: clamp(22px, 4.2vw, 45px);
}

.fc-label {
	color: white;
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(11px, 1.1vw, 24px);
	text-align: center;
}

.fc-input, .fc-textarea{
	border: 3px solid #8abede;
	border-radius: 12px;
	font-size: clamp(12px, 1.1vw, 24px);
}

.box-check {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2vw;
	height: 2vw;
	border: 2px solid #8abede;
	border-radius: 6px;
	margin-left: 0.5vw;
	margin-right: 1vw;
	background-color: whitesmoke;
	cursor: pointer;
}

.box-check.checked {
	background-color: #739ad5;
}

.fc-checkbox-group {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;	
}

.fc-textarea {
	width: 80%;
}

#fc-input-nome-cognome {
	width: 60%;
}

.fc-submit-button {
	margin-top: 2vh;
	padding: 0.8vh 2vw;
	background-color: #739ad5;
	color: white;
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(12px, 1.1vw, 24px);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.fc-submit-button:hover {
	background-color: #5a7ab8;
}


@import url('https://fonts.cdnfonts.com/css/lovelo-2');

#fc-sub-text-front-starting {
	font-family: 'Lovelo', sans-serif;
	font-size: clamp(14px, 1.4vw, 34px);
	color: white;
	line-height: 1.4em;
	text-align: center;
}



#plettri-focus {
	width: 42vw;
}

.text-viola-container {
    position: absolute;
    left: 6.2vw;
    width: 15vw;
    top: 11vw;
    height: 18vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vw;
    transform: rotate(-23deg);
	color: white;
}

#text-viola-title {
	font-family: 'Brown Sugar';
	font-size: clamp(18px, 2.6vw, 50px);
	line-height: 1em;
	text-align: center;
}

#text-viola {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(10.5px, 1vw, 24px);
	line-height: 0.9em;
	padding-top: 1.5vh;
	text-align: center;
	padding-inline: 1.2vw;
}

#text-viola-textarea {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(10.5px, 1vw, 24px);
	margin-top: 2vh;
	text-align: center;
	width: 60%;
	background-color: aliceblue;
	color: black;

}

.text-azzurro-container {
	position: absolute;
	right: 6.5vw;
	top: 2.5vw;
	width: 18vw;
	height: 21vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1vw;
	transform: rotate(15deg);
	color: white;
}

#text-azzurro-title {
	font-family: 'Brown Sugar';
	font-size: clamp(20px, 3vw, 60px);
	line-height: 1em;
	text-align: center;
}

#text-azzurro {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(11px, 1.1vw, 26px);
	line-height: 0.9em;
	padding-top: 1.5vh;
	text-align: center;
}

#text-azzurro-textarea {
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(11px, 1vw, 26px);
	margin-top: 2vh;
	text-align: center;
	width: 60%;
	background-color: aliceblue;
	color: black;
}

#submit-plettri {
	position: absolute;
	bottom: 5vh;
	left: 50%;
	transform: translateX(-50%);
	background-color: #f0ffd8;
	color: #515f3b;
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(12px, 1.3vw, 24px);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.8s ease;
	padding: 0.8vh 2vw;
}

#submit-plettri:hover {
	background-color: #515f3b;
	color: #f0ffd8;
	transform: scale(1.05) translateX(-50%);
}

/* PHONE */

@media (max-width: 1150px) {
	.flip-container, .flip-container-flap, 
	#env-back-bottom, #env-front, #env-back, #env-back-bottom3 {
		width: 50vw;
		height: 33vw;
	}
	#flap-back-img {
		height: 26vw;
	}

	#open-env-text {
		margin-inline: 3.2vw;
		font-size: clamp(16px, 3.3vw, 60px);
	}

	.focus-content#fc-save-the-date {
		width: 78vw;
	}

	#fc-starting-point {
		width: 82vw;
	}

	#p-up {
		font-size: clamp(19px, 4vw, 60px);
	}
	#p-text {
		font-size: clamp(16px, 2.8vw, 42px);
	}

	.fc-submit-button {
		margin-top: 1vh;
	}

	#fc-meteo {
		width: 80vw;
	}

	#fc-title-front-meteo {
		font-size: clamp(18px, 3.8vw, 50px);
		padding-top: 0.1vh;
		padding-bottom: 1vh;
	}

	#fc-title-back-meteo {
		font-size: clamp(18px, 3.8vw, 50px);
		padding-top: 0.4vh;
		padding-bottom: 1vh;
	}
	
	#fc-text-front-meteo {
		font-size: clamp(14px, 2.5vw, 34px);
	}

	#fc-text-back-meteo {
		font-size: clamp(14px, 2.5vw, 34px);
	}

	#plettri-focus {
		width: 82vw;
	}

	.text-viola-container {
		left: 5.1vw;
		width: 38vw;
		top: 16.5vw;
		height: 40vw;
	}

	#text-viola-title {
		font-size: clamp(18px, 3.5vw, 50px);
	}

	#text-viola {
		font-size: clamp(10px, 1.2vw, 24px);
	}

	.text-azzurro-container {
		right: 8.2vw;
		top: 2vw;
		width: 40vw;
		height: 45vw;
	}

	#text-azzurro-title {
		font-size: clamp(20px, 3.5vw, 60px);
	}

	#text-azzurro {
		font-size: clamp(11px, 1.1vw, 26px);
	}

	#submit-plettri {
		bottom: 3vh;
	}

	.c0-container-trip2, #carosello-trip2 {
		width: 84vw;
		height: auto;
	}

	.c0-text-trip2 {
		top: 1vh;
	}

	#c0-pre-title-trip2 {
		font-size: clamp(21px, 3vw, 60px);
	}

	#c0-title-trip2 {
		font-size: clamp(24px, 3.6vw, 72px);
		padding-top: 1.5vh;
	}

	#c0-text-trip2 {
		font-size: clamp(14px, 2vw, 34px);
		text-shadow: 
			-1px -1px 0 #fef9f3, 
			1px -1px 0 #fef9f3, 
			-1px 1px 0 #fef9f3, 
			1px 1px 0 #fef9f3;
	}

	#fc-text-front-starting {
		font-size: clamp(14px, 1.5vw, 32px);
	}
}


@media (max-width: 900px) {

	#save-the-date {
		width: 12vw;
		height: 15vw;
	}

	#indicazioni {
		width: 11vw;
		height: 24vw;
	}

	#cartina {
		width: 11vw;
		height: 24vw;
	}

	.flip-container, .flip-container-flap, 
	#env-back-bottom, #env-front, #env-back, #env-back-bottom3,
	#env-back-bottom4 {
		width: 60vw;
		height: 40vw;
	}
	#flap-back-img {
		height: 33vw;
	}

	#back-button {
    	top: 15vh;
		right: 8vw;
	}

	#open-env-text {
		margin-inline: 3.8vw;
		font-size: clamp(17px, 3.6vw, 35px);
	}

	#open-env-text3 {
		margin-inline: 7vw;
		font-size: clamp(17px, 3.5vw, 35px);
	}

	.focus-content#fc-save-the-date {
		width: 84vw;
	}

	#fc-starting-point {
		width: 88vw;
	}

	#p-up {
		font-size: clamp(18px, 5vw, 70px);
	}
	#p-text {
		font-size: clamp(14px, 3.5vw, 30px);
	}

	.fc-submit-button {
		margin-top: 0.5vh;
	}

	.focus-content #mappa {
		width: 90vw;
		height: auto;
	}

	#fc-meteo {
		width: 90vw;
	}

	#fc-title-front-meteo {
		font-size: clamp(18px, 4.1vw, 50px);
		
	}

	#fc-text-front-meteo {
		font-size: clamp(14px, 3vw, 34px);
	}

	#fc-title-back-meteo {
		font-size: clamp(18px, 4.1vw, 50px);
		
	}
	#fc-text-back-meteo {
		font-size: clamp(14px, 3vw, 34px);
	}

	#plettri-focus {
		width: 90vw;
	}

	.text-viola-container {
		left: 7vw;
		width: 38vw;
		top: 18vw;
		height: 40vw;
	}

	.text-azzurro-container {
		right: 10.5vw;
		top: 2vw;
		width: 40vw;
		height: 45vw;
	}

	#submit-plettri {
		bottom: 3vh;
	}

	.c0-container-trip2, #carosello-trip2 {
		width: 90vw;
		height: auto;
	}

	#c0-pre-title-trip2 {
		font-size: clamp(21px, 3.5vw, 60px);
	}

	#c0-title-trip2 {
		font-size: clamp(24px, 4vw, 72px);
	}

	#c0-text-trip2 {
		font-size: clamp(14px, 2.5vw, 34px);
	}

	#fc-text-front-starting {
		font-size: clamp(15px, 1.9vw, 32px);
	}

	#fc-title-front-starting {
		font-size: clamp(22px, 5.5vw, 55px);
	}
}

@media (max-width: 600px) {

	.flip-container, .flip-container-flap, 
	#env-back-bottom, #env-front, #env-back, #env-back-bottom3,
	#env-back-bottom4 {
		width: 80vw;
		height: 53vw;
	}
	#flap-back-img {
		height: 43vw;
	}

	#back-button {
		top: 10vh;
		right: 5vw;
	}

	#open-env-text {
		margin-inline: 4vw;
		font-size: clamp(13px, 4.2vw, 60px);
	}

	.focus-content#fc-save-the-date {
		width: 90vw;
	}

	#fc-starting-point {
		width: 94vw;
	}

	#p-up {
		font-size: clamp(16px, 6vw, 80px);
	}
	#p-text {
		font-size: clamp(12px, 4vw, 40px);
	}

	.focus-content #mappa {
		width: 96vw;
		height: auto;
	}

	#fc-meteo {
		width: 96vw;
	}

	#fc-title-front-meteo {
		font-size: clamp(18px, 4.5vw, 50px);
	}

	#fc-text-front-meteo {
		font-size: clamp(14px, 3.5vw, 34px);
	}

	#fc-title-back-meteo {
		font-size: clamp(18px, 4.5vw, 50px);
	}
	#fc-text-back-meteo {
		font-size: clamp(14px, 3.5vw, 34px);
	}

	#open-env-text3 {
		margin-inline: 22vw;
		font-size: clamp(18px, 4.5vw, 62px);
		line-height: 1.4em;
	}


	#plettri-focus {
		width: 96vw;
	}

	#submit-plettri {
		bottom: 1vh;
	}

	.text-viola-container {
		left: 10vw;
		width: 38vw;
		top: 24vw;
		height: 40vw;
	}

	.text-azzurro-container {
		right: 14vw;
		top: 7vw;
		width: 40vw;
		height: 45vw;
	}

	#submit-plettri {
		bottom: 1vh;
	}

	.c0-container-trip2, #carosello-trip2 {
		width: 94vw;
		height: auto;
	}

	#c0-pre-title-trip2 {
		font-size: clamp(18px, 4vw, 60px);
	}

	#c0-title-trip2 {
		font-size: clamp(21px, 4.5vw, 72px);
	}

	#c0-text-trip2 {
		font-size: clamp(12px, 3vw, 34px);
	}

	#fc-text-front-starting {
		font-size: clamp(13px, 2.4vw, 32px);
	}

	#fc-title-front-starting {
		font-size: clamp(18px, 7vw, 65px);
	}
}
