* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.banner-area {
    height: 335px;
    width: 100%;
    margin-top: 110px;
    flex: none;
    /* background-color: #673ab7b3 !important; */
}

.posts-container{
    width: 100%;
}

.banner-area img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
}

.profile-parent {
    flex: none;
    display: flex;
}

.left-panel {
    width: 350px;
}

/* -----left panel data */
.flexed {
    margin-top: -70px;
    display: flex;
    align-items: flex-end;
}

.profile-img {
    height: 130px;
    width: 130px;
    border: 4px solid #fff;
    overflow: hidden;
    box-shadow: 5px 5px 15px #0000001a;
    border-radius: 50%;
    background-color: #fff;
    flex: none !important;
}

.profile-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.data-panel {
    margin-bottom: 30px;
}

.data-panel h1 {
    margin-top: 35px;
    line-height: 0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.data-panel p {
    font-size: 12px;
    font-weight: 600;
    color: #000000b8;
}

.data-panel span {
    display: block;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #000000b8;
}

.box-information {
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    border: 1px solid #00000033;
}

.information-child {
    flex-basis: 50%;
}

.information-child h3, .box-information h3 {
    font-size: 14px;
    font-weight: 600;
}

.box-information p {
    font-size: 12px;
    color: #000000b8;
    font-weight: 600;
}

.box-information a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    font-weight: 600;
    font-size: 12px;
}

.box-info-subscription-child{
    flex-basis: 100%;
    text-align: center;
}

.box-info-subscription-child h3{

    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.cm-box-info{

    flex-direction: column;
}

.flex-100{

    margin-top: 20px;
    width: 100%;
    flex-basis: 100%;
}

/* section area has been stated ------------------- */

.section {
    margin-top: 30px;
    margin-left: 60px;
    width: 900px;
    height: fit-content;
}

.navbar-data {
    width: fit-content;
}

.thread-parent {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
}

.hr-design {
    display: block;
    height: 1px;
    border-top: 1px solid #00000033;
    border: 0;
    margin-top: -2px;
    margin-bottom: 30px;
}

.tab-links {
    position: relative;
}

.tab-links {
    position: relative;
    overflow: hidden;
}

.tab-links {
    position: relative;
    overflow: hidden;
}

.tab-links::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.tab-links::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.1));
    left: 0;
    top: 0;
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tab-links.active-link::after {
    width: 100%;
    animation: pulse 2s ease-in-out infinite;
}

.tab-links.active-link::before {
    width: 100%;
}

.tab-links:hover::after {
    width: 70%;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(37, 99, 235, 0.8);
    }
}

