@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400&family=Roboto+Mono:ital,wght@1,300&family=Roboto+Slab&display=swap');
*{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #ffff;
}

i, .story, .post_btn{
    cursor: pointer;
}

::-webkit-scrollbar {
    display: none;
}

body {
    background: #F0F0F0;
    width: 100vw;
    overflow-x: hidden ;
    position: relative;
    /* max-width: 1200px; */
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: red; */
}

.nav {
   background: white;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   position: fixed;
   top: 0px;
   width: 100%;
   z-index: 1000;
}


.navBar {
    height: 45px;
    /* position: fixed; */
    /* top: 0px; */
    width: 100%;
    max-width: 920px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
   
}

.navBar .fas.fa-camera,
.navBar > .fab.fa-facebook-messenger{
    display: none;
}

.navBar .logo {
    display: flex;
    align-items: center;
    justify-content:center;
    margin-left: 20px;
    /* position: absolute; */
    /* left: 160px; */
}

.navBar i {
    color: #222;
    font-size: 1.5rem;
    margin-right: 10px;
}

.navBar .logo img {
    width: 125px;
    height: 35px;
}


.navBar .searchBox {
    /* position: absolute; */
    /* right: 545px; */
    display: flex;
    align-items: center;
    color: #ffff;
    font-size: 1.5rem;
    margin: 0px 10px;
}

.navBar .searchBox input{
    width: 75%;
    margin: 5px;
    outline: none;
    border: none;
    border-radius: 8px;
    height: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    padding: 10px 10px;
    background: #eee;
}

.navBar .navIcons {
    /* position: absolute; */
    color: #ffff;
    /* right: 178px; */
}

.navBar .navIcons .Icons {
    display: flex;
}

.navBar .navIcons .Icons li {
    margin: 0px 5px;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
}

.mainContainer {
    /* position: relative; */
    position: fixed;
    top: 40px;
    width: 920px;
    margin-top: 20px;
}

.mainContainer .leftcontainer {
    /* display: flex; */
    position: absolute;
    width: 105%;
    height: 90vh;
    overflow-x: auto;
    overflow-y: scroll;
}

.mainContainer.blured {
    opacity: 0.35;
}

.main .popup {
    width: calc(100% - 40px);
    max-width: 450px;
    min-width: 350px;
    height: 550px;
    position: fixed;
    top: 60px;
    background-color: white;
    margin: 0px auto;
    border-radius: 10px;
    box-shadow: 10px 10px 15px #999;
    overflow-x: hidden;
    overflow-y: scroll ;
    font-family: 'outfit', sans-serif;
}
.main .popup .popup-btns{
    position: absolute;
    width: calc(50%);
    top: 120px;
    left: 160px;
    display: flex;
    justify-content: space-evenly;
    z-index: 100;
}
.main .popup .popup-btns button{
    padding: 5px 20px;
    margin-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
    border: 1px solid rgb(44,123,251);
    border-radius: 4px;
    background-color: rgb(93, 145, 227, 1);
    color: white;
    font-size: .8rem;
    font-weight: 400;
    cursor: pointer;
}

.main .popup .popup-btns button:hover{
    background-color: rgb(69, 120, 203);
}

.main .popup .post-reels-tagged{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    font-weight: bold;
    position: relative;
    /* background-color: red; */
}

.main .popup  .post-reels-tagged > * {
    cursor: pointer;
    position: inherit;
}

.post-reels-tagged > span::after {
    content: '';
    background-color: rgb(69, 120, 203);
    display: none;
    width: 100px;
    height: 2px;
    border-radius: 4px;
    position: absolute;
    top: 20px;
    left: -25px;
}

.post-reels-tagged > span:hover:after {
    display: block;
}



.main .popup .gallary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    height: max-content;
}

