* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: black;
}

nav a.active {
    font-weight: bold;
}

main {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

main h1 {
    color: green;
    margin-bottom: 20px;
}

main p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.logo-central img {
    margin-top: 20px;
    height: 100px;
}

footer {
    background-color: #05A16A;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Telas pequenas: menos de 550px */
@media (max-width: 549px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .logo img {
        height: 50px;
    }
}

/* Telas médias: entre 550px e 1100px */
@media (min-width: 550px) and (max-width: 1100px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Telas grandes: acima de 1100px */
@media (min-width: 1101px) {
    nav ul {
        display: flex;
    }
}
