/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    overflow-x: hidden;
    width: 100%;
	cursor: auto;
}
body.loaded {
  overflow: auto;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    height: auto;
    background-color: rgb(250, 253, 255);

}

html {
    scroll-behavior: smooth;
}


.navbar {
    height: 5vh;
    width: 5vh;
    position: fixed;
    margin: 3vh;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    pointer-events: auto;
    border-radius: 50px;
	justify-content: baseline;
}

.navbar img {
	position: absolute;
	height: 3vh;
	aspect-ratio: 1 /1;
	margin: 10%;
	text-decoration: none;
	font-family: Poppins;
	color: rgb(0, 0, 0);
	font-size: 2vw;
}

.visible {
	opacity: 0;
	pointer-events: none; /* Désactive les interactions */
	visibility: hidden; /* Optionnel */
  }
  
  .visible.active {
	opacity: 1;
	pointer-events: auto; /* Réactive les interactions */
	visibility: visible; /* Optionnel */
  }

/* .navbar h2 {
	font-family: Poppins;
	color: rgb(194, 224, 208);
	font-size: 3vw;
	font-weight: 600;
	padding-bottom: 10vh;
} */

.navbar a {
	text-decoration: none;
	font-family: Poppins;
	color: rgb(0, 0, 0);
	font-size: 3vw;
}

.navbar li {
	margin-bottom: 10vh;
}

.nav-top {
	margin-top: 20%;
	text-align: center;
}

.navbar ul {
	margin-top: 20%;
	margin-left: 10%;
	/* background-color: salmon; */
	align-items: center;
	justify-content: center;
}

.nav-img-container {
	margin-top: 0%;
	height: 10vh;
	overflow: hidden;
	
}

.current-section {
	position: fixed;
	margin-inline: 48%;
	margin-top: 2%;
	color: rgb(255, 255, 255);
	border-radius: 5px;
	font-family: Poppins, sans-serif;
	text-decoration: underline;
	text-underline-offset: 1vh;
	font-size: 2.5vh;
	font-weight: 200;
	z-index: 1000;
  }
  

.nav-img {
	margin: auto;
	margin-top: 5%;
	/* background-color: rgb(255, 236, 253); */
	background: rgb(255, 252, 255);
	border-radius: 50px;
}

.Contact-btn {
	position: fixed;
	top: 3%;
	right: 2%;
	font-family: Poppins;
	font-size: 200;
	color: rgb(255, 255, 255);
	font-size: 2.5vh;
	font-weight: 200;
	padding: 10px 20px;
	border-radius: 5px;
	z-index: 2000; /* Augmentation du z-index */
	font-family: Poppins, sans-serif;
	text-decoration: none;
	pointer-events: auto; /* Force les événements de clic */
}

/* Ajout d'un effet hover */
.Contact-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
	transition: background-color 0.3s ease;
}

.main {
	height: 400vh;
	background-color: #000000 ;
	display: flex;
	flex-direction: row;
}

.homeBG {
	position: absolute;
	width: 100vw;
	height: 100vh;
	background-color: transparent;
	top: 0%;
	left: 0%;
	/* filter: blur(1px); */
	z-index: 0;
	opacity: 0.5;
}


