/* Import de la police Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Import de la police Nunito */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

/* Import de la police Titillium Web */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap');



html{
	scroll-behavior: smooth;
}

:root {
	--brightBG: #ffffff;
	--darkBG: #1f1f1f;
}

/* Réinitialisation des styles par défaut du navigateur */
body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #070707;
	background-color:var(--brightBG);
	width:100%;
}

h1 {
    font-family: 'Nunito', sans-serif;
}

.clearboth{
	clear:both;
	height:0px;
	border:0;
}


#underscore {
	font-family: 'Nunito', sans-serif;
	color:#00ffac;
	font-size:2em;
	animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#containerTitle{
	position: absolute;
    background: var(--darkBG);
    height: 25em;
    top: 0px;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
	text-align:center;
    padding-top: 7em;
    box-sizing: border-box;	
}

@media (max-width: 2000px) {
	#containerTitle {
		height: 20em;
	}
	
	#CVcontainer{
		padding-top: 20em !important;
	}
}

@media (max-width: 1300px) {
	#containerTitle {
		height: 25em;
	}
	
	#CVcontainer{
		padding-top: 25em !important;
	}
}

#containerTitle .titleCv {
	font-size: 3em;
    color: white;
    align-content: center;
    justify-content: center;
}

@media (max-width: 768px) {
	#containerTitle .titleCv {
		width:90%;
		font-size:2em;
	}
}

#CVcontainer{
	position: relative;
	width: 100%;
	/* min-height: 100vh; */
	padding: 0em 0em;
	padding-top: 25em;/* 25 + 7 */
	box-sizing: border-box;
	background-image: url(../img/zigzag.jpg);
}

@media (max-width: 768px) {
	#CVcontainer{
		padding-bottom: 1em;
	}
}

#CV {
    position: relative;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
	justify-content: space-between;
    gap: 1em;
    margin: 0px auto;
    padding: 2em 4em;
}

#CV p.titleCv {
	width:100%;
	text-align:left;
	font-size:1.5em;
}

@media (max-width: 768px) {
	#CV p.titleCv{
		font-size:1.5em;
	}
}

#CV .titleCv{
	width:100%;
	margin:0px;
	font-size:3em;
	text-align:center;
}

@media (max-width: 768px) {
	#CV .titleCv{
		font-size:2em;
	}
}

#CV .cvCard {
    background-color: var(--brightBG);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 1em;
    width: 22.8%;
    box-sizing: border-box;
}

#CV h2 {
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5em;
}

#CV ul {
    list-style: none;
    padding: 0;
}

#CV ul li {
    margin: 1em 1em;
    font-size: 16px;
}

#CV ul li i {
	margin-right: 0.4em;
    color: #3732ff;
    width: 1.3em;
    font-size: 1.2em;
}

@media (max-width: 1300px) {
    #CV {
        flex-direction: column;
        align-items: center;
		padding: 2em 10px;		
    }

    #CV .cvCard {
        width: 90%;
        margin-bottom: 1em;
    }
}

#contact {
	background: rgb(249,249,249);
	background: -moz-linear-gradient(0deg, rgba(249,249,249,0) 0%, rgba(249,249,249,0) 99%, rgba(225,225,225,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(249,249,249,0) 0%, rgba(249,249,249,0) 99%, rgba(225,225,225,1) 100%);
	background: linear-gradient(0deg, rgba(249,249,249,0) 0%, rgba(249,249,249,0) 99%, rgba(225,225,225,1) 100%), url(../img/pipes.png);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f9f9f9",endColorstr="#e1e1e1",GradientType=1);	
}

#buttonContact{
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 10vh; /* Set the height to 11vh */
    width: 100%; /* Ensure the container takes the full width */
}

#buttonContact i {
	font-size: 1.5em;
    vertical-align: middle;
    margin-left: 0.3em;
}

@media (max-width: 768px) {
	#buttonContact i {
		font-size: 1.3em;
        vertical-align: middle;
        margin-left: 10px;
	}
}

.contact-button {
    padding: 1em 1em;
    font-size: 1.6em;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border-radius: 5px;
    display: inline-block; /* Ensure the button is an inline-block element */
	box-shadow: white 0px 0px 30px;

	background: rgb(55,50,255);
	background: -moz-linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	background: -webkit-linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	background: linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3732ff",endColorstr="#00d690",GradientType=1);
    border: none;
	color:white;

	font-weight: 700;
}

@media (max-width: 1300px) {
	.contact-button {
		padding: 1em 1em;
		font-size: 1.6em;
	}
}

.contact-button:hover {
    color: #3732ff; /* Darker blue color */
	border:2px #3732ff solid;
	background:white;
    transform: scale(1.1);
}

