section:is(#contact-1, #message-merci) {
	display: flex;
	align-items: center;
	min-height: 800px;
	height: unset;

	&::before {
		background-image: url('../images/message-bouteille-1440.webp');
	}
}

h1 {
	font-size: 36px;
	line-height: 42px;
	letter-spacing: 0.36px;
	margin-bottom: 20px;
	padding-bottom: 0;
	border-bottom: none;
	text-align: left;
}

#contact-sheet {
	position: relative;
	margin: min(75dvh, 100vw) 0 0 0;
	width: 100%;
	padding: 2rem 1rem;
	background: var(--background);
}

.contact-msg {
	width: 100%;
	align-items: start;
	margin-bottom: 2em;
	
	& > div {
		font-size: 1.5em;
		display: flex;
		justify-content: space-around;
		width: 100%;
	}
}

section#message-merci {
	min-height: unset;
	height: 100dvh;
}

section#message-merci > div.content {
	position: absolute;
    inset: min(75dvh, 100vw) 0 0 0;
    margin: 0;
    padding: 2rem 1rem;
    background: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;

	& h1 {
		text-align: center;
		margin-bottom: 2rem;
		color: var(--wyg-green);
	}
}

footer section#footer-1 {
	display: none;
}

@media only screen and (min-width: 640px) {

	section:is(#contact-1, #message-merci) {
		height: 100dvh;

		&::before {
			background-size: cover;
			height: 100dvh;
		}
	}

	#contact-sheet {
		margin: 5rem auto 0 auto;
		max-width: 400px;
		padding: 2rem;
	}

	section#message-merci > div.content {
		position: relative;
		inset: unset;
		padding: 2rem 4rem;
		margin: 5rem auto 0 auto;
		max-width: 450px;
	}
}

@media only screen and (min-width: 1024px) {

	#contact-sheet {
		margin: 5rem 10vw 0 auto;
		padding: 2rem 10rem 2rem 4rem;
	}

	section#message-merci > div.content {
		margin: 5rem 10vw 0 auto;
	}
}

@media only screen and (min-width: 1440px) {
	section:is(#contact-1, #message-merci)::before {
		background-image: url('../images/message-bouteille-2880.webp');
	}
}