body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
    padding: 30px;
    font-size: 22px;
    background-color: #A8642A;
    color: rgb(0, 0, 0);
}

header h2{
    display: flex;  
}

 header ul{
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;

 }

 /**.nav{
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto;
    gap: 10px;
    text-align: left;
}**/


.nav{
    height: 15vh;

    display: flex;
    justify-content: flex-start;  
    align-items: center;  
 }

.nav ul{
    list-style-type: none;
    display: flex;
}

.nav li{
    margin-right: 0.5vw;   
}
/** index */
.img {
    width : 50px;
    height: 50PX;
   
   
    /* a voir si c'est garder */
    border-radius: 60%;
}

.image{
    width: 190px;
    height: 290px;
    
}

.image:hover{
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
    transition: 0.5s;
}

*{
    color: #ffd9b8;
}





.body{
    display: grid; 
    grid-template-columns: 1fr; 
    grid-template-rows: auto 1fr auto; 
    gap: 5px 5px; 
    background: #422711;
    text-align: center;
}
    
.container_listelivre {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px 10px; 
    text-align: center;   
}


.container_livre {
    display: grid; 
    grid-template-columns: auto 1fr; 
    grid-template-rows: 1fr; 
    gap: 5px 25px; 
    text-align: center;    
}

.aside{
    display: grid;
    grid-template-columns: auto auto;
}

.alig{
    text-align: start;
}

p textarea{
    color: black;
}
.commentaire{
    display: grid;
    grid-template-rows: auto auto;
    border-bottom: solid #A8642A;
}




ul{
    list-style-type: none;
    text-align: justify;
}

article{
    border: solid #A8642A;
    padding: 0 50px;
}

aside{
    border: solid #A8642A;
    padding: 10px 20px 10px 0; 

}

a:link{
    text-decoration: none;
}



footer {
    padding: 30px;
    text-align: center;
    font-size: 20px;
    background-color:#A8642A;
    color: #fff;
}

.btn{
    background-color: #8C511F;
    border-radius: 40px;
    border: 1px solid gray;
    font-size: 25px;
    padding: 8px 20px 8px;
    font-family: Arial;
    font-weight: lighter;
    margin-left: 40px;
}
/* profil */
.profil__div1{
    text-align: left;
    justify-content: left;
    margin-left: 50px;
    margin-bottom: 80px;
    font-size: 20px;
}

.profil__div1 hr{
    width: 55%;
    margin-left: 0px;
    color : #a8642a;
    height: 3px;
    background-color: #8C511F;
}

.profil__div2{
    display: flex;
    margin-left: 20%;
    font-size: 20px;
    height: 330px;
    margin-bottom: 100px;
}

.profil__div2--img{
    width: 220px;
    height: 330px;
}

.profil__div2--content{
    width: 40%;
    margin-left: 20%;
    border: 2px #8C511F solid;
    padding-left: 22px;
    text-align: left;
    flex-shrink: 100px;
    padding-bottom: 22px;
}

.profil__div2__content--info{
    width: 50%;
}

.profil__div2__content--button{
    display: flex;
    width: 65%;
    height: 73%;
    align-items: flex-end;
    justify-content: space-between;
}

.profil__btn{
    background-color: #8C511F;
    border-radius: 20px;
    border: 1px solid gray;
    font-size: 18px;
    padding: 8px 30px 8px;
}

.profil__btn:hover{
    cursor: pointer;
}


div.bouton-aligne{
    background-color: #8C511F;
    border-radius: 40px;
    border: 1px solid gray;
    font-size: 20px;
    padding: 8px 20px 8px;
    font-family: Arial;
    font-weight: lighter;
    margin-left: 40px;

}
/** css page administrateur
.container_add {
display: flex;

}

.div_add {
    justify-content: flex-start;
    flex-direction: row;
    width: 50%;
    margin-left: 0px;

}
.flex_add {
    flex-direction: row;
    width: 50%;
    margin-right: 0px;
    justify-content: flex-end;
    flex-direction: column-reverse;
}

.hr_left {
    
    margin-left: 0px;
    size:4px;
    color:#8C511F;
}

.hr_right {
    width:40%;
    margin-right: 0px;
    size:4px;
    color:#8C511F;
}
*/

@media screen and (max-width: 768px) {
    .container_listelivre {
        display: flex;
        flex-direction: column;
    }

    .container_livre {
        display: flex;
        flex-direction: column;
    }
}  