.quote-container {
    background: transparent;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 0em;
    width: 100%;
    text-align: right;
}

.quote {
	font-family: "Titillium Web", serif !important;
	font-size: 1.5em;
    color: #7b7b7b;
    margin-bottom: 20px;
    font-style: italic;
}

@media (max-width: 1300px) {
	.quote {
		margin-top: 20px;
	}
}

.author {
	font-family: "Titillium Web", serif !important;
    font-size: 1.2em;
    color: #999;
    text-align: right;
}

canvas {
	position:absolute;
	top:0;
	bottom:0;
	display: block;
	width: 100%;
	min-height: 100%;
}


header {
	width: 100%;
    box-sizing: border-box;
    background: #3732FF;
	color:white;
	/* background: rgb(32,28,190); */
	background: -moz-linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%);
	background: -webkit-linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%);
	background: linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#201cbe",endColorstr="#3732ff",GradientType=1);
	padding: 2em 4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 7em;
    z-index: 1000;
	transition: height 0.3s ease;
	overflow-y:hidden;
	box-shadow: 0 0 5px #0000009c;
	overflow:hidden;
}

@media (max-width: 1300px) {
    header {
		flex-direction: unset;
        text-align: center;
		height: 7em !important;	
		padding: 1em 1em;
    }

    nav ul {
		display: none;
        flex-direction: column;
        gap: 0.5em;
    }

    nav a {
        display: none;
        padding: 0.5em;
        text-align: center;
    }
}

header h1 {
    font-weight: bold;
    margin: 0;
	font-size:2em;

}

@media (max-width: 768px) {
	header h1 {
		text-align: right;
		width: 30%;
	}
}


.header-container {
	display: flex;
	align-items: end;
	line-height:2.2em;
}

.header-container h2 {
	margin-left:1.5em;
	font-size:1.5em;
    font-family: 'Nunito', sans-serif;
	text-align: right;
}

@media (max-width: 1300px) {
	.header-container h2 {
		margin-left:0px;
		font-size:1.5em;
		font-family: 'Nunito', sans-serif;
	}
}

#cubeCanvas {
	width: 100px;
	height: 100px;
	margin-left: 0px;
	background-color: transparent; /* Background color to see the canvas clearly */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    padding: 0;
}

nav a {
	font-size:1.2em;
    color: white;
    text-decoration: none;
    padding: 1.5em 2.0em;
	border-radius:6px;
    transition: border-bottom 0.3s, color 0.3s, background 0.3s, border-radius 0.3s; /* Smooth transition for hover effects */
	border-bottom:2px solid transparent;
}

main {
	width: 100%;
	box-sizing:border-box;
	background:white;
	width:100%;
}

section {
	padding: 2em 4em; /* Increase padding */
	padding-top:0em;
	border-top: 1px solid #c4c3c3;
}

main section#contact > h2{
	font-weight:bold;
    font-size: 3em;
	padding-top:1.5em;
    text-shadow: 0 0 5px #5d5d5d4f;
    color: #242424;	
}

main section > h2{
	text-align:center;	
}

main section#realisations > h2{
	text-align:center;
}

main section h2{
	font-weight:bold;
    font-size: 3em;
	padding-top:1.5em;	
}

footer {
    background: var(--darkBG); /* Couleur principale */
    color: white;
    text-align: right;
    position: relative;
    bottom: 0;
	width: 100%;
    box-sizing: border-box;
	/* background: rgb(32,28,190); */
	/* background: -moz-linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%); */
	/* background: -webkit-linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%); */
	/* background: linear-gradient(170deg, rgba(32,28,190,1) 0%, rgba(32,28,201,1) 35%, rgba(55,50,255,1) 62%); */
	/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#201cbe",endColorstr="#3732ff",GradientType=1); */
	padding: 2em 4em;
}

@media (max-width: 768px) {
	footer {
		padding: 1em 0;
	}
}

footer a{
    color: white;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
	box-sizing:border-box;
}

.footer-container p, .footer-container ul {
    margin: 0;
	padding:2em;
}

.form-container button{
	width: 50% !important;
    margin-left: 50%;
}

@media (max-width: 768px) {
	.form-container button{
		width: 100% !important;
		margin-left: 0% !important;		
	}
}

