header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background-color: #fff;
    border-bottom: 2px solid var(--cinza-borda);
    z-index: 500;

    & .interface {
        display: flex;
        justify-content: space-between;
    }

    & .logo {
        display: flex;
        gap: 1rem;

        & i {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            background: var(--azul-degrade);
            padding: 1rem;
            color: #fff;
            border-radius: 1rem;
            height: 3rem;
            width: 3rem;
        }
    }

    & nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;

        & a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            color: #000;
            text-decoration: none;
            padding: .5rem 1rem;
            border-radius: .5rem;
            transition: .3s ease all;

            &:hover {
                background-color: #d6d6d6;
            }

            &.atual {
                color: var(--azul);
                background-color: var(--azul-opaco);
            }
        }
    }
}

/* Para celulares (largura máxima de 600px) */
@media screen and (max-width: 600px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 4rem;

        & .interface {
            & .logo {
                align-items: center;
                justify-content: space-between;
                width: 100%;

                & i {
                    font-size: 1.5rem;
                }
            }

            & nav {
                position: fixed;
                bottom: 0;
                left: 50%;
                transform: translate(-50%, -50%);
                background: var(--azul-escuro);
                border-radius: 1rem;
                width: max-content;
                padding: .5rem;
                box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
                z-index: 1000;
                transition: .3s ease all;

                & a {
                    width: max-content;
                    font-size: 1.2rem;
                    color: #fff;

                    & span {
                        display: none;
                    }

                    &.atual {
                        border-bottom: 5px solid var(--azul);
                    }

                    &:hover {
                        background-color: var(--azul-opaco);
                    }
                }
            }
        }
    }
}