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

body {
    font-family: 'Georgia', serif;
    background-color: #fdfbf7;
    color: #1a1a1a;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

header {
    background: #1a3a52;
    padding: 20px 0;
    border-bottom: 3px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #d4af37;
}

h1, h2 {
    color: #1a3a52;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 15px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid #d4af37;
}

th {
    background: #1a3a52;
    color: #d4af37;
    padding: 15px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.8rem;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
}

tr:nth-child(even) {
    background: #fcf8ee;
}

footer {
    background: #1a3a52;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-top: 4px solid #d4af37;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #d4af37;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #eeeeee;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: #1a3a52;
    }
}