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

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

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

.content-text-w-illu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8rem;
	margin: 7rem 0;
	padding: 0 20rem;
	max-width: 1250px;
}

.content-text-w-illu span {
	font-weight: 600;
}

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

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

.recap span {
	color: #e5335b;
	font-weight: 700;
	text-decoration: none;
}

a {
	text-decoration: none;
}

.recap span:hover {
	color: #F3974E;
}

.content-illu-1 {
	height: 450px;
	width: 370px;
	object-fit: cover;
	border-radius: 1rem;
}

.picture-credits {
	font-size: 0.8rem;
	font-style: italic;
	text-align: center;
}

.badge-banner-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
}

.badge-banner {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5rem;
	margin: 1rem 0 0.3rem;
	padding: 0 20rem;
	max-width: 1250px;
	width: 100%;
}

.badge {
	height: 150px;
}

.badge-text {
	height: 150px;
}

.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: 2.5rem;
	height: 100px;
}

.badge-text li {
	max-width: 240px;
	line-height: 1.5rem;
}

.patchwork {
	position: relative;
	margin-bottom: 8rem;
	padding: 40rem 0 50rem;
	width: 100%;
	max-width: 1250px;
}

.patchwork-illu {
	position: absolute;
}

#bd-rouge {
	top: 15%;
	left: 11%;
	height: 220px;
}

#vinyle-a {
	top: 22%;
	left: 47%;
	height: 115px;
}

#baseball-sam {
	top: 12%;
	left: 75%;
	height: 220px;
}

#baseball-digger {
	top: 35%;
	left: -6%;
	height: 280px;
	z-index: 1;
}

#console {
	top: 50%;
	left: 52%;
	height: 470px;
	transform: translate(-50%, -50%);
	z-index: 1;
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
		.parallax-b1 {
			animation: parallaxB1 linear forwards;
			animation-timeline: view(-15%);
		}

		.parallax-b2 {
			animation: parallaxB2 linear forwards;
			animation-timeline: view(-15%);
		}

		.parallax-b3 {
			animation: parallaxB3 linear forwards;
			animation-timeline: view(-18%);
		}

		.parallax-f1 {
			animation: parallaxF1 linear forwards;
			animation-timeline: view(-15%);
		}

		.parallax-f2 {
			animation: parallaxF2 linear forwards;
			animation-timeline: view(-15%);
		}
		.parallax-f3 {
			animation: parallaxF3 linear forwards;
			animation-timeline: view(-15%);
		}

		@keyframes parallaxB1 {
			from {
				translate: 0 -50px;
			}

			to {
				translate: 0 50px;
			}
		}

		@keyframes parallaxB2 {
			from {
				translate: 0 -100px;
			}

			to {
				translate: 0 100px;
			}
		}

		@keyframes parallaxB3 {
			from {
				translate: 0 -150px;
			}

			to {
				translate: 0 150px;
			}
		}

		@keyframes parallaxF1 {
			from {
				translate: 0 50px;
			}

			to {
				translate: 0 -50px;
			}
		}

		@keyframes parallaxF2 {
			from {
				translate: 0 100px;
			}

			to {
				translate: 0 -100px;
			}
		}

		@keyframes parallaxF3 {
			from {
				translate: 0 200px;
			}

			to {
				translate: 0 -200px;
			}
		}
	}
}

#vinyle-b {
	top: 36%;
	left: 85%;
	height: 170px;
}

#vinyle-c {
	top: 60%;
	left: 8%;
	height: 190px;
}

#bd-rose {
	top: 65%;
	left: 52%;
	height: 120px;
}

#bd-jaune {
	top: 54%;
	left: 77%;
	height: 180px;
}

#bd-violette {
	top: 68%;
	left: -33%;
	height: 555px;
}

#baseball-basti {
	top: 82%;
	left: 45%;
	height: 240px;
}

#vinyle-d {
	top: 75%;
	left: 85%;
	height: 450px;
}

.content-text-2 {
	margin-top: 10rem;
}

.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);
}

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

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

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

.full-width-images {
	display: flex;
	width: 100%;
	max-width: 1800px;
	margin: 15rem 0;
}

.vinyle {
	width: 66%;
	object-fit: cover;
}

.tour {
	width: 34%;
	object-fit: cover;
}

.content-text-6 {
	margin: 15rem 0;
}

.content-text-6 p {
	margin-bottom: 1.5rem;
}

.content-text-w-illu-8 {
	margin-top: 15rem;
}

.content-illu-8 {
	height: 420px;
	object-fit: cover;
}

i span {
	font-weight: 400 !important;
	text-decoration: underline;
}

.prompt-text {
	padding-top: 4rem;
}

.cover-ai {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem !important;
	margin-bottom: 12rem !important;
}

.cover-ai img {
	width: 49.5%;
	border-radius: 1rem;

}

.palette-section {
	margin: 15rem 0;
	padding: 0 20rem;
	max-width: 1250px;
}

.palette-section div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.palette-intro {
	margin-bottom: 2rem;
}

