
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
}
.slide{
    width: 100%;
    min-height: 100vh;
    height: auto;
}

#scrollBtn {
    position: fixed;
    bottom: 3%;
    right: 2%;
    z-index: 99;
    cursor: pointer;
    border: none;
    background: transparent;
}

#scrollBtn img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
            /*header*/
#logo {
    margin-top: 30px;
    margin-left: 80px;

}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 1s;
}

header nav {
    width: 50%;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

header nav ul {
    width: 100%;
    list-style: none;
    display: flex;
}

header nav ul li {
    flex: 1;
    text-align: center;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 30px;
    text-shadow: 1px 1px rgb(54, 54, 54);
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;


}
                   /*home*/
#Home{
    display:flex;
    background-image: url("images/1siteweb.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#fireflies {
    margin: 0;
    overflow: hidden;
    height: 100vh;

}
canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}
    #container{
        z-index: 99;
        position: absolute;
        background-color: #2c0c35 ;
        opacity: 90%;
       min-width:  35%;
       min-height:  30%;
        display: flex;
        border-radius: 20px;
        margin-top: 15%;
        margin-left:10% ;
        flex-direction: column;
        align-items: center;
        padding: 1%;
    }

    .text1{
        color: white;
        height: 60%;
        padding-left: 7%;
        padding-top: 10%;
        font-size: 40px;
    }
        .text1 h1{
            font-family: "Work Sans", sans-serif;
            font-optical-sizing: auto;
            font-weight: 700;
            font-style: normal;
        }
        .text1 h2{
            font-family: "Work Sans", sans-serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
        }
        .text1 h3{
            font-family: "Lora", serif;
            font-optical-sizing: auto;
            font-weight: 70;
            font-style: normal;
        }

        #buton{
            height: 40%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: "Lora", serif;
            font-optical-sizing: auto;
            font-weight: 70;
            font-style: normal;
            width: 100%;
            margin: 5%;

        }
            .buton1, .buton2{
                color: white;
                background-color:rgba(77, 123, 147, 1);
                width: 100px;
                height: 50px;
                border-radius: 20px;
                text-align: center;
                list-style: none;
                align-content: center;
                margin-left: 25px;
            }

            .buton2 a {
                text-decoration: none;
                text-align: center;
                color: white;


            }
            .lien{
                position: absolute;
                width: 100%;
                height: 100%;
                display: flex;
                align-items: end;
                justify-content: start;
                pointer-events: none;

            }
            .groupe1, .groupe12, .imgreseauxa, .imgreseauxa1 {
            pointer-events: auto;
            }
            .groupe1 {
                pointer-events: auto;
                margin-left: 15px;
                }
            .imgreseauxa img{
                object-fit: contain;
                width: 100%;
            }
            .imgreseauxa1 img{
                object-fit: contain;
                width: 110%;
                padding-bottom: 5px;
            }

            /*menu*/
#burger {
    width: 50px;
    cursor: pointer;
    position: fixed;
    right: 15px;
    top: 30px;
    z-index: 200;
    display: none;

}

.bar {
    width: 100%;
    height: 5px;
    background-color: rgb(255, 255, 255);
    margin: 8px 0;
    transition: all 0.5s;
    border: 1px black solid;
}

.open .bar:nth-child(1) {
    transform: translate(0, 15px)rotate(45deg);
}

.open .bar:nth-child(2) {
    opacity: 0;
}

.open .bar:nth-child(3) {

    transform: translate(0, -15px)rotate(-45deg);

}

.open-menu {
    left: 0 !important;
}

#menu {
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 44, 84, 1);
    background-image: url("images/Lumiere.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 199;
    transition: left 1s;

}

#menu nav {
    margin: auto;
}

#menu nav ul {
    list-style: none;
}

#menu nav ul li {
    margin: 15px 0;
}

#menu nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    line-height: 100px;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

}
            /*Presentation*/
#Presentation{

    background: linear-gradient(
            to bottom,
            #2E0F38,
            rgba(77, 123, 147, 1) 50%,
            rgba(77, 123, 147, 1) 50%
    );
    display: flex;
    align-items: center;
    flex-direction: column;
}
h4{
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: white;
    font-size: 60px;
    text-align: center;
    padding-top: 20px;
}
.container-pres{
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
#photo{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    float: left;
    margin-top: 5%;
}
.boite2 img{
    width: 350px;
    border-radius: 30px;
}

