.paisaje {
    width:100%;
    height: 700px;
}
.paisaje img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    
}
* {
    margin: 0;
    padding: 0;
}

header img {
    width: 180px;
    height: auto;
    max-width: 100%;
    position: static;
    z-index: 1;  
}

header {
    position: relative;        /* para poder posicionar nav dentro */
    background-color: rgb(6, 38, 41);
    color: white;
    height: 7rem;
    display: flex;
    justify-content: flex-end; /* h1 + img a la derecha */
    align-items: flex-start;   /* los elementos se pegan arriba */
    padding: 0 20px;
}

header .conteiner {
    display: flex;
    align-items: center;
}

header nav {
    position: absolute;        /* lo sacamos del flujo normal */
    bottom: 0;                 /* lo pegamos al fondo */
    left: 50%;                 /* centramos horizontalmente */
    transform: translateX(-50%); /* corrección para que quede centrado exacto */
    display: flex;
    gap: 20px;                 /* espacio entre links */
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    
}
header nav a:hover {
    color: rgb(146, 143, 93);
    transform: scale(1.1);
}

.seccion1 {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    margin: 80px;
    border: 2px solid rgb(248, 182, 0);
    background-color:rgb(15, 110, 119);
    padding: 40px 20px; /*le da margen*/
    
}

.seccion1 nav {   
    grid-column: 2/ 3;
    grid-row: 2/ 3;
    padding: 5px;
    color: white;
    display: grid;
    place-items: center;
    
}

.seccion1 .imagen1 {
    grid-column: 3/ 4;
    grid-row: 1/ 2;
}
.seccion1 .imagen2 {
    grid-column: 3/ 4;
    grid-row: 3/ 4;
}
.seccion1 .imagen3 {
    grid-column: 1/ 2;
    grid-row: 1/ 2;
    
}

.seccion1 img {
    
    width: 400px;
    height: 300px;
    margin: 0 auto;
    border-radius: 20px;
    max-width: 100%;

}


/* Tablet */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.seccion1 h2 {
    font-size: 2rem;
    
}

body {
    background-color:  rgb(13, 71, 77);
}

footer {
    background-color: rgb(0, 0, 0);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 50px;
}

article {
    margin: 20px;
    padding: 20px;
    border: 2px solid rgb(248, 182, 0);
    background-color: rgb(15, 110, 119);
    color: white;
    border-radius: 10px;
}

ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: white
}
h4 {
    color: white;
    margin-left: 20px;
    font-family: Arial, sans-serif;
    padding: 1%;
}

.lista {
    margin: 20px;
    padding: 20px;
    border: 2px solid rgb(248, 182, 0);
    background-color: rgb(15, 110, 119);
    border-radius: 10px;
}