/******************************************************************

Css Destinado a segunda tela dos cards.

**********************************************************************/

#container-principal.layout-lista {
    width: 100%;
    height: 100%;
    padding-inline: 6rem;
    justify-content: center;
    gap: 3.5rem;
}

.titulo-curso {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;      
    width: 100%;
    margin-top: 2rem;        
    margin-bottom: 60px;     
    color: #3347B0;            
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lista-alunos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 3rem;          
    width: 100%;
    padding-bottom: 5rem;   
}


.aluno-card {
    background-color: #3347B0;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent; 
}


.aluno-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: #004cff; 
}

.aluno-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;   
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    border: 3px solid #eee;
}

.aluno-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .titulo-curso {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .lista-alunos {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}