html { font-size: 62.5%; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --font-large: 3.6rem;
    --font-sec: 2rem;
    --font-medium: 1.6rem;
    --font-small: 1.2rem;
}

/* Estilos gerais */
a { text-decoration: none; color: white; }
li { list-style: none; }
button { cursor: pointer; }
h1 { font-family: "Inter", sans-serif; font-size: var(--font-large); }
h2 { font-size: var(--font-sec); }
h3, h4, h5, p { font-size: var(--font-medium); }

/* Cabeçalho da página */
header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    position: fixed;
    z-index: 9999;

    width: 100%;
    height: 7.2rem;
    padding: 0 3.2rem;

    background-color: rgb(0, 0, 85);

    p {
        font-size: calc( var(--font-sec) * 1.5 );
        font-weight: 850;
    }
}

header .logo {
    display: flex;
    align-items: center;

    img {
        width: 6.4rem;
        height: 4.8rem;
    }
}

header .menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;

    a {
        color: white;
        font-size: calc( var(--font-small) + 0.2rem );
        font-weight: 400;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;

        padding: 0.8rem;

        position: absolute;
        z-index: 1000;

        background-color: white;
        
        border-radius: 1.6rem;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .dropdown-content a {
        display: block;
        padding: 0.8rem 1.6rem;

        color: black;
        white-space: nowrap;

        border-radius: 0.8rem;
    }

    .dropdown-content a:hover {
        background-color: rgba(128, 128, 128, 0.200);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .portal-aluno {
        padding: 0.8rem 1.6rem;

        border-radius: 3.2rem;
        border: 0.1rem solid rgb(215, 215, 0);

        transition: ease-in-out all 0.5s;
    }

    .portal-aluno:hover {
        color: white;
        background-color: rgb(215, 215, 0);
    }

    .ava-ead {
        padding: 0.8rem 1.6rem;

        border-radius: 3.2rem;
        border: 0.1rem solid rgb(215, 215, 0);
        background-color: rgb(215, 215, 0);
    }
}

.menu-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 2.4rem;
    background: none;
    color: white;
    border: none;
}

@media (max-width: 1100px) {
    header {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-mobile {
        width: 100%;
        min-height: 7.2rem;
        padding: 0 3.2rem;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;
        flex-direction: column;

        width: 100%;
        opacity: 0;

        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
        background-color: rgb(0, 0, 85);
    }

    .menu.show {
        display: flex;
        padding: 3.2rem;

        opacity: 1;
        pointer-events: auto;
    }

    .menu > a,
    .menu .dropdown > a {
        padding: 1rem 0;
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        border-radius: 0;
        padding-left: 1rem;
        display: none;
    }

    .dropdown-content a {
        color: white;
        background-color: transparent;
        padding: 0.4rem 0;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }
}

/* Footer */
.row {
    display: flex;
    justify-content: space-evenly;
}

@media ( min-width: 760px ) and ( max-width: 1000px ) {
    .bg-footer .container div.row { justify-content: center; gap: 3.2rem; }
}

@media ( max-width: 760px ) {
    .row { justify-content: center; }
    .col-lg, .container-contact, .list-inline { width: 100%; text-align: center; display: flex; justify-content: center; }
} 

.list-inline {
    display: flex;
    gap: 0.8rem;

    img { width: 3.2rem; height: 3.2rem; }
}

.container-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bg-footer { padding: 3.2rem; background: rgb(240, 240, 240); }

.bg-footer .container .row {
    display: flex;
    flex-wrap: wrap;
    gap: 3.2rem;
}

.footer-heading { letter-spacing: 2px; }

.footer-link a {
    color: black;
    line-height: 40px;
    font-size: var(--font-medium);
    font-weight: 300;
    transition: all 0.5s;
}

.footer-link a:hover { color: rgb(0, 0, 85); }

.contact-info {
    color: black;
    font-size: var(--font-medium);
    font-weight: 300;
}

.footer-alt { color: black; font-weight: 300 }