
.page-content-instagram{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.page-content-instagram.active{
    display: flex;
}


#__instagram_profile_postModal {
    position: fixed;

    /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100%;

    visibility: hidden;
    pointer-events: none;
    /* inicia oculto */
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgb(245, 0, 0);
    z-index: 999999;
}

#__instagram_profile_postModal.active {
    visibility: visible;
    pointer-events: auto;
}

.__instagram_profile_modal-content {
    width: 100%;

    height: 100%;
    background: #111;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.__instagram_profile_modal-left {

    height: 100%;
    width: 300px;
}

#__instagram_profile_modalImg {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;


}

.__instagram_profile_modal-right {
    width: 380px;
    display: flex;
    flex-direction: column;
    background: #111;
}

.__instagram_profile_post-header {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.__instagram_profile_comments {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.__instagram_profile_comment {
    margin-bottom: 15px;
    line-height: 1.5;
}

.__instagram_profile_comment-box {
    display: flex;
    border-top: 1px solid #333;
}

.__instagram_profile_comment-box div {
    flex: 1;
    background: #111;
    color: white;
    border: none;
    padding: 15px;
    outline: none;
}

.__instagram_profile_comment-box button {
    background: #0095f6;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

.__instagram_profile_close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 10;
}

/* CONTAINER */

.__instagram_profile_container {
    max-width: 950px;
    margin: auto;

}

/* HEADER */

.__instagram_profile_profile-header {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid #262626;
    padding-bottom: 30px;
}

.__instagram_profile_profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
}

.__instagram_profile_profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.__instagram_profile_profile-info {
    flex: 1;
}

.__instagram_profile_top-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.__instagram_profile_username {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
}

/* BOTÕES */

.__instagram_profile_btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
}

.__instagram_profile_btn-primary {
    background: #0095f6;
    color: #fff;
}

.__instagram_profile_btn-primary:hover {
    opacity: .9;
}

.__instagram_profile_btn-secondary {
    background: #262626;
    color: #fff;
}

/* ESTATÍSTICAS */

.__instagram_profile_stats {
    display: flex;
    gap: 40px;
    margin: 25px 0;
}

.__instagram_profile_stats span {
    font-size: 16px;
    color: #f5f5f5;
}

/* BIO */

.__instagram_profile_bio h3 {
    margin-bottom: 5px;
    color: #fff;
}

.__instagram_profile_bio p {
    line-height: 1.5;
    color: #d1d1d1;
}

/* DESTAQUES */

.__instagram_profile_highlights {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.__instagram_profile_highlights::-webkit-scrollbar {
    height: 6px;
}

.__instagram_profile_highlights::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 20px;
}

.__instagram_profile_highlight {
    text-align: center;
    min-width: 80px;
}

.__instagram_profile_highlight small {
    color: #d1d1d1;
}

.__instagram_profile_highlight-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #444;
    overflow: hidden;
    margin-bottom: 8px;
}

.__instagram_profile_highlight-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MENU */

.__instagram_profile_profile-menu {
    border-top: 1px solid #262626;
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.__instagram_profile_profile-menu button {
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #a8a8a8;
    transition: .3s;
}

.__instagram_profile_profile-menu button:hover {
    color: #fff;
}

/* GRID */

.__instagram_profile_posts-__instagram_profile_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.__instagram_profile_post {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    background: #111;

    background-position: 100% 13%;
    background-size: cover;
    background-repeat: no-repeat;

}

.__instagram_profile_post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.__instagram_profile_post:hover img {
    transform: scale(1.05);
}

.__instagram_profile_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
    font-weight: bold;
    font-size: 18px;
}

.__instagram_profile_post:hover .__instagram_profile_overlay {
    opacity: 1;
}

/* TOPBAR */

.topbar {
    height: 60px;
    background: #000;
    border-bottom: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar h1 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

/* RESPONSIVO */

@media(max-width:768px) {

    .__instagram_profile_profile-header {
        gap: 20px;
        align-items: center;
    }

    .__instagram_profile_profile-photo {
        width: 100px;
        height: 100px;
    }

    .__instagram_profile_username {
        font-size: 22px;
    }

    .__instagram_profile_stats {
        gap: 15px;
        flex-wrap: wrap;
    }

    .__instagram_profile_profile-menu {
        gap: 20px;
    }

    .__instagram_profile_profile-menu button {
        font-size: 12px;
    }

    .__instagram_profile_posts-__instagram_profile_grid {
        gap: 2px;
    }
}


.__center_content {
    height: 200px;
    width: 380px;
  
    display: flex;
    align-items: center;
    justify-content: center;
}


.__square_content {
  
    width: 300px;
    height: 300px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #000000;
}


.__img_perfil{
    width: 150px;
    height: 150px;
    background-image: url('/Assets/Imagens/Capas/Profile/profile-img.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 100%;
    background-size: cover;
}

.__text_content_perfil{
    height: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgb(141, 76, 1);
    font-family: 'Times New Roman', Times, serif;
    text-decoration: underline;
    font-weight: 500;
}





.__instagram_profile_user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.__instagram_profile_mini-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.__instagram_profile_comment {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.__instagram_profile_comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.__instagram_profile_post-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-top: 1px solid #333;
}

.__instagram_profile_left-actions {
    display: flex;
    gap: 10px;
}

.__instagram_profile_icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: .2s;
}

.__instagram_profile_icon-btn:hover {
    transform: scale(1.15);
}

.__instagram_profile_likes-info {
    padding: 0 15px 12px;
    font-size: 14px;
}