*{
   font-family: Arial, Helvetica, sans-serif; 
}
.layout-index{
    display: grid;
    grid-template-areas: 
    "header header"
    "main aside"
    "footer footer";
    grid-template-columns: 40% 58%;
    grid-row: auto 1fr auto ; /*altura filas */
    gap:5px;
    column-gap: 20px;
}
.foto{
    border-radius: 50px;
    width: 60%;
}
.layout-contacto{
    display: grid;
    grid-template-areas: 
    "header"
    "main"
    "footer";
    grid-template-columns: 100%;
    grid-row: auto 1fr auto ; /*altura filas */
    gap:5px;
}

/* Estilo para el formulario de contacto */

form {
    display: grid;
    gap: 5px;
    max-width: 600px;
    margin-left: 30%;  
}

form input {
    width: 80%;
    padding: 5px;
    border: 1px solid #75a6a4;
    border-radius: 4px;
    margin-bottom: 20px;
    /* margin-left: 100px; */
    height: 15px;
}
form textarea {
    width: 80%;
    padding: 5px;
    border: 1px solid #75a6a4;
    border-radius: 4px;
    margin-bottom: 20px;
    height: 50px;
}
form button {
    padding: 10px 20px;
    width: 50%;
    background-color: #649492;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 100px;
    margin-right: 90px;
}

iframe{
    width: 210px;
    height: 120px;
}
 
body{
    background-color: #e0f7fa;
}

header{
    grid-area: header;
    background-color: #528280;
    color: white;
    padding: 10px;
    border-radius: 10px;
}
main{
    grid-area: main;
    background-color: #F0FFF0;
    color: black;
    padding: 10px;
    border-radius: 10px;
}
aside{
    grid-area: aside;
    background-color: #f1f8e9 ;
    color: black;
    padding: 10px;
    border-radius: 10px;
}
aside ul li{
    padding-bottom: 10px;
    font-size: 15px;
}
footer{
    grid-area: footer;
    background-color: #2F4F4F;
    color: white;
    padding: 0px;
    border-radius: 10px;
    margin:0px;
    text-align: left;
}
footer nav h4 {
    font-weight:lighter;
    padding: 0px;
    margin: 0px;
}
h1{
    color: rgb(250, 250, 251);
    text-align: center;
    font-size: 30px;
    margin-top: 2px;
    margin-bottom: 2px;
}
h2{
    color: black;
    text-align: center;
    font-size: 20px;
    margin-top: 5px;
}
h4{
    color: white;
    font-size: 15px;
    text-align: center;
}
.centrado{
    text-align: center;
}
/* Estilo para la barra de navegación */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0px; 
}

nav ul li {
    display: inline-block;
    margin: 0 10px; 
    font-size: 18px;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none; 
    font-weight: bold;
    margin-top: 10px;
}

@media (max-width:768px){
    .layout-index{
        grid-template-areas: 
        "header"
        "main"
        "aside"
        "footer";
        grid-template-columns: 1fr;
    }
    .layout{
        grid-template-areas: 
        "header"
        "main"
        "aside"
        "footer";
        grid-template-columns: 1fr;
    }
}

/* .item{
    background-color: lightcoral;
    color: white;
    font-size: 2rem;
    padding: 20px;
    text-align: center;

}

.grid-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ; crea 2 columnas del mismo ancho gap:10px ; /* espacio entre filas y columnas 
} */