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

/* Override */

.intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 -9px 6px -3px #000, 0 -10px 20px 20px rgb(0 0 0 / 80%);
	padding: 0rem 3rem 3rem 3rem;
	min-height: 40rem;
	margin-top: 3rem;
	position: relative;
}

.intro-title {
	color: #4d1905;
	margin: 3rem auto;
	mix-blend-mode: multiply;
	text-align: center;
	width: 70%;
	display: inline;
	max-width: 950px;
}

.intro-title > span {
	font-weight: 550;
	font-style: italic;
	color: #e5335b;
	display: inline;
}

@media (max-height: 1200px) {
	.intro {
		min-height: 85vh;
	}
}

@media (max-width: 1460px) {
	.intro-title {
		width: 80%;
	}
}

@media (max-width: 1290px) {
	.intro-title {
		font-size: 3rem;
		width: 90%;
	}
}

@media (max-width: 768px) {
	.intro-title {
		font-size: 2.3rem;
	}
}

.intro-title > * {
	display: block;
}

.intro-list {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	padding: 0rem 0rem;
	width: 100%;
	z-index: 1;

}

@media (max-width: 1600px) {
	.intro-list {
		padding: 0rem 0rem 0;
	}
}

@media (max-width: 1400px) {
	/* .intro-list {
  } */
}

@media (max-width: 1300px) {
	.intro-list {
		justify-content: center;
	}
}

@media (max-width: 1024px) {
	.intro-list {
		justify-content: center;
		padding: 0 0 4rem;
		width: 80%;
	}
}

.intro-list > * {
	display: inline-grid;
	list-style: none;
	padding: 0 1rem;
}

.intro-list li > span {
	color: #4d1905;
	font-family: 'bree', sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
}

.intro-list li img {
	filter: drop-shadow(0 1px 0.05rem rgb(80, 50, 100));
	height: 245px;
	margin-top: 0.5rem;
	width: 240px;
}

.intro-list li img:hover {
	filter: drop-shadow(0px 4px 0.2rem rgba(80, 50, 100, 0.8));
}

.intro-list li img:active {
	filter: drop-shadow(0 0.8px 0.025rem rgb(80, 50, 100)) !important;
}

@media (max-width: 1375px) {
	.intro-list li img {
		height: 205px;
		width: 200px;
	}
}

.intro-buttons {
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding-bottom: 120px;
}

@media (max-width: 768px) {
	.intro-buttons {
		flex-direction: column;
	}
}

.intro-buttons .button {
	margin: 1rem;
}

.intro-separator {
	bottom: 2rem;
	position: absolute;
	width: 20%;
	max-width: 12rem;
	min-width: 8rem;
	z-index: 0;
}

.section.services {
	padding: 5rem 0;
}

.banner-container {
	font-variant-ligatures: none;
}

.section.collab {
	box-shadow: 0 -18px 10px -10px #000 inset,
	0px 0px 10px 5px rgba(0, 0, 0, 1);
}

.section.services > .teaser,
.section.collab > .teaser {
	align-items: flex-start;
	padding: 10rem 0;
	gap: 10px;
}



.section.services .teaser .teaser-img,
.section.collab .teaser .teaser-img {
	flex-basis: 40%;
	height: auto;
	max-width: 540px;
}

@media (max-width: 1024px) {
	.section.services .teaser .teaser-img,
	.section.collab .teaser .teaser-img {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 360px) {
	.section.services .teaser .teaser-img,
	.section.collab .teaser .teaser-img {
		margin: -80px 0px;
	}
}

.teaser-text {
	max-width: 540px;
	z-index: 1;
}

@media (max-width: 1024px) {
	.teaser-text {
		margin-top: 3rem;
		max-width: 100%;
	}
}

.section.services .teaser .teaser-text img,
.section.collab .teaser .teaser-text img {
	padding-right: 0.5rem;
	vertical-align: sub;
}

.section.services .teaser .teaser-text .link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	width: fit-content;
	color: #fff;
	text-decoration: none;
}

.section.services .teaser .teaser-text .link:hover {
	filter: invert(47%) sepia(76%) saturate(374%) hue-rotate(-20deg) brightness(111%) contrast(101%);
	scale: 1.1;
	transition: scale 0.3s cubic-bezier(0.25, 0, 0.2, 3);
}

