body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    padding-bottom: 0.5rem;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
    max-width: 960px;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    color: #34495e;
}

.content-flex {
    display: flex;
    flex-wrap: wrap; /* Permite que os blocos quebrem a linha em telas menores */
    gap: 20px; /* Espaço entre os blocos */
}

.text-block {
    flex: 1; /* Permite que os blocos se expandam igualmente */
    min-width: 300px; /* Garante que os blocos não fiquem muito estreitos */
    background: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
}

ul {
    list-style: disc;
    margin-left: 20px;
}

/* Formulário de Contato */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

form label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    background-color: #2c3e50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #34495e;
}


footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: #fff;
    margin-top: 20px;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .content-flex {
        flex-direction: column; /* Empilha os blocos em telas menores */
    }

    .text-block {
        min-width: unset; /* Remove o min-width para telas menores */
    }
}