.column-right {
    width: 100%;
    float: right;
    scroll-snap-align: start;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.container-home {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex; /* Pour placer les colonnes côte à côte */
}

.container-home-left {
    justify-content: center;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
	z-index: 10;
	color: aliceblue;
	font-size: 2.5vh;
	border-radius: 50px;
}

.container-home-left p {
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	margin-left: 40%;
	margin-top: 20%;
	text-align: left;
	opacity: 1;
	color: rgb(241, 240, 255);
}

.container-home-right {
    text-align: left;
	justify-content: center;
    width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
	z-index: 10;
	margin-left: 10%;
	
}

.pre-row {
	text-align: left;
	justify-content: left;
	align-items: center;
	position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.bouton1 {
	position: relative;
	width: 20vh;
	height: 6vh;
	background-color: #ffffff;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Poppins;
	font-size: 2vh;
}

.bouton2 {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
	width: 18vh;
	height: 6vh;
	opacity: 1;
	border-radius: 5px;
	margin-left: 1%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Poppins;
	font-size: 2vh;
}

.container-home-right h1 {
    font-family: Poppins;
    color: rgb(255, 255, 255);
    font-size: 10.5vh;
    font-weight: 450;
    z-index: 10; /* Assurez-vous que le texte est au-dessus de la vidéo */
	margin-bottom: 3%;
	margin-top: 10%;
	opacity: 0.9;
}









.section-intro {
	margin-top: 15%;
	height: 50vh;
	width: 100%;
	background-color: rgb(0, 0, 0);
}


.section-intro-container h1, h2 {
	color: rgb(255, 255, 255);
	border-radius: 5px;
	font-family: Poppins, sans-serif;
	text-underline-offset: 1vh;
	font-size: 7vh;
	font-weight: 400;
	z-index: 1000;
	margin: 5%;
}

.section-intro-container h2 {
	font-size: 3vh;
	font-weight: 200;
	z-index: 1000;
	margin: 5%;
}

.carousel-container {
	width: 100vw;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.carousel-container::-webkit-scrollbar {
	display: none;
}

.carousel {
	display: flex;
	align-items: center;
	padding: 5vh 0;
	gap: 5vw;
	width: 200vw; /* Largeur plus grande que l'écran */
}

.carousel-item {
	width: 20vh;
	height: 10vh;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 3vh;
	color: #ffffff;
	
	font-family: Poppins, sans-serif;
	font-weight: 300;
	border-radius: 10px;
	cursor: grab;
	user-select: none;
	border-color: #ffffff solid 6px;
}









.wrapper-colum-section {
    height: 200vh;
    margin-top: 0;
    background-color: #000000;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Conteneur principal */
.wrapper-colum {
    margin-top: 20vh;
    margin: 5%;
    height: 100vh;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    width: 90%;
    background-color: #000000;
}

/* Titre principal */
.title-sec {
    font-family: "Poppins", sans-serif;
    font-size: 10vh;
    color: #ffffff;
    z-index: 100;
}

/* Conteneur des projets */
.container-project-colum {
    margin: 0;
    position: relative;
    height: 10vh;
    background-color: #000000;
    border: #ffffff solid 0.5px;
    border-bottom: none;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    overflow: hidden;
    transition: height 0.3s ease-out, background-color 0.3s ease-in-out;
}

/* Ajout des nouveaux styles */
.container-project-colum.expanded {
    height: 80vh;
}

/* Effet au survol */
.container-project-colum:hover {
    height: 15vh;
    background-color: rgba(255, 255, 255, 0.022); /* Légère teinte au hover */
}

/* Boîte interne */
.container-project-colum-box {
    width: auto;
    height: 8vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1vh;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 10; /* S'assure que la boîte reste au-dessus */
}

/* Effet subtil au hover */
.container-project-colum:hover .container-project-colum-box {
    transform: translateY(5px);
}

/* Titre du projet */
.container-project-colum-box h1 {
    color: #ffffff;
    opacity: 1;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 5vw;
    margin-left: 5%;
    margin-top: 3%;
    z-index: 10; /* Garde le titre au-dessus */
}

/* Texte description */
.container-project-colum-box p {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 2vh;
    margin-right: 10%;
    margin-bottom: 0;
    opacity: 1;
    z-index: 10; /* Garde la description au-dessus */
}


.deco {
    position: absolute;
    height: 2.5vw;
    width: 2.5vw;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    top: 50%;
    transform: translateY(-50%);
    right: 1%;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    z-index: 10; /* Garde le cercle au-dessus */
}

/* Position du cercle quand la div est expandée */
.container-project-colum.expanded .deco {
    top: 5vh;
    right: 2%;
}



.project-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20vh 5% 5% 5%;
    height: calc(100% - 25vh);
    opacity: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 9, 108, 0.5));
    transition: opacity 0.5s ease;
    z-index: -1; /* Garde le contenu en arrière-plan */
}

.project-description {
    width: 40%;
    color: white;
    font-family: "Poppins", sans-serif;
    margin-left: 5%;
    text-align: left;
}

.project-description p {
    margin-top: 2vh;
    font-size: 2vh;
    line-height: 1.6;
    opacity: 0.8;
}



.video-container {
    position: relative;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff1f; /* Ajoute un fond noir */
    width: 100%; /* Ajuste la largeur selon vos besoins */
    max-width: 400px; /* Limite la largeur maximale */
    margin-bottom:auto; /* Centre le conteneur */
    margin-right: 0%;
    padding: 20px; /* Ajoute un padding pour créer un espace autour de la vidéo */
    padding-bottom: 50px;
    box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}

#project-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}






.cursor {
	position: fixed;
	top: -3vh;
	left: -3vh;
	height: 6vh;
	width: 6vh;
	background: linear-gradient(#dfdfdf, #ffffff);
	border-radius: 50px;
	justify-content: center;
	z-index: 10000;
	opacity: 0.5;
	pointer-events: none;
}



.modal-box {
    position: fixed;
	opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background-color: rgba(43, 43, 43); /* Gris avec une opacité de 0.5 */
    border-radius: 10px; /* Coins arrondis */
    display: flex;
    justify-content: center;
    align-items: center;
	transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}






.wrapper-section-contact {
	height: 90vh;
	background-color: rgb(243, 249, 254);
	display: flex;
	flex-direction: row;
	align-items: center;
}

.wrapper-section-contact div {
	width: 50%;
}

.formulaire {
	margin-left: 0%;
}

.right-contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 7vh;
    margin-bottom: 5px;
	font-family: poppins;
	margin-left: 0%;
	background-color: #1601ff;
	margin: 0%;
	color: #ffffff;
	height: inherit;
}

.right-contact h1, h2 {
	width: 80%;
}

.right-contact h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 3vh;
	color: rgb(220, 220, 220);
}