/* Animated gradient shimmer */
.tab-links.active-link::after {
    width: 100%;
    background: linear-gradient(
        90deg,
        #1d4ed8,
        #2563eb,
        #3b82f6,
        #2563eb,
        #1d4ed8
    );
    background-size: 200% 100%;
    animation:
        gradient-shift 3s ease infinite,
        pulse 2s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.header-data {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.links-btn {
    display: flex;
    align-items: center;
    padding: 0px 15px 20px;
}

.links-btn span {
    font-weight: 600;
    font-size: 10px;
    margin-left: 10px;
    padding: 1px 8px;
    border: 1px solid #0000000f;
}

.header-data p {
    font-size: 13px;
    color: #000000b8;
    font-weight: 600;
}

.header-data .links-btn:first-child {
    margin-right: 10px;
}

.addlink a i {
    margin-right: 12px;
    font-size: 16px;
    flex: none;
}

/* thread */
.thread {
    position: relative;
    display: flex;
    flex-direction: column;
    color: #000;
    width: 49%;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 1px 2px 10px #00000017;
}

.header-thread {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.userinfo {
    display: flex;
    align-items: flex-start;
}

.imageuser {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
}

.imageuser img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.text-user {
    margin: 0 15px;
}

.text-user h3 {
    font-size: 12px;
    font-weight: 600;
}

.text-user p {
    font-size: 11px;
    font-weight: 600;
}

.timingthread span {
    font-size: 11px;
    font-weight: 600;
}

.thread-desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px 6px;
    height: 100%;
}

.thread-desc p {
    font-size: 13px;
    padding: 8px 0 14px;
    color: #00000099;
    line-height: 1.6;
    font-weight: 600;
}

.btnarea {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btnarea button {
    border: 0;
    outline: 0;
    color: #000000ad;
    font-size: 11px;
    font-weight: 600;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread-title {
    color: #000 !important;
    font-weight: 700;
    text-decoration: none;
    /* border-bottom: 1px solid #00000099; */
    font-size: 15px !important;
    display: inline-block !important;
    margin: 15px 0 0 0;
}

.cm-title {
    margin: 0 !important;
    margin-bottom: 5px !important;
}

.btnarea button i {
    font-size: 14px;
    opacity: 60%;
    margin-right: 10px;
}

.comments-parent {
    width: 100%;
}

.thread-socials {
    display: flex;
    align-items: center;
}

.thread-socials button:nth-child(1) {
    margin-right: 20px;
}

/* comments container */

.conversation {
    margin-bottom: 20px;
    color: #000000ad;
    border: 1px solid #00000054;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
}

.replydata {
    margin: 15px 0px 0 5px;
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
}

.replydata h3 {
    font-size: 13px;
    margin-bottom: 5px;
    color: #000000b8;
    font-weight: 600;
}

.replydata p {
    flex: 1;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 500;
}

.conversation span {
    flex: none;
    padding-left: 40px;
    font-size: 11px;
    font-weight: 600;
}

/* this classes for js */
.nothingfound {
    padding: 20px;
    width: 100%;
    text-align: center;
}

.nothingfound h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nothingfound p {
    font-size: 12px;
    color: #000000b8;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 25px;
}

.nothingfound img {
    width: 230px;
}

/* if nothing in the profile page then show this error to user  */

.tab-contents {
    display: none;
}

.active-tab {
    display: flex;
}

@media only screen and (max-width: 1600px) {
    .banner-area {
        height: 200px;
    }

    .left-panel {
        width: 320px;
    }

    .section {
        width: 850px;
    }
}

@media only screen and (max-width: 1440px) {
    .banner-area {
        height: 190px;
    }

    .profile-img {
        margin-top: -60px;
        height: 120px;
        width: 120px;
    }

    .left-panel {
        width: 280px;
    }

    .section {
        width: 750px;
    }
}

@media only screen and (max-width: 1240px) {
    .banner-area {
        height: 170px;
    }

    .profile-img {
        margin-top: -55px;
        height: 115px;
        width: 115px;
    }

    .left-panel {
        width: 220px;
    }

    .section {
        margin-left: 50px;
        width: 700px;
    }
}

@media only screen and (max-width: 1040px) {
    .profile-img {
        margin-top: -55px;
        height: 110px;
        width: 110px;
    }

    .left-panel {
        width: 250px;
    }

    .section {
        width: 550px;
    }

    .thread {
        width: 100%;
    }
}

@media only screen and (max-width: 920px) {
    .banner-area {
        margin-top: 150px;
    }

    .profile-parent {
        align-items: center;
        flex-direction: column;
    }

    .left-panel {
        width: 90%;
    }

    .section {
        width: 90%;
        margin-top: 40px;
        margin-left: 0;
    }

    .thread {
        width: 100%;
    }

    .header-data {
        flex-wrap: wrap;
    }

    .links-btn {
        margin-bottom: 20px;
        flex-basis: 100%;
        justify-content: center;
    }
}

@media only screen and (max-width: 620px) {
    .banner-area {
        height: 150px;
        margin-top: 160px;
    }

    .thread {
        padding: 15px;
    }

    .conversation {
        padding: 15px;
    }

    .data-panel h1 {
        margin-top: 30px;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .replydata {
        flex-direction: column;
    }

    .replydata span {
        padding: 0;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .conversation span {
        color: #000;
    }
}

@media only screen and (max-width: 440px) {
    .section {
        width: 100% !important;
    }

    .information-child h3 {
        font-size: 13px;
    }

    .box-information p {
        font-size: 11px;
    }

    .left-panel {
        width: 350px;
    }

    .header-data p {
        font-size: 12px;
    }

    .profile-img {
        margin-top: -50px;
        height: 100px;
        width: 100px;
    }

    .banner-area {
        height: 130px;
    }
}

@media only screen and (max-width: 390px) {
    .banner-area {
        width: 100%;
        flex: none;
    }
}