.site-map {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.site-map li {
    display: inline;
    margin: 0 10px;
}

.site-map a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-map a:hover {
    color: #ffd700;
}

.credits {
    margin-top: 10px;
    font-size: 0.9em;
}

/* Liens actifs et hover avec la couleur secondaire */
nav a:hover, nav a:active {
    background: #ffffff; /* Couleur secondaire */
	color: #3732FF;
	border-bottom:2px solid #00d690;
    border-radius: 5px;
}

/* Responsive Design */


/* @media (max-width: 480px) { */
    /* body { */
        /* font-size: 0.9em; */
    /* } */

    /* header h1 { */
        /* font-size: 1.5em; */
    /* } */

    /* nav ul { */
        /* gap: 0.25em; */
    /* } */

    /* nav a { */
        /* font-size: 0.9em; */
    /* } */
/* } */

/* Add these styles to your css/style.css file */

/* General styles for the section */
#realisations {
    background-color: var(--darkBG);
	background: linear-gradient(0deg, var(--darkBG) 0%, var(--darkBG) 99%, rgba(0,0,0,1) 100%);
    text-align: left;
    position: relative;
}

#realisations h2{
	color:white;
}

#realisations .button-container{
	/* height: 10vh;	 */
	text-align:center;
}

#realisations button {
    background-color: #3732ff;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 48px 24px 24px 24px;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border-radius: 20px 20px 20px 20px;
    display: inline-block;
    /* box-shadow: #ffffff21 0px 0px 30px; */
    border-bottom: 5px #ffffff solid;
    font-weight: 700;
}

#realisations button:hover {
    color: #3732ff; /* Darker blue color */
	border-bottom:0px;
	background:white;
    margin: 53px 24px 24px 24px;
    /* transform: scale(1.0); */
}

.realisation-header {
    text-align: center;
    margin-bottom: 30px;
}

.realisation-header h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.photo-container {
	float:left;
    width: 11vw;
    height: 11vw;
	margin-right: 2em;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: filter 0.3s, box-shadow 0.3s;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
	.photo-container {
        float: none;
        display: block;
        margin: 0 auto;
        margin-bottom: 1em;
        width: 150px;
        height: 150px;
        border-radius: 50%;
	}
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-container:hover {
    filter: grayscale(100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#presensation {
	box-sizing: border-box;
    font-size: 1.2em;
    color: #ffffff;
    width: 60%;
    margin: 2em auto 2em auto;
    text-align: justify;
    padding: 2em;
    border-radius: 0 0 100px 0;
    border-top: 0.3em solid #00dea3;
    background: #ffffff17;
}

@media (max-width: 768px) {
	#presensation {
		width:auto;
		text-align: left;
	}
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-container img {
	height: 100px;
    fill: white; /* Change la couleur en blanc */
    width: auto;
    object-fit: contain;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.gallery-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* FORM */

.container {
	display: flex;
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
	width: 70%;
    margin: 0 auto;
    margin-top: 2em;
}



.form-container {
    width: 70%;
    padding: 20px;
    box-sizing: border-box;
	font-size:1.2em;
}

.info-container {
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
	font-size:1.05em;
}

.container h2 {
    margin-bottom: 20px;
    color: #333;
	font-size:1.5em;
	padding-top: 0px;	
}

.container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.container input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.container textarea {
    height: 100px;
    resize: vertical;
}

.container button {
	background: rgb(55,50,255);
	background: -moz-linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	background: -webkit-linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	background: linear-gradient(170deg, rgba(55,50,255,1) 35%, rgba(0,214,144,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3732ff",endColorstr="#00d690",GradientType=1);
    width: 100%;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.3em;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 5px;
    display: inline-block; /* Ensure the button is an inline-block element */
	box-shadow: white 0px 0px 30px;
	border:2px white solid;
	font-weight: 700;
}

.container button:hover {
    color: #3732ff; /* Darker blue color */
	border:2px #3732ff solid;
	background:white;
    transform: scale(1.1);
}

.container .info-container p {
    margin: 10px 0;
    color: #555;
}

.container .info-container p strong {
    color: #333;
}

@media (max-width: 1300px) {
	.container {
		width: auto;
		display: block;
	}
	
	.form-container {
		font-size:1.1em;
		width: 100% !important;
		display:block;
	}
	
	.container label {
		margin-bottom: 6px;
		font-weight: normal;
	}
	
	.info-container {
		width: 100% !important;
		display:block;
		border-bottom: 1px solid #dddddd;
	}
	
	.container input, textarea {
		margin-bottom: 10px;
	}
	
	section{
		padding: 1em;
	}
}

.mandatory{
	color:red;
}

.gradient-text {
    background: linear-gradient(170deg, rgba(55, 50, 255, 1) 35%, rgba(0, 214, 144, 1) 100%);
    -webkit-background-clip: text; /* Nécessaire pour les navigateurs WebKit (Chrome, Edge, Safari) */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent pour afficher le dégradé */
}