/* ========================================
   1. ESTILOS GERAIS E RESET
   ======================================== */

body {
    font-family: 'Arial', sans-serif;
    background-color: #111; 
    color: #ddd; 
    margin: 0;
    padding: 0;
}

/* Estilos para links (geral) */
a {
    text-decoration: none;
    color: #ff00ff;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Estilos Anos 2000 */
h1 {
    font-family: 'Comic Sans MS', cursive, sans-serif; 
    text-shadow: 2px 2px 4px #000000; 
}

/* ========================================
   2. ESTRUTURA E LAYOUT
   ======================================== */

#container {
    width: 80%;
    margin: 20px auto;
    background-color: #222; /* Preto mais claro para o container */
    border: 2px solid #800080; /* Roxo */
    padding: 20px;
    box-shadow: 0 0 10px rgba(128, 0, 128, 0.5); /* Sombra roxa */
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-bottom: 2px dashed #800080;
}

main {
    display: flex;
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border-top: 2px dashed #800080;
}

/* ========================================
   3. NAVEGAÇÃO (NAV)
   ======================================== */

nav ul {
    list-style-type: none; /* Remove o marcador padrão */
    list-style: none; /* Redundância, mas garante a remoção */
    padding: 0;
    margin: 0; /* Adicionado para consistência */
}

nav ul li {
    display: inline; /* Estilo de navegação horizontal */
    margin-right: 20px;
}

nav li {
    /* Estilo de navegação vertical (se for o caso, pode ser removido se for apenas horizontal) */
    margin-bottom: 10px; 
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: flex; /* Para alinhar o ícone */
    align-items: center; 
    padding: 5px 10px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
}

nav a:hover {
    background-color: #f0f0f0;
}

/* ========================================
   4. CONTEÚDO PRINCIPAL (ARTICLE)
   ======================================== */

article {
    flex: 3;
    margin-right: 20px;
}

article img {
    max-width: 100%;
    height: auto;
    border: 1px solid #800080;
    margin-bottom: 10px;
}

/* ========================================
   5. BARRA LATERAL (#BARRA-LATERAL)
   ======================================== */

#barra-lateral {
    flex: 1;
    background-color: #333;
    padding: 10px;
    color: #fff;
    border: 1px dotted #800080;
}

#barra-lateral ul {
    list-style-type: square;
}

#barra-lateral img {
    animation: piscar 2s linear infinite;
}

/* ========================================
   6. COMPONENTES E UTILITÁRIOS
   ======================================== */

.imagem-icon {
    width: 20px; 
    height: 20px;
    margin-left: 5px; 
}

/* ========================================
   7. ANIMAÇÕES
   ======================================== */

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
/* ========================================
   8. DECOs (GIFs e ASCII)
   ======================================== */

#decos-retro {
    text-align: center; 
    padding: 30px 20px;
    border-top: 2px dashed #800080; 
    background-color: #1a1a1a; 
}

#ascii-container {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    width: 100%; 
    padding: 5px 0;
    margin-top: 10px;
    border-top: 2px dashed #800080;
}

.gif-deco {
    max-width: 150px; 
    height: auto;
    margin: 0 15px;
    border: 3px solid #ff00ff; 
    border-radius: 5px;
    box-shadow: 0 0 8px #ff00ff; 
    display: inline-block;
}

.ascii {
    font-family: 'Courier New', monospace; 
    font-size: 14px;
    color: #fff;
    padding: 10px;
    display: inline-block;
    margin: 20px auto;
    white-space: pre; 
    text-shadow: 0 0 5px #800080; 
}
.ascii-art.left {

}

.ascii-art.right {
    
}