.boite{
    background-color: #2E0F38;
    width: 50%;
   min-height:  20%;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    color: white;
    margin: 8%;
    padding: 3%;

}

.h p{
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-size: 50px;
    font-style: normal;
}
.pres p{
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}
                    /*skills*/
.comp{
    width: 100%;
    min-height: 30vh;
    display: flex;
    align-items: center;
   flex-direction: column;
    row-gap: 50px;
}
#Skills{
    background-color:rgba(26, 44, 84, 1);

}
.container-skills{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2%;
}

.cardS{
    width: 80px;
    height: 80px;
}

.cardS .imgS{
    width: 100%;
    height: 100%;
}

.cardS .imgS img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
                        /*gallery*/
#Gallery{
    background-color:rgba(77, 123, 147, 1);
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    height: auto;

}
.test0{
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.works-container{
    width: 60%;
    min-height: 100%;
    height: auto;
   display: flex;
    gap: 5%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}
.card {
position: relative;
    max-width: 30%;
    min-width: 270px ;
    max-height: 30%;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;


}
.square{
    display: flex;
    align-items: center;
    border-radius: 24px;
    position: absolute;
}

.card-top {
    flex: 1;
    width: 220px;
    height: 200px;
    background-color: white;
    border-radius: 24px;
    z-index: 2;

}
.card-top img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.card-anim {
    flex: 1;
    width: 220px;
    height: 200px;
    background-color: #8351A8;
    border-radius: 24px;
    transform: translateY(0px);
    z-index: 1;
    transition: transform 0.3s ease;
    align-items: end;
    justify-content: center;


}
.card-anim p{
    text-align: center;
    padding-bottom: 10px;

}


.card:hover .card-anim,
.card.active-hover .card-anim {
    transform: translateY(45px);
}

.btng{
    list-style: none;
    text-decoration-line: none; color: white;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
}
    /* page annexe gallery*/
    #works{
        background-color:rgba(77, 123, 147, 1);
    }
    .containerb{
        width: 100%;

    }
    .works-container p{
        color: white;
        font-family: "Work Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-size: 15px;
        font-style: normal;
        padding-top: 20px ;

    }
    .butonb{
        width: 110px;
        height: 40px;
        background-color: #8351A8;
        border-radius: 10px;
        text-align: center;
        align-content: center;
        margin-left: 10%;
        margin-top: 3%;
    }
.butonb a{
    list-style: none;
    text-decoration-line: none;color: white;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;

}
        /* page pres works*/
#test{
    background-color: #437186;
}

.school .container-info{
    padding-top: 80px;
}

.school .container{
    display: flex;
    flex-wrap: wrap;
}

.school .container .gauche, .school .container .droite{
    width: 50%;

}
.img{
    width: 60%;
    height: 60%;
}

.school .container .gauche .img img{
    width: 100%;
    object-fit: cover;
    padding-left: 40%;

}

.school .container .text{
    padding: 10px;
    color: white;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 70;
    font-style: normal;
    font-size: 15px;
}

.school p{
    margin: 15px 0;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 70;
    font-style: normal;

}

#galimg .container{
    display: block;
}

#galimg{
    padding-bottom: 50px;
}

.swiper {
    width: 90%;
    height: 300px;
}
#galimg h5{
    color: white;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 70;
    font-style: normal;
    font-size: 20px;
    margin-left: 5%;
}
#galimg p{
    color: white;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 70;
    font-style: normal;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #437186;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.swiper-button-next,.swiper-button-prev{
    color: #8351A8;
}


            /*Contact*/
#Contact {
    background-color: #2c0c35;
    gap: 5%;
    color: white;

}

#Contact h4 {
    width: 100%;
    height: 5vh;
}
.container-contact{
    width: 100%;
    height: 95vh;
    display: flex;
    flex-direction: row;
}

#Contact .side2, #Contact .side1 {
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
}
#Contact .side1 img {
    max-width: 90%;
    object-fit: contain;


}
#Contact .side2 img {
    max-width: 80%;
    object-fit: contain;


}

 .contact {
    width: 50%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;

}
 form{
     height: 60%;
     width: 100%;
     justify-content: center;
     align-items: center;
     display: flex;
     flex-direction: column;
 }
