*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'open sans';
    font-size: 16px;
}
header{
    width: 100%;
    height: 650px;
    background-image: url(../imagenes/skewed.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

header .textos{
    margin-top: 300px;
}
header .titulo{
    font-size: 85px;
}
header .subtitulo{
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 32px;
}
.sesgoabajo{
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 25vh 100vw;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}
.sesgoarriba{
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    border-width: 25vh 100vw 0 0;
    border-style: solid;
    border-color:  #fff transparent transparent transparent;
}

.contenedor{
    width: 70%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    padding: 52px 0;
}

.sobre-nosotros{
    text-align: center;
    font-size: 46px;
    margin-bottom: 10px;
    font-weight: 600;
}

.parrafo{
    margin-bottom: 13px;
    font-size: 20px;
    font-weight: 300;
    text-align: justify;
    line-height: 24px;
    color: rgb(24, 16,16)
}

.mision{
    text-align: center;
    font-size: 30px;
    margin-bottom: 24px;
    font-weight: 300;
}

.vision{
    text-align: center;
    font-size: 30px;
    margin-bottom: 24px;
    font-weight: 300;
    margin-top: 24px;
}
.galeria{
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    position: relative;
    flex: wrap;
}
.imagenes{
    width: 20%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.imagenes img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.encima{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 160, 132, 0.527);
}
.encima h2{
    position: relative;
    top: 45%;
    text-align: center;
    color: #fff;
}
.encima div{
    position: relative;
    display: block;
    top: 46%;
    width: 40px;
    height: 5px;
    background: #fff;
    margin: auto;
}

.cards{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card{
    margin: 20px 0;
    width: 25%;
    height: 300px;
    text-align: center;
    padding: 20px;
    box-shadow: 0px 0px 4px 0px #27ae60;
}

.cards img{
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 100%;
}

.boton{
        display: inline-block;
        padding: 1px;
        width: 100px;
        border: 1px solid #27ae60;
        color: #27ae60;
        font-size: 19px;
        text-align: center;
        text-decoration: none;
        border-radius: 16px;
}

.boton2{
    display: inline-block;
    padding: 1px;
    width: 100px;
    border: 1px solid #fff;
    color: #ffffff;
    font-size: 19px;
    text-align: center;
    text-decoration: none;
    border-radius: 16px;
}

.subtitulo-especial{
    text-align: center;
}

.fondo{
    height: 900px;
    position: relative;
    background-image: url(../imagenes/fondo.jpg);
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    padding-top: 130px;
}

.ubicacion{
    text-align: center;
    font-size: 46px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.direccion{
    text-align: center;
    font-size: 25px;
    margin-bottom: 24px;
    font-weight: 300;
    color: #fff;
}
.horario{
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 300;
    color: #fff;
}
.clientes{
    text-align: center;
}
.sesgoabajo-unico{
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 15vh 100vw;
    border-style: solid;
    border-color: transparent transparent #16a085 transparent;
}

.redes{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.red{
    margin: 20px 0;
    width: 22%;
    height: 150px;
    text-align: center;
    padding: 20px;
    box-shadow: 0px 0px 4px 0px #fff;
}

.red h4{
    color: #fff;
}

.redes img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 100%;
}

footer{
    text-align: center;
    background: #16a085;
}

.lista{
    list-style-image: url(../imagenes/logo2.png);
    padding: 0px 25% 13px;
    font-size: 25px;
    font-weight: 300;
    text-align: left;
    line-height: 24px;
    color: rgb(24, 16,16)
}
@media screen and (max-width:900px){
 
    header{
        width: 100%;
        height: 650px;
        background-image: url(../imagenes/skewed2.jpg);
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        position: relative;
        overflow: hidden;
        color: #fff;
        text-align: center;
    }

    header .textos{
        margin-top: 130px;
    }
    header .titulo{
        font-size: 55px;
    }
    header .subtitulo{
        font-size: 22px;
        font-weight: 150;
        margin-bottom: 22px;
    }
    .card{
    width: 48%;
      }
    .cards img{
        width: 80px;
        height: 100px;
    }
.red{
     width: 44%;
 }
 .boton{
    width: 80px;
}
}

@media screen and(max-width: 610px){
    header .textos{
        margin-top: 130px;
    }
    header .titulo{
        font-size: 55px;
    }
    header .subtitulo{
        font-size: 22px;
        font-weight: 150;
        margin-bottom: 22px;
    }
    .none{display: none}
    .imagenes{
        flex-grow: 1;
    }
    .card{
        width: 98%;
    }
    .red{
        width: 88%;
    }
    .cards img{
        width: 80px;
        height: 80px;
    }
    .fondo{
        height: auto;
    }
    .ubicacion{
        width: 90%;
        height: 200px;
        margin-bottom: 50px;
    }

   }

   @media screen and(max-width: 380px){
    header.textos{
        margin-top: 100px;
        }
    header .subtitulo{
        font-size: 65px;
        }
    header .subtitulo{
        font-size: 25px;
        margin-bottom: 32px;
        }
    .sobre-nosotros{
        font-size: 46px;
    }
    .parrafo{
        font-size: 15px;
    }
    .mision{
        font-size: 20px
    }
    .vision{
        font-size: 20px
    }
   }