/* Reset básico de CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo do corpo */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Estilo do cabeçalho */
header {
    background-color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*Conteúdo adicional para personalidação*/
    padding: 10px 20px;
    border-bottom: 5px solid rgb(0, 5, 105);
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.3);
}

.navbar .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: rgb(0, 10, 206);
}

/*Conteúdo adicional para ativar o link escolhido*/
.nav-links a.active {
    color: rgb(0, 5, 105);
    text-decoration: underline;
}

.nav-links .login-icon img {
    height: 20px;
}

/*<--------------------------------------------------------------------------->*/

/* Estilo do rodapé */
footer {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 50px; /* Adjust this gap as needed */
    text-align: center;
}

.footer-left,
.footer-right {
    font-size: 9px;
    width: 50%;
}

/*<------------------------------------------------------------------------>*/

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: rgb(0, 5, 105);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hide the nav links initially */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ffffff;
        border: 1px solid rgb(0, 5, 105);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        width: 200px;
        padding: 10px;
        z-index: 1000;
    }

    .nav-links a {
        margin-bottom: 10px;
        font-size: 14px;
        text-align: right;
    }

    /* Display the hamburger menu */
    .hamburger {
        display: flex;
    }

    /* When the menu is open */
    .navbar.active .nav-links {
        display: flex;
    }

    /* Transform hamburger menu icon to "X" when active */
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}