.social {
    background-color: transparent;
    width: 60%;
    height: 10vh;
    margin-top: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    gap: 10px; /* Espacement entre les icônes */
}

.social img {

	fill-rule: #ffffff;
    z-index: 100;
    width: 40px; /* Ajuste la taille des icônes si besoin */
    height: 40px;
}

.social a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social a:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

form {
    width: 300px;
    margin: 0 auto;
}

label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
	font-family: poppins;
	margin-left: 0%;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
	background-color: transparent;
}

textarea {
    height: 100px;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
	transition: all 0.5s;
	cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #1601ff;
}




input[type="submit"] span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}

input[type="submit"] span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}

input[type="submit"]:hover span {
padding-right: 25px;
}

input[type="submit"]:hover span:after {
opacity: 1;
right: 0;
}

/* Section Education */
.education-section {
    min-height: 120vh;
    background-color: #000000;
    padding: 10vh 5% 5vh 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.education-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.education-title {
    font-family: "Poppins", sans-serif;
    font-size: 10vh;
    color: #ffffff;
    margin-bottom: 10vh;
}

.timeline {
    position: relative;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, #0033ff, #9ca2f5);
}

.timeline-item {
    position: relative;
    margin-bottom: 8vh;
    padding-left: 40px;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.timeline-item:hover {
    opacity: 1;
}

.timeline-item.visible {
    transform: translateX(0);
    opacity: 0.8;
    visibility: visible;
}

.timeline-dot {
    position: absolute;
    left: -4px;
    top: 0;
    width: 8px;
    height: 8px;
    background: #0033ff;
    border-radius: 50%;
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2vh 3vh;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    color: #9ca2f5;
    font-family: "Poppins", sans-serif;
    font-size: 1.8vh;
    font-weight: 400;
    margin-bottom: 1vh;
}

.timeline-content h2 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 3vh;
    margin: 1vh 0;
}

.timeline-content p {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.8vh;
    opacity: 0.8;
    margin-bottom: 1vh;
}

.timeline-details {
    display: block;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.6vh;
    opacity: 0.6;
    margin-top: 1vh;
}

@media screen and (max-width: 768px) {
    .navbar {
        height: 7vh;
        width: 7vh;
        margin: 1.5vh;
    }

    .navbar img {
        height: 4vh;
    }

    .container-home {
        flex-direction: column;
    }

    .container-home-left {
        width: 100%;
        height: auto;
        padding: 5vh 0;
        order: 2; /* Place le container-left après le container-right */
    }

    .container-home-right {
        width: 100%;
        margin-left: 0;
        padding: 0 5%;
        order: 1; /* Place le container-right avant le container-left */
    }

    .container-home-left p {
        margin-left: 5%;
        font-size: 2vh;
        text-align: center; /* Centre le texte sur mobile */
    }

    .container-home-right h1 {
        font-size: 6vh;
        margin-top: 5%;
    }

    .bouton1, .bouton2 {
        width: 15vh;
        height: 5vh;
        font-size: 1.8vh;
    }

    .container-project-colum-box h1 {
        font-size: 7vw;
    }

    .project-content {
        flex-direction: column;
        padding: 15vh 5% 5% 5%;
    }

    .project-description {
        width: 100%;
        margin-left: 0;
        margin-bottom: 5vh;
    }

    .video-container {
        width: 100%;
        margin-right: 0;
    }

    .wrapper-section-contact {
        flex-direction: column;
        height: auto;
    }

    .wrapper-section-contact div {
        width: 100%;
    }

    .right-contact {
        padding: 5vh 0;
    }

    .right-contact h1 {
        font-size: 5vh;
    }

    .form {
        width: 90%;
        padding: 5vh 0;
    }

    .education-title {
        font-size: 6vh;
    }

    .timeline-content h2 {
        font-size: 2.5vh;
    }

    .timeline-content {
        padding: 1.5vh 2vh;
    }

    .current-section {
        display: none; /* Masque la current-section sur mobile */
    }
}

.back-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #1601ff;
    text-decoration: none;
    font-family: Poppins, sans-serif;
    font-size: 1.8vh;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #000000;
}

.formulaire {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

form {
    width: 300px;
    margin: 0 auto;
    margin-bottom: 10px; /* Ajoute un espace entre le formulaire et l'email */
}
















