@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Base */
body {
    background-color: #13121a;
    color: #fff;
    font-family: "Playfair Display", serif;
    text-align: center;
}

a:visited {
    color: #FAAC53;
}

/* Header */
header {
    padding: 0 25%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    position: sticky;
    top: 0;
    background-color: #13121a;
    z-index: 3;
    font-size: 10px;
    justify-content: space-between;
}

header h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 20px 0;
    white-space: nowrap;
}

ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
    margin-left: 10px;
}

li img {
    padding: 20px;
    width: 30px;
    height: auto;
}

/* Intro */
.intro h1,
.intro p {
    font-family: "Playfair Display", serif;
    font-weight: 100;
}

.intro h1 {
    font-size: 28px;
}

.intro p {
    font-size: 18px;
}

.intro img {
    width: 35%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0 30%;
}

/* Boutons principaux */
#cv, .propos, .parcours {
    display: inline-block;
    background-color: #494175;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 280px;
    text-align: center;
}
#cv{
    color: white;
    width: 280px;
}
#cv:hover {
    background-color: #6a5b8b;
}
.boutons_parcours a {
    color: #494175;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 30px auto 0 auto;
    width: 240px;  
    padding: 30px;
    text-align: center;
}
.propos , .boutons_parcours button, .lycee ,.univ{
    background-color: #FA8C23;
}

.propos:hover{
    background-color: #FAAC53;
}

.parcours {
    background-color: #4e0869;
}

.parcours:hover {
    background-color: #6A2C93;
}

.boutons_parcours{
    display: flex; 
    flex-direction: row; 
    gap: 1em;
    margin-bottom: 40px;
}

/* Sections à propos et parcours */
.a_propos, .mon_parcours {
    display: flex;
    flex-direction: row;
    background-color: #494175;
    width: 50%;
    margin: 10px 25% 40px 25%;
    border-radius: 20px;
}

.a_propos {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.a_propos.visible {
    opacity: 1;
    display: block;
}

.perf {
    width: 90%;
    height: auto;
    border-radius: 20px;
}

.close_pp img {
    position: relative;
    left: 45%;
    top: 15px;
    width: 40px;
    cursor: pointer;
    z-index: 2;
}

/* Style pour les sections de projet */
.aff_proj {
    transition: opacity 0.5s;
}

.hidden {
    display: none;
}
 

.close_stage img{
    position: relative;
    left: 45%;
    top: 15px;
    width: 40px;
    cursor: pointer;
    z-index: 2;
}
.a_propos h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 24px;
    margin-top: 10px;
    color: #FAAC53;
}

.a_propos p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    margin: 10px;
}

.menu_stage{
    display: none;
    background-color:#4e0869;
    border-radius: 20px;
    margin: 20px;
}


/* Présentation */
.presentation {
    display: flex;
    flex-direction: row;
    margin-right: 5%;
    justify-content: center;
    align-items: center;
}

.presentation img {
    margin-top: 5px;
    width: 20%;
    height: auto;
    border-radius: 50%;
}

.presentation :last-child {
    margin-right: 0;
}

.softskills {
    background-color: #D9D9D9;
    width: 300px;
    border-radius: 25px;
    color: #FAAC53;
    height: 100px;
    margin-left: 3%;
    margin-bottom: 40px;
    padding: 0 20px;
}

.softskills h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 18px;
    color: #FAAC53;
    margin-bottom: 10px;
}

/* Alignements */
.pdroite {
    text-align: end;
}

.pgauche {
    text-align: start;
}

/* Compétences */
.affcomp {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.competences ,.competences1 {
    background-color: #494175;
    width: 300px;
    height: 150px;
    border-radius: 15px;
}
.web{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    
}
.web figure{
    margin:0;
}
.web figure:last-of-type {
    margin-right:10px;
}
.web figure:first-of-type{
    margin-left: 10px;
}
.competences:first-of-type {
    margin-bottom: 60px;
}

.affcomp .competences:first-of-type{
    margin-left:20%;
}
.affcomp .competences:last-of-type{
    margin-right:20% ;
}

.figcomp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.competences img, .competences1 img {
    width: 50px;
    height: auto;
      
}

.hardskills h1,
.projets h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 28px;
    color: white;
    margin-top: 10px;
}

