@import '../common/project.css';

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding-top: 5rem;
	padding-bottom: 8rem;
	box-shadow: 0 10px 8px -5px #000 inset, 0 -12px 8px -5px #000 inset;
}

.banner {
	width: 100%;
	background-color: #7b1b35;
	outline: 10px solid #7b1b35;
}

.centered {
	margin-left: 20rem;
	margin-right: 20rem;
	max-width: 1250px;
}

.align-left {
	margin-left: 20rem;
	margin-right: 20rem;
	padding-right: 20rem;
	max-width: calc(1250px - 20rem);
}

.align-right {
	margin-left: 20rem;
	margin-right: 20rem;
	padding-left: 20rem;
	max-width: calc(1250px - 20rem);
}

.content-text-w-illu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8rem;
	margin-top: 7rem;
	margin-bottom: 7rem;
}

.content-text h2 {
	margin-bottom: 2rem;
	font-size: 3.5rem;
	line-height: 3.8rem;
}

.content-text.align-right h2 {
	text-align: right;
}

.content-text h2 span {
	color: #e5335b;
}

.content-illu-1 {
	height: 480px;
	width: 370px;
	object-fit: contain;
	scale: 250%;
	padding-top: 1.5rem;
}

.content-text-1 {
	position: relative;
	z-index: 1;
}

.badge-banner-wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 5rem;
}

.badge-banner {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5rem;
	margin-top: 1rem;
	margin-bottom: 0.3rem;
	width: 100%;
}

.badge {
	height: 150px;
}

.badge-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100px;
}

.badge-text span {
	font-weight: 600;
	text-decoration: underline;
}

.badge-text p {
	margin: 0;
}

.badge-text ul {
	margin: 0.5rem 0 0 0;
	padding-left: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	row-gap: 0.6rem;
	column-gap: 9rem;
	height: 70px;
}

.badge-text li {
	line-height: 1.1rem;
}

.image-grid-1 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
	margin: 12rem 0;
}

.image-grid-1 img {
	width: 100.5%;
	height: 100.5%;
	object-fit: cover;
}

.full-width-image {
	width: 100%;
	margin: 12rem 0;
}

.image-grid-2,
.image-grid-3 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	width: 100%;
}

.image-grid-2 {
	margin: 12rem 0;
}

.image-grid-2 img,
.image-grid-3 img {
	width: 100.5%;
	height: 100.5%;
	object-fit: cover;
}

.image-grid-2 img:nth-child(1),
.image-grid-3 img:nth-child(1) {
	grid-column: 1 / 3;
}

.image-grid-3 img:nth-child(2),
.image-grid-3 img:nth-child(3) {
	height: calc(100vw / 2);
}