.palette {
	width: 47%;
}

.palette-text {
	width: 47%;
}

.vector-section {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}

@media screen and (min-width: 769px) {

	.vector-section {
		margin-top: 6rem !important;
	}
}

.image-vector {
	animation: transition-image-vector 10000ms ease-in-out infinite;
	opacity: 100%;
}

.image-final {
	animation: transition-image-final 10000ms ease-in-out infinite;
	position: relative;
	left: -100%;
	opacity: 0%;
	transition: opacity 0.5s;
}

.image-final:hover {
	opacity: 100%;
}

.vector:nth-child(2) .image-vector {
	animation-delay: 0.25s;
}

.vector:nth-child(2) .image-final {
	animation-delay: 0.25s;
}

.vector:nth-child(3) .image-vector {
	animation-delay: 0.5s;
}

.vector:nth-child(3) .image-final {
	animation-delay: 0.5s;
}


.vector {
	display: flex;
	width: 32%;
	
}

.vector img {
	width: 100%;
	min-width: 100%;
	border-radius: 1rem;
}

.recap {
	margin: 15rem 20rem 10rem;
	max-width: 1250px;
}

.recap img {
	width: 100%;
	object-fit: contain;
}

@media screen and (max-width: 1600px) {
	.content-text-w-illu {
		padding: 0 12rem;
	}

	.badge-banner {
		padding: 0 12rem;
	}

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

	.centered {
		margin: 0 12rem;
	}

	.palette-section {
		padding: 0 12rem;
	}

	.recap {
		margin: 15rem 12rem 12rem;
	}
}

@media screen and (max-width: 1400px) {
	.content-text-w-illu {
		padding: 0 8rem;
	}

	.badge-banner {
		padding: 0 8rem;
	}

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

	.centered {
		margin: 0 8rem;
	}

	.palette-section {
		padding: 0 8rem;
	}

	.recap {
		margin: 15rem 8rem 10rem;
	}
}

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

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

	.badge-banner {
		padding: 0 7rem;
	}

	.badge-text ul {
		height: 110px;
		row-gap: 0.2rem;
		column-gap: 6rem;
	}

	.badge-text li {
		max-width: none;
	}

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

	.centered {
		margin: 0 7rem;
	}

	.palette-section {
		padding: 0 7rem;
	}

	.recap {
		margin: 15rem 7rem 10rem;
	}
}

@media screen and (max-width: 1100px) {
	.content-text-w-illu {
		padding: 0 5rem;
	}

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

	.badge-banner {
		padding: 0 5rem;
	}

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

	.badge-text li {
		max-width: 240px;
	}

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

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

	.centered {
		margin: 0 5rem;
	}

	.palette-section {
		padding: 0 5rem;
	}

	.recap {
		margin: 13rem 5rem 8rem;
	}
}

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

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

	.content-illu-1 {
		height: 100%;
		width: 370px;
		object-fit: cover;
		border-radius: 1rem;
	}

	.content-text-w-illu-8 {
		flex-direction: column;
		gap: 5rem !important;
	}

	.content-illu-8 {
		height: 240px;
	}

	.badge-banner {
		padding: 0 3rem;
		gap: 3rem;
	}

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

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

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

	.centered {
		margin: 0 3rem;
	}

	.palette-section {
		padding: 0 3rem;
	}

	.palette-section div {
		flex-direction: column;
	}

	.palette {
		width: 60%;
		margin-bottom: 2rem;
	}

	.palette-text {
		width: 100%;
	}

	.recap {
		margin: 10rem 3rem 6rem;
	}
}

@media screen and (max-width: 800px) {
	.badge-banner {
		flex-direction: column;
		gap: 3rem;
	}

	.palette {
		width: 70%;
	}
}

@media screen and (max-width: 700px) {
	.content-text h2 {
		font-size: 2.3rem;
		line-height: 2.2rem;
	}

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

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

	.full-width-images {
		flex-direction: column;
		gap: 5rem;
	}

	.full-width-images img {
		width: 100%;
	}

	.vector-section {
		flex-direction: column;
		gap: 1.5rem;
	}

	.vector {
		width: 100%;
	}

	.recap {
		margin: 7rem 3rem 3rem;
	}
}

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

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

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

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

	.badge-text li {
		max-width: none;
	}

	.cover-ai {
		flex-direction: column;
		gap: 1rem;
	}

	.cover-ai img {
		width: 100%;
	}

	.palette-section {
		margin-top: 10rem;
	}

	.palette {
		width: 100%;
	}
}

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

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

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

	.content-illu-1 {
		height: 100%;
		width: 100vw;
		border-radius: 0;
	}

	.badge-banner {
		padding: 0 1.5rem;
	}

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

	.centered {
		margin: 0 1.5rem;
	}

	.palette-section {
		padding: 0 1.5rem;
	}

	.recap {
		margin: 7rem 1.5rem 0;
	}
}

/* Patchwork responsive */

