

body {
    background-color:bisque;
}


h1 {
    color: black;
    background-color: burlywood;
    padding: 20px;
    font-family: sans-serif;
    border-radius: 16px;
    text-wrap: nowrap;
    overflow: hidden;

}


/* ---------------------------------------------
  "banner"
-----------------------------------------------*/
.banner {
    position: relative;
    color: black;
    background-color:cornsilk;
    height: 50vh;

    overflow: hidden;
}
.banner .fondo {

    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .logo {
  
    position: absolute;
    top: 10px;
    left: 10px;
    width: 64px;
    height: 64px;
}
.banner .letra {
    color: white;
    font-family: sans-serif;
    font-size: 40px;
    text-shadow: 2px 2px 5px black;
}
.banner .texto1 {
  
    position: absolute;
    top: 20px;
    left: 80px;
    text-wrap: nowrap;
}



@media (max-width: 750px) {

    .banner .letra {
        font-size: 32px;
    }
}
@media (max-width: 610px) {

   .banner .letra {
        font-size: 24px;
    }
    .banner .texto1 {
        top: 30px;
    }
}
@media (max-width: 480px) {

    .banner .letra {
        font-size: 18px;
    }

    .banner .texto1 {
        top: 30px;
        left: 64px;
    }
    .banner .logo {
        width: 48px;
        height: 48px;
    }
}


/* ---------------------------------------------
   Seccion info 
-----------------------------------------------*/
.info-holder .info {
    display: flex;               
    align-items: center;        
    justify-content: center;     
    gap: 40px;                  
    flex-wrap: wrap;             
}


.info-holder .info img {
    flex: 1 1 400px;            
    max-width: 500px;        
    width: 100%;             
    height: auto;               
    object-fit: contain;        
    border-radius: 16px;
}


.info-holder .info .texto {
    flex: 1 1 250px;             
}


.info.reves {
    flex-direction: row-reverse; 
}


.info-holder {
    margin-bottom: 40px;       
}




@media (max-width: 700px) {
    .info-holder .info {
        display: block;          
        text-align: center;
    }
    .info-holder .info img {
        width: 90%;             
        margin: auto;
    }
    .info-holder .info .texto {
        width: 90%;
        margin: auto;
    }
}


/* ---------------------------------------------
    Puntos destacados debajo del banner 
-----------------------------------------------*/
.destaca {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    justify-items: center; 
}
.punto {
    width: 90%; 
    max-width: 300px; 
}

.conjunto {
    display: block;
    background-color: ghostwhite;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: black;
    transition: transform 0.2s;
}

.conjunto:hover {
    transform: scale(1.05);
}

.conjunto img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.conjunto .texto {
    text-align: center;
    padding-top: 10px;
    background-color: blanchedalmond;
}


.punto img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* ---------------------------------------------
    galeria
-----------------------------------------------*/
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-evenly;
    margin-top: -40px;

}


@font-face {
 
    font-family: marker;
    src: url("../letras/PermanentMarker-Regular.ttf");
}


.polaroid {
    background-color: white;
    padding: 20px;
    margin: 10px;

    box-shadow: 4px 4px 10px grey;
}


.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.gallery .nombre {
    padding: 8px;
    text-align: center;
    font-family: marker;
    font-size: 20px;
}
.polaroid {
    transform: rotate(0deg);
}

@media (max-width: 600px) {
    .destaca {
        grid-template-columns: 1fr; 
    }
}


/* ---------------------------------------------
   Menú de navegación
-----------------------------------------------*/
.menu {
    background-color: burlywood;
    padding: 10px 20px;
    text-align: center;
}

.menu ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; 
    gap: 30px; 
}

.menu ul li a {
    text-decoration: none;
    color: black;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.menu ul li a:hover {
    background-color: cornsilk;
    border-radius: 6px;
}


.boton-volver {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: burlywood;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.boton-volver:hover {
    background-color: cornsilk;
}