.image-grid-4 {
	margin: 12rem 0;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.image-grid-4 img {
	width: 100%;
}

.image-grid-1 img:first-child,
.image-grid-2 img:first-child,
.image-grid-3 img:first-child,
.image-grid-4 img:first-child {
	z-index: 1;
}

.illu-w-legend {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	margin-top: 12rem;
}

.illu-w-legend ul {
	padding-left: 1.5rem;
	margin: 2rem 0;
}

.illu-w-legend li {
	color: #f3974e;
	font-weight: 600;
	line-height: 1.5rem;
	margin: 0.5rem 0;
}

.illu-w-legend a {
	font-weight: 600;
	color: #f2f2f2;
}

.illu-w-legend a:hover {
	color: #e5335b;
}

.illu-w-legend p a {
	color: #e5335b;
}

.illu-w-legend p a:hover {
	color: #f2f2f2;
}

.illu-w-legend ul a {
	color: #e5335b;
}

.illu-w-legend ul a:hover {
	color: #f2f2f2;
}

.illu-w-legend > a {
	transition: transform 0.5s ease-in-out;
}

.illu-w-legend > a:hover {
	transform: scale(1.03);
}

.content-illu {
	width: 100%;
	border-radius: 1rem;
}

@media screen and (max-width: 1600px) {
	.centered {
		margin-left: 12rem;
		margin-right: 12rem;
	}

	.align-left,
	.align-right {
		margin-left: 12rem;
		margin-right: 12rem;
	}

	.badge-banner {
		gap: 6rem;
	}

	.badge-text ul {
		column-gap: 9rem;
	}
}

@media screen and (max-width: 1400px) {
	.centered {
		margin-left: 8rem;
		margin-right: 8rem;
	}

	.align-left,
	.align-right {
		margin-left: 8rem;
		margin-right: 8rem;
	}
}

@media screen and (max-width: 1300px) {
	.content {
		padding-top: 4rem;
	}

	.centered {
		margin-left: 7rem;
		margin-right: 7rem;
	}

	.align-left,
	.align-right {
		margin-left: 7rem;
		margin-right: 7rem;
	}

	.content-text-w-illu {
		gap: 5rem;
	}

	.badge-banner {
		gap: 4rem;
	}

	.badge-text ul {
		column-gap: 7rem;
	}
}

@media screen and (max-width: 1100px) {
	.centered {
		margin-left: 5rem;
		margin-right: 5rem;
	}

	.align-left {
		margin-left: 5rem;
		margin-right: 5rem;
		padding-right: 15rem;
	}

	.align-right {
		margin-left: 5rem;
		margin-right: 5rem;
		padding-left: 15rem;
	}

	.content-text h2 {
		margin-bottom: 1.5rem;
		font-size: 2.8rem;
		line-height: 3rem;
	}

	.badge-banner {
		gap: 6rem;
	}

	.badge-text ul {
		row-gap: 0.5rem;
		column-gap: 9rem;
		height: 90px;
	}
}

@media screen and (max-width: 900px) {
	.content {
		padding-top: 3rem;
	}

	.centered {
		margin-left: 3rem;
		margin-right: 3rem;
	}

	.align-left {
		margin-left: 3rem;
		margin-right: 3rem;
		padding-right: 10rem;
	}

	.align-right {
		margin-left: 3rem;
		margin-right: 3rem;
		padding-left: 10rem;
	}

	.content-text-w-illu {
		flex-direction: column;
		gap: 3rem;
	}

	.badge-banner {
		gap: 4rem;
	}

	.badge-text ul {
		column-gap: 7rem;
		width: 400px;
	}
}

@media screen and (max-width: 800px) {
	.badge-banner-wrapper {
		margin-top: 0;
	}

	.badge-banner {
		flex-direction: column;
		gap: 3rem;
	}
}

@media screen and (max-width: 700px) {
	.align-left {
		padding-right: 0;
	}

	.align-right {
		padding-left: 0;
	}

	.content-text h2 {
		font-size: 2.3rem;
		line-height: 2.2rem;
	}

	.content-text.align-right h2 {
		text-align: left;
	}
}

@media screen and (max-width: 600px) {
	.content-text-w-illu {
		gap: 2rem;
	}

	.badge-banner {
		margin-top: 1.5rem;
		margin-bottom: 0;
	}

	.badge-text {
		height: auto;
		text-align: center;
	}

	.badge-text ul {
		flex-wrap: nowrap;
		align-items: center;
		height: auto;
		padding: 0;
	}

	.image-grid-1 {
		grid-template-columns: repeat(2, 1fr);
	}

	.image-grid-1 img:nth-child(9) {
		grid-column: 1 / 3;
	}

	.image-grid-2 {
		grid-template-columns: repeat(1, 1fr);
	}

	.image-grid-2 img:nth-child(1) {
		grid-column: 1;
	}
}

@media screen and (max-width: 450px) {
	.content {
		padding-top: 2rem;
		padding-bottom: 5rem;
	}

	.centered {
		margin-left: 1.5rem;
		margin-right: 1.5rem;
	}

	.align-left,
	.align-right {
		margin-left: 1.5rem;
		margin-right: 1.5rem;
	}

	.content-illu-1 {
		height: 450px;
		width: 100vw;
	}

	.content-text-1 {
		padding: 0 1.5rem;
	}
}

/* Patchwork */
.patchwork {
	position: relative;
	width: 110%;
	max-width: 1400px;
	height: 2000px;
	margin: 10rem 0;
}

.ghosts {
	position: absolute;
	width: 1500px;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
}

.ghosts img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.boots {
	position: absolute;
	width: 690px;
	height: 660px;
	bottom: 10%;
	right: 2%;
}

#boot-1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 450px;
	height: 450px;
}

#boot-2 {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 475px;
	height: 475px;
}

.patchwork img {
	position: absolute;
}

#chapeau {
	width: 440px;
	top: 5%;
	left: 0;
}

#violon {
	width: 370px;
	top: -2%;
	right: 10%;
}

#citrouille {
	width: 290px;
	top: 30%;
	left: 0;
}

#hache {
	width: 280px;
	top: 47%;
	left: 12%;
}

#mannequin {
	width: 180px;
	top: 55%;
	right: 0;
}

#carton {
	z-index: 1;
	width: 880px;
	bottom: 0;
	left: -20%;
}

@media screen and (max-width: 1100px) {
	.patchwork {
		height: 1700px;
	}

	.patchwork > * {
		scale: 0.8;
	}

	.ghosts {
		transform: translateX(-62%);
	}
}

@media screen and (max-width: 900px) {
	.patchwork {
		margin: 20rem 0 10rem;
	}

	.boots {
		bottom: 10%;
		right: -15%;
	}

	#chapeau {
		top: -15%;
		left: 5%;
	}

	#citrouille {
		top: 10%;
		left: 10%;
	}

	#hache {
		top: 43%;
		left: -2%;
	}

	#mannequin {
		top: 48%;
		right: 2%;
	}

	#carton {
		bottom: -3%;
		left: -40%;
	}
}

@media screen and (max-width: 700px) {
	.patchwork {
		width: 120%;
		height: 1400px;
		margin: 15rem 0 8rem;
	}

	.patchwork > * {
		scale: 0.6;
	}

	.ghosts {
		transform: translateX(-83%);
	}
}

@media screen and (max-width: 600px) {
	.patchwork {
		width: 130%;
		height: 1200px;
		margin: 12rem 0 6rem;
	}

	.patchwork > * {
		scale: 0.5;
	}

	.ghosts {
		transform: translateX(-100%);
		top: 25%;
	}

	.boots {
		bottom: 5%;
		right: -20%;
	}

	#violon {
		right: 5%;
	}

	#hache {
		top: 35%;
		left: -5%;
	}

	#mannequin {
		top: 45%;
	}

	#carton {
		bottom: -6%;
		left: -45%;
	}
}

@media screen and (max-width: 450px) {
	.patchwork {
		width: 150%;
		height: 1100px;
		margin: 10rem 0 5rem;
	}

	.patchwork > * {
		scale: 0.4;
	}

	.ghosts {
		transform: translateX(-125%);
	}
}
