
/* importation de la police */

@font-face {
    font-family: "Franchise";
    src: url("../assets/Franchise.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins_Med";
    src: url("../assets/Poppins/Poppins-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins_SemiBold";
    src: url("../assets/Poppins/Poppins-SemiBold.ttf") format("truetype");
}


/* Styles pour les écrans de petite taille (ex : téléphones) */
@media (max-width: 600px) {
    h1 {
        font-size: 15px;
    }
    h2{
        font-size: 15px;
    }
}

/* Styles pour les écrans de taille moyenne (ex : tablettes) */
@media (min-width: 601px) and (max-width: 1024px) {
    h1 {
        font-size: 15px;
    }
    h2{
        font-size: 15px;
    }
}

/* Styles pour les écrans larges (ex : ordinateurs de bureau) */
@media (min-width: 1025px) {
    h1 {
        font-size: 25px;
    }
    h2{
        font-size: 20px;
    }
}


.box_colum_body{
    display: flex; 
    flex-direction: column;
    position: relative;
    text-align: center;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.box_colum{
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    width: 100%;
    font-family: Poppins_Med;
    font-size: 20px;
    z-index: 1;
}

.box_row{
    display: flex; 
    flex-direction: row;
    position: relative;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

h2{
    color: #000;
    text-align: center;
    font-family: Poppins_Med;
    font-style: normal;
    line-height: normal;
    font-weight: 700;
}


.form-control, .btn_biblio
{
    text-align: center;
    min-height: 38px;
    min-width: 150px;
    width: 100%;
    height: 3rem;
    font-size: 12px;
    border: 2px solid black;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    font-family: Poppins_Med;
    background-color: white;
    color: black;
    cursor: pointer;
}

/* Style au focus de l'input texte */
.form-control:focus {
    border-color: #B41611;
    outline: none;
    box-shadow: 0 0 5px rgba(180, 22, 17, 0.5);
}

.btn_biblio:focus{
    border-color: #B41611;
    outline: none;
    box-shadow: 0 0 5px rgba(180, 22, 17, 0.5);
}

form button:hover {
    color:#B41611;
}

.form-group_biblio {
    width: 10rem;
    margin: 5px;
}

/* Conteneur pour le select */
.select-container {
    position: relative;
    width: 100%;
}

/* Style du select */
.styledSelect {
    padding: 10px;
    font-size: 12px;
    min-height: 38px;
    min-width: 150px;
    height: 3rem;
    border: 2px solid black;
    border-radius: 10px;
    background-color: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Ajouter un flèche personnalisée */
.select-container::after {
    content: '▼';
    font-size: 12px;
    color: #333;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Style au survol */
#styledSelect:hover {
    border-color: #B41611;
}

/* Style au focus */
.styledSelect:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(180, 22, 17, 0.5);
    border-color: #B41611;
}

form input{
    width: 100%;
}

/* Pour les options */
.styledSelect option {
    padding: 10px;
    background-color: #fff;
    color: #333;
    font-size: 12px;
}

.note {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    bottom: 0px;
}

h4{
    color: white;
    text-align: center;
    font-family: Franchise, sans-serif;
    font-size: 35px;
    font-weight: 400;
    margin : 0px;
}

/* Afficher la note au survol */
.affiche_note:hover .note {
    opacity: 1;
}

.affiche_note{
    position: relative;
    width: 15%;
    display: inline-flex;
    margin: 1.5%;
    justify-content: center;
}

.carte_affiche{
    border-radius: 10%;
    width:100%;
    display: block;
    border:solid;
    border-color: white;
    border-width: 2%;
}

.carte_affiche:hover {
    border-color: #B41611;
}

/* Styles pour les écrans de petite taille (ex : téléphones) */
@media (max-width: 600px) {
    .affiche_note{
        width: 25%;
    }
    .note {
        width: 80px;
    }
}

/* Styles pour les écrans de taille moyenne (ex : tablettes) */
@media (min-width: 601px) and (max-width: 1024px) {
    .affiche_note{
        width: 25%;
    }
    .note {
        width: 80px;
    }
}

/* Styles pour les écrans larges (ex : ordinateurs de bureau) */
@media (min-width: 1025px) {
    .affiche_note{
        width: 15%;
    }
    .note {
        width: 100px;
    }
}