* {
    box-sizing: border-box;
}
:root{
    --main-color: #F0F0F0;
    --second-color: #D141CB;
}
body {
    margin: 0;
    line-height: 1.5;
    background-color: var(--main-color);
    font-family: 'Lexend';
}
main{
    display: flex;
    flex-direction: column;
    margin-left: 23%;
}
header{
    display: flex;
    justify-content: center;
    margin-top: 3%;
}
header .logo{
    position: fixed;
    top: 2%;
    left: 0;
    display: block; 
    width: 10%;
    margin-left: 3%;
}
header .param-responsive{
    display: none;
}
header #searchbar{ 
    height: 1.87rem; /*Hauteur de l'input*/
    width: 50%;
    border-radius: 1rem;
    border: 2px solid #ccc; /*Bordure de l'input */
    background-color: #ebe9e9;    
} 
.side-nav{
    width: 15rem;
    height: 100%;
    position: fixed;
    top: 20%;
    left: 0;
    border-right: 2px solid #ccc;
}
ul.nav-links{
    padding-left: 0;
    margin-top: 0;
    
}
.nav-links li{
    display: flex;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
}
.nav-links img{
    max-width: 40%;
    margin-top: 0.5rem;
}
.nav-links p{
    padding-right: 1.8rem;
    margin: 0;
}
.nav-links .loupe-responsive{
    display: none;
}
main .entete-profil{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top:3%;
    background-image: linear-gradient(to right, transparent calc(1px), #ccc, transparent calc(70% + 1px)); /* Crée une ligne grise centrée */
    background-repeat: no-repeat; /* Empêche la répétition de l'image de fond */
    background-position: bottom; /* Positionne l'image de fond au bas de l'élément */
    background-size: 70% 2px; /* Taille de la ligne (largeur: 70%, hauteur: 2px) */
}
main .entete-profil img{
    width: 163px;
    height: 161px;
    border-radius: 1000px;
    margin-bottom: 5%;
}
main .texte{ 
    width: 40%;
    margin-bottom: 5%;
}
main .texte h1{
    color: black;
    margin-top: 0;
    margin-bottom: 2%;
    font-size: 2rem;
    font-weight: 50;
}
main .texte p{
    color: black;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 100;
}
main .texte h2{
    color: black;
    font-size: 0.8rem;
    font-weight: 900;
}
main .droite{
    display: flex;
    flex-direction: column;
    margin-left: 7%;
    margin-bottom: 5%;
}
main .droite h1{
    font-weight: 100;
    background-image: linear-gradient(to right, transparent calc(1px), #ccc, transparent calc(60% + 1px)); /* Crée une ligne grise centrée */
    background-repeat: no-repeat; /* Empêche la répétition de l'image de fond */
    background-position: bottom; /* Positionne l'image de fond au bas de l'élément */
    background-size: 150% 2px; /* Taille de la ligne (largeur: 70%, hauteur: 2px) */    font-size: 1rem;
}
main .droite .icones img{
    max-width: 10%;
    height: 0%;
}
main .droite .icones{
    display: flex;
    margin: 0;
}
main .droite .icones p{
    font-size: 0.9rem;
    font-weight: 200;
    margin-left: 10%;
    margin-top:1%;
}

/* card css */

:root {
    --font-family: Lexend;
}

body {
    background-color: rgb(223, 223, 223);
}

main {
    display: flex;
    justify-content: center;
   
}

.card-container {
    background-color: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center ;
    padding: 8px;
    max-height: 100%;
    max-width: 28%;
    box-shadow: 0.20rem 0.20rem #A306B6;
}

.card-container #card-icons {
    display: flex;
    width: 35%;
    justify-content: space-between;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}

.card-container #card-icons i.fa-solid {
    color: red;
}

.card-img {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0.65rem;
    border: 1px solid black;
}

.img-container {
    /* object-fit: cover; */
    width: 230px;
    height: 230px;
}

.card-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    
    /* margin-top: 5px; */
}

.txt {
    font-family: Lexend ;
    font-size: 0.5rem;
    padding-left: 0.5rem;
    margin-top: 5px;
    margin-bottom: 2px;
}

.like-txt {
    margin-top: 0.13rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-family);
    font-weight: 900;
}

.description {
    margin-top: 0;
    margin-bottom: 0.13rem;
}

form {
    padding-left: 0.5rem;
}

.input-txt {
    width: 64%;
    margin-top: 0.3rem;
    font-size: 0.6rem;
    border: 1px solid black;
    border-radius: 0.3rem;
}

.input-send {
   margin-top: 0.3rem;
   font-size: 0.6rem;
   border: 1px solid black;
   border-radius: 0.3rem;  
}

.list {
    list-style-type: none;
    padding-left: 0.65rem;
    margin-top: 0.5rem;
    font-family: Lexend;
    font-size: 0.5rem;
    height: 2rem;
    width: 100%;
    overflow: scroll;
    scrollbar-width: none;
}
section{
    display: flex;
    justify-content: space-between;
    margin-right: 7%;
}

.card-list {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    margin: 1.5rem 0rem;
}