
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F4F4F4;
}

/*NAVBAR*/
.logo{
    width: 5rem;
}

.topbar{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #173689;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 15px;
}

#menu {
    display: flex;
    list-style: none;
    gap: 20px;
    z-index: 50;
}

.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}
a{
    font-size: 1rem;
    color: white;
    text-decoration: none;
}
a:hover {
    color: rgba(255, 255, 255, 0.639);
}
a:active {
    color: rgba(255, 255, 255, 0.781);
}

ul li img{
    width: 1rem;
    margin-right: 5px;
}

/*NAVBAR*/


/*TABELA*/
table {
    width: 80%;
    margin: 60px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

th{
    color: #173689;
    font-size: 1rem;
    
}

th, td {
    padding: 10px;
    text-align: center;
    border: 3px solid #F4F4F4;
    background-color: white;
}
/*TABELA*/


/* MOBILE */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        overflow-x: auto;
    }

    table {
        width: 100%;
        margin: 20px 0;
        font-size: 0.8rem;
    }

    th, td {
        padding: 8px 4px;
        border-width: 1px;
    }

    .menu-btn {
        display: block;
        color: white;
    }

    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 10px;
        background: #173689;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        border-radius: 8px;
        width: 200px;
        z-index: 100;
    }

    #menu.active {
        display: flex;
    }

    a {
        color: white;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    th, td {
        font-size: 0.7rem;
    }
    
    .logo {
        width: 4rem;
    }
}