* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background: linear-gradient(to right,#edf1ed, #bdc7c0);
    
}
header {
    background: linear-gradient(to right,#1e571e, #042406);
    color: white;
    padding: 20px;
    font-family: georgia;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    border-bottom: 4px solid #f2e038; 
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 120px; 
}

header #logo {
    margin-bottom: 10px;
    display: flex;
}

header #logo img {
    height: auto;
    max-height: 90px; 
    width: auto;

}

h1 {
    font-size: 28px;
    font-family: 'Times New Roman', serif;
    margin-bottom: 15px;
    align-items: center;
}
h2{
font-family: georgia;
text-align: center;
}
#sobre{
background: linear-gradient(to right,#edf1ed, #bdc7c0);
}

header nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; 

}

header nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
}

header nav ul li a {
    display: block;
    padding: 10px 20px;
    background-color: #25a309;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
}
header nav ul li a:hover {
    background-color: #FFD700;
    color: #01180c; 
    transform: scale(1.1);
}
section {
    padding: 40px 0;
    text-align: center;
}

.welcome {
    background-color: #f4f4f4;
    padding: 40px 20px;
    font-family: georgia;
}

h3{
    font-family: georgia;
}
h3{
    font-family: georgia;
    text-align: justify;
}
p{
    font-family: georgia;
    text-align: justify;
    font-size: 30px;
    color:#000000
}
.welcome h2 {
    font-size: 30px;
    font-family: georgia;
    color: black;
    background: linear-gradient(to right,#edf1ed, #bdc7c0);
  
}


h4{
   font-family: georgia;
}
#qs{
    font-family: georgia;
    font-size: 20px;
    text-align: justify;
    padding: 20px;
    
}
.quemsomos{
    font-family: georgia;
    font-size: 100px;
}

li{
 font-family: georgia;
 text-align: start;
 color:#1e1d22
}
.btn { 
    display: inline-block;
    padding: 10px 20px;
    background: #720202;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #FFD700; 
    color: #01180c;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: center;
    
}

.grid article {
    background: linear-gradient(to right,#1e571e, #042406);
    color: white;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
   
}

.grid article:hover {
    transform: translateY(-5px);
  
}

.grid article h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.grid article p {
    font-size: 16px;
    margin-bottom: 15px;
    font-family: georgia;
}


footer {
    background: linear-gradient(to right,#1e571e, #042406);
    color: white;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

footer #footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
}

footer #logo-footer img {
    margin-right: 20px;
    max-height: 100px;
}

footer #contact, footer #links {
    margin: 10px 20px;
}

footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

footer p, footer ul {
    font-size: 14px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 5px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-family: georgia;
}

footer ul li a:hover {
    color: #FFD700;
}

ion-icon {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    header {
        flex-direction: column; 
        align-items: center;
    }

    header h1 {
        font-size: 24px;
        text-align: center;
    }

    header nav ul {
        flex-direction: column; 
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr; 
    }

    header {
        padding: 10px; 
    }

    header h1 {
        font-size: 20px; 
    }

    section {
        padding: 20px 10px; 
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer #footer-container {
        flex-direction: column;
    }

    footer #logo-footer img {
        max-height: 80px; 
    }
}
