/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* general rules */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
body{
    width: 90%;
    margin: auto;
    background-color: antiquewhite;
}
h1{
    text-align: center;
}
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* header */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
header{
    margin: auto;
}
.navbar div{
   
   margin-left: 3%;
   margin-right: 3%;
}
.nav-title{
    background-color: aqua;
    border-radius: 0.5em;
}
.nav-title h3{
    color:blueviolet;
    margin: auto;
    padding: 0.5em;
}
.logo{
    margin: 0.3em;
    width: 5em;
    height: 5em;
    border-radius: 50%;
}
.deleteAccountConfirmation{
    background-color: rgb(214, 84, 84);
    color: white;
    width: 50em;
    height: 10em;
    display: flex;
}
.confirmDeleteAccount{
    font-size: 1.2em;
}
.cancelDeleteAccount{
    color: blue;
    font-size: 1.2em;
}
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* home banner */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.banner{
    margin: auto;
  
    display:flex;
    height: auto;
   
}
.banner-description{
    
    text-align: center;
    margin: auto;
    width: 100%;
    height: 3em;
   
    background-image: url('../../uploads/banner.jpeg');
    background-size: cover;
    background-position: center center; 
    color: white;
    font-size: 3em;
    font-weight: 500;
    align-items: center;
    }
    @media screen and (max-width: 968px) { 
        .banner-description {
            height: 4em;
            font-size: 2em;
            font-weight: 400;
            display: flex; 
          
        }
    }
    @media screen and (max-width: 652px) { 
        .banner-description {
            height: auto; 
            font-size: 1.7em;
            font-weight: 200;
            background: black;
            overflow: hidden;
        }
    }

/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* home page user */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.home-title-promotion a{
   width: 50%;
   margin: auto;
   background-color: #e6b16a;
   text-align: center;
   border-radius: 0.3em;
   margin-bottom: 2%;
   margin-top: 2%;
   padding: .3em;
   
}
.carousel-item{
    width : 50%;
    height : 30%;
  overflow: hidden;
  margin-left:25% ;
  position: relative;
}
.linkPromo{
    display: block;
}
.image-product{
    width : 50%;
    height : 280px;
    max-width: 450px;
    max-height: 280px;
    z-index: 1;
   margin-left: 25%;
  
}
.image-promo{
    z-index: 2;
    position: absolute;
    width: 70px;
    height: 70px;
    margin-left: -7.5%;
    top:0%;
}
.carousel-control-prev-icon{
    background-color: black;
}
.carousel-control-next-icon{
    background-color: black;
}
.home-title-specie{
    width: 50%;
    background-color: #e6b16a;
    text-align: center;
    border-radius: 0.3em;
    margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;
}
.FourBlocks{
    display: flex;
    flex-wrap:wrap;
    width: 80%;
    margin: auto;
}
.OneBlock{
    width : 48%;
    height : 30%;
    overflow: hidden;
    margin: auto;
    margin-bottom:1% ;
}
.centrage-img{
    width : 250px;
    height : 250px;
    margin: auto;
    border-radius: .4em;
}
.centrage{
    width: 35%;
    text-align: center;
    background-color: rgb(227, 114, 49);
    align-self:center;
    margin: 1%;
    border-radius: .4em;
    font-size: 2em;
}
.centrage-block{
    display: flex;
    flex-direction:column;
}
h3{
    padding: .3em;
}


@media screen and (max-width: 1024px) {
    
    .OneBlock{
        width : 100%;
    }
    .image-product{
        margin-left: 20%;
        width: 60%;
        max-width: 100%;
        max-height: 100%;
     
    }
    .image-promo{
        width: 70px;
        height: 70px;
        right:20%;
        top:0%;
    }
    .block-promo{
        height: 20em;
    }
    .block-imgPromo{
        height: 20em;
        width: 100%;
        margin-top: 1em;
        margin-left: 0em;
       
    }
    .FourBlocks{
        flex-direction: column;
    }
    .OneBlock{
        width : 80%;
  
    }
    .centrage-img{
        width : 80%;
    }
    .centrage{
        width: 65%;
    }
    .centrage-block{
        display: flex;
        flex-direction:column;
    }
}
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* Piece list */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.table{
    display: flex;
    flex-wrap:  wrap;
}
.piece-line{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    margin-bottom: .2em;
    border-bottom: 2px solid black;
   
}
.piece-picture{
    display: block;
    flex: 0 0 20%;
}
.piece-part-left{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex: 0 0 65%;
    padding: 0 2%;
}
.piece-animal{
    display: block;
    font-size: 1.5em;
   
}
.piece-name{
    display: block;
    text-align: center;
    font-size: 2em;
}
.piece-price{
    display: block;
    text-align: center;
    font-size: 2em;
}
.piece-weight{
    display: block;
    text-align: center;
    font-size: 1.5em;
}
.piece-add-btn{
    display: block;
    position: relative;
    flex: 0 0 15%;
}
.pricePerKilo{
    font-size: 0.6em;
}

@media screen and (max-width: 1024px) {

    .table{
        display: flex;
        
    }
    .piece-line{
        background-color: rgb(239, 207, 166);
        width: 100%;
       height: auto;
        border: 1px solid black;
        box-sizing: border-box;        
        display: table-row;
        text-align: center;
    }
    .piece-part-left{
        
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
    }
    .piece-part-left > * {
        flex: 1 1 100%; /* Pour que chaque sous-élément prenne la largeur totale de son parent */
      }
        .piece-animal{
            text-align: center;
            font-size: 0.7em;
        
        }
        .piece-name{
            text-align: center;
            font-size: 1.2em;
        }
        .piece-price{
            text-align: center;
            font-size: 1em;
        }
        .piece-weight{
            text-align: center;
            font-size: 1em;
        }
    .piece-picture{
      margin: auto;
    }
    
}
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/*!           /* Footer */   
/*! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.footer-color {
    background-color: rgb(33 37 41);
    padding: 15px;
    color: white;
}

.footer-bloc {
    display: flex;
    justify-content: center;
}

.footer-list {
    list-style: none;
    padding-right: 2em;
}

.footer-lien {
    color: var(--color-primary);
    text-decoration: none;
}

