/* css reset */

*{
    margin: 0;
    padding: 0;
    
}
html{
    min-height:100%;
}

body{

    /* background: radial-gradient(90deg, rgba(2,0,36,1) 0%, rgba(245,216,17,1) 35%, rgba(245,173,9,1) 46%, rgba(0,212,255,1) 100%);1); */
background-image:url("../images/veritable-fond-ardoise_103577-3460.avif");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
width:100%;
min-height: 100%;
}

/* margin=espace entre boite */
/* Si souvient pu aller va sur mdn reference */

/* menu principal */
nav{
    display:flex;
    align-items: flex-start;
    justify-content: center;
   
    width: 100%;
  z-index: 100; 
  /* position: sticky;  */
  /* top: 0;  */
}

.navigation{
    display:flex;
    width:100%;
}
nav ul{
    list-style-type :none;
    display: flex;
}

nav li{
    /* display:inline-block; */
   /* float: left; */
   /* width: 20%; */
   flex-grow: 1;
   position: relative;
   text-align: center;
   background-color: rgb(35, 35, 34);
}

nav li:hover{
    background: black;
}

nav li a{
    text-decoration: none;
    display:block;
    padding:15px;
    color:yellow;
    font-weight: bold;
    border-bottom:2px solid goldenrod;
    border-right: 2px solid black;

}

nav li a:hover{
    color:lightgrey;
    background-color: gray;
}

.actif{
    background-color:goldenrod;
    color:lightgrey;

    }
    .actif:hover{
        background-color:lightgrey;
        color:black;
}


/* menu déroulant */
nav li ul {
    position:absolute;
  
    width: 100%;
    display: none;

}

nav ul li:hover ul { 
    /* display:block; */
    display:flex;
    flex-direction:column;
}
/*  
nav ul li:hover ul li{
    float: none;
    width: 100%;
} */

.header {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    filter: brightness(55%);
    display: block;
}

@media screen and (max-width: 768px){
    .header{
        height: 35vh;          /* plus petit sur mobile */
        object-position: center;
    }
}
.icone{
    color:red;
    font-size: 1.5em;
}

.imagesite{
    width:100%;

}

.imagejustice{
  height:500px;
  width:100%;
}

.imageload{
    height:500px;
}


.imagedebut {
    width: 70%;
    max-width: 900px;
    border-radius: 25px;

    box-shadow:
        0 30px 60px rgba(0,0,0,0.9),
        inset 0 0 0 4px rgba(255,255,0,0.2);

    transition: transform 0.4s ease;
}

.imagedebut:hover {
    transform: scale(1.03);
}

.imagedebut2 {
    display: flex;
    justify-content: center;
    margin: 80px 0;
}
.image3{
    width:100%;
    height:500px;
}

.image4{
    width:100%;
    height:500px;
}

.image5{
    width:100%;
    height:500px;
    
}

h1{
    text-align: center;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
}

.container {
    width: 75%;
    max-width: 1100px;
    margin: 100px auto;

    background: rgba(0,0,0,0.75);
    color: #eee;

    padding: 40px;
    border-radius: 25px;
    line-height: 1.8;
    font-size: 18px;
}

@media screen and (max-width: 768px){

  .container{
    width: 95%;
    margin: 30px auto;
    padding: 20px;
    font-size: 16px;
  }

}


footer{
    display:flex;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(20,20,20,0.98) 100%);
    box-sizing:border-box;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 30px 60px;
    width:100%;
    border-top: 3px solid #ffd700;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
}

.copyright{
    display:flex;
    align-items:center;
    font-size: 1.1em;
    font-weight: 400;
    color: #ccc;
    letter-spacing: 0.5px;
}

.social-icon{
    display:flex;
    justify-content: flex-end;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icon li{
    position: relative; 
    font-size: 18px;
    list-style-type: none;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.social-icon li:hover{
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
    transform: translateY(-5px) scale(1.15);
}

.social-icon a{
    display:flex;
    align-items: center;
    justify-content: center;
    color:#fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon li:nth-child(1){
    background: linear-gradient(135deg, #0077B5, #005582);
}

.social-icon li:nth-child(1):hover{
    background: linear-gradient(135deg, #0095db, #0077B5);
}

.social-icon li:nth-child(2){
    background: linear-gradient(135deg, #f8e703, #d4c102);
}

.social-icon li:nth-child(2):hover{
    background: linear-gradient(135deg, #fff200, #f8e703);
}

.social-icon li:nth-child(3){
    background: linear-gradient(135deg, #FF5700, #cc4500);
}

.social-icon li:nth-child(3):hover{
    background: linear-gradient(135deg, #ff6a1a, #FF5700);
}

.social-icon li:nth-child(4){
    background: linear-gradient(135deg, #EE1D51, #c01640);
}

.social-icon li:nth-child(4):hover{
    background: linear-gradient(135deg, #ff2461, #EE1D51);
}

.social-icon li:nth-child(5){
    background: linear-gradient(135deg, #7289d9, #5865f2);
}

.social-icon li:nth-child(5):hover{
    background: linear-gradient(135deg, #8c9eff, #7289d9);
}

.legend{
    text-align: center;
}


.navbar{
    font-size: 18px;
      background-color: #7b7a6d;
      height:3em;
    }
    .navigation{
        display: flex;
        justify-content: flex-end;
    }
    
    .navigation a{
        display: flex;
        justify-content: center;
        text-align: center;
        transition-duration: 0.2s;
        padding: 1em 0.5em;
        color: white;
        text-decoration: none;
    }
    .navigation a:hover{
        background-color: #275177;
    }
    /* Menu Hamburger */
    .navbar-toggle{
        display:none;
        cursor:pointer;
        color:#fff;
        font-size:2em;
        position:absolute;
        z-index:200;
        top:0.20em;
        margin-left:2vh;
    }
    
    /* icône hamburger */
    .bar1, .bar2, .bar3{
        width:35px;
        height: 5px;
        background-color:#333;
        margin:6px 0;
        transition: 0.4s;
    }
    
    .change .bar1{
        transform: rotate(-45deg) translate(-9px 6px);
    }
    .change .bar2{
        opacity: 0;
    }
    
    .change.bar3{
        transform: rotate(45deg) translate(-8px -8px);
    }
    
    
    /* tablette */
    @media screen and (min-width:768px) and (max-width:980px){
        .navigation{
            justify-content: space-between;
        }
    }
    
    /* Cellulaire */
    @media screen and (min-width:320px) and (max-width:767px){
        .navbar-toggle{
            display: block;
        }
        /* cacher le menu */
        .navigation{
            display: none;
        }
    
        /* barre de menu */
        .navbar{
            display: block;
            position:relative;
    
        }
        /* classe utilisable dans le js pour ouvrir le menu hamburger */
        .active{
            display: flex;
            flex-direction: column;
        }
        .copyright{
            display: none;
        }
    }


    
    
    
