.loader{
    animation:fadeOut 3s;
}

.carte{
    animation:fadeOut 6s;
}



@keyframes fadeOut{
    0%{
       opacity:0;
    }
    100%{
       opacity:1;
    }
}

h1{
    font-family: "Shrikhand";
    font-style: italic;
    font-weight: 800;
    font-size: 28px;
    line-height: 41px;
}

.icon-heart{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: -40px;
    margin-bottom: 40px;
    margin-right: 40px;
}

.icon-fleche{
   position:absolute;
   left: 20px;
}

.icon-heart i:hover{
   background: linear-gradient(#9356DC,#FF79DA );
   font-weight: 700;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
}



.flex-header{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    padding-top: 20px;
}

.icon-fleche a{
    color: #383a3e;
}

.logo img{
    width: 162px;
}

main img{
    width: 100%;
    height: 275px;
    object-fit: cover;
}

.image-fond{
    display: flex;
    justify-content: center; 
}

.card-title{

    margin-left: 20px;
    
}

.main-conteneur{
    background-color:#F6F6F6;
    border:1px #F6F6F6 solid;
    position: relative;
    top:-20px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    width:100%;
}

.carte article{
    background-color: #FFFFFF;
    border:1px solid #F6F6F6;
    border-radius: 20px;
    width: 95%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

article a{
    text-decoration: none;
    color: black;
    display: flex;
}


.menu {
width:100%;
padding: 0 10px;
overflow: hidden;
}

.description{
display:flex;
justify-content: space-between;
align-items: center;
margin-top: -30px;
overflow: hidden;
}

.description p, .menu h3{
    overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.carte{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    margin-left: 20px;
}



.bar{
    border-bottom: 3px #99E2D0 solid;
    width:40px;
    margin-left: 10px;
    font-weight: 200;
    font-size: medium;
}

.check-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #99E2D0;
    width: 0;
    overflow: hidden;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    transition:0.5s ease-in-out;
}
    


article:hover .check-icon{
    width: 100px;
}
.check-icon .fa-circle-check{
    color:#fff;
}

.button{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

button{
    background: linear-gradient(#9356DC,#FF79DA );
   border-radius: 25px;
   color: white;
   padding: 15px;
   height: 50px;
   width: 180px;
   border: 1px #9356DC;
   box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

button a{
    color: white;
    text-decoration: none;
}

.button:hover{
   opacity: 0.8;
   transform: scale(1.02);
}

 /* media queries */

 @media (min-width : 1024px){

    .main-conteneur{
        width: 65%;
        margin-left: 200px;
        padding-left: 50px;
    }

    .main-conteneur h1{
        display: flex;
        justify-content: center;
    }

     .icon-heart{
        margin-right: 25%;
        font-size: 30px;
        margin-top: -55px;
    }

    footer{
        display: flex;
        justify-content: flex-end;
     }
     
     .footer-media{
        display: flex;
        gap: 40px;
     }
  
     .footer-media img{
        order: 5;
        height: 20px;
        margin-right: 10px;
     }
 }

 @media (min-width :650px) and (max-width : 1024px)
 {
     
    footer{
        display: flex;
        justify-content: flex-end;
     }
     
     .footer-media{
        display: flex;
        gap: 40px;
     }
  
     .footer-media img{
        order: 5;
        height: 20px;
        margin-right: 10px;
     }

     .main-conteneur h1{
        display: flex;
        justify-content: center;
    }

    .main-conteneur{
        width: 80%;
        margin-left: 60px;
        padding-left: 50px;
    }
 }