*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    background:#fdfaf8;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color:#444;
    line-height:1.6rem;
}
.contenedor{
    width:90%;
    max-width:80rem;
    margin:auto;
}
.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1.5rem 0;
}
.logo{
    display:flex;
    align-items:center;
    gap:1rem;
}
.logo img{
    width:5rem;
    border-radius:50%;
    transition:0.3s;
}
.logo img:hover{
    transform:scale(1.08);
}
.logo a{
    text-decoration:none;
}
.titulo-logo h1{
    color:#b64d6d;
    font-size:2rem;
}
.titulo-logo p{
    color:#6b8e5e;
    font-size:0.9rem;
    font-style:italic;
}
.menu{
    display:flex;
    gap:1rem;
}
.menu a{
    text-decoration:none;
    color:#444;
    padding:0.8rem 1.3rem;
    border-radius:0.5rem;
    transition:0.3s;
    font-weight:bold;
}
.menu a:hover{
    background:#c95d7b;
    color:white;
}
.activo{
    background:#6b8e5e;
    color:white !important;
}
.banner{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    height:35rem;
    padding:0 6rem;
    border-radius:1rem;
    overflow:hidden;
    margin:2rem 0;
    background-image:url("imagenes/portada.png");
    background-size:cover;
    background-position:center;
    position:relative;
}
.banner::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    left:0;
    top:0;
}
.banner-texto{
    position:relative;
    z-index:2;
    width:50%;
}
.banner-texto h2{
    color:white;
    font-size:2.8rem;
    margin-bottom:2rem;
    line-height:3.2rem;
}
.banner-texto p{
    color:white;
    margin-bottom:1.5rem;
}
.boton{
    display:inline-block;
    margin-top:1rem;
    padding:1rem 2rem;
    background:#c95d7b;
    color:white;
    text-decoration:none;
    border-radius:0.6rem;
    transition:0.3s;
    font-weight:bold;
}
.boton:hover{
    background:#6b8e5e;
    transform:scale(1.05);
}
.historia,
.informacion,
.sabias,
.frase{
    background:#ffffff;
    margin:2rem 0;
    padding:2.5rem;
    border-radius:1rem;
    box-shadow:0 0.3rem 1rem rgba(0,0,0,0.10);
}
.historia h2,
.informacion h2,
.sabias h2,
.frase h2{
    text-align:center;
    color:#c95d7b;
    margin-bottom:1rem;
}
.historia p,
.informacion p,
.sabias p,
.frase p{
    text-align:justify;
    margin-top:1rem;
}
.linea{
    width:6rem;
    height:0.3rem;
    background:#6b8e5e;
    margin:1rem auto 2rem auto;
    border-radius:2rem;
}
.tarjetas{
    display:flex;
    justify-content:space-between;
    gap:2rem;
    flex-wrap:wrap;
    margin:2rem 0;
}
.tarjeta{
    flex:1;
    min-width:16rem;
    background:#ffffff;
    padding:2rem;
    border-radius:1rem;
    border-top:0.4rem solid #c95d7b;
    box-shadow:0 0.3rem 1rem rgba(0,0,0,0.12);
    transition:0.3s;
    cursor:pointer;
    animation: aparecer 1s ease;
}
.tarjeta:hover{
    transform:translateY(-0.6rem);
    box-shadow:0 1rem 2rem rgba(0,0,0,0.20);
    background:#fff7fa;
}
.tarjeta h3{
    color:#c95d7b;
    margin-bottom:1rem;
}
.tarjeta p{
    text-align:justify;
}
.tarjeta img{
    width:100%;
    border-radius:0.8rem;
    margin-bottom:1rem;
    transition:0.3s;
}

.tarjeta:hover img{
    transform:scale(1.05);
}
.estadisticas{
    display:flex;
    justify-content:space-around;
    gap:2rem;
    flex-wrap:wrap;
    margin:3rem 0;
}
.estadistica{
    flex:1;
    min-width:12rem;
    background:#6b8e5e;
    color:white;
    text-align:center;
    padding:2rem;
    border-radius:1rem;
    transition:0.3s;
}
.estadistica:hover{
    transform:scale(1.05);
    background:#c95d7b;
}
.estadistica h2{
    font-size:2.5rem;
    margin-bottom:1rem;
}
.frase{
    background:#f7d6e0;
    text-align:center;
}
.frase h2{
    font-style:italic;
    color:#b64d6d;
}
.frase p{
    text-align:center;
}
img{
    max-width:100%;
    display:block;
}
.galeria{
    display:flex;
    flex-wrap:wrap;
    gap:2rem;
    justify-content:center;
    margin:3rem 0;
}
.foto{
    width:18rem;
    background:#ffffff;
    border-radius:1rem;
    overflow:hidden;
    box-shadow:0 0.3rem 1rem rgba(0,0,0,0.12);
    transition:0.3s;
    cursor:pointer;
}
.foto:hover{
    transform:translateY(-0.5rem);
    box-shadow:0 1rem 2rem rgba(0,0,0,0.20);
}
.foto img{
    width:100%;
    height:14rem;
    object-fit:cover;
}
.foto p{
    padding:1rem;
    text-align:center;
    font-weight:bold;
    color:#b64d6d;
}
.video{
    margin:3rem 0;
    text-align:center;
}
.video video{
    width:100%;
    border-radius:1rem;
    box-shadow:0 0.3rem 1rem rgba(0,0,0,0.15);
}
.footer{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:2rem;
    background:#6b8e5e;
    color:white;
    padding:3rem;
    border-radius:1rem 1rem 0 0;
    margin-top:4rem;
}
.footer-columna{
    flex:1;
    min-width:15rem;
}
.footer h3{
    margin-bottom:1rem;
    color:#ffffff;
}
.footer p{
    margin-bottom:0.8rem;
}
.footer ul{
    list-style:none;
}
.footer ul li{
    margin-bottom:0.8rem;
}
.footer a{
    color:white;
    text-decoration:none;
    transition:0.3s;
}
.footer a:hover{
    color:#f7d6e0;
    text-decoration:underline;
}
.subir{
    position:fixed;
    bottom:2rem;
    right:2rem;
    width:3.5rem;
    height:3.5rem;
    background:#c95d7b;
    color:white;
    border-radius:50%;
    text-align:center;
    line-height:3.5rem;
    text-decoration:none;
    font-size:1.5rem;
    transition:0.3s;
}
.subir:hover{
    background:#6b8e5e;
    transform:scale(1.1);
}
table{
    width:100%;
    border-collapse:collapse;
    margin:2rem 0;
}
th{
    background:#c95d7b;
    color:white;
    padding:1rem;
}
td{
    padding:1rem;
    border:0.1rem solid #ddd;
}
h2:hover{
    color:#6b8e5e;
    transition:0.3s;
}
@media(max-width:50rem){
.header{
    flex-direction:column;
    text-align:center;
}
.logo{
    flex-direction:column;
}
.menu{
    flex-direction:column;
    width:100%;
}
.menu a{
    text-align:center;
}
.banner{
    justify-content:center;
    padding:2rem;
    height:28rem;
}
.banner-texto{
    width:100%;
    text-align:center;
}
.banner-texto h2{
    font-size:2rem;
    line-height:2.5rem;
}
.tarjetas{
    flex-direction:column;
}
.estadisticas{
    flex-direction:column;
}
.footer{
    flex-direction:column;
    text-align:center;
}
}