@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Titan+One&display=swap');

* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	font-family: "comfortaa", sans-serif;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

html {
	font-size: 62.5%;
}

body {
	background-color: #F9F7EB;
}


.logo {
	display: flex;
	justify-content: center;

}

.logo img {
	max-width: 30rem;
	margin: 2rem 0;
}

.nav {
	width: 50%;
	background-color: rgba(255, 255, 255, 80%);
	backdrop-filter: blur(10px) contrast(1.2);
	padding: 2rem;
	border-radius: 5rem;
	display: flex;
	justify-content: space-evenly;
	margin: auto;
	position: sticky;
	top: 2rem;
	box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 6%);
	z-index: 1000;
}

.nav a {
	text-decoration: none;
	color: #CBAED3;
	font-size: 1.5rem;
	font-family: "Titan One", sans-serif;
	transition: all 0.3s ease-in-out;
}

.nav a:hover {
	color: #7C6981;
}

/* intro */

section#intro {
	min-height: 70vh;
}

section#intro h1 {
	text-align: justify;
}

section#intro h3 {
	text-align: justify;
}

section#intro p {
	text-align: justify;
}

div.violet {
	width: 100%;
	min-height: 60vh;
	background-color: #CBAED3;
	margin: 5rem 0;
	display: flex;
	position: relative;
}

div.content {
	width: 50%;
	margin: auto 5% auto 15%;
	z-index: 900;
	color: #F9F7EB;
}

h1 {
	font-size: 4.2rem;
	font-family: "Titan One", sans-serif;
	font-weight: normal;
	text-align: center;
}

h3 {
	font-size: 2rem;
	font-weight: normal;
	margin-top: 1rem;
	font-weight: bold;
	text-align: center;
}

p {
	font-size: 1.8rem;
	margin-top: 2rem;
	text-align: center;
	font-weight: lighter;
	line-height: 1.5;
}

strong {
	font-weight: 900;
}


h2 {
	font-family: "Titan One", sans-serif;
	font-size: 2.5rem;
	margin-top: 2rem;
	font-weight: normal;
	text-align: center;
	color: #F9F7EB;
}

ul {
    list-style: none;
}
li {
    font-size: 1.8rem;
    margin-top: 0.5rem;
	font-weight: lighter;
}

li::before {
    content: "\f005";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
	font-size: 1.4rem;
    margin-right: 10px;
}

.btn {
	display: flex;
	gap: 2rem;
}

.btn a,
a.button,
.button {
	padding: 1.5rem 5rem;
	background-color: #7C6981;
	color: #F9F7EB;
	border-radius: 5rem;
	font-size: 1.8rem;
	transition: all 0.3s ease;
	font-family: "Titan One", sans-serif;
	text-transform: uppercase;
	border: none;
	margin-top: 2rem;
	width: 100%;
	text-align: center;
	display: block;
}

div.btn a:hover,
a.button:hover,
.button:hover {
	background-color: #CDE0A7;
	color: #F9F7EB;
}

div#pc {
	width: 50%;
	min-height: 60vh;
	position: relative;
}

div#pc video {
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
	display: block;
	pointer-events: none;
    user-select: none;
}



div#gradient {
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, rgba(203, 174, 211, 1) 0%, rgba(213, 190, 216, 1) 60%, rgba(255, 255, 255, 0) 100%);
	position: absolute;
	z-index: 2;
}

/* vague */

svg.wave {
	display: block;
	width: 100%;
	height: 80px;
	margin: 0;
	padding: 0;
	overflow: visible;
	z-index: 10;
}

svg.wave2 {
    transform: scaleY(-1);
    margin: -5rem 0 0 0;
}

/* intro services */


section#intro-services,
.damier-tordu {
	background-image: url(/assets/img/damier-tordu.png);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	display: flex;
	margin-top: -65px;
}

div.glass {
	width: 75%;
	background-color: rgba(203, 174, 211, 20%);
	backdrop-filter: blur(15px);
	padding: 5rem;
	border-radius: 5rem;
	margin: 14.5rem auto;
	box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 6%);
}

div.wrapper img {
	width: 100%;
	object-fit: cover;
	border-radius: 2rem;
}