.main .popup .gallary img {
    max-height: 150px;
    width: calc((100% / 3) - 4px );
    border-radius: 3px;
    background-color: whitesmoke;
    cursor: pointer;
    margin: 2px 2px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.main .popup .gallary img:hover {
    transform: scale(1.5);
    border-radius: 6px;
    z-index: 100;
}


.main .popup.hidden {
    display: none;
}

.main .popup.empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .popup .fa-times-circle {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #898988;
    font-size: 1.75rem;
    z-index: 100;
    transition:all 0.5s linear ;
}

.main .popup .popup-close:hover{
    cursor: pointer;
    color: black;
}

.main .popup .profileHeader {
    /* background: red; */
    width: 100%;
    height: 100px;
    position: absolute;
    display: flex;
    align-items: center;
    top: 20px;
}

.popup ul {
    display: inline-block;
    width: max-content;
}

.main .popup .profileHeader .profile-pic-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    object-fit: cover;

    /* border: 1px solid green; */
    /* height: 100px; */
    /* background: #000; */
}
.main .popup .profileHeader .profile-pic-name .userName {
    font-weight: 400;
    margin-top: 10px;
}

.main .popup .profileHeader .profile-pic-name img {
    width: 5rem;
    border-radius: 50%;
}

.main .popup .profileHeader .follower-follow-post {
    width: 60%;
    /* border: 1px solid red; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main .popup .profileHeader .follower-follow-post .userCredentials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0px 5px;
}

.main .popup .profile-description {
    position: absolute;
    top: 120px;
    margin: 5px 20px;
    color: #222;
}


.stories {
    width: 60%;
    height: 100px;
    position: absolute;
    top: 20px;
    margin: 0px 20px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    border: none;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
}


.storydiv{
    position: relative;
    margin: 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Outfit';
}

.stories .story img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}
.stories .story {
    /* position: absolute; */
    padding: 3px;
    top: 2px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    /* outline: 2px solid #c705f2; */
    /* border: 2px solid red; */
    border-radius: 50%;
    background: radial-gradient(circle farthest-corner at 35% 90%, #df64fe, transparent 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}

.storydiv .userId {
    color: black;
}


.mainContainer .feed {
    width: 60%;
    position: absolute;
    top: 125px;
    margin: 0px 20px;
    border: none;
    border-radius: 6px;
    /* overflow: hidden; */
}


.feed .post {
    height: fit-content;
    width: 100%;
    background-color: whitesmoke;
    margin: 10px 0px;
    border: 1px solid grey;
    border-radius: 4px;
    overflow: hidden;
}

.feed .post .user {
    display: flex;
    align-items: center;
    height: 50px;
    background: #fff;
    padding-left: 5px;
}

.feed .post .user .profilepic {
    width: 35px;
    height: 35px;
    margin: 0px 10px;
    border-radius: 50%;
    overflow: hidden;
}

.feed .post .user .profilepic img {
    height: inherit;
    width: inherit;
}

.feed .post .user span {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.feed .post .postImg img, .postImg {
    width: 100%;
    height: 100%;
}

.feed .post .postImg img {
    object-fit: cover;
}

.feed .post section {
    background-color: whitesmoke;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.feed .post section ul {
    display: flex;
    position: relative;
    width: 100%;
}

.feed .post section ul li i{
    font-size: 1.5rem;
    margin: 0px 10px;
}

.feed .post section ul .save {
    position: absolute;
    right: 10px;
}

.post p {
    width: 100%;
    padding-left: 10px;
    font-family: 'Outfit', sans-serif;
    background-color: whitesmoke;
}

.post .userId {
    font-weight: bold;
    cursor: pointer;
}

.post .likes_count {
    margin-bottom: 5px;
}

.postDetails p {
    margin: 5px 0px;
}

.postDetails .comments {
    cursor: pointer;
}

.commentSection {
    display: flex;
}

.postDetails input {
    width: 90%;
    outline: none;
    border: 0px solid gray;
    height: 20px;
    margin: 4px;
    background-color: inherit;
    padding: 2px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem ;
    font-weight: 400;
}

.postDetails button {
    padding: 2px;
    border: none;
    font-weight: bold;
    color: rgb(2, 69, 253);
}

.postTime {
    font-size: small;
}
.mainContainer .activities {
    display: block;
    height: 100%;
    width: 310px;
    position: absolute;
    top: 0;
    right: 0;
    /* position: fixed; */
    margin : 10px 0px;
    border: none;
    border-radius: 6px;
}

.post .like .fas {
    color: #0b82dc;
}


.mainContainer .activities .profile {
    position: relative;
    height: 75px;
    display: flex;
    align-items: center;
    color: black;
    padding: 0px 10px ;
    margin: 20px 0px;
    font-family: 'Outfit','san serif';
}

.mainContainer .activities .profile .profilepic {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}

.mainContainer .activities .profile .profilepic img {
    width: inherit;
    height: inherit;
}

.mainContainer .activities .profile .userId {
    display: block;
    position: absolute;
    font-size: 1.3rem;
    top: 15px;
    left: 70px;
}

.mainContainer .activities .profile .userName {
    display: block;
    position: absolute;
    top: 40px;
    font-size: 0.9rem;
    left: 70px;
}

.mainContainer .activities .profile button {
    display: block;
    position: absolute;
    top: 24px;
    right: 20px;
    border: none;
    border-radius: 6px;
    padding: 7px;
    color: rgb(0, 132, 255);
    font-family: 'Outfit';
    font-weight: bold;
    background-color: inherit;
}

/* .suggestions {
    display: flex;
} */

.suggestions p {
    width: 100%;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    padding-left: 10px;
}

.suggestions .suggestionList{
    height: 250px;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    overflow-y: scroll;
    margin-top: 10px;
}

.suggestions .suggestion-Item {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px ;
    margin-top: 10px;
    font-family: 'Outfit','san serif';
}

.suggestions .suggestion-Item .profilepic {
    width: 35px;
    height: 35px;
    overflow: hidden;
    border-radius: 50%;
}

.suggestions .suggestion-Item .profilepic img {
    width: inherit;
    height: inherit;
    object-fit: contain;
}

.suggestions .suggestion-Item .userId {
    display: block;
    position: absolute;
    font-size: 1.0rem;
    top: 0px;
    left: 65px;
}

.userId{
    cursor: pointer;
}

.suggestions .suggestion-Item  .userName {
    display: block;
    position: absolute;
    top: 18px;
    font-size: 0.9rem;
    left: 65px;
}

.suggestions  .suggestion-Item button {
    display: block;
    top: 2px;
    right: 20px;
    border: none;
    border-radius: 6px;
    padding: 4px;
    font-size: 0.8rem;
    color: rgb(0, 132, 255);
    font-family: 'Outfit';
    font-weight: bold;
    background-color: inherit;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.suggestions  .suggestion-Item button:hover{
    font-size: 0.9rem;
}

.activities .other-tags {
    margin-top: 40px;
    font-size: .76rem;
    color: #555;
    cursor: pointer;
}


.activities .Owner_tag {
    margin: 20px 0px;
}


@media all and (max-width :  1000px ) {


    .mainContainer{
        width: 550px;
        height: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        object-fit: contain;
    }

    .mainContainer .leftcontainer {
        width: 100%;
        /* background-color: red; */
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: center;
    }

     .mainContainer .stories {
        width: 99%;
    }
   .mainContainer .feed {
        width: 99%;
    }

    .mainContainer .activities {
        display: none;
    }

}

@media screen and (max-width : 650px) {


    .navBar {
        margin: 0px 20px;
        justify-content: space-between;
    }

    .navBar .searchBox {
        display: none;
    }

    .navBar > .logo {
        margin: 0;
    }


}

@media  screen and (max-width : 580px) {

    *{
        margin: 0px;
    }

    body {
        min-width: 100%;
    }

    .fab.fa-instagram {
        display: none;
    }

    .navBar .fas.fa-camera,
    .navBar > .fab.fa-facebook-messenger{
    display: block;
    margin-inline: 15px;
    }

    /* .navBar > .logo {
        margin: 0;
    } */

    .navBar {
        justify-content: space-between;
        width: 100%;
    }

    .main {
        width: 100%;
    }
    .mainContainer{
        margin: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mainContainer .leftcontainer {
        width: 100%;
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: center;
    }

    .mainContainer .leftcontainer .stories {
        width: 100%;
        margin-inline: 0px;
    }
    .mainContainer .leftcontainer  .feed {
        width: 100%;
        margin-inline: 0px;
    }

    .mainContainer .feed .post .postImg {
        width: 100vw;
        height: 72vw;
    }

    .mainContainer .feed .post {
        min-width: 100px;
        min-height: 100px;
        margin:10px 0px;
        width: 100vw;
        border: none;
        height: auto;
    }

    .navIcons {
        display: none;
    }
}

