*{
    margin:0;
    padding:0;
}
a{
    text-decoration:none;
}
body{
  background-image: url("../images/fondblanc2.jpg");
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: cover;
}   
header {
    display:flex;
    position: fixed;
    top:-140px;
    justify-content: center;
    align-items:center;
    height:150px;
    width: 100%;
    color: black;
    z-index: 10000;
    flex-wrap: wrap;
    transform: rotate3d(3, -2, 0, 10deg);
}
header ul {
    display:grid;
    grid-template-columns: 1fr 1fr;
    position:relative;
    flex-direction:row;
    right:5%;
    height:130%;
    top:160px;
    width:110%;
    border-radius:3%;
    list-style-type: none;
    align-items: center;
    justify-content: space-between;
    align-items: bottom;
    border-radius: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}   
header li{
    position:relative;
    border:1px solid black;
    background-color: #fff;
    top:5px;
    padding-top:1px;
    padding-right:-5px;
    border-radius: 7px;
    margin-bottom:15px;
    width: 75%;
}

.active{
    background-color: rgb(34, 34, 34);
    color:white;
    transform: translate(-3px, 1px);
    text-shadow:  0 0 3px #fff;
}
header a {
    font-family: 'Carter One';
    display:flex;
    position:relative;
    top:-3px;
    right:6px;
    margin-left:10px;
    text-decoration:inherit;
    align-items: center;
    color: black;
    height:120%;    
    width:98%;
    background-color: #fff;
    border-radius: 7px;
    justify-content: center;
    border:2px solid black;
    transition-duration: 0.20s;
}
header a:hover {
    transform: translate(-3px, 1px);
}

main{
    margin-top:150px;
    height:100%;
    min-height:800px;
}

.titre{
    text-align: center;
}
h1{
    font-family: 'Carter One';
    font-weight: lighter;
}
.accueil{
    display:flex;
    flex-direction: column;
    align-items: center;
}
.accueil article{
    width:90%;
    text-align: justify;
}
.accueil article h2{
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.accueil article div{
    display:flex;
    flex-direction: column-reverse;
}
.accueil article div aside{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.accueil article div aside h3{
    margin-top: 20px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.accueil article div p{
    margin-top:20px;
    width:90%;
    font-family: Arial, Helvetica, sans-serif;
}
.accueil article div figure{
    width:100%;
}
.accueil article div figure img{
    width:100%;
    height:100%;
    object-fit: cover;
}

section{
    text-align:center;
    margin-top: 50px;
    display:grid;
    grid-template-columns: 1fr;
}
.list article{
    margin-bottom:50px;
}

section span{
    font-weight: bold;
}
.img_gal {
    width: 280px;
    height: 160px;
    object-fit: cover;
    margin: 5px;
    transition: 0.25s;
    filter: grayscale(1);
}

.img_gal:hover{
    filter: grayscale(0);
    filter: brightness(1.2);
    transform:scale(1.03);
}
.img_gal2 {
    width: 80%;
    height: 80%;
    margin: 5px;
    transition: 0.25s;
    filter: grayscale(1);
}

.img_gal2:hover{
    filter: grayscale(0);
    filter: brightness(1.2);
    transform:scale(1.03);
}
.aucunresult{
    margin-bottom: 30px;
    text-align: center;
    font-size:30px;
    font-family: Arial, Helvetica, sans-serif;
}
.aucunresultimg{
    width: 98%;
    margin: 5px;
    transition: 0.25s;
    filter: grayscale(1);
}
.aucunresultimg:hover{
    filter: grayscale(0);
    filter: brightness(1.2);
    transform:scale(1.03);
}
a div p{
    color:black;
    font-size: 150%;
}

.container {
    margin-left:10px;
    margin-right:10px;
    max-width: 70%;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h2 {
    text-align: center;
    margin-bottom:20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.container form {
    text-align: center;
}

.container input {
    padding: 10px;
    width: 80%; /* Modification pour occuper toute la largeur */
    margin-bottom: 30px; /* Ajout de marge inférieure */
}
.container button {
    padding: 10px 20px;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.20s;
    transform:scale(1.2)
}
.container button:hover{
    transform: scale(1.3);
}
.container ul {
    display:flex;
    justify-content: center;
    list-style-type: none;
    flex-direction: column;
    align-items: center;
}
.container li{
 width: 300px;
}
.container li p{
    margin-left: 55px;
    margin-bottom: 10px;
    text-align: justify;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container li span{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 200%;
}
.container li h3{
    text-align: center;
    font-size: 130%;
    font-family: Arial, Helvetica, sans-serif;
    margin-top:50px;
}
.container2{
    display:grid;
    grid-template-columns: 1fr;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height:100%;
    width:100%;
    margin-bottom:10px;
    border-radius: 7px;
}
.container2 aside{
    text-align: center;
    margin: auto 0;
}
.container2 li{
    width:100%;
}
.container2 figure{
    display:flex;
    justify-content: center;
}
form{
    text-align: center;
    margin-top:50px;
}
.form-rep{
    text-align: center;
    margin-top:50px;
}

.armes-gestion{
    display:flex;
    justify-content: center;
}

.armes-gestion table{
    border: 1px solid black;
    font-size:24px;
}
.armes-gestion table td{
    border: 1px solid black;
}
.pays-gestion{
    display:flex;
    justify-content: center;
}

.pays-gestion table{
    border: 1px solid black;
    font-size:24px;
}
.pays-gestion table td{
    border: 1px solid black;
}
.admin-gestion article{
    margin: 0 auto;
}

.admin-gestion {
    display:flex;
    flex-direction: column;
    text-align: center;
}
.admin-gestion article{
    margin-bottom: 50px;
}
.admin{
    text-align: center;
}
.ajout{
    position:relative;
    top:20px;
    background-color: black;
    color: white;
    padding:4px;
    text-decoration: none;
    border-radius: 7px;

}
footer{

    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: black;
    color:white;
    height:150px;
    z-index: 10000;
    margin-top:50px;
    font-size: 20px;
    
}




/*------------------------------------*\
    $Version Tablette
\*------------------------------------*/

@media screen and (min-width: 480px) {
    section{
        text-align:center;
        margin-top: 50px;
        display:grid;
        grid-template-columns: 1fr 1fr;
    }
    .img_gal {
        width: 230px;
        height: 110px;
    }
    header{
        font-size: 150%;
        flex-wrap: wrap;
    }

    .container2{
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
}

/*------------------------------------*\
    $Version Desktop
\*------------------------------------*/

@media screen and (min-width: 960px) {
    header ul{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 0 60px;
    }
    section{
        text-align:center;
        margin-top: 50px;
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .img_gal {
        width: 300px;
        height: 150px;
    }
    .container{
        max-width: 600px;
    }
    header{
        font-size: 200%;
    }
    .accueil article div{
        display:flex;
        flex-direction: row;
    }
    .accueil article div aside{
        width: 100%;
        display:flex;
        align-items: center;
        justify-content: center;
    }
    .accueil article div figure{
        width:100%;
        height:auto;
        display:flex;
        justify-content: center;
        align-items: center;
    }
    .accueil article div figure img{
        height:70%;
        width:95%;
        object-fit: cover;
    }
    .img_gal2 {
        width:100%;
        height:100%;
    }

    .container2{
        grid-template-columns: 1fr 1fr;
    }
    
}