/* Reseta as margens e preenchimentos do body */
body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
    color: #573f25;
}

header, footer {
    width: 100%;
    box-sizing: border-box; /* Garantir que padding e border sejam incluídos na largura total e altura dos elementos */
    background: linear-gradient(to bottom, #8f7a51, #d3c3a3);
    padding: 20px 0;
    color: white;
    text-align: center;
}

header img, footer img {
    max-width: 120px;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header .container, footer .container {
    text-align: center !important;
    box-shadow: none;
}

h1, h2 {
    color: #573f25;
}

a {
    color: #573f25;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.subtitle {
    font-size: 24px;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px #000000;
}

#about {
    overflow: hidden;
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url('../img/background-about.jpg');
    background-size: cover;
    background-position: right;
}

.left {
    flex: 1 1 25%;
    overflow: hidden;
    text-align: center;
}

.right {
    flex: 1 1 70%;
    overflow: hidden;
	padding:20px;
}

.justify {
	text-align:justify;
}

.photo-about {
    max-width: 90%;
    height: auto;
    border-radius: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border: 4px solid #573f25;
}

form {
    display: grid;
    gap: 10px;
}

form label {
    font-weight: bold;
}

form input, form textarea, form button {
    padding: 10px;
    border: 1px solid #573f25;
    border-radius: 5px;
    font-family: 'Times New Roman', Times, serif;
}

form button {
    background-color: #8f7a51;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #573f25;
}

footer img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    body {
        margin: 10px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 18px;
        text-shadow: none;
    }
	
	.photo-about {
    	max-width: 70%;
	}
    
	header img {
		width:100px;
	}
	
	
	footer img {
        width: 50px;
    }
    
    .container {
        padding: 10px;
    }
    
    .about {
        flex-direction: column;
        align-items: flex-start;
		background-image: url('../img/background-about-mobile.jpg');
		background-size: cover;
		background-position: 50% 50%; 
    }

    .left, .right {
        width: 100%;
        margin-bottom: 20px;
		padding:0px;
    }

    form input, form textarea, form button {
        padding: 5px;
    }
}
