
/*reset*/ /*vwa.cl*/

*{
   margin: 0;
   padding: 0;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/*header*/
header{
    height: 80px;
    background: #464545;
    padding: 0 50px;
    color: azure;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    text-transform: uppercase;
    color: antiquewhite;
    font-weight: 100;
}

.menu a{
    color: aliceblue;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;
}


.mostrar-menu,
.esconder-menu{
    font-size: 30px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
}

.mostrar-menu{
    order: 1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover{
    color: #a8772b;

}

#check{
    display: none;
}



/*banner*/
#banner{
    display: flex;
    margin: 0 0 0 0;
    background-image: url(./images/paisaje2.jpg);
    height: 90vh;
    width: 100%;    
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
}
/*#banner::before{
    content: "";
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;    
    height: 110vh;
    left: 0;
}*/

.contenido-banner{
    display: flex;
    padding-top: 100px;
    position: relative;
    color: azure;
    height: 100%;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    
        
}

.contenido-banner h3{
    font-size: 30px;
    font-weight: 400;
    padding: 10px 0px;
}

.contenido-banner h3 span{
    font-weight: 600;
}

.contenido-banner img{
    display: flex;
    border-radius: 100%;
    width: 40vh;
    justify-content: center;
    align-items: left;
    
    

}

.boton-empezar{
    text-decoration: none;
    color: blueviolet;
    border: 1px solid #464545;
    padding: 20px 40px;
    align-self: baseline;
    transition: all 0.4s;
}

.boton-empezar:hover{
    background: #fff;
}

/*equipo*/
#equipo{
    background: #fff;
    padding: 50px 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}
#equipo img{
    filter: grayscale(100%);
    border-radius: 0px;
    width: 55%;
    min-width: 40%;
    
}
#equipo img:hover{
    transition: all 0.5s;
    filter: grayscale(0%);

}
#equipo div{
    padding: 30px 30px;
}
#equipo div h4{
    color: #4d4d5c;
    font-size: 20px;
    font-weight: 100;
    margin: 15px 0px;  
}
#equipo div p{
    color: #4d4d5c87;
    font-size: 12px;
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111111bd;
    display: flex;
    
}

.modal-container{
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 600px;
    max-height: 100%;
    background-color: #fff;
    border-radius: 6px;
    padding: 3em 2.5em;
    display: grid;
    gap: 1em;
    place-items: center;
    grid-auto-columns: 100%;
    
}


.title{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
}

.paragraph{
    text-align: left;
    margin-bottom: 1rem;
}

.modal-img{
    width: 50%;
    max-width: 200px;
}

.close{
    position:absolute;
    top: .5rem;
    right: 1rem;
    font-size: 2rem;
    text-decoration: none;
    color: #c98622;
}


.boton-saber-mas{
    display: inline-block;
    text-decoration: none;
    color: aqua;
    padding: 10px 30px;
    border: 3px solid aqua;
    border-radius: 30px;
    margin-top: 15px;   
    transition: all 0.4s;
}
.boton-saber-mas:hover{
    background: #6cc091;
    color: #fff;
}

/*slider*/

.imagenes{
    padding: 40px 40px;
    background: #faf8f6;
}

.slider{
   
    width: 75%;
    margin: auto;
    height: 75%;
    overflow: hidden;
    object-fit: cover;
    border-radius: 0px;
}
.slider ul{
    padding: 0;
    display: flex;
    width: 1000%;

    animation: slider 50s infinite alternate;
    animation-timing-function: linear;
    
}
.slider li{
    width: 100%;
    list-style: none; /*hace deaparecer los puntos de las listas*/
}
.slider li img{
    width: 100%;
}