.hardskills h2,
.projets h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #FA8C23;
    margin-top: 10px;
}

.comp_ac{
    background-color: #494175;
    color: white;
    width: 50%;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    margin-bottom: 20px;
    height: 75px;
}

/* Projets */
.aff_proj {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Align projects to the center */
    margin: 0 25%; /* Center the container horizontally */
    margin-bottom: 30px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.aff_proj.hidden {
    opacity: 0;
    display: none;
}

.aff_proj div {
    background-color: #494175;
    width: 200px;
    height: 250px;
    font-family: "Montserrat", sans-serif;
    color: #FA8C23;
    border-radius: 20px;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s;
}

.aff_proj div:hover {
    background-color: #6a5b8b;
    cursor: pointer;
}

.proj1_ferme img,
.proj1 img, .proj2 img , .proj101 img, .proj102 img, .proj103 img, .proj104 img, .proj105 img, .proj106 img{
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
}

.proj2_ferme img, .proj3_ferme img , .proj100f img {
    width: 70%;
    margin-bottom: 10px;
    border-radius: 20px;
}

.proj1, .proj2, .proj3, .proj101, .proj102, .proj103, .proj104, .proj105, .proj106 {
    background-color: #494175;
    font-family: "Montserrat", sans-serif;
    color: white;
    width: 40%;
    margin: 0 auto 30px auto; /* Center each project horizontally */
    border-radius: 20px;
    padding-bottom: 30px;
    font-size: 18px;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.menu_comp {
    background-color: #494175;
    font-family: "Montserrat", sans-serif;
    color: white;
    width: 40%;
    margin: 0 auto 30px auto; /* Center each project horizontally */
    border-radius: 20px;
    padding-bottom: 30px;
    font-size: 18px;
    height: auto;
}
.boutons_comp_ac {
    display: flex;
    flex-direction:column;
}
.comp_ac{
    margin-left: 25%;
}
.proj1.visible, .a_propos.visible {
    display: block;
    opacity: 1;
}

.proj1 h1, .proj2 h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 28px;
    color: white;
    margin-top: 15px;
}

.proj1 a {
    color: #FAAC53;
    text-decoration: none;
    transition: color 0.3s ease;
}

.proj1 a:hover {
    color: #6a5b8b;
}

.close_proj img {
    position: relative;
    left: 45%;
    top: 20px;
    width: 50px;
    cursor: pointer;
    z-index: 2;
}

.close_comp img {
    position: relative;
    left: 45%;
    top: 20px;
    width: 50px;
    cursor: pointer;
    z-index: 2;
}




/* Footer */
footer {
    background-color: #494175;
    color: #FAAC53;
    font-family: "Playfair Display", serif;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Boutons parcours */
.mon_parcours button {
    color: #494175;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    padding: 20px 40px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 30px auto 0 auto;
    width: 300px;
}
.mon_parcours h1 {
    color: #FA8C23;
}
/* Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 25%;
}

.next {
    right: 25%;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.text {
    color: purple;
    font-size: 15px;
    padding: 8px 0;
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    margin-left: 25%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}

/* Style pour cacher la section par défaut */
.a_propos, .proj1, .proj2, .proj3, .mon_parcours {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

/* Classe pour l'animation de fondu apparition */
.a_propos.visible, .proj1.visible, .proj2.visible, .proj3.visible, .mon_parcours.visible {
    display: block;
    opacity: 1;
}

/* Style pour cacher la section aff_proj */
.aff_proj {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Classe pour cacher la section aff_proj */
.aff_proj.hidden {
    opacity: 0;
    display: none;
}

/* Divers */
.img_app {
    width: 40%;
    height: auto;
    border-radius: 20px;
}

.a_propos div {
    padding-bottom: 50px;
}

.judo {
    display: flex;
    flex-direction: row;
    padding-bottom: 50px;
}

.judo img {
    width: 30%;
    height: auto;
}

.judo p {
    margin-left: 67%;
}

.cartoon{
    width: 30%;
    height: auto;
}

.slideshow-container img {
    width: 50%;
}

.div1 {
    text-align: center;
}