.section.services .teaser .teaser-text .link p {
	font-family: 'bree', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
}

.section.services .teaser .teaser-text .separateur.dash {
	filter: grayscale(100%);
	margin-top: 1rem;
	mix-blend-mode: plus-lighter;
}

.section.services .teaser .teaser-text .services-keywords .keywords {
	background: #fff;
	border-radius: 0.5rem;
	color: #f85074;
	display: inline-block;
	font-family: 'bree', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0.3rem 0.2rem;
	padding: 0.1rem 0.5rem 0.2rem;
}

@media (min-width: 1025px) {

	.teaser-img > img {
		top:0;
		left: 0;
		width: 580px;
	}

	#service-heart {
		transform: translate(-30px, -100px) scale(0.8) rotate(10deg);
	}

	#service-plane {
		transform: translate(-80px, -80px) scale(0.8);
	}

	#service-pen {
		transform: translate(-20px, 100px) scale(4);
	}

	#service-vase {
		transform: translate(-40px, -100px) scale(0.8);
	}

	#collab-light {
		transform: translate(20px, -80px) scale(0.9);
	}

	.section.collab {
		padding: 5rem 0;
	}

}

@media (max-width: 1024px) {

	#service-heart {
		transform: scale(1) rotate(10deg);
	}

	#service-plane {
		transform: scale(1);
	}

	#service-pen {
		transform: translate(0px, -50px) scale(4);
	}

	#service-vase {
		transform: scale(1);
	}

	#collab-light {
		transform: scale(0.9);
	}

	.section.collab {
		padding: 5rem 0 2rem 0;
	}

}

.collab .collab-img {
	margin-left: 5rem;
	position: relative;
	width: 600px;
}

/* .collab .teaser-img > img:not(:first-child) {
  left: 0;
  position: absolute;
  top: 0;
  width: 600px;
} */

.collab-buttons {
	margin: 0;
	flex-wrap: wrap;
	gap: 2rem;
	width: 100%;
}

.collab-buttons>.button {
	margin-right: 0 !important;
}


@media (min-width: 792px) and (max-width: 1024px) {
	.intro-list > * {
		width: 33%;
	}
}

@media (max-width: 1024px) {
	.intro {
		padding: 4rem 0;
	}

	.teaser-text {
		margin-top: 1rem;
	}

	.section.services .teaser .teaser-text,
	.section.collab .teaser .teaser-text {
		padding: 5rem 5rem;
	}

	.section.services {
		padding: 2rem 0;
	}

	.section.services .teaser,
	.section.collab .teaser {
		padding: 2rem 0;
		gap: 0;
	}

	.section.services .teaser .teaser-img .img,
	.section.collab .teaser .teaser-img .img {
		margin: auto;
		text-align: center;
		transform: none;
		max-width: 95%;
		width: 500px;
		height: 500px;
	}

	.collab-buttons-mobile	{
		display: flex;
		justify-content: flex-start;
	}
	.collab-buttons {
		width:fit-content;
		flex-direction: unset;
	}
}

@media (max-width: 768px) {
	.intro {
		padding: 4rem 0;
	}

	.teaser .teaser-text {
		padding: 0 2rem;
	}

	.section.services .teaser .teaser-text,
	.section.collab .teaser .teaser-text{
		padding: 2rem 2rem;
	}
}

@media (max-width: 480px) {

	.collab-buttons {
		width: 98%;
		flex-direction: column;
	}

	.collab-buttons-mobile	{
		display: flex;
		justify-content: center;
	}
}

.section.pink.services {
	background-image: url(../../assets/common/background/pink.jpg);
	background-size: 125% 125%;
	background-position: top;
	color: #fbfbfb;
}

@media (max-width: 1025px) {
	.section.pink.services {
		background-image: url(../../assets/common/background/pink.jpg);
		background-size: 200% 100%;
		background-position: top;
		color: #fbfbfb;
	}
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {

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

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

		#service-pen.parallax-b2 {
			animation: parallaxB2 linear forwards;
			animation-timeline: view(-40%);
		}

		#collab-light.parallax-b2 {
			animation: parallaxB2 linear forwards;
			animation-timeline: view(-65%);
		}

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

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

			to {
				translate: 0 150px;
			}
		}

		@keyframes parallaxB2-contact {
			from {
				translate: 0 -20%;
			}

			to {
				translate: 0 20%;
			}
		}

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

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