@font-face {
    font-family: valeraround;
    src: url(VarelaRound-Regular.ttf);
}

@font-face {
    font-family: bradhitc;
    src: url(bradhitc.ttf);
}

*{
    font-family: valeraround;
}

/* body */

body{
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 60px 0;
    margin: 0px auto;
    border-left: rgba(0, 0, 0, .1) solid 1px;
    border-right: rgba(0, 0, 0, .1) solid 1px;
}

.page_divider{
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    text-align: center;
}

h1, h2{
    color: rgb(59, 59, 59);
    text-transform: uppercase;
    font-weight:normal;
}

/* header */

#imgburger,#imgburgermain{
    width: 350px;
    height: 100px;
    display: none;
}

.containerlogo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.containerelement1{
    flex: 1;
    text-align: center;
}

header{
    margin-top: 1em;
    position: relative;
    z-index: 2;
}

nav.burger {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5em;
}

header a {
    text-decoration: none;
    font-size: 14.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    color: rgba(0, 0, 0, .5);
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: all 0.5s ease;
}

header #in_page {
    text-decoration: none;
    font-size: 14.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    color: black;
    text-transform: uppercase;
    border-bottom: 1px solid black;
    transition: all 0.5s ease;
}

header ul.nav-list a:hover {
    border-bottom: 1px solid black;
    color: black;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1em;
    padding: 0;
}

.open-btn{
    color: black;
    text-decoration: none;
    font-size: xx-large;
    display: none;
}

.close-btn {
    color: black;
    text-decoration: none;
    font-size: xx-large;
    display: none;
}

.under_list a {
    padding-left: 1em;
}

.nav-item ul{
    padding: 0px;
    list-style: none;
    display: none;
}

.first_second_list{
    display: block;
}

.first_second_list:hover + ul,.nav-item ul:hover {
    display: block;
}

/* main */

.intro{
    text-align: center;
    font-family: bradhitc;
}

.introsign{
    text-align: end;
    padding-right: 1em;
    font-family: bradhitc;
}

.intro,.introsign{
    font-size: 20px;
}

.colonneimage{
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 2em;
}

.ligneimage{
    display: flex;
    flex-direction: row;
    gap: 2em;
    justify-content: center;
}

.ligneimage a {
    flex: 0 0 calc(20% - 10px); /* Calcule la largeur de chaque image (33.33% avec 10px de marge) */
    margin-bottom: 10px; /* Ajoute de la marge entre les lignes */
}

.ligneimage img {
    width: 100%;
    height: auto;
    filter: brightness(100%);
    transition: all 0.5s ease;
}

.ligneimage img:hover{
    filter: brightness(75%);
}

main{
    padding: 2em 5em;
}

main a.present{
    margin-bottom: 10px; /* Ajoute de la marge entre les lignes */
    filter: brightness(100%);
    transition: all 0.5s ease;
}

main img.present {
    width: 100%;
    height: auto;
}

main p{
    font-size: 15px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
}

#mainnews li {
    display: flex;
    flex-direction: column;
    font-size: 14.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    padding: 1.5em 0em;
    border-bottom: gray 1px solid;
}

#mainnews {
    list-style: none;
    padding-left: 2em;
    display: flex;
    flex-direction: column;
}

#mainnews a.linknews{
    color: black;
    text-decoration: none;
    font-size: 14.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    border-bottom: black 2px solid;
    transition: all 0.5s ease;
}

#mainnews a.linknews:hover {
    border-bottom: 2px solid transparent;
    background-color: black;
    color: white;
}

p.maintext{
    padding-top: 2em;
    text-align: left;
}

h2.maintext{
    text-align: center;
}

p.maintext {
    padding-bottom: 2em;
}

#titlenews{
    margin-left: 1.4em;
    padding-bottom: 1.5em;
    margin-bottom: 0px;
    border-bottom: gray 1px solid;
}

#mainnews a.imagenews{
    margin-bottom: 10px; /* Ajoute de la marge entre les lignes */
    filter: brightness(100%);
    transition: all 0.5s ease;
}

#mainnews img {
    padding: 2em 2em 0em 2em;
    width: 50%;
    height: auto;
}

#mainnews a.imagenews:hover{
    filter: brightness(75%);
}

p{
    margin: 0px;
}

#mainnews p, #mainnews a.linknews{
    display: inline;
}

.other_cat {
    margin: 2em;
    padding: 1em 0em;
}

.type_art{
    list-style: none;
    display: flex;
    padding: 0;
    gap: 1.5em;
    font-size: 16.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.type_art a {
    color: black;
    text-decoration: none;
    font-size: 16.5px;
    line-height: 2em;
    font-weight: 400;
    font-style: normal;
    border-bottom: 2px solid transparent;
    transition: all 0.5s ease;
}

.type_art a:hover{
    border-bottom: 2px solid black;
}

#titleCV{
    text-align: center;
}

.CVul{
    padding-top: 2em;
    flex-direction: column;
    display: flex;
    gap: 1em;
}

