@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    font-family: "Poppins", sans-serif;
    padding: 0px;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background: white;
    padding-top: 15px;
    padding-left: 15px;
}

:root {
    --gradient: linear-gradient(to right, #e2336b, #fcac46);
}

.sidebar {
    position: fixed;
    width: 250px;
    height: 100vh;
    background: rgb(247, 243, 243);
    z-index: 2;
}

.main-home {
    position: absolute;
    width: calc(100% - 300px);
    top: 0;
    left: 300px;
    background: #fff;
    border-radius: 1rem 0 0 1rem;
    z-index: 1000;
    padding: 20px;
    overflow: hidden;
}

.logo img {
    width: 140px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1.4rem;
}

.profile-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid red;
    cursor: pointer;
}

.profile-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    object-position: center;
}

.name {
    display: flex;
    align-items: center;
    margin: 1rem 2rem 0 4rem;
}

.name h1 {
    font-size: 1.1rem;
}
.name h1:hover{
    font-size: 1.1rem;
    cursor: pointer;
}

.name img {
    margin-left: 2px;
    width: 25px;
    object-fit: center;
}

.profile-img span {
    font-size: .938rem;
    font-weight: 400;
}

.about {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.box {
    text-align: center;
}

.box h3 {
    font-size: 1rem;
    font-weight: 500;
}

.box span {
    font-size: 0.938rem;
    font-weight: 400;
}

.menu {
    width: 100%;
    font-size: 1rem;
    line-height: 35px;
    display: flex;
    flex-direction: column;
    padding: 12px;
}
.menu .icon {
    margin-right: 1rem;
    font-size: 20px;
    color: black;
}

.menu .icon:hover,
.menu .active {
    background-color: rgba(229, 228, 228, 0.533);
    color: black;
    border-radius: 5px;
    font-size: 21px;
}

.menu a:hover::before,
.menu .active::before {
    content: "";
    position: absolute;
    right: 0;
    width: 2px;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search {
    display: flex;
    align-items: center;
    background: rgb(247, 243, 243);
    width: 200px;
    height: 2.4rem;
    padding: 10px;
    border-radius: 10px;
}
.search input {
    border: none;
    outline: none;
    background: transparent;
    margin-left: 7px;
}
.search i {
    font-size: 20px;
}
.header-content {
    display: flex;
    align-items: center;
}
.header-content i {
    color: black;
    font-size: 20px;
    margin-left: 1rem;
    cursor: pointer;
}

.header-content .btn {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--gradient);
    margin-left: 1rem;
}
.header-content .btn i {
    color: hsla(0, 0%, 98%, 0.6);
    margin-left: 10px;
}
.btn-text {
    color: #fff;
}
.btn-text:hover{
    color: black;
} 


/* stories */
#story{
    border: 1px solid rgb(161, 160, 160);
    background: rgb(247, 243, 243);
    border-radius: .5rem;
    margin-top: 1rem;
    padding:0 1rem 1rem 1rem;
}
.stories-title {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.stories-title h1 {
    font-size: 1.8rem;
}
.stories-title .btn {
    display: flex;
    align-items: center;
    color: black;
}

.stories-title .btn i {
    margin-right: 900px;
    font-size: 24px;
}
.stories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0rem;
}
.stories-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid red;
}
.stories-img img {
    cursor: pointer;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    object-position: center;
}
.stories-img .color {
    border: 2pc solid #dbdbdb;
}
.stories-img .add {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #fff;
    background: hsla(246, 56%, 66%, 0.7);
}
/* Feed */
.feed{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    
}
.feed h1{
    display: flex;
    
}
.feed-text{
    display: flex;
    /* align-items: center; */
    text-align:left;
}
.feed-text h2{
    font-size: 1rem;
    margin-top: 1rem; 
    margin-right: 880px;
    
}
.feed-text span{
    font-size: 1rem;
    margin-top: 1rem;
    padding-left: 0.5rem;  
    /* margin-right: 900px; */
} 
.main-post{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    grid-gap: 1.1rem;
}
.post-box{
    width: 300px;
    margin-left: 2rem;
}
.post-box img{
    width: 100%;
    height: 344px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    /* border: 1px solid black; */
}
.post-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 2px solid red;
    border-radius: 50%;
}
.post-img img{
    width: 27px;
    height: 27px;
    object-fit: cover;
    /* border: 15px; */
    border-radius: 50%;
    border-radius: 2px solid red;
}
.post-profile{
    display: flex;
    align-items: center;
}
.post-profile h3{
    font-size: 12px;
    font-weight: 600px;
    margin-left: 5px;
}
.post-profile h3:hover{
    font-size: 12px;
    font-weight: 600px;
    color: #717171;
    margin-left: 5px;
    cursor: pointer;
}
.likes{
    display: flex;
    align-items: center;
}
.likes i{
    font-size: 20px;
    margin-left: 7px;
    cursor: pointer;
}
.likes i:hover{
    margin-left: 7px;
    cursor: pointer;
    color: #505050;
}
.likes span{
    font-size: 14px;
    margin-left: 7px;
}
.likes img{
    width: 35px;
    height: 35px;
    margin-right: -10px;
}