div.wrapper {
	/* background-color: rgba(255, 255, 255, 0.27);
	backdrop-filter: blur(8px);border-radius: 1rem; */
	display: flex;
	flex-direction: column;
	/* align-items: center; */
	color: #7C6981;
	justify-content: center;
}

div.wrapper p {
	text-align: justify;
}

/* intro projets */

section#intro-projets {
	width: 70%;
	margin: 10rem auto;
}

section#intro-projets h1 {
	color: #CBAED3;
}

section#intro-projets h2 {
	color: #CBAED3;
	text-align: center;
}

section#intro-projets p {
	color: #7C6981;
	margin-top: .5rem;
	text-align: center;
}


img.img-link {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	z-index: 1;
	border-radius: 5rem;
	transition: all 0.3s ease-in-out;
	object-view-box: inset(2%);
	cursor: pointer;
}

img.img-link:hover {
	object-view-box: inset(0%);
	transition: all 0.3s ease-in-out;
}

div.text-link {
	cursor: pointer;
	position: absolute;
	z-index: 2;
	width: 100%;
	bottom: -7rem;
}

.text-link h2 {
	margin-top: 0;
}

.container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr .5fr 1fr;
	gap: 5rem 5rem;
	margin-bottom: 10rem;
}

.container-projets {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr auto .5fr auto 1fr;
	gap: 2.5rem 5rem;
	margin: 5rem auto;
	height: 130vh;
}

.projet {
	position: relative;
	margin-bottom: 7rem;

}

.projet1 {
	grid-column: 1;
	grid-row: 1 / 4;
}

.projet1 img {
	object-position: top;
}

.projet2 {
	grid-column: 2;
	grid-row: 1;
}

.projet3 {
	grid-column: 1;
	grid-row: 5;
}

.projet4 {
	grid-column: 2;
	grid-row: 3 / 6;
}

.projet4 img {
	object-position: top;
}



/* footer */

footer {
	width: 100%;
	min-height: 20vh;
	background-image: url(/assets/img/damier-petit.png);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.footer-content {
	width: 70%;
	padding: 5rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	margin: auto;
}

.socials {
	display: flex;
	width: 50%;
	justify-content: space-evenly;
}

.socials a {
	color: #F9F7EB;
	background-color: #7C6981;
	font-size: 2rem;
	border-radius: 100%;
	width: 5rem;
	height: 5rem;
	text-align: center;
	line-height: 5rem;
	transition: all 0.3s ease-in-out;
}

.socials a:hover {
	background-color: #CDE0A7;
	color: #F9F7EB;
}

hr.horizontal {
	width: 100%;
	border: .25rem solid #CBAED3;
	border-radius: 5rem;
	margin: 2rem 0;
}

hr.vertical {
	border: .25rem solid #7C6981;
	border-radius: 5rem;
	margin: 0 2rem;
	height: 2rem;
}

.legal {
	color: #7C6981;
	display: flex;
	align-items: center;
}

.legal p {
	margin: 0;
}

.legal a {
	color: #7C6981;
	font-size: 1.6rem;
	margin: 0;
	transition: all 0.3s ease-in-out;
}

.legal a:hover {
	font-weight: bolder;
}

.grid2 {
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	row-gap: 5rem;
	grid-template-rows: none;
}

@media (max-width: 1350px) {
	.container-projets {
		display: grid;
		margin-bottom: 10rem;
		width: 100%;
		grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
		row-gap: 5rem;
		grid-template-rows: none;
	}


	.projet1,
	.projet2,
	.projet3,
	.projet4 {
		grid-column: auto;
		grid-row: auto;

	}


	div.content {
		width: 70%;
		margin: auto;
		padding: 5rem 0;
	}

	div#pc {
		position: absolute;
		height: 100%;
		width: 100%;
	}

	section#intro h1 {
    text-align: left;
}
}

@media (max-width: 1050px) {

	hr.vertical{
	display: none;
	}

	.legal {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.nav {
		width: 90%;
		gap: 1rem;
	}

}

@media (max-width: 850px) {
	.btn {
		flex-direction: column;
		gap: unset;
	}
	
	.socials {
		width: 100%;
	}

	.container-projets {
		grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	}
}

@media (max-width: 450px) {
	section#intro-services, .damier-tordu {
    background-attachment: scroll;
}
}