*, *::after, *::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
    font-family: sans-serif;
}

header{
    height: 14vh;
    width: 30vw;
    z-index: 2;
}

body{
    font-size: 2rem;  
    display: flex;
    justify-content: center;
    align-items: center;  
    flex-direction: column;

}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background: #fff;
    border-bottom: 0.1rem solid #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center; /* Added to vertically center items */
    padding: 0.5rem 0;
}

.nav-wrapper {
    width: 100%;
    max-width: 130.44rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    width: 20rem;
    height: 2.5rem;
    background: #fafafa;
    border: 0.1rem solid #dfdfdf;
    border-radius: 0.2rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    text-transform: capitalize;
    margin-right: 15rem;
    
}

.search-box::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.nav-items {
    height: 2rem;
    margin-right: 10rem;
    /* Removed negative margin */
}

.icon {
    height: 100%;
    cursor: pointer;
    margin: -0.7rem 1rem;
    display: inline-block;
}

.ins-img {
    height: 100%;
    max-height: 5rem;
    margin-top: 0.7rem;
    margin-left: 4.25rem;
    margin-right: auto; 
    margin-left: auto; 
}



.user-profile{
    width: 2.2rem;
    border-radius: 50%;
    background-image: url(../img/peofile.jpg);
    background-size: cover;
}

.main {
    width: 100%;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.wrapper {
    width: 70%;
    max-width: 100rem;
    display: grid;
    grid-template-columns: 60% 40%;
    grid-gap: 3rem;
    margin-top: -5rem;
}

.left-col {
    display: flex;
    flex-direction: column;
}

.status-wrapper {
    width: 100%;
    height: 12rem;
    background: #fff;
    border: 0.1rem solid #dfdfdf;
    border-radius: 1rem;
    padding: 1rem;
    padding-right: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    overflow-x: auto;
}

.status-wrapper::-webkit-scrollbar {
    display: none;
}

.status-card {
    flex: 0 0 auto;
    width: 8rem;
    max-width: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1.5rem;
    margin-top: 1.5rem;
}

.profile-pic {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    overflow: hidden;
    padding: 0.3rem;
    background: linear-gradient(45deg, rgb(255, 230, 0), rgb(255, 0, 128) 80%);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 0.2rem solid #fff;
}

.username {
    width: 100%;
    overflow: hidden;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: rgba(0, 0, 0, 0.5);
}
/* Story Section End */
.right-col{
    padding: 2rem;
    position: absolute;
    right: 10rem;
}

.profile-card{
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-card .profile-pic{
    flex: 0 0 auto;
    padding: 0;
    background: none;
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
}

.profile-card:first-child .profile-pic{
    width: 7rem;
    height: 7rem;
}

.profile-card .profile-pic img{
    border: none;
}

.profile-card .username{
    font-weight: 500;
    font-size: 1.4rem;
    color: #000;
    text-align: start;
}

.sub-text{
    color: rgba(0, 0, 0, 0.5);
    font-size:1.2rem;
    font-weight: 500;
    margin-top: -1rem;
}

.action-btn{
    opacity: 1;
    font-weight: 700;
    font-size: 1.2rem;
}

.suggestion-text{
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 700;
    margin: 2rem 0;
}


.Homepage{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 4rem;
    border: solid 1px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-top: 2rem;
}

.Logo{
    width: 20rem;
    position: absolute;
    top: 3.5%;
    left: 35%;
}

.format{
    background: white;
    width: 100%;

}

h1{
    font-size: 2rem;
}

.profilepicture{
    height: 5vh;
    border-radius: 50%;
    margin: 1rem;
}

.character{
    display: flex;
    background: white;
    border: 0.1rem solid rgb(0, 0, 0, 0.3);
}

.username{
    display: flex;
    align-items: center;
    color: black;
}

.post{
    width: 100%;
}

.icons > i{
    padding: 1rem;
    color: black;
}

.icons > i:hover{
    cursor: pointer !important;
}

.icons{
    border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

#bookmarkButton{
    margin-left: 65%;

}

#bookmarkButton:hover{
    cursor: pointer;
}

#likeButton{
    margin: 5px;
}

#commentButton{
}

.card{
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border: solid 1px rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

#MainIcon{
    border-radius: 50%;
    width: 15%;
    margin: 5px;
}

#MainPost{

}

.grow {
    transform: scale(1.5);
    transition: transform 1s ease;
}

