@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
}

:root {
    --text-font: sans-serif;
    --bg-color-1: #FFFEFC;
    --text-color-1: #272727;
    --max-width: 500px;
    --header-height: 60px;
}

::-webkit-scrollbar {
    display: none;
}

html {
    background: #cacaca;
    width: 100%;
    height: 100vh;
}

.main {
    max-width: var(--max-width);
    position: relative;
    margin: auto;
    background-color: var(--bg-color-1);
    /* height: 100vh; */
    overflow: hidden;
}

img {
    object-fit: cover;
    width: 100%;
}

a {
    text-decoration: none;
}


/* Menu */

nav {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 500px;
    height: 70px;
    background-color: #fff;
    align-items: start;
    justify-content: space-between;
    margin: 0;
}

@media only screen and (max-width:500px) {
    nav {
        width: 100%;
    }
}

nav ul li {
    overflow: hidden;
    list-style: none;
}

nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: space-between;
    margin: 0 10% 0 10%;
}

nav .menu-icon {
    height: 27px;
    width: 27px;
    margin: 8px;
    display: inline-block;
}

nav .home {
    background-image: url(../img/icons/Maison.svg);
    background-repeat: no-repeat;
}

nav .like.active {
    background-image: url(../img/icons/Coeur_click.svg);
    background-repeat: no-repeat;
}

nav .loupe {
    background-image: url(../img/icons/Loupe.svg);
    background-repeat: no-repeat;
}

nav .post {
    background-image: url(../img/icons/Upload.svg);
    background-repeat: no-repeat;
}

nav .reels {
    background-image: url(../img/icons/Reels.svg);
    background-repeat: no-repeat;
}

nav .profil {
    background-image: url(../img/icons/profil.svg);
    background-repeat: no-repeat;
}

/* Menu */

.scroll-hidden {
    overflow: hidden;
}


@media only screen and (max-width:500px) {
    .main {
        max-width: 100%;
    }
}


/* ICON */

.post-icon.like {
    background-image: url(../img/icons/Coeur.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.post-icon.like.active {
    background-image: url(../img/icons/Coeur_click.svg);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
}

.post-icon.comment {
    background-image: url(../img/icons/commentaire.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.post-icon.send {
    background-image: url(../img/icons/send.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.post-icon.sendW {
    background-image: url(../img/icons/Wsend.svg);
    background-repeat: no-repeat;
    background-position: center;

    /* filter: invert(1) brightness(2) contrast(1.5); */
    z-index: 50;
}

.post-icon.likeW {
    background-image: url(../img/icons/Wcoeur.svg);
    background-repeat: no-repeat;
    background-position: center;
    /* filter: invert(1) brightness(2) contrast(1.5); */
    z-index: 20;

}

.post-icons {
    overflow: hidden;
    display: inline;
    padding-left: 3px;
}

.post-icon {
    height: 27px;
    width: 27px;
    margin: 4px;
    display: inline-block;
}

/* icon white */
nav .Whome {
    background-image: url(../img/icons/Maison.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);

}

nav .Wlike.active {
    background-image: url(../img/icons/Coeur_click.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);
}

nav .Wloupe {
    background-image: url(../img/icons/Loupe.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);
}

nav .Wpost {
    background-image: url(../img/icons/Upload.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);
}

nav .Wreels {
    background-image: url(../img/icons/Reels.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);
}

nav .Wprofil {
    background-image: url(../img/icons/profil.svg);
    background-repeat: no-repeat;
    filter: invert(1) brightness(2) contrast(1.5);
}