@media screen and (max-width: 1024px) {
	#console {
		scale: 0.9 !important;
	}

	#baseball-digger {
		left: -10%;
	}
}

@media screen and (max-width: 900px) {
	.patchwork {
		padding: 30rem 0 35rem;
	}

	.patchwork-illu {
		scale: 0.8 !important;
	}

	#bd-rouge {
		top: 4%;
		left: 5%;
	}

	#vinyle-a {
		top: 15%;
		left: 40%;
	}

	#console {
		left: 48%;
		scale: 0.85 !important;
	}

	#vinyle-c {
		top: 70%;
	}
	#bd-rose {
		top: 70%;
	}

	#vinyle-d {
		left: 75%;
	}
}

@media screen and (max-width: 800px) {
	.patchwork {
		margin-bottom: 12rem;
	}

	.patchwork-illu {
		scale: 0.7 !important;
	}

	#vinyle-a {
		top: 27%;
	}

	#baseball-sam {
		top: 15%;
		left: 70%;
	}

	#console {
		left: 48%;
		scale: 0.8 !important;
	}

	#vinyle-b {
		left: 80%;
	}

	#vinyle-c {
		top: 65%;
		left: 0%;
	}

	#bd-rose {
		top: 72%;
		left: 48%;
	}

	#bd-jaune {
		top: 60%;
	}

	#bd-violette {
		top: 70%;
		left: -40%;
	}

	#baseball-basti {
		top: 85%;
	}

	#vinyle-d {
		top: 80%;
	}
}

@media screen and (max-width: 700px) {
	.patchwork {
		padding: 35rem 0 35rem;
	}

	.patchwork-illu {
		scale: 0.6 !important;
	}

	#vinyle-a {
		top: 30%;
		left: 35%;
	}

	#baseball-sam {
		left: 65%;
	}

	#baseball-digger {
		top: 28%;
		left: -14%;
	}

	#console {
		scale: 0.65 !important;
		left: 40%;
	}

	#vinyle-b {
		top: 32%;
		left: 78%;
	}

	#bd-rose {
		top: 70%;
		left: 44%;
	}

	#bd-violette {
		top: 72%;
		left: -45%;
	}

	#baseball-basti {
		top: 77%;
		left: 40%;
	}

	#vinyle-d {
		top: 77%;
		left: 65%;
	}
}

@media screen and (max-width: 600px) {
	.patchwork {
		padding: 30rem 0 30rem;
	}

	.patchwork-illu {
		scale: 0.5 !important;
	}

	#bd-rouge {
		top: 8%;
		left: -5%;
	}

	#vinyle-a {
		left: 30%;
	}

	#baseball-sam {
		left: 60%;
	}

	#baseball-digger {
		top: 22%;
		left: -20%;
	}

	#console {
		left: 32%;
		scale: 0.6 !important;
	}

	#vinyle-b {
		top: 35%;
		left: 68%;
	}

	#vinyle-c {
		left: -25%;
	}

	#bd-rose {
		top: 72%;
		left: 35%;
	}

	#bd-jaune {
		top: 65%;
		left: 70%;
	}

	#bd-violette {
		top: 77%;
		left: -50%;
	}

	#baseball-basti {
		top: 80%;
		left: 30%;
	}

	#vinyle-d {
		left: 60%;
	}
}

@media screen and (max-width: 490px) {
	#console {
		left: 28%;
		scale: 0.58 !important;
	}

	#bd-violette {
		left: -70%;
	}
}

@media screen and (max-width: 430px) {
	#console {
		left: 20%;
		scale: 0.5 !important;
	}
}

@media screen and (max-width: 400px) {
	.patchwork-illu {
		scale: 0.45 !important;
	}

	#bd-rouge {
		top: 15%;
	}

	#vinyle-a {
		top: 35%;
	}

	#baseball-sam {
		top: 20%;
	}

	#baseball-digger {
		top: 25%;
		left: -30%;
	}

	#console {
		left: 13%;
		scale: 0.42 !important;
	}

	#vinyle-b {
		top: 38%;
	}

	#vinyle-c {
		top: 66%;
		left: -37%;
	}

	#bd-rose {
		left: 30%;
	}

	#bd-jaune {
		left: 65%;
	}

	#bd-violette {
		left: -80%;
	}

	#baseball-basti {
		top: 78%;
		left: 17%;
	}

	#vinyle-d {
		left: 45%;
	}
}

@media screen and (max-width: 380px) {
    #console {
        left: 6%;
    }
}

@media screen and (max-width: 315px) {
    #console {
        left: 0%;
    }
}

/* Animations */
@media only screen and (hover:none) and (pointer: coarse){
	@keyframes transition-image-vector {
		50%,
		87.5% {
			opacity: 0;
		}

		0%,
		43.75%,
		93.75%,
		100% {
			opacity: 1;
		}
	}

	@keyframes transition-image-final {
		0%,
		37.5%,
		100% {
			opacity: 0;
		}

		50%,
		87.5% {
			opacity: 1;
		}
	}
}