@media screen and (max-width: 768px) {
    header .container{
        flex-direction: column;
        text-align: center;
    }
    .links{
        flex-direction: column;
        padding: 0;
    }
    .clic a {
          display: block;
          margin: 10px 0;
    }
    h1, h2,h3,h4,p{
        font-size: 1rem;
    }
    
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
body
{
    padding: 0;
    margin: 0;
}
header{
   padding: 0;
   margin: 0;
}
ul{
    list-style: none;
}
.container
{
    background-color: rgb(95, 118, 56);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.images{
    max-width: 50px;
    max-height: auto;
}
h1{
    font-size: 40px;
    font-weight: bold;

}
.links
{
    display: flex;
    gap: 20px;
    color: bisque;
}
.links a
{
    background-color: blue;
    color: antiquewhite;
    border-radius: 8px;
    padding: 10px 10px;
    text-decoration: none;
}
.links a:hover{
    background-color: rgb(109, 90, 4);
}
/*    ------- DEBUT MAIN ACCEUIL -------  */ 

.container1
{
    background-image: url(logo.png);
    color: aliceblue;
    padding: 100px 50px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: bold;
}  
.hero p
{
    line-height: 1.6;
}
.clic a
{
    background-color: blue;
    color: aliceblue;
    display: inline-block;
    border-radius: 8px;
    gap: 25px;
    text-decoration: none;
}
.container ,.container1, .container5, .container4,.container2{
    padding: 10px;
    max-width: 100%;
}
.clic a:hover
{
    background-color: rgb(142, 88, 8);
}
.books
{
    padding: 80px 20px;
    text-align: center;
    background-color: antiquewhite;
    margin-bottom: 40px;
    font-size: 30px;
}
h2{
    
        background-color: rgb(208, 102, 107);
        color: aliceblue;
        display: flex;
        border-radius: 8px;
        padding: 10px 10px;
        margin: 10px;
      
       
       
}
h3{
    background-color: rgb(10, 4, 49);
    color: aliceblue;
    display: inline-block;
    border-radius: 8px;
    padding: 16px 10px;
    margin: 10px;
    transition: 0.3s;
}
.meslivres
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}
.livre-card
{
    display: grid;
grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    background-color: rgb(203, 194, 184);
    border-radius: 8px;
    box-shadow: 10px 10px 10px black ;
    overflow: hidden;
    transition: transform 0.3s;
    gap: 10px;
    padding: 10px;
}
.livre-card:hover{
    transform:Y(-5px);
}
.livre-card img{
   
    max-width: 100%;
    height: auto;
    display: block;
}


.pri{
    background-color: black;
    color: aliceblue;
    display: inline-block;
    border-radius: 8px;
    padding: 16px 10px;
    margin: 10px;
    transition: 0.3s;
    
}

.about
{
    background-color: bisque;
    border-top: 5px solid blue;
    border-left: 5px solid blue;
    border-bottom: 5px solid blue;
    border-right: 5px solid blue;
    text-align: center;
    max-width: 700px;
    padding: 20px 20px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 20px;
}
.profil_contour {

    width: 150px;
    height: 150px; 
    border-radius: 50%;
    border: 1px solid black;
    display: flex;
    margin: auto;
    object-fit: cover;
}
h4{
    font-size: 30px;
    font-weight: bold;
    background-color: rgb(208, 102, 107);
    color: aliceblue;
    display: flexk;
    border-radius: 8px;
    padding: 10px 10px;
}





/*CONTACTES*/
.contacts
{
    padding: 80px 20px;
    background-color: #f5ecec;
    text-align: center;
}
.contacts h2
{
    font-size: 32px;
    margin-bottom: 30px;
}
.contact-form
{
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input,
.contact-form textarea{
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}
.contact-form button {
    background-color: rgb(37, 2, 84);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    }

    
    .container5{
        background-color: #0a0a23;
        color: #ffffff;
        text-align: center;
        padding: 30px 20px;
        margin-top: 50px;
        justify-content: space-between;
    }
    footer .social-link {
        margin-top: 15px;
    }
    footer .social-link a {
        color: #ffffff;
        margin: 0 10px;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }
    footer .social-link a:hover{
        color:#f0c330;
    }