#Contact .form-group {
    width: 80%;
    display: flex;
    flex-direction: column;
    flex: 1;
}


#Contact .form-group label {
    margin-bottom: 3%;
}


#Contact .form-group input,
#Contact .form-group textarea {
    border: none;
    border-radius: 10px;
    background-color: #437186;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}
form input{
    width: 100%;
    height: 5vh;
}

#Contact .form-group textarea {
    height: 100px;
    resize: none;

}


#Contact .submit {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: end;

}

#Contact .submit input[type="submit"] {

    width: 15%;
    background-color: #437186;
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

#Contact .submit input[type="submit"]:hover {
    background-color: #355968;
}


#Contact .error {
    background: #aa3333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

#Contact .success {
    background: #339966;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}


footer{
    width: 100%;
    min-height: 25vh;
    background-color:rgba(26, 44, 84, 1) ;
    font-size: 0.9em;
    text-align:center;
    color: white;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;



}
.textf{
    padding-top: 20px;
    width: 100%;


}
.lien2{
    position: absolute;
    justify-content: center;
    align-content: end;
    width: 100%;
    display: flex;
    align-items: end;


}
.groupe12{
    padding-top: 10px;
    width: 50px;
    height: 50px;
}
.goupe12,.imgreseaux img{
    width: 100%;
    object-fit: contain;
}
.goupe12,.imgreseaux1 img{
    padding-top: 3px;
    width: 89%;
    object-fit: contain;

}
@media all and (max-width: 1466px) {

    .container-pres{

        flex-direction: column;
    }


    .pres{
        padding-top: 1%;
        margin-left: 5%;
    }
}
@media all and (max-width:1070px) {
    header nav {
        display: none;
    }

    #scrollBtn {
        display: none;

    }
    #burger {
        display: block;
    }

    .boite2 img{
        width: 200px;
        border-radius: 30px;
    }
    #buton{
        width: 80%;
        align-items: center;
        flex-wrap: wrap;
    }

    .text1{
        color: white;
        padding-left: 7%;
        padding-top: 10%;
        font-size: 30px;
    }


    .h p{
        font-family: "Lora", serif;
        font-optical-sizing: auto;
        font-weight: 100;
        font-size: 25px;
        font-style: normal;
    }
}
@media all and (max-width:950px){
    .text1{
        color: white;
        padding-left: 7%;
        padding-top: 10%;
        font-size: 25px;
    }

    #container{
        margin-top: 30%;
    }
    .boite{
        width: 80%;
    }
    #logo{
        margin-top: 5%;
        margin-left: 5%;
    }

    .cardS{
        margin-top: 20px;
        width: 50px;
        height: 50px;
    }
    .cardS .imgS{
        width: 100%;
        height: 50px;
    }
    h4{
        font-size: 40px;

    }
    .container-contact{
        flex-direction: column-reverse;
    }
    #Contact .side2{
        display: none;
    }
    #Contact .side1{
        justify-content: center;
        width: 100%;
        height: 30%;

    }
    #Contact .side1 img {
        max-width: 25%;
        object-fit: contain;

    }
    .container-contact{
        align-items: start;
    }
    .contact{
        width: 95%;

    }
    form{
   width: 100%;
    }
    .comp{
        row-gap: 30px;
    }
    .school .container-info{
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }
   .container-info .img{
       width:100% ;

   }
   .school .container .gauche .img img{
       padding-left: 0;

   }

}
@media all and (max-width:845px){
.buton1{
    margin-bottom: 10px;
    margin-left: 20px;
}
    .buton2{
        margin-left: 20px;
    }
   #container{
       margin-top: 35%;
   }
.text1{
    font-size: 20px;
}
    #Contact .side1 img {
        max-width: 30%;
        object-fit: contain;

    }



}
@media all and (max-width:600px){


    h4{
        font-size: 30px;

    }
    #container{
        margin-top: 40%;
    }
}

@media all and (max-width:400px){

    #container{
        margin-top: 60%;
    }
    footer{
        height: 35vh;
    }
}