:root {
    --color1: #117170;
    --color2: #1d1d1d;
    --color3: #eeeeee;
    --shdw: 0 0 5px black;


    --background: url(./image/hexa.jpg);
    --backcolorslide: var(--color3);
    --burger: url(./image/darkburger.png);
    --sun: url(./image/darkmoon.png);
    --sunhover: url(./image/bluemoon.png);
    --FB: url(./image/darkinsta.png);
    --LK: url(./image/darklk.png)
}

.dark-theme {
    --color1: #117170;
    --color2: #eeeeee;
    --color3: #1d1d1d;
    --shdw: 0 0 5px black;


    --background: url(./image/darkhexa.jpg);
    --backcolorslide: var(--color3);
    --burger: url(./image/lightburger.png);
    --sun: url(./image/lightsun.png);
    --sunhover: url(./image/bluesun.png);
    --FB: url(./image/lightinsta.png);
    --LK: url(./image/lightlk.png)
}

* {
    font-family: "satisfy", 'Courier New', Courier, monospace;
}

p {
    font-family: 'time', Courier, monospace;
    color: var(--color2);
    text-align: justify;
}

body {
    background-image: var(--background);
    margin: 0;

}


html {
    scroll-padding-top: 160px;
    scroll-behavior: smooth;
    scrollbar-width: auto;
    scrollbar-color: var(--color1) var(--color3);
}



/*--------------------*/
/*-------THEME-------*/
/*--------------------*/
.theme {
    padding: 15px;
    background-image: var(--sun);
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.3s ease;
}

.theme:hover {
    background-image: var(--sunhover);

}

/*--------------------*/
/*------BURGER--------*/
/*--------------------*/
.burger {
    padding: 0 20px;
    display: none;
}

.burgerbut {
    padding: 15px;
    background-image: var(--burger);
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.3s ease;
}

.burger:hover .burgerbut {
    background-image: url(./image/blueburger.png);
}



.burgernav {
    padding: 5px 0;
    margin: 0px 0px;
    left: 0;
    position: absolute;

    list-style: none;
    width: 100%;

    overflow: hidden;
    display: none;
    opacity: 0;
    transition: display 0.1s ease, opacity 0.4s ease;
}

.burger:hover .burgernav {
    display: block;
    opacity: 1;
}


.burgernav div {
    background-color: var(--color3);
    text-align: center;
    width: 100%;
    border-bottom: solid 1px var(--color1);
}

.burgernav a {
    text-decoration: none;
    color: var(--color2);
    margin: 7px;
    font-size: 22px;
    transition: color 0.3s ease;
}

.burgernav a:hover {
    color: var(--color1);
}






/*--------------------*/
/*-------NAVBAR-------*/
/*--------------------*/
.navbar {
    margin: 0;
    padding: 0;
    height: 90px;
    width: 100%;

    position: fixed;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: var(--color3);
    border-bottom: solid 1px var(--color1);

    z-index: 100;
}

h1 {
    margin: 0px;
    padding: 0 20px;

    text-align: center;

    color: var(--color2);
    font-size: 40px;

    transition: color 0.3s ease;
}



.nav ul {
    display: flex;
    padding-left: 0;
}



.nav ul a {
    text-decoration: none;
}

.nav ul a:not(:last-child) {
    border-right: 1px solid var(--color1);
}

.nav ul a li {
    margin: 0px 0px;
    min-width: 50px;
    height: 50px;
    padding: 0 20px;

    list-style: none;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    color: var(--color2);
    font-weight: bold;

    transition: color 0.3s ease;




}

.navbut {
    color: var(--color4);
}

.nav ul a:hover .navbut {
    color: var(--color1);
}





/*--------------------*/
/*------CONTENT-------*/
/*--------------------*/

.content {
    padding-top: 90px;
}

h2 {
    margin: 0 0 20px 10px;
    color: var(--color2);
    border-bottom: 1px solid var(--color1);
    width: 150px;
    text-align: center;
    margin-left: 20%;

}


.area {
    margin: 100px 0;
    padding: 20px 100px 40px 100px;
    background-color: var(--color3);
}

.text {
    margin: 0 auto;
    text-align: center;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#un img {
    margin: 0 50px;
    float: left;
    border-radius: 70px;
}

#deux {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#deux img {
    margin: 20px 10px;
    transition: transform 0.3s ease;
}

#deux img:hover {
    transform: scale(1.2);
}














#quatre {
    display: flex;
    justify-content: space-evenly;

}

.reseaux {
    min-width: 300px;
    border-right: 1px solid var(--color1);
    padding: 0;

}

