/****************************Header*****************************/
header{
    display: flex;
    align-items: center;
}

#grains{
    width: 60px;
    height: 50px;
}
#grains:active{
    width: 63px;
    height:53px;
}

.coff{
    font-size: 23px;
    text-shadow: #D2B595 4px 4px 8px ;
    margin-left: 5px;
}
.coff a{
     text-decoration: none;
}
.coff h1{
    color: #EAD6BF;
}
.accueil{
    display: flex;
    flex: 1;
}
.accueil a{
    display: flex;
    text-decoration: none;
    align-items: center;
    font-size: 40px;
    margin-left: 60px;
    color: #5A3D21;
}
.accueil a:hover{
    color:#F4EDDF;
}

/** le .icons se situe dans le global.css **/

/*************Element principal (body)**************/
body {
    background-color: #AB7A44;
    font-family: "Gabriela", serif;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

/************Partie Panier**************************/
.elements div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.paniertext{
    display: flex;
    justify-content: center;
    color: #D2B595;
    
}
#panierui{
    background-color: #5A3D21;
    padding-bottom: 15px;
    padding-top: 20px;  
}
.elements p{
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.elements div div{
    margin-right: 15px;
    background-color: #EAD6BF;
    border-radius: 15px;
    max-width: 25%;
    margin-bottom: 15px;
}

.elements div img{
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
}

.btn{
    background-color: #5A3D21;
    color: #EAD6BF;
    font-family: "Gabriela", serif;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    margin: 15px;
    font-size: 20px;
    padding: 5px 10px;

    &:hover{
        color: #5A3D21;
        border: 0px #5A3D21 solid;
        background-color: #fff9f1;
    }
}

.addstock{
    color: #5A3D21;
    background-color: #EAD6BF;
    font-family: "Gabriela", serif;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    margin: 2px;
    font-size: 20px;
    max-height: 25px;
    margin-top: 20px;
    
    

    &:hover{
        color: #D2B595;
        border: 0px #5A3D21 solid;
        background-color: #EAD6BF;
    }
}

.articlesalign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: space-around;
}

.articlesalign bouton {
  margin-top: 0;
  margin-left: 15px;
  margin-right: 15px;
}

.articlesalign .plusminus {
  margin-top: 0;
  margin-left: 15px;
  margin-right: 15px;
}

input[name=quantite] {
  text-align: center; 
}

/*******Partie Bouton payer (en dessous de la section "vous aimerez aussi"****/
.pay{
    background-color: #5A3D21;
    color: #EAD6BF;
    font-family: "Gabriela", serif;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    margin: 15px;
    font-size: 20px;
    display: flex;
    padding: 10px 20px;

    &:hover{
        color: #5A3D21;
        border: 0px #5A3D21 solid;
        background-color: #EAD6BF;
    }
}

.center{
    display: flex;
    justify-content: center;
}

.thanks{
    margin: 10% 10%;
    display: flex;
    justify-content: center;
}
.nobluetext{
    text-decoration: none;
}

/**********Partie responsive********************/
@media screen and (max-width: 670px) {
    header{
        max-height: 50px;
        gap:5px;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .coff{
        font-size: 16px;
    }
}

@media screen and (max-width: 1060px) {
    .articles p{
        font-size: 14px;
    }
}

@media screen and (max-width: 400px){
    .coff{
        font-size: 10px;
    }
    .accueil a{
        font-size: 30px;
        margin-left: 30px;
    }
}

@media screen and (max-width: 950px) {
    /*********Footer******/
    .end-footer{
        align-content: center;
        font-size: 11px;
    }

    .maker{
        margin-left: 15px;
    }

    .name > div{
        font-size: 16px;
    }

    .link > a{
        font-size: 16px;
    }
    /*******Panier******/
    .elements{
        display: flex;
        flex-direction: column;
        justify-content: center;
        
    }
    .articles{
        display: flex;
        flex-direction: column;
        align-content: center;
    }
    .articles > div{
        min-width: 75%;
        height: 10%;
        margin-right: 0;
    }

    .articles > div .text{
        display: flex;
        justify-content: center;
    }

    .articles p{
        font-size: 16px;
    }
}

