* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f4f7;
}

nav {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 3px 10px;
}

.nav-one div {
    width: 250px;
    height: 40px;
}

.nav-one div input {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    padding-left: 15px;
    border: 1px solid gray;
}

.nav-one div input:focus {
    outline: none;
}

.nav-two {
    width: 150px;
}

.nav-two>.icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-two>.icons i,
.nav-three>.icons i,
.fa-magnifying-glass {
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.nav-two>.icons i:hover,
.nav-three>.icons i:hover {
    background-color: rgb(163, 159, 159);
    /* transition: all 0.5; */
    /* padding: 10px; */

    border-radius: 50%;
}

.nav-three {
    width: 320px;
}

.nav-three>.icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    border-radius: 22px !important;
}


.fa-magnifying-glass {
    display: none;
    margin-top: 9.5px;
}

.leftSidebar {
    height: 90.5vh;
    overflow: auto;
    width: 300px;
}

.leftSidebar div,
.chats div {
    padding: 5px 10px;
    border-radius: 2px;
    cursor: pointer;
}

.leftSidebar div p,
.chats div p {
    font-weight: bold;
    margin-top: 5px;
}

.leftSidebar div:hover,
.chats .Friends:hover {
    background-color: rgb(163, 159, 159);
    transition: all 0.5s;
}

.leftSidebar div img,
.chats div img,
.topHeader div img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.feed {
    height: 90.5vh;
    overflow: auto;
}

.chats {
    height: 90.5vh;
    overflow: auto;
}


/* Feed Css */
.topHeader {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: white;
    padding: 5px 15px;
    border-radius: 10px;

}

.img-modal {
    width: 70%;

}

.emoji {
    width: 30%;
    display: flex;
    justify-content: end;
    gap: 20px;
}

.emoji i {
    font-size: 24px;
    cursor: pointer;
}

.img-modal div {
    width: 100%;
}

.img-modal div button {
    width: 100%;
}

.btn-outline-secondary {
    background-color: #F2F4F7;
    outline: none;
    border: none;
}

.btn-outline-secondary:hover {
    background-color: #e2e3e5;
    color: #7E8084;
}

/* stories */

.stories-section {
    background-color: #F2F4F7;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
    height: 200px;
    margin: 20px 0px;
    cursor: pointer;
}

.stories-card-1,
.stories-card-2 {
    height: 100%;
    width: 125px;
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    position: relative;

}

.stories-card-1 img {
    height: 70%;
    width: 99%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.stories-card-2 img {
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.card2-p {
    position: absolute;
    bottom: 3px;
    left: 4px;
    color: white;
}

.round-box {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 50px;
    left: 40px;
}

.card-2 {
    width: 40px;
    border-radius: 50%;
    border: 4px solid #075CE5;
    display: flex;
    align-items: center;
    background-size: contain;
    justify-content: center;
    position: absolute;
    bottom: 145px;
    left: 15px;
}

.stories-card-1:hover {
    background-color: #C3C6CA;
    outline: none;
    border: none;
}



/* reels-css */



.reel {
    background-color: white;
    border-radius: 15px;
    width: 100%;
    height: auto;
    margin: 20px 0px;
    cursor: pointer;
    overflow: auto;
}

.reel-avatar img {
    border-radius: 50%;
    margin: 15px 0px 15px 15px;
}

.reel-text {
    font-size: 11px;
    font-weight: bold;
    position: relative;
    margin: 15px 0px 0px 6px;

}

.reel-text p {
    height: 1px;
    width: fit-content;
}

.reel-link a {
    text-decoration: none;
    color: #505152;
    font-size: 10px;
    width: 100%;
}

.reel-link a:hover {
    text-decoration: underline #505152;
}

.reel-text p:hover {
    text-decoration: underline black;
}

.post {
    margin-top: 15px;
}

.post img {
    width: 100%;
}

.post-icon-sec {
    text-align: center;
}

.post-icon-sec i {
    margin: 10px;
    padding: 10px 30px;
    text-align: center;
    width: 100%;
    color: #505152;

}

.post-icon-sec i:hover {
    background-color: #989ea365;
    border-radius: 10px;


}

@media only screen and (max-width: 992px) {
    .btn {
        display: none;
    }

    .nav-three {
        width: 200px;
    }
}

@media only screen and (max-width: 820px) {
    .nav-one div {
        width: auto;
    }

    .nav-one div input {
        display: none;
    }

    .fa-magnifying-glass {
        display: block;
    }

    .chats {
        display: none;
    }

    .leftSidebar .column {
        background-color: #075CE5;
        width: 50px;
    }

    .post-icon-sec i {
        padding: 0px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 530px) {

    .fa-grip,
    .fa-facebook-messenger,
    .fa-bell {
        display: none !important;
        /* background-color: red; */
    }

    .nav-three>.icons {
        display: flex;
        justify-content: end;
    }

    .nav-one {
        width: 150px;
    }

    .leftSidebar {
        display: none;
    }

    .post-icon-sec i {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 450px) {

    .post-icon-sec i {
        padding: 10px 25px;
        font-size: 12px;
    }

}

@media only screen and (max-width: 376px) {

    .post-icon-sec i {
        padding: 10px 15px;
        font-size: 10px;
    }

}

@media only screen and (max-width: 325px) {

    .post-icon-sec i {
        padding: 10px 10px;
        font-size: 10px;
    }

}

@media only screen and (max-width: 300px) {

    .post-icon-sec i {
        padding: 10px 8px;
        font-size: 10px;
    }

}

@media only screen and (max-width: 255px) {

    .post-icon-sec i {
        padding: 10px 5px;
        font-size: 8px;
    }

    .icons {
        display: none;
    }

}