* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    background-color: white;
}

/*sidebar starts styling*/

.sidebar {
    width: 250px;
    height: 100vh;
    padding: 25px 12px 20px;
    border-right: 1px solid #dbdbdb;
    display: flex;
    flex-direction: column;
    position: fixed;
}

.logo {
    margin-bottom: 30px;
    margin-left: 10px;
    color: black
}

.logo img {
    height: 40px;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.nav-item:hover {
    background-color: #f9f9f9;
}

.nav-icon {
    margin-right: 14px;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.nav-text {
    font-size: 18px;

    font-weight: 400;
    margin-top: 5px;

}

.more-item {
    margin-top: auto;

}

.nav-text1 {
    font-size: 18px;
    font-weight: 400;
    margin-top: 10px;
}

/*sidebar styling ends*/

/* hero styling starts*/
.hero {
    width: 800px;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.story-container {
    display: flex;
    padding: 20px;
    gap: 20px;
    height: 150px;
    justify-content: center;
    width: 100%;


}

.swiper {
    margin-top: 10px;
    width: 800px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px !important;
    /* Fixed width for stories */
}

.story-swiper {
    width: 620px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
}

.story-avtar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 2px;
    position: relative;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.story-avtar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.story-username {
    font-size: 12px;
    color: #262626;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.reel-container {
    width: 550px;
    height: 40px;

    margin-left: 130px;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    overflow: hidden;
}

.insta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 540px;
    padding-left: 10px;
}

.profile-section1 {
    display: flex;
    align-items: center;
}

.profile-pic1 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    margin-right: 10px;
}

.profile-pic1 img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username-time {
    font-size: 0.95em;
}

.username-time strong {
    font-weight: 600;
}

.username-time span {
    color: gray;
    margin-left: 5px;
}

.music-info {
    font-size: 0.85em;
    color: gray;
}

.menu-icon {
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

.reel-middle {
    width: 540px;
    background-color: light grey;
    margin-left: 140px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 8px;
    ;
}

.post-container {
    width: 100%;
    height: 100%;
    background-color: white;
    border-bottom: 1px solid #dbdbdb;
    border-radius: 3px;
}

.post-image {
    width: 100%;
    height: 550px;
    background-color: lightgrey;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-actions {
    display: flex;
    justify-content: space-between;

}

.action-buttons {
    display: flex;
    gap: 16px;
}

.action-icon {
    font-size: 24px;
    cursor: pointer;
}

.action-icon1 {
    cursor: pointer;
    background-color: green;
    display: flex;

}

.post-likes {
    padding: 0 5px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.post-caption {
    padding: 0 5px;
    font-size: 14px;
    margin-bottom: 8px;
}

.username {
    font-weight: 600;
    margin-right: 4px;
}

.view-comments {
    padding: 0 5px;
    font-size: 14px;
    color: #8e8e8e;
    margin-bottom: 8px;
    cursor: pointer;
}

.add-comment {
    padding: 0 5px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-input {
    border: none;
    color: #8e8e8e;
    font-size: 14px;
    width: 90%;
    outline: none;
}

/*hero styling ends*/


/* ennding syling starts*/

.ending {
    width: 400px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dbdbdb;
    margin-top: 10px;
    border: none;
}

.container {
    margin: 0 auto;
    background-color: white;
    border-radius: 4px;
    padding: 16px;
}

.profile-header {
    width: 320px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-info {
    display: flex;
    align-items: center;
}

.profile-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.profile-name {
    font-weight: 600;
    font-size: 14px;
}

.profile-fullname {
    color: #8e8e8e;
    font-size: 14px;
}

.switch-button {
    color: #5D6ADC;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 320px;
}

.suggestions-title {
    color: #8e8e8e;
    font-size: 12px;
    font-weight: 600;
}

.see-all {
    color: black;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    width: 320px;
}

.suggestion-profile {
    display: flex;
    align-items: center;
}

.suggestion-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-username {
    font-size: 14px;
    font-weight: 600;
}

.suggestion-relation {
    color: #8e8e8e;
    font-size: 12px;
}

.follow-button {
    color: #5D6ADC;
    font-weight: 600;
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
}

.footer {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 11px;
    color: #c7c7c7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-links a {
    color: #c7c7c7;
    text-decoration: none;
    margin-right: 8px;
}

.footer-links a:not(:last-child):after {
    content: "·";
    margin-left: 8px;
}

.me {
    margin-top: 16px;
}

/* ending styling ends*/



