/* ALL */
*{
    margin: 0;
    padding: 0;
    border: 0;
    /* font */
    font-family: "Nunito Sans", sans-serif;
    font-style: normal;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
video{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.text-centre-accueil{
    text-align: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    mix-blend-mode: difference;  
    font-size: 100px;
}

header img{
    height: 40px;
    width: auto;
}
.bg-body-tertiary{
    background-color: rgba(0, 0, 0, 0.43) !important;
    border-bottom: 1px solid white;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5) !important;
}
.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link{
    color: white !important;
}
.nav-link{
    color: rgb(255, 255, 255) !important;
}
.nav-link:focus, .nav-link:hover{
    color: rgb(194, 194, 194) !important;
}
footer p{
    margin: 0;
}
/* listing */
#banniere_listing{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: -1;
    background-color: black;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
.card{
    margin-top: 25px;
    margin-bottom: 25px;
    width: 300px;
    height: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.card-body a{
margin-top: auto;
}
.card-year{
    font-size: 14px;
    margin: 0 0 0.5rem 0;
}
.card-img-top{
    height: 200px;
    object-fit: cover;
}
.card-title{
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
.card-text{
    font-size: 16px;
}   
.margin-top{
    margin-top: 240px;
    width: 100%;
}
footer{
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.43);
    padding: 1rem;
    color: white;
    border-top: 1px solid white;
}
footer img{
    height: 40px;
    width: auto;
    filter: grayscale(100%);
}
.footer-gauche{
    display: flex;
    align-items: center;
    gap: 1rem; /* espace entre le logo et le texte */
}
footer a{
    color: white;
}
footer a:hover{
    color: rgb(194, 194, 194);
}   
.navbar-toggler{
    border: 1px solid white;
}
.navbar-toggler-icon{
    background-image: url(../contenu/burger_menu.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(100%);
}

.btn{
border-color: white !important;
color: white;
}

.btn-outline-success{
    --bs-btn-active-border-color:rgb(194, 194, 194) ;
    --bs-btn-active-bg: rgb(194, 194, 194) ;
    --bs-btn-active-color: black;
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: white;
    --bs-btn-hover-border-color: #000000;
    --bs-btn-focus-shadow-rgb: black;
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ffffff;
    --bs-gradient: none;
}


/* Recherche */
.content-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex:1;


}
.recherche-container {
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 300px;
    padding: 1rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.recherche-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
}

.recherche-container p {
    margin: 0;
    margin-top: 0.5rem;
}

.recherche-container input {
    width: 100%;
    padding: 8px;
    border: solid 1px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 0px 2px 1px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.recherche-container button {
    width: 100%;
    height: auto;
    padding: 8px;
    border-radius: 5px;
    background-color: #24378c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.3);
}

#loupe {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
/* reponse_recherche.php */
.text-centre-recherche{
    text-align: center;
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;   
    font-size: 60px;
}
.erreur{
    color: red;
}


/* ADMIN */
#container-admin{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
flex: 1;
}
#container-admin-select {
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.3);
    width: 35%;
    min-width: 154px;
    border-radius: 8px;
}
#container-admin-select  ul{
margin: 0;
padding: 0 2rem 0 2rem;
}
#container-admin-select H2{
    justify-content: center;
    font-size: 25px;
    padding: 0.5rem 0 0 0.5rem;
}

#container-admin-select li{
    list-style-type: none;
    margin: 1rem 0 1rem 0;
    border: solid #06602b 2px; 
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 0.25rem;
}

#container-admin-select a{
    padding: 3px;
    text-decoration: none;
    color: #000000;
    transition: color 0.2s ;
}   
#container-admin-select a:hover{
    padding: 3px;
    text-decoration: none;
    color: #06602b;
    
}

/* .container-table{
    display: grid;
    grid-template-columns: repeat(10,1fr);
} */
.container-table {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto 2fr auto auto; /* Ajuste la taille des colonnes */
    gap: 5px;
    width: 100%;
    max-width: 1200px;
    border-collapse: collapse;
}

.table-header {
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #ccc;
}

.container-table div {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrap {
    white-space: normal;
    word-wrap: break-word;
}

.table-img {
    width: 60px;
    height: auto;
    display: block;
}








/* PC */
@media screen and (min-width: 576px) {

    .recherche-container{
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .footer-droite{
        display: flex;
        align-items: center;
        gap: 1rem; /* espace entre les liens */
    }
    .cards{
        display: flex;
        flex-wrap: wrap;
       justify-content: space-around;
        
    }
    .container_card{
        display: flex;
        gap: 20px;
        justify-content: center;
    }
    .text-centre-listing{
        text-align: center;
        position: absolute;
        top: 18%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        color: white;
        font-size: 70px;
    }
    

}
#rechercher{
    margin: 0;
}
/* Téléphone */


@media screen and (max-width: 576px) {
    .text-centre-accueil{
        font-size: 90px;
    }
    footer{ 
        display: flex;
        flex-direction: column;
        flex-wrap: wrap; 
        gap: 1rem;
    }
    .footer-gauche{
        align-items: center;
        gap: 1rem;
        min-width: 100%;
        justify-content: center;
    }
    .footer-gauche a{
       min-width: 100%;
    }
    .footer-droite{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center; 
    }
    .footer-droite p{
        min-width: 100%;
    }
    
    .text-centre-listing{
        text-align: center;
        position: absolute;
        top: 22%;      
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        color: white;
        font-size: 60px;
    }
    .cards{
        display: flex;
        flex-direction: column;
    }
    .container_card{
        justify-content: center;
        display: flex;
        gap: 20px;
    }
    .text-centre-recherche{
        font-size: 90px;
        text-align: center; 
        position: absolute;
        top: 22%;      
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        color: white;
        font-size: 60px;     
    }
    
}


/* Cache titre pour page listing */
@media screen and (max-width:1000px){
    .hidden{
        display: none;
    }
}



