.sidebar {
    width: 320px; /* Largura fixa */
    background-color: #222;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    z-index: 10;
    overflow-y: auto; /* Permite rolar se a sidebar for muito alta */
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgb(218, 41, 215);
    margin-bottom: 20px;

    object-fit: cover;    /* Corta o excesso para não achatar */
    object-position: top; 
}

.sidebar .avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;

    display: block;       
    margin-left: auto;    
    margin-right: auto;   
    margin-bottom: 20px;  
}

.greeting { font-size: 1.1em; font-weight: 300; color: #ccc; }
.name { font-size: 2em; margin: 5px 0; color: rgb(218, 41, 215); }
.role { font-size: 0.9em; margin-bottom: 20px; font-weight: 200; border-bottom: 1px solid #444; padding-bottom: 20px; width: 100%;}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    margin: 0 10px;
    transition: 0.2s;
}
.social-links a:hover { color: rgb(218, 41, 215); }

.social-links h1 {font-size: 1.2em; margin-bottom: 10px; font-weight: 700; color: rgb(218, 41, 215);}

.about-me { margin-top: 30px; text-align: left; }
.about-me h3 { color: rgb(218, 41, 215); margin-bottom: 10px; font-size: 1.2em; text-align: center;}
.about-me p { font-size: 0.9em; line-height: 1.6; color: #ddd; }