/* CONFIGURAÇÕES PADRÃO */
:root {
    --main-color: #3347b0;
    --golden: #e5b657;
    --red: #c11010;
}

body {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

header {
    display: flex;
    flex-direction: column;
}

header .top {
    display: flex;
    height: 100px;
    width: 100%;
    background-color: var(--main-color);
    align-items: center;
    justify-content: space-between;
    padding: 0 105px;
}

header .top .out {
    display: flex;
    gap: 10px;
    font-size: 36px;
    color: #fff;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color .2s ease;
}

header .top .out:hover {
    background-color: rgba(255, 255, 255, .08);
}

main {
    flex-grow: 1;
}

footer {
    color: #fff;
    display: flex;
    height: 140px;
    width: 100%;
    background-color: var(--main-color);
    align-items: center;
    justify-content: center;
}

.frame {
    display: flex;
    width: 87%;
    justify-content: space-between;
    align-items: center;
}

.frame .info {
    display: flex;
    gap: 35px;
}

.frame .info .icons {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.frame .info .data {
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.frame .copyright {
    font-size: 20px;
}

.frame .social-media {
    display: flex;
    gap: 15px;
}

.frame .social-media .border {
    height: 55px;
    width: 55px;
    border-radius: 100%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* TELA HOME */
.main-home {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    display: flex;
    width: 87%;
    justify-content: space-between;
    align-items: center;
}

.hero .hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero .hero-left p {
    font-size: 60px;
    font-weight: 300;
    width: 500px;
}

.hero .hero-left p span {
    color: var(--main-color);
    font-weight: 700;
}

.hero .hero-right {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.hero .hero-right button {
    background-color: var(--main-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 200px;
    width: 400px;
    border: none;
    font-size: 54px;
    box-shadow: 12px 12px 6px rgba(51, 71, 176, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero .hero-right button:hover {
    background-color: #425fd4;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 16px 16px 12px rgba(51, 71, 176, 0.6);
}

.hero .hero-right button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 6px 6px 4px rgba(51, 71, 176, 0.5);
}

.hero .hero-right button .icon {
    width: 40%;
    height: auto;
    object-fit: contain;
}





/* TELA CURSO */
.main-curso {
    display: flex;
    align-items: flex-start;
}

.hero-curso .filter {
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: space-between;
    background-color: #BCC2E5;
    align-items: center;
    color: var(--main-color);
    font-weight: 500;
    padding: 0 100px;
}

.hero-curso .filter select {
    background-color: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
}

.hero-curso .filter .subtitle {
    display: flex;
    gap: 20px;
}

.hero-curso .filter .subtitle .status {
    display: flex;
    gap: 10px;
}

.hero-curso .filter .subtitle .status .bloco {
    height: 20px;
    width: 20px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.3);
}

.hero-curso .filter .subtitle .status .bloco.azul {
    background-color: var(--main-color);
}

.hero-curso .filter .subtitle .status .bloco.amarelo {
    background-color: var(--golden);
}

.hero-curso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
}

.hero-curso h1 {
    font-size: 64px;
    color: var(--main-color);
    text-align: center;
}

.hero-curso .container {
    display: grid;
    grid-template-columns: repeat(5, 200px);
    justify-content: center;
    gap: 65px;
    width: 100%;
    padding: 0 0 70px 0;
}

.hero-curso .container .card {
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 10px 0;
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hero-curso .container .card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 15px 18px 20px rgba(0, 0, 0, 0.45);
}

.hero-curso .container .card:hover img {
    transform: scale(1.1);
}

.hero-curso .container .card img {
    transition: transform 0.3s ease;
}

.hero-curso .container .card.cursando {
    background-color: var(--main-color);
}

.hero-curso .container .card.finalizado {
    background-color: var(--golden);
}

.hero-curso .container .card img {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-curso .container .card span {
    width: 85%;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 7px 7px 5px rgba(0, 0, 0, 0.4);
}





/* TELA ALUNO */
.main-aluno {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-aluno {
    display: flex;
    justify-content: space-between;
    width: 87%;
}

.hero-aluno .quadrado {
    height: 500px;
    width: 500px;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
}

.hero-aluno .quadrado.student {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.hero-aluno .quadrado.student img {
    height: 375px;
    width: 375px;
    border-radius: 50%;
}

.hero-aluno .quadrado.student span {
    color: var(--main-color);
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 7px 7px 8px rgba(0, 0, 0, 0.4);
}

.hero-aluno .quadrado.graphics {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-aluno .quadrado.graphics .data {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.hero-aluno .quadrado.graphics .data .columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-aluno .quadrado.graphics .data .columns .nota {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, .25);
}

.hero-aluno .quadrado.graphics .data .columns .nota.aprovado {
    color: var(--main-color);
    text-shadow: 0 0 20px rgba(52, 73, 180, .45);
}

.hero-aluno .quadrado.graphics .data .columns .nota.recuperacao {
    color: var(--golden);
    text-shadow: 0 0 20px rgba(255, 193, 7, .45);
}

.hero-aluno .quadrado.graphics .data .columns .nota.reprovado {
    color: var(--red);
    text-shadow: 0 0 20px rgba(220, 53, 69, .45);
}

.hero-aluno .quadrado.graphics .data .columns .sigla {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color);
    text-transform: uppercase;
}

.hero-aluno .quadrado.graphics .data .columns .column {
    width: 20px;
    height: 300px;
    background-color: #ECECF8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-aluno .quadrado.graphics .data .columns .column .value {
    width: 100%;
    height: 90%;
    border-radius: 6px 6px 0 0;
}

.hero-aluno .quadrado.graphics .data .columns .column .value.aprovado {
    background-color: var(--main-color);
    box-shadow: 0 0 20px 5px var(--main-color);
}

.hero-aluno .quadrado.graphics .data .columns .column .value.recuperacao {
    background-color: var(--golden);
    box-shadow: 0 0 20px 5px var(--golden);
}

.hero-aluno .quadrado.graphics .data .columns .column .value.reprovado {
    background-color: var(--red);
    box-shadow: 0 0 20px 5px var(--red);
}

@media (max-width: 480px) {
    header .top {
        height: 80px;
        padding: 0 20px;
    }

    header .top .out {
        font-size: 24px;
    }

    .sair span {
        display: none;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero .hero-left {
        margin: 60px 0px;
    }

    .hero .hero-left p {
        font-size: 30px;
        text-align: center;
        width: 250px;
    }

    .hero .hero-left .devices {
        display: none;
    }

    .hero .hero-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero .hero-center .student {
        width: 75.49%;
        height: 77.7%;
        margin: 0px 0px 60px 0px;
    }

    .hero .hero-right {
        gap: 90px;
        margin-bottom: 60px;
    }

    .hero .hero-right button {
        width: 175px;
        height: 175px;
        font-size: 40px;
    }

    .hero .hero-right button .icon {
        display: none;
    }

    footer {
        height: auto;
    }

    .frame {
        flex-direction: column;
        height: auto;
        margin: 50px 0;
        gap: 30px;
    }

    .copyright {
        order: 3;
    }

    .copyright span {
        font-size: 14px;
    }





    .hero-curso {
        gap: 35px;
    }

    .hero-curso .filter {
        height: auto;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
        padding: 10px 20px;
    }

    .hero-curso .filter .subtitle {
        gap: 10px;
        font-size: 14px;
    }

    .hero-curso .filter .subtitle .status .bloco {
        width: 15px;
        height: 15px;
    }

    .hero-curso h1 {
        padding: 20px 0;
        font-size: 32px;
    }

    .hero-curso .container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
        justify-items: center;
        padding: 0 0 40px 0;
    }

    .hero-curso .container .card {
        width: 200px;
        height: 300px;
    }

    .hero-curso .container .card img {
        width: 150px;
        height: 150px;
    }

    .hero-curso .container .card span {
        font-size: 16px;
    }





    .hero-aluno {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
    }

    .hero-aluno .quadrado.student {
        width: 200px;
        height: 300px;
        box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.2);
    }

    .hero-aluno .quadrado.student img {
        width: 175px;
        height: 175px;
    }

    .hero-aluno .quadrado.graphics {
        box-shadow: none;
        max-width: 480px;
        width: auto;
    }

    .hero-aluno .quadrado.graphics .data {
        padding: 25px;
        gap: 30px;
    }

    .hero-aluno .quadrado.graphics .data .columns .column {
        width: 16px;
        height: 265px;
    }
}

.fade-in {
    animation: fadeIn .3s ease;
}

.fade-out {
    animation: fadeOut .3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-15px);
    }
}