/* Estilos para o menu no header */
header {
    background-color: #87CEFA; /* Cor de fundo do menu */
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0; /* Garante que o menu esteja à direita */
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: flex-end; /* Alinha os links à direita */
    padding: 2px 10px; /* Ajustei o padding para um espaçamento melhor */
}

header a {
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
}

header a:hover {
    background-color: #ddd;
    color: black;
}

/* Menu hamburguer */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #f2f2f2;
    border-radius: 5px;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    /* Exibe os links do menu de forma normal */
    .nav-menu {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-right: 10px;
    }
    header a {
        font-size: 14px; /* Ajusta o tamanho da fonte para dispositivos menores */
        padding: 10px 15px; /* Ajusta o padding para melhor visualização */
    }

    /* Esconde o ícone do menu hamburguer em dispositivos menores */
    .menu-icon {
        display: none;
    }
}