.reseaux ul li {
    list-style: none;
    text-align: start;
    font-weight: bold;
    margin: 30px 0;
}

.reseaux ul li:nth-child(2) {
    margin-bottom: 50px;
}

.reseaux ul li a.LK,
.reseaux ul li a.FB {
    text-decoration: none;
    color: var(--color2);
}

.LK span {
    background-image: var(--LK);
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.3s ease;

    padding: 0px 15px;

}

.FB span {
    background-image: var(--FB);
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.3s ease;

    padding: 0px 15px;

}

.cv-button {
    background-color: var(--color2);
    color: var(--color3);
    padding: 10px 20px;
    font-size: 17px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.reseaux ul li a.LK:hover,
.reseaux ul li a.FB:hover {
    color: var(--color1);
}

.reseaux ul li a.LK:hover span {
    background-image: url(./image/bluelk.png);
}


.reseaux ul li a.FB:hover span {
    background-image: url(./image/blueinsta.png);
}

.cv-button:hover {
    background-color: var(--color1);
}






form fieldset {
    margin-left: 20px;
    margin-top: 20px;
    border: none;
    padding: 20px;
}

.ligne-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.ligne-inputs input {
    padding: 10px;
    font-size: 13px;
    font-family: 'times', Courier, monospace;
    border: 1px solid var(--color2);
    border-radius: 5px;

}

.ligne-textarea textarea {
    padding: 10px;
    width: 100%;
    font-size: 13px;
    font-family: 'times', Courier, monospace;
    border: 1px solid var(--color2);
    border-radius: 5px;
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: bold;
    background-color: var(--color2);
    color: var(--color3);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--color1);
    /* une nuance un peu plus foncée */
}


/*--------------------*/
/*-----CAROUSSEL------*/
/*--------------------*/

/*-----GESTION SLIDE------*/
.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 30px;
    border: 1px solid var(--color2);

}

.slides-container {
    height: fit-content;
    width: 100%;
    display: flex;
    overflow: scroll;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;

}

.slide-arrow {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 60px;
    background-color: var(--color1);
    border: none;
    width: 30px;
    font-size: 50px;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
    color: var(--color3);
}



.slide-arrow:hover {
    opacity: 1;
}

#slide-arrow-prev {
    left: 0;
    padding-left: 0.25rem;
    border-radius: 0 2rem 2rem 0;
    font-family: 'times', Courier, monospace;
}

#slide-arrow-next {
    right: 0;
    padding-left: 0.75rem;
    border-radius: 2rem 0 0 2rem;
    font-family: 'times', Courier, monospace;
}

.slide {
    width: 100%;


    flex: 1 0 100%;
}



/*-----CONTENU SLIDE--------*/
.slide:nth-child(1) {
    background-color: var(--color3);
}

.slide:nth-child(2) {
    background-color: var(--color3);
}

.slide:nth-child(3) {
    background-color: var(--color3);

}

h3 {
    color: var(--color2);
    font-size: 25px;
}


.innerslide {

    display: flex;
    flex-direction: column;

    align-items: center;

}

.innerslide img {
    width: 50%;
}

.innerslide p {
    width: 90%;
    margin: auto;
    color: var(--color2);
    background-color: var(--color3);
    border: 1px solid var(--color3);
    margin: 30px 0;
    border-radius: 30px;
    padding: 20px;
    text-align: justify;
}

/*--------------------*/
/*------FOOTER--------*/
/*--------------------*/
#last-area {
    margin-bottom: 0;
    padding-bottom: 50px;
}

.footer {


    background-color: var(--color3);

}

.footer p {
    width: fit-content;
    margin: 0 auto;
    padding: 35px;
    border-top: solid 1px var(--color1);
    font-size: 20px;
    font-family: "satisfy", 'Courier New', Courier, monospace;
    text-align: center;

}




/*--------------------*/
/*----RESPONSIVE------*/
/*--------------------*/



@media (max-width: 1200px) {
    #un {
        flex-wrap: wrap;
        justify-content: center;
    }

}


@media (max-width: 800px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .innerslide img {
        width: 80%;
    }

    .innerslide p {
        width: 60%;
    }

    #quatre {
        flex-wrap: wrap;
    }

    .reseaux {
        border: none;
    }
}

@media (max-width: 600px) {
    .area {
        padding: 20px 10% 40px 10%;
    }

}

@media (max-width: 398px) {
    .navbar {
        height: 110px;
    }
    .burgernav{
        padding: 30px 0;
    }


}