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

body {
    display: flex;
    flex-direction: column;
    font-family: "Roboto", sans-serif;
    height: 100vh;
    background-color: #f5f5f5;
}

header {
    width: 100%;
    height: 80px;
    background-color: #3347b0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 1.5rem;
}

.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    color: white;
}

.container-logo img {
    height: 40px;
}

.btn-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: none;
    background-color: transparent;
    gap: 8px;
    cursor: pointer;
}

.btn-header img {
    height: 30px;
    width: auto;
}

.btn-header p {
    color: white;
    font-size: 1rem;
}


.main-home {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* flex-grow: 1; */
    padding: 1rem;
    align-items: center;
    gap: 2rem;
}

.sub-header {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    padding-inline: 1.5rem;
    background-color: #BCC2E5;
    align-items: center;
}

.legenda-container {
    display: flex;
    gap: 24px;
}

.icone-cursando {
    background-color: #3347B0;
    width: 20px;
    height: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5)
}

.icone-finalizado {
    background-color: #E5B657;
    width: 20px;
    height: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5)
}

.filtro-container {
    display: flex;
    align-items: center;
}

.filtro-status {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: none;
    color: #3347b0;
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.filtro-status option {
    background-color: #3347b0;
    color: white;
    font-weight: normal;
    padding: 10px;
}

.titulo-curso {
    color: #3347b0;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
}

.main-alunos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    flex: 1;
}

.container-alunos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    overflow-y: auto;
    padding: 1rem 0;
}

.card-aluno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card-aluno:hover {
    transform: scale(1.05);
}

.bg-azul {
    background-color: #3347b0;
}

.bg-amarelo {
    background-color: #E5B657;
}

.foto-aluno {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.nome-aluno {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.informacao-central {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

.informacao-central h1 {
    font-weight: 300;
    font-size: 2rem;
    line-height: 1.2;
}

.destaque {
    font-weight: 700;
    color: #3347b0;
}

.informacao-central img {
    max-height: 35vh;
    width: auto;
    object-fit: contain;
}

.estudante {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    max-height: 50vh;
}

.cursos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    /* align-items: stretch; */
}

.cursos button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
    background-color: #3347b0;
    border: none;
    border-radius: 8px;
    color: white;
    filter: drop-shadow(12px 12px 2px #3347b080);
    cursor: pointer;
    transition: transform 0.2s;
}

.cursos button:active {
    transform: scale(0.98);
}

.cursos button i {
    font-size: 2rem;
}

.cursos button h1 {
    font-size: 1.5rem;
    margin: 0;
}


footer {
    width: 100%;
    background-color: #3347b0;
    /* margin-top: auto;  */
}

.rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    color: white;
    text-align: center;
}

.contato-escola {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.direitos-autorais {
    font-size: 0.8rem;
    order: 3;
}

.redes-sociais {
    display: flex;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.redes-sociais i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
}

.main-dashboard {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
    width: 100%;
    flex: 1;
    align-items: center;
}

.profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: transparent;
    /* border: 4px solid #00B96B; */
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.profile-name {
    color: #3347b0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.chart-box {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    max-width: 600px;
    height: 350px;
    padding: 2rem 1rem;
    background-color: white;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 0.8rem;
}

.grade-text {
    font-size: 1rem;
    font-weight: bold;
}

.subject-name {
    color: #3347b0;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.bar-track {
    width: 15px;
    height: 100%;
    background-color: #F0F0F0;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
}

.bar-fill {
    width: 100%;
    border-radius: 10px;
    transition: height 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bar-blue {
    background-color: #3347b0;
    box-shadow: 0px 0px 12px rgba(51, 71, 176, 0.8);
}

.text-blue {
    color: #3347b0;
}

.bar-yellow {
    background-color: #E5B657;
    box-shadow: 0px 0px 12px rgba(229, 182, 87, 0.8);
}

.text-yellow {
    color: #E5B657;
}

.bar-red {
    background-color: #C12A2A;
    box-shadow: 0px 0px 12px rgba(193, 42, 42, 0.8);
}

.text-red {
    color: #C12A2A;
}


@media (min-width: 1024px) {

    header {
        height: 100px;
        padding-inline: 6rem;
    }

    .container-logo {
        font-size: 1.5rem;
    }

    .btn-header p {
        font-size: 1.2rem;
    }

    .sub-header {
        height: 50px;
        padding-inline: 6rem;
    }

    .main-home {
        flex-direction: row;
        justify-content: space-between;
        padding-inline: 6rem;
        height: calc(100vh - 100px);
    }

    .informacao-central {
        text-align: left;
        width: auto;
        justify-content: center;
    }

    .informacao-central h1 {
        font-size: 3.5rem;
    }

    .estudante {
        height: 80%;
        max-width: none;
        width: auto;
    }

    .cursos {
        width: 30%;
        justify-content: center;
    }

    .cursos button {
        height: 150px;
    }

    .cursos button i {
        font-size: 4rem;
    }

    .cursos button h1 {
        font-size: 3rem;
    }

    .rodape {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem 6rem;
        text-align: left;
    }

    .item-contato {
        justify-content: flex-start;
    }

    .direitos-autorais {
        font-size: 1rem;
        order: 0;
    }

    .main-alunos {
        gap: 2rem;
    }

    .titulo-curso {
        font-size: 3rem;
    }

    .container-alunos {
        grid-template-columns: repeat(5, 1fr);
        gap: 3rem;
        max-height: 60vh;
        padding-inline: 96px;
    }

    .card-aluno {
        padding: 2rem;
    }

    .foto-aluno {
        width: 120px;
        height: 120px;
    }

    .nome-aluno {
        font-size: 1.2rem;
    }

    .main-dashboard {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        padding: 4rem 6rem;
        gap: 4rem;
        height: calc(100vh - 100px);
    }

    .profile-box {
        height: 100%;
        width: 40%;
    }

    .profile-img {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .chart-box {
        height: 100%;
        width: 60%;
        padding: 3rem 2rem;
    }

    .bar-track {
        width: 20px;
    }
}