.profil-view {
    width: 100%;
    background-color: rgb(255, 255, 255);
}

.profil-username {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100%;
    background-color: rgb(255, 255, 255);
}

.back-arrow {
    position: absolute;
    left: 10px;
    top: 36px;
}

.back-arrow img {
    width: 30px;
    height: 30px;
}

h3 svg {
    position: absolute;
}

.learnmore-wrap {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;

}

.learnmore {
    bottom: 0;
    position: fixed;
    justify-content: center;
    display: flex;
    width: 500px;
    z-index: 99999;
    padding: 30px 10px 10px 10px;
    

}


@media only screen and (max-width:500px) {
    .learnmore {
        width: 100%;
    }
}

.learnmore-share {
    width: 80%;
    z-index: 1;
    height: 40px;
    border: solid white 1px;
    border-radius: 25px;
}
.profil-follow {
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.profil-pdp {
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-pdp img {
    width: 80px;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.profil-stat {
    padding-left: 15%;
    padding-right: 15%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.profil-center {
    text-align: center;
}

.profil-publication {
    grid-column: 1/2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-followers {
    grid-column: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-follows {
    grid-column: 3/4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil-description {
    padding: 10px;
    width: 100%;
    background-color: white;
    padding-bottom: 5px;
}

.profil-activitate {
    margin-top: 5px;
    margin-bottom: 10px;
    color: rgb(29, 51, 124);
    font-size: 14px;
}

.profil-description .description p {
    width: 90%;
}

.follow-by {
    padding-left: 10px;
    display: grid;
    grid-template-columns: 1fr 6fr;
    background-color: rgb(255, 255, 255);
    height: 50px;
    width: 100%;
}

.a3users {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.suivi {
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.profil-btn-follow {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 50px;
    width: 100%;
    background-color: white;
}

.btn-suivre {
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 30px;
    background-color: rgb(20, 107, 206);
    border-radius: 10px;
}

.btn-write {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 30px;
    background-color: rgb(189, 189, 189);
    border-radius: 10px;
}

.profil-btn-follow a {
    color: white;
}

.profil-btn-follow a:last-of-type {
    color: rgb(0, 0, 0);
}

.scroll-hidden {
    overflow: hidden;
}



section.stories {
    height: 150px;
    display: flex;
    padding: 0 20px 0 0px;
    overflow-x: none;
    margin-top: 10px;
    object-fit: contain;
}

/* Styles pour masquer le menu lorsque les stories sont visibles */
.stories-vids nav {
    display: none;
}


.story-vids {
    display: none;
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
}
.close-story{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: end;
    align-items: center;
}
.gg-close {
    color: white;
    transform: scale(var(--ggs, 2)) !important;
    z-index: 5;
    top: 30px;
    right: 30px;
    cursor: pointer; 
}

.video-player {
    display: flex;
    justify-content: center;
    align-items: start;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    object-fit: contain;
}

.video-player video {
    top: 0;
    position: absolute;
    width: 100%;
    height: 85vh;
}


@media only screen and (max-width:500px) {
    .video-player {
        width: 100%;
    }
}

section.stories {
    height: 120px;
    display: flex;
    overflow-x: scroll;
    object-fit: contain;
}

.story-vids-user {
    display: flex;
    position: absolute;
    width: 40px;
    z-index: 5;
    top: 20px;
    margin-left: 30px;
    cursor: pointer;
}

.story-vids-user p {
    margin-top: 18px;
    margin-left: 10px;
    color: white;
}

.story-vids-user img {
    width: 50px;
    z-index: 5;
    border-radius: 50%;
}

.control {
    position: absolute;
    width: 100%;
    height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.3fr 1fr 1fr;
}

.control-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1/2;
    grid-row: 2/4;
}

.control-next {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2/3;
    grid-row: 2/4;
}

.control-prev a {
    z-index: 1;
    width: 100%;
    height: 100%;
}

.control-next a {
    z-index: 1;
    width: 100%;
    height: 100%;
}




.story {
    margin: 0 5px 0 15px;
    float: left;
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

a.story-link {
    position: relative;
    margin-bottom: 10px;
    width: 85px;
    height: 85px;
}



a.story-link img {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 500px;
    border: 2px solid var(--bg-color-1);

    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);

    z-index: 2;
}

a.story-link::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    position: absolute;
    content: "";
    height: 85px;
    width: 85px;
    border-radius: 500px;
    background: lightgrey;
    z-index: 1;
}



section.thread {
    overflow: scroll;
    scroll-snap-type: y mandatory;
    height: 90%;
}

.stories .username {
    font-size: 10pt;
}


.pics-wrapper{
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1px;
    width: 100%;
    padding-bottom: 70px;
}
.pics-wrapper li{
    list-style-type: none;
}
.pics-wrapper li a{
    width: 100%;
    height: 100%;
}
.pics {
    width: 100%;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1/1.6;
}