@keyframes slider{ /*animacion slider*/
    0% {margin-left: 0;}
    10% {margin-left: 0;}

    15% {margin-left: -100%;}
    20% {margin-left: -100%;}

    25% {margin-left: -200%;}
    30% {margin-left: -200%;}

    35% {margin-left: -300%;}
    40% {margin-left: -300%;}

    45% {margin-left: -400%;}
    50% {margin-left: -400%;}

    55% {margin-left: -500%;}
    60% {margin-left: -500%;}

    65% {margin-left: -600%;}
    70% {margin-left: -600%;}

    75% {margin-left: -700%;}
    80% {margin-left: -700%;}
    
    85% {margin-left: -800%;}
    90% {margin-left: -800%;}

    95% {margin-left: -900%;}
    100% {margin-left: -900%;}
}

/* @keyframes slider{ /*animacion slider*
    0% {margin-left: 0;}
    20% {margin-left: 0;}

    25% {margin-left: -100%;}
    45% {margin-left: -100%;}

    50% {margin-left: -200%;}
    70% {margin-left: -200%;}

    75% {margin-left: -300%;}
    100% {margin-left: -300%;}
}*
*/

/*/slider*/

/*instafeed*/
.instafeed{
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap;
    padding-bottom: 30px;
 }
 .instafeed img{
     display: inline-flex;
     width: 200px;
     transition: 0.4s;
     object-fit: cover;
     padding: 5px;
 }
 .instafeed-texto{
     flex-wrap: wrap;
     text-align: center;
     font-size: 22px;
     padding-bottom: 20px;
     color: #5c5d5e;
 
 }
 .instafeed img:hover{
     transform: scale(2);
 }

/*contacto*/

#contacto{
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    justify-content: space-around;
}
#contacto p{
    font-size: 16px;
    line-height: 2em;
    color: #4d4d5c;
    padding: 40px;
}
#contacto h3{
    font-size: 16px;
    font-weight: 300;
    color: #4d4d5c87;
    padding: 40px;
}

/*familia*/

#familia{
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    justify-content: space-around;
    text-align: center;
}
#familia p{
    font-size: 16px;
    line-height: 2em;
    color: #4d4d5c;
    padding: 80px;
    margin: 50px 50px;
}
#familia h3{
    font-size: 16px;
    font-weight: 300;
    color: #4d4d5c87;
    padding: 40px;
}

/*sucesorio*/

#sucesorio{
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    justify-content: space-around;
    text-align: center;
}
#sucesorio p{
    font-size: 16px;
    line-height: 2em;
    color: #4d4d5c;
    padding: 80px;
    margin: 50px 50px;
}
#sucesorio h3{
    font-size: 16px;
    font-weight: 300;
    color: #4d4d5c87;
    padding: 40px;
}

/* footer*/


.pie-pagina{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background:#464545;
    padding: 40px;
    height: 20vh;
}
.pie-pagina div{
    display: flex;
    line-height: 5;
    align-items: center;
    background: #464545;
}
.pie-pagina p{
    font-size: 20px;
    font-weight: 300;
    color: #c98622;
}
.pie-pagina div img{
    width: 85%;
}






/*responsive*/

@media(max-width:768px){
    /*header*/
    .mostrar-menu,
    .esconder-menu{
        display: block;
    }
    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #464545;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
        
    }
    .menu a{
        display: block;
        padding: 20px;
    }
    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ .menu{
        right: 0;
    }
    
    #banner{
        /*padding-top: 70px;*/
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 65vh;
    }
    .contenido-banner img{
        width: 30vh;
    }


    #banner::before{
        display: none;
        
    }

    #equipo{
        flex-direction: column;
    }
    #equipo img{
        width: 35vh;
    }

    .pie-pagina div{
        flex-direction: column;
        align-items:  center;
    }
    .pie-pagina {
        height: 40vh;
        padding: 50px 50px;

    }
    .instafeed img{
        width: 50vh;
    }
    .instafeed img:hover{
        transform: none;
    }

    .modal-container{
        flex-direction: column;
        height: 100%;
        max-width: 100vh;
        overflow-y: auto;
        padding-bottom: 80px;
    }
    
    
   
}