/* Configurações básicas e reset */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
//~     background-color: #f4f4f9; /* Fundo suave */
    background-color: #F5F5DA; /* Fundo suave */
    color: #333;
    height: 1000px; /* Set a fixed height for the container */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    -webkit-overflow-scrolling: touch; /* Enhance scrolling experience on iOS */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Preenchimento nas laterais para telas menores */

}

/* Estilo do Cabeçalho (Header) */
header {
    background-color: #8b674b; /* marrom escuro */
//~     background-color: #5b3c88; /* Uma cor profissional, como roxo escuro */ 
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 5px;
    font-size: 2.2em;
}

header p {
    margin: 0;
    font-size: 1.1em;
    font-style: italic;
}

/* Estilo da Navegação (Nav) */
nav {
//~     background-color: #7a52a3; /* Roxo ligeiramente mais claro */
    background-color: #9C6A36; 
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centraliza os links no mobile */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block; /* Permite que fiquem lado a lado no desktop */
    font-weight: bold;
    transition: background-color 0.3s;
}

nav a:hover {
//~     background-color: #5b3c88; /*roxo antigo*/
    background-color: #664019;
}

/* Estilo das Seções de Conteúdo (Main) */
main {
    padding-top: 40px;
    padding-bottom: 40px;
}

section {
    margin-bottom: 40px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

section h2 {
//~     color: #5b3c88; /*roxo antigo*/
    color: #42270D;
//~     border-bottom: 2px solid #7a52a3;
    border-bottom: 2px solid #995115;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Estilo de Contato (Address) */
address p {
    margin: 10px 0;
}

address a {
//~     color: #7a52a3;
    color: #995115;
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}

/* Estilo do Rodapé (Footer) */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

img {
	width:100%;
	max-width: 285px;
	object-fit: cover;
	vertical-align:middle;
	
	}
	
p {
	text-align: justify;
	}
	
#subTitulo {
	text-align: center;
	}	
	
#wrapper {
	padding: 0 5px;
	display: flex;
	flex-wrap: wrap;
	align-items: top;
	gap: 5rem;
}

#textoSobreMim {
	flex: 1;
	
	}

/* --- RESPONSIVIDADE (Media Queries) --- */

/* Para telas menores que 600px (smartphones) */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }
    
    header p {
        font-size: 1em;
    }

    nav a {
        display: block; /* Links de navegação em pilha no mobile */
        width: 100%;
        box-sizing: border-box;
    }

    section {
        padding: 20px;
		display: flex;
		position:fixed;
    }
}

/* Para telas entre 601px e 1024px (tablets) */
@media (min-width: 601px) and (max-width: 1024px) {
    nav a {
        padding: 10px 10px;
        font-size: 0.95em;
    }
}