/* Reset de margens e preenchimentos */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Estilo geral */
body {
    padding: 50px;
    font-family: Arial, sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.imagem-topo {
    width: 100%;
    height: 246px;
    object-fit: cover;
}

/* Menu lateral */
.menu-lateral {
    float: left;
    margin-bottom: 20px;
    width: 200px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 20px;
    margin-right: 3%;
}

.menu-lateral h2 {
    margin-bottom: 10px;
}

.menu-lateral nav ul {
    list-style-type: none;
    padding: 0;
}

.menu-lateral nav ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

.menu-lateral nav ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}
.menu-lateral nav ul li a:hover {
    color: #000; /* Cor do texto ao passar o cursor */
    background-color: #e0e0e0; /* Cor de fundo ao passar o cursor */
}
.menu-lateral nav ul li a.active {
    font-weight: bold;
    color: #333;
}

/* Conteúdo principal */
.principal {
    margin-left: 220px;
    padding: 20px;
}

.principal h1 {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
    margin-bottom: 20px; 
    font-weight: normal; 
    text-align: center; 
    font-size: 24px; /
}
.principal h2 {
    margin-bottom: 10px; 
    font-size: 16px;
    text-align: center; 
}
/* Estilo para a tabela */
.principal table {
    width: 95%;
    border-collapse: collapse;
}

.principal th, .principal td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.principal th {
    background-color: #f2f2f2;
}

/* Rodapé */
.rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
}

.rodape figure {
    display: flex;
    align-items: center;
}

.rodape h2 {
    font-size: 18px;
    margin-right: 10px;
}

.rodape h2:last-child {
    margin-right: 0;
}

.rodape h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-top: 5px;
}

.imagem-rodape {
    width: 100%;
    margin-top: 10px;
}

.imagem-rodape figcaption {
    text-align: center;
    margin-top: 5px;
}

/* Estilos para dispositivos móveis */
@media screen and (max-width: 768px) {
    body {
        margin: 1%;
        padding: 5%;
    }

    .imagem-topo {
        max-width: 100%;
        height: auto;
    }

    .container {
        padding: 10px;
    }

    .menu-lateral {
        width: 87%;
    }

    .menu-lateral h2 {
        display: none;
    }
    nav ul li {
        margin-bottom: 10px; /* Adiciona espaçamento entre os itens do menu */
    }
    .principal {
        margin-left: 0;
        padding: 20px 0;
    }

    .principal table {
        width: 100%;
    }
    .principal th, .principal td {
        font-size: 12px;
    }
}