/* ============================================
   ESTILOS PARA: main.html
   TEMA: Importância do HTML Semântico
   ============================================ */

/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* ============================================
   HEADER - Cabeçalho da página
   ============================================ */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* ============================================
   NAV - Barra de navegação
   ============================================ */
nav {
    background-color: #34495e;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #2c3e50;
}

/* ============================================
   MAIN - Conteúdo principal
   ============================================ */
main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ============================================
   SECTION - Seções temáticas
   ============================================ */
section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* ============================================
   ARTICLE - Artigos independentes
   ============================================ */
article {
    background-color: #ecf0f1;
    padding: 20px;
    border-left: 5px solid #3498db;
    margin: 20px 0;
    border-radius: 4px;
}

article h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

article p {
    margin-bottom: 10px;
    text-align: justify;
}

/* ============================================
   FOOTER - Rodapé da página
   ============================================ */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

/* ============================================
   CLASSES UTILITÁRIAS
   ============================================ */
.destaque {
    background-color: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}
