*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* HEADER */

header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 100%;
    background-color: #3347B0;
}

.topoSite{
    height: 80%;
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: 3%;
}

.boxLogo img{
    height: 100%;
    width: auto;
}

.btnVoltar{
    background-color: transparent;
    border: none;
    height: 45%;
    color: white;
    font-size: xx-large;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btnVoltar img{
    height: 60%;
    width: auto;
}

.btnVoltar:hover{
    transform: translateY(-2px);
}

/* MAIN */

main{
    background-color: white;
    width: 100%;
    flex: 1;
    padding: 2%;
}

/* TELA 1 */

.viewInicial{
    display: flex;
    width: 100%;
}

.colEsquerda{
    height: 100%;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.textoChamada{
    display: flex;
    font-size: large;
    width: 50%;
    margin: 3%;
}

.textoChamada span {
    color: #3347B0;
}

.imgDispositivos img{
    height: 100%;
    width: auto;
}

.centroImagem{
    height: 100%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ilustracaoAluno img{
    height: 90%;
    width: auto;
}

.colDireita{
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
}

.colDireita button{
    background-color: #3347B0;
    height: 45%;
    width: 80%;
    box-shadow: 5px 5px 10px #6B7EF5;
    border: 1px solid black;
    color: white;
    cursor: pointer;
}

.colDireita div{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 5%;
}

.colDireita button:hover{
    background-color: #6B7EF5;
}

.colDireita img{
    height: 40%;
    width: auto;
}

/* TELA 2 */

.viewCursos{
    display: none;
    flex-direction: column;
    gap: 30px;
    min-height: 100vh;
    width: 100%;
}

.tituloPagina{
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    color: #3347B0;
}

/* LISTA COM 5 POR LINHA (desktop) */
.listaAlunos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px 25px;
    width: 100%;
    padding: 20px;
    justify-items: center;
}

/* Card Maior*/
.cardAluno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    height: 300px;
    background-color: #3347B0;
    border-radius: 12px;
    padding: 18px 12px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    cursor: pointer;
    text-align: center;
    color: white;
    transition: 0.2s ease-in-out;
}

/* Local da Foto*/
.cardAluno .fotoWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

/* Foto Maior */
.cardAluno img{
    width: 85%;
    height: auto;
    border-radius: 50%;
}

/* TEXTO MAIOR */
.cardAluno h2 {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2;
}

.cardAluno:hover {
    background-color: #4963e0;
    transform: translateY(-5px);
}

/* TELA 3 */

.viewPerfil{
    display: none;
    width: 100%;
    justify-content: space-between;
    padding: 2%;
}

.boxPerfil, 
.boxEstatisticas{
    height: 550px;
    width: 650px;
    box-shadow: 5px 5px 25px black;
}

/* PERFIL */

.boxPerfil{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4%;
    color: #3347B0;
}

.boxPerfil img{
    height: 60%;
    border-radius: 50%;
    border: 0.5px solid black;
}

/* ESTATÍSTICAS */

.boxEstatisticas{
    display: flex;
    flex-direction: row;
    padding: 5%;
    justify-content: space-between;
}

.barra1, .barra2, .barra3, .barra4, .barra5, .barra6{
    height: 100%;
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: large;
}

.coluna{
    height: 85%;
    width: 60%;
    border: 0.2px solid black;
    display: flex;
    align-items: flex-end;
    border-radius: 15px;
}

.preenchimento{
    width: 100%;
    background-color: #3347B0;
    border-radius: 15px;
}

/* FOOTER */

footer {
    position: relative; 
    height: 200px;
    width: 100%;
    background-color: #3347B0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 4%;
}

.infosContato {
    display: flex;
    flex-direction: column;
    height: 90%;
    width: 22%;
    justify-content: space-between;
    align-items: flex-start;   
}

.infosContato div {
    display: flex;
    align-items: center;
    height: 30%;
    width: 100%;
    gap: 10px;
    color: white;
}

.infosContato img {
    height: 40px;
    width: auto;
}

.infosContato h3 {
    font-size: 16px;
}

.rodapeCopy {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: max-content;
}

.rodapeCopy h2 {
    font-size: 16px;
}

.socialLinks {
    height: 90%;
    width: 16%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.socialLinks img {
    height: 35px;
    width: auto;
}

/* ================== RESPONSIVIDADE ================== */

/* até 1200px */
@media (max-width: 1200px) {
    .listaAlunos {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 20px;
    }

    .cardAluno {
        width: 210px;
        height: 290px;
    }
}

/* até 992px */
@media (max-width: 992px) {
    header {
        height: 130px;
    }

    .topoSite {
        margin-inline: 4%;
    }

    main {
        padding: 16px;
    }

    .viewInicial {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .colEsquerda,
    .centroImagem,
    .colDireita {
        width: 100%;
    }

    .textoChamada {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .colDireita {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .colDireita button {
        height: 160px;
        max-width: 260px;
    }

    .listaAlunos {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 18px;
    }

    .cardAluno {
        width: 200px;
        height: 280px;
    }

    .viewPerfil {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .boxPerfil,
    .boxEstatisticas {
        width: 100%;
        max-width: 700px;
        height: auto;
    }
}

/* até 768px */
@media (max-width: 768px) {
    header {
        height: 110px;
    }

    .boxLogo img {
        height: 80%;
    }

    .btnVoltar {
        font-size: 1.4rem;
        height: auto;
    }

    .viewInicial {
        padding-top: 8px;
    }

    .listaAlunos {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .cardAluno {
        width: 190px;
        height: 270px;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 20px 16px;
        gap: 16px;
    }

    .infosContato {
        width: 100%;
        align-items: center;
    }

    .infosContato div{
        justify-content: center;
    }

    .socialLinks {
        width: 60%;
        justify-content: space-evenly;
    }

    .rodapeCopy {
        position: static;
        transform: none;
        text-align: center;
        width: 100%;
    }
}

/* até 480px */
@media (max-width: 480px) {
    header {
        height: 90px;
    }

    .topoSite {
        margin-inline: 8px;
    }

    .btnVoltar {
        font-size: 1.1rem;
        gap: 4px;
    }

    main {
        padding: 10px;
    }

    .textoChamada {
        font-size: 1rem;
        margin: 12px 8px;
    }

    .listaAlunos {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px 0;
    }

    .cardAluno {
        width: 85%;
        max-width: 260px;
        height: auto;
    }

    .cardAluno img {
        width: 80%;
    }

    .cardAluno h2 {
        font-size: 15px;
    }

    .boxPerfil,
    .boxEstatisticas {
        max-width: 100%;
    }

    .infosContato h3,
    .rodapeCopy h2 {
        font-size: 14px;
    }
}