.CVul li {
    display: flex;
}

.element2{
    padding-left: 2em;
}

.containerCV{
    display: flex;
    justify-content: center;
    padding: 2em 0em;
}

#CV {
    font-size: 25px;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    transition: all 0.5s ease;
}

#CV:hover{
    border-bottom: 2px solid black;
}
/* footer */

footer{
    margin-left: 5em;
    margin-right: 5em;
    padding: 1em;
    align-content: center;
}

#goToTop {
    width: 35px;
    height: 35px;
    border-radius: 20%;
    background-color: white; /* Couleur du carré blanc */
    border: 1px solid rgba(0, 0, 0, .5); /* Bordure noire du carré */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}
#goToTop svg{
    fill: rgb(59, 59, 59); /* Couleur de remplissage de la flèche */
    width: 20px; /* Taille de la flèche */
    height: 20px;
}
   
#goToTop:hover{
    transform: scale(1.1);
}

.picto{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.reseaux{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1em;; 
}

.reseaux svg{
    color: rgb(59, 59, 59);
    transition: all 0.5s ease;
}

.reseaux svg:hover{
    transform: scale(1.1);
}

#credit{
    padding-left: 5em;
    color: rgba(0, 0, 0, .5);
    font-size: 20px;
}

/* responsive */

@media screen and (max-width: 992px) {

    #divider_top{
        display: none;
    }

    div.reseaux{
        font-size: 25px;
    }

    div.reseaux svg{
        width: 35px;
        height: 35px;
    }

    body{
        padding: 0;
    }

    footer{
        margin: 0em;
    }

    footer h2{
        font-size: 2em;
    }

    main {
        padding: 2em 2em 0em 2em;
    }

    .maintext{
        font-size: 18px;
    }

    .other_cat{
        font-size: 25px;
    }

    .nav-list {
        flex-direction: column;
        display: none;
    }

    nav.burger.visible .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1em;
        padding: 10px 23vw;
        list-style-type: none;
        margin: 0;
        padding-top: 40px;
    }

    nav.burger.visible .nav-list li a.first_list {
        display: block;
        padding: 10px 0px;
        border-radius: 5px;
    }

    nav.burger.visible #imgburgermain{
        padding-top: 2vh;
        display: block;
        width: 350px;
        height: 100px;
        text-align: center;
        flex: 1;
    }

    nav.burger.visible #imgburger{
        padding-top: 2vh;
        display: block;
        width: 350px;
        height: 60px;
        align-content: center;
        flex: 1;
    }

    nav.burger.visible #imgburgermain{
        padding-top: 2vh;
        display: block;
        width: 350px;
        height: 100px;
        align-content: center;
        flex: 1;
    }

    nav.burger.visible a.logotel{
        padding-top: 2vh;
        display: block;
        width: 350px;
        height: 60px;
        text-align: center;
        flex: 1;
        display: flex;
    }
    
    nav.burger {
        position: fixed;
        display: flex;
        flex-direction: column;
        top: 0px;
        transform: translateY(-300%);
        background-color: white;
        width: 100%;
        height: 100%;
        transition: transform 0.2s;
        justify-content:flex-start; 
        align-items: normal;
        padding: 0;
    }
    nav.burger.visible {
        transform: translateY(0%);
    }
    .close-btn {
        display: block;
        text-align: center;
        padding: 1em 0.5em 0.5em 0.5em;
        text-decoration: none;
        color: rgb(59, 59, 59);
        font-size: 40px;
        font-family: monospace;
        flex-basis: 100px;
    }
    .open-btn {
        display: inline-flex;
        font-size: 40px;
        text-decoration: none;
        color: rgb(59, 59, 59);
        padding: 0.5em 1em;
        justify-content: right;
    }

    nav.burger ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        list-style-type: none;
        margin: 0;
    }
    nav.burger ul li a.first_list,a#in_page,a.first_second_list {
        font-size: 40px;
        display: block;
        border-radius: 5px;
    }

    nav.burger ul ul{
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        list-style-type: none;
        margin: 0;
    }

    .headerlow{
        padding-top: 2em;
        display: flex;
        justify-content: space-between;
    }

    nav.burger ul ul{
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        list-style-type: none;
        margin: 0;
    }

    nav.burger ul ul.visiblenav{
        display: flex;
    }

    ul.under_list a{
        font-size: 40px;
        display: block;
        padding: 10px 4vw;
        border-radius: 5px;
    }
    .first_second_list,.first_list{
        font-weight: bold;
    }
    .under_list li {
        padding-left: 2em;
    }
    .containerelement1,.containerlogo{
        height: 120px
    }
    .containerelement1 img#logomain{
        height: 100px;
    }
    .containerelement1 img{
        height: 60px;
    }
    .containerelement1{ 
        padding-top: 2vh;
        padding-left: 10vw;
    }
    a#CV{
        font-size: 50px;
    }
    #credit{
        font-size: 10px;
        padding: 0;
    }
}