body {
	margin: 0;
}

.container {
	display: flex;
}

.left,
.right {
	width: 50%;
	height: 100vh;
	box-sizing: border-box;
	border: 20px solid white;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 16px solid white;
	box-sizing: border-box;
}

.left {
	border-right: 8px solid white; /* was 16px */
}

.right {
	border-left: 8px solid white; /* was 16px */
}

.left .image,
.right .image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: 0.25s ease all;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.fds {
	background: url('https://homry-partenaires.maj.mc/wp-content/uploads/2025/04/Easy-Riviera-Services-Cagnes-sur-Mer.jpg');
}
.ers {
	background: url('https://homry-partenaires.maj.mc/wp-content/uploads/2025/04/FD-Services-Sophia.jpg');
}

.logo-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 999;
}

.logo {
	width: 120px; /* was 220px with round logo */
	height: 120px; /* was 220px with round logo */
}

@media screen and (max-width: 1199px) {
	.container {
		flex-direction: column;
	}
	.left,
	.right {
		width: 100%;
		height: 50vh;
		border: 20px solid white;
	}

	.left {
		border-bottom: 10px solid white;
	}

	.right {
		border-top: 10px solid white;
	}

	.image {
		background-size: contain;
	}
}	


.container .caption {
	position: relative;
	z-index: 1000;
	text-align: center;
	background: rgba(0, 0, 0, 0.35);
	padding: 0 25px;
	border-radius: 10px;
}
.container .caption h1 {
	text-transform: uppercase;
	font-family: "Lato";
	transition: 0.3s ease all;
	padding: 2px 8px;
	border: 2px solid transparent;
}
.container .caption h1 a {
	color: white;
	text-decoration: none;
}


.container .caption h1:hover{
	transform: scale(1.05);
	XXXtext-shadow: 1px 1px 2px #ffffff, 0 0 1em #ffffff, 0 0 0.2em #ffffff;
	border: 2px solid white;
}


.container .side::before {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	content: '';
	display: block;
}


.container .left:hover .image,
.container .right:hover .image {
	transform: scale(1.05);
}
