* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background-color: #222831;
    color: #eee;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.structure-app {
    width: 95vw;
    max-width: 1300px;
    height: 85vh;
    display: flex;
    gap: 20px;
}

.barre-gauche {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 10px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.boite-connexion {
    background: #393E46;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    font-style: none;
}

.boutons-connexion {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.connexion, .creer-compte {
    border: none;
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    font-weight: bold;
    background-color: #222831;
    transition: 0.2s;
}

.creer-compte:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.connexion:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.liens-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    transition: 0.2s;
}

.liens-navigation a:hover {
    background: #2e333c;
}

.liens-navigation a.actif {
    background: #393E46;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    border: 1px solid #4e555f;
}

.bloc-principal {
    flex: 1;
    background-color: #393E46;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    border-radius: 25px;
    display: grid;
    grid-template-columns: 1fr 280px;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
}

.fil-actualite {
    overflow-y: auto;
    padding-right: 10px;
}

.banniere {
    background: #222831;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.publication {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #222831;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
}

.publication:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.utilisateur-publication {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.pfp img {
    height: 100%;
    object-fit: cover;
}
.publication-gauche{
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.image-publication img {
    width:100%;
    border: solid 2px #eee;
    border-radius: 18px;
    margin-top: 10px;
}

.actions-publication {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    cursor: pointer;
}

.barre-droite {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ligne-option {
    background: #222831;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ligne-option:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.barre-recherche {
    background: #222831;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
    border: 1px solid #393E46;
    padding: 10px;
    border-radius: 8px;
    color: #eee;
}
.barre-recherche:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.pub {
    background: #000;
    padding: 10px;
    text-align: center;
}

.pub img {
    width: 100%;
}

.texte-footer {
    margin-top: auto;
    font-size: 10px;
    color: #eee;
}
a{
    display: flex;
    align-items: center;
    color: #eee;
    text-decoration: none;
}


.profil{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.stat{
    margin: 5px;
    margin-top: 15px;
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 10px;
}
.stat .span{
    font-weight: bold;
}
.profil img{
    width: 125px;
    border: solid 2px #eee;
    border-radius: 90px;
    margin: 10px;
}
.storie{
    display: flex;
    gap: 20px;
    margin: 8px;
    margin-left: 15px;
}

.storie img{
    width: 65px;
    padding: 3.5px;
    border-radius: 100%;
    border: 3px solid #6155F5;
    text-align: center;
}
.ma-stories img{
    border: dashed #eee;
}
.ma-stories{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.autre-storie{
    display: flex;
    gap: 11px;
    text-align: center;
    justify-content: center;
}

.publication-echange {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #222831;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
}

.publication-echange:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.publication-echange-top{
    display: flex;
    flex-direction: column;
    gap: 1px;

}

.image-publication-echange img {
    width:90%;
    border: solid 2px #eee;
    border-radius: 18px;
    margin-top: 10px;
}

.fil-actualite{
    padding: 10px;
    overflow-y: auto;
}

.liste-messages{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.messages{
    display: flex;
    align-items: center;
    gap: 15px;
    background: #222831;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
}

.messages:hover{
    transform: translateY(-2px);
    background:#2a303a;
}

.messages img{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
}

.messages-texte{
    display:flex;
    flex-direction:column;
    gap:4px;
    flex:1;
}

.messages-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.messages-top span{
    font-size:12px;
    color:#9ca3af;
}

.messages-texte p{
    font-size:13px;
    color:#bfc6d1;
}