﻿
.main-profile-cover {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0.25rem 0.25rem 0 0;
    z-index: 0;
    margin-block-end: 3rem;
    border-radius: 0.25rem;
    height: 500px;
    justify-content: center;
}

    .main-profile-cover:before {
        content: "";
        position: absolute;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100%;
        inset-inline-start: 0;
        inset-inline-end: 0;
        inset-block-start: 0;
        bottom: 0;
        border-radius: 0.3rem;
        z-index: 9;
    }

    .main-profile-cover .main-profile-cover-content {
        z-index: 10;
        text-align: center;
        color: #fff;
    }

    .main-profile-cover .social-profile-btn {
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .main-profile-cover .chatstatusperson {
        width: 6rem;
        height: 6rem;
        border: 5px solid rgba(255, 255, 255, 0.2);
    }

    .main-profile-cover .profile-upload {
        position: absolute;
        background: rgba(255, 255, 255, 0.2);
        width: 25px;
        height: 25px;
        border-radius: 50px;
        bottom: 0px;
        right: 0px;
    }

        .main-profile-cover .profile-upload .cursor-pointer {
            line-height: 2;
        }

    .main-profile-cover #profile-change {
        position: absolute;
        z-index: 99999;
        width: 100%;
        height: 100%;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        cursor: pointer;
        opacity: 0;
    }

    .main-profile-cover .background-upload {
        position: absolute;
        right: 10px;
        width: 175px;
        height: 35px;
        background: rgba(0, 0, 0, 0.13);
        top: 30px;
        border-radius: 5px;
        padding: 6px;
    }

        .main-profile-cover .background-upload #profile-change2 {
            position: absolute;
            z-index: 99999;
            width: 100%;
            height: 100%;
            top: 0px;
            right: 0px;
            bottom: 0px;
            left: 0px;
            cursor: pointer;
            opacity: 0;
        }

    .main-profile-cover #profile-img2 {
        height: 500px;
        width: 100%;
        position: absolute;
    }

.profile-setting-cover {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0.25rem 0.25rem 0 0;
    z-index: 0;
    margin-block-end: 1rem;
    border-radius: 0.25rem;
    height: 200px;
    justify-content: center;
}

    .profile-setting-cover:before {
        content: "";
        position: absolute;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100%;
        inset-inline-start: 0;
        inset-inline-end: 0;
        inset-block-start: 0;
        bottom: 0;
        border-radius: 0.4rem;
        z-index: 9;
    }

    .profile-setting-cover .main-profile-cover-content {
        z-index: 10;
        text-align: center;
        color: #fff;
    }

    .profile-setting-cover .chatstatusperson {
        width: 6rem;
        height: 6rem;
        border: 5px solid rgba(255, 255, 255, 0.2);
    }

    .profile-setting-cover .profile-upload {
        position: absolute;
        background: rgba(255, 255, 255, 0.2);
        width: 25px;
        height: 25px;
        border-radius: 50px;
        bottom: 0px;
        right: 0px;
    }

        .profile-setting-cover .profile-upload .cursor-pointer {
            line-height: 2;
        }

    .profile-setting-cover #profile-change {
        position: absolute;
        z-index: 99999;
        width: 100%;
        height: 100%;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        cursor: pointer;
        opacity: 0;
    }

    .profile-setting-cover .background-upload {
        position: absolute;
        right: 10px;
        width: 40px;
        height: 35px;
        background: rgba(0, 0, 0, 0.15);
        top: 30px;
        border-radius: 0.4rem;
        padding: 6px;
    }

        .profile-setting-cover .background-upload #profile-change2 {
            position: absolute;
            z-index: 99999;
            width: 100%;
            height: 100%;
            top: 0px;
            right: 0px;
            bottom: 0px;
            left: 0px;
            cursor: pointer;
            opacity: 0;
        }

    .profile-setting-cover #profile-img2 {
        height: 200px;
        width: 100%;
        position: absolute;
        border-radius: 0.4rem;
    }

.content-top {
    margin-top: -6rem;
}
