


#perfilpai {
    position: fixed;
    top: 90px;
    left: 200px;
    display: flex;
    opacity: 0;
    transform: translate(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    margin: 0;
    background: linear-gradient(135deg, rgba(27, 22, 22, 0.9), rgba(41, 36, 36, 0.9));
    border: 2px solid rgba(255, 255, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    max-height: 85vh;
    overflow-y: auto;
    z-index: 900;
}

#perfilpai.ativo {
    opacity: 1;
    transform: translate(0);
    pointer-events: auto;
}

#perfilpai::-webkit-scrollbar {
    width: 8px;
}

#perfilpai::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

#perfilpai::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 0, 0.5);
    border-radius: 4px;
}

#perfilpai::-webkit-scrollbar-thumb:hover {
    background: #ffff00;
}

#fotosumir {
    opacity: 1;
    transition: all 0.3s ease;
}

#fotosumir.sumir {
    opacity: 0;
    transform: scale(0.9);
}

/*==============================================*/

.esquerdapai {
    display: flex;
    flex-direction: column;
    justify-self: center;
}

.esquerdafilho {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 50px;
    background: linear-gradient(135deg, rgba(56, 54, 54, 0.9), rgba(70, 60, 60, 0.9));
    margin: 12px;
    border: 1px solid rgba(255, 255, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.esquerdafilho:hover {
    background: linear-gradient(135deg, rgba(80, 70, 70, 1), rgba(100, 80, 80, 1));
    border-color: #ffff00;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
    transform: translateX(5px);
}

.esquerdafilho h1 {
    text-align: center;
    color: #d0d0d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95em;
    margin: 0;
    font-weight: 500;
}

/*==============================================*/

#perfilmeiopai {
    width: 180px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

#perfilmeiopai img {
    width: 100%;
    border: 2px solid rgba(255, 255, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

#perfilmeiopai img:hover {
    border-color: #ffff00;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
    transform: scale(1.05);
}

/*==============================================*/

#direitapai {
    width: 600px;
    display: grid;
    gap: 15px;
}

.direitafilho {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.skillbox {
    background: linear-gradient(135deg, rgba(56, 49, 49, 0.85), rgba(70, 60, 60, 0.85));
    border: 1px solid rgba(255, 255, 0, 0.25);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.skillbox:hover {
    border-color: #ffff00;
    background: linear-gradient(135deg, rgba(80, 70, 70, 0.95), rgba(100, 80, 80, 0.95));
    box-shadow: 0 0 12px rgba(255, 255, 0, 0.25);
    transform: translateY(-2px);
}

.skillbox h3 {
    color: #ffff00;
    font-size: 0.85em;
    margin: 0 0 8px 0;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.skill-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 0, 0.15);
}

.skill-progress {
    background: linear-gradient(to right, #ffff00, #ffa500);
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
    animation: animateSkill 0.8s ease-out;
}

@keyframes animateSkill {
    from {
        width: 0 !important;
    }
    to {
        width: auto;
    }
}

/*==============================================*/

/* RESPONSIVO */

@media (max-width: 1200px) {
    #perfilpai {
        left: 100px;
        width: 95%;
        max-width: 900px;
    }

    #direitapai {
        width: 100%;
    }

    .direitafilho {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #perfilpai {
        top: 70px;
        left: 10px;
        width: calc(100% - 20px);
        padding: 15px;
        flex-direction: column;
    }

    .esquerdapai {
        order: 2;
    }

    #perfilmeiopai {
        order: 1;
        width: 100%;
        margin-bottom: 15px;
    }

    #direitapai {
        order: 3;
        width: 100%;
    }

    .direitafilho {
        grid-template-columns: 1fr;
    }

    .esquerdafilho {
        width: 100%;
    }
}


