@media screen and (max-width: 1150px) {
  nav {
    max-width: 750px;
    font-size: 15px;
  }
  nav ul li {
    padding: 0px 20px;
    display: inline-block;
  }
  #cont_cabecera figure {
    max-width: 280px;
  }
  #cont_cabecera2 figure {
    max-width: 280px;
  }
  header {
    height: 650px;
  }
  #cont_rojo {
    height: 650px;
  }
  #cont_areas article {
    max-width: 230px;
  }
  #cont_areas article figure {
    left: 65px;
  }
}
@media screen and (max-width: 1080px) {
  #cont_areas article figure {
    left: 65px;
  }
}
@media screen and (max-width: 1024px) {
  #teclado {
    width: 100%;
  }
}
@media screen and (max-width: 950px) {
  nav {
    position: relative;
    top: 0;
    right: 0;
  }
  nav ul {
    display: block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    z-index: 200;
    right: 0;
    height: 240px;
    width: 0vw;
    top: 75px;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.5s;
  }
  nav ul.abrirmenu {
    width: 100vw;
    opacity: 1;
  }
  nav ul li {
    padding: 5px 0px;
    display: block;
    text-align: right;
    border-bottom: 1px white dotted;
  }
  nav span {
    display: none;
  }
  nav ul li a:hover {
    border-bottom: 3px transparent solid;
  }
  #movil {
    display: block;
  }
  header {
    height: 600px;
    overflow: hidden;
  }
  #cont_rojo {
    height: 600px;
  }
  #calltoaction article {
    max-width: 280px;
  }
  #calltoaction h1 {
    font-size: 22px;
  }
  #informacion {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  #informacion article {
    max-width: 90%;
    padding-top: 30px;
  }
  #cont_areas article {
    max-width: 280px;
  }
  #casos {
    padding: 10px;
    width: 60%;
    height: 530px;
  }
  #cont_areas article figure {
    left: 85px;
  }
  #elementos_formulario #foto_contactanos {
    max-width: 400px;
  }
  .informacion_diseno {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .informacion_diseno div {
    width: 95%;
    margin-bottom: 10px;
  }
  .caja1 {
    margin-right: 0px;
  }
}
@media screen and (max-width: 890px) {
  #calltoaction article {
    max-width: 260px;
  }
  #informacion {
    padding-top: 220px;
  }
  #informacion article ul {
    margin: auto;
  }
  #cont_areas article figure {
    left: 85px;
  }
  #teclado img {
    max-width: 40%;
    object-fit: cover;
  }
  .ventajas {
    max-width: 60%;
  }
}
@media screen and (max-width: 840px) {
  #calltoaction article {
    max-width: 240px;
  }
  #calltoaction h1 {
    font-size: 20px;
  }
  #informacion {
    padding-top: 200px;
  }
  #teclado #iconos {
    display: none;
  }
  .ventajas {
    max-width: 100%;
  }
  #elementos_formulario #foto_contactanos {
    max-width: 350px;
    object-fit: cover;
  }
  #beneficios {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  #beneficios figure {
    max-width: 500px;
  }
  #beneficios article {
    max-width: 95%;
  }
}
@media screen and (max-width: 768px) {
  .linea_blanca2 {
    top: 60px;
  }
  #cont_rojo {
    width: 100%;
    position: static;
    z-index: 2;
    height: 55vh;
  }
  #cont_rojo h3 {
    margin-left: 50px;
    line-height: 65px;
    font-size: 55px;
    margin-top: 10px;
    padding-top: 30px;
  }
  #cont_rojo {
    height: 400px;
  }
  header {
    height: 700px;
    background-position: -100px 0px;
  }
  #cont_rojo {
    height: 600px;
  }
  #calltoaction article {
    max-width: 220px;
  }
  #cont_areas article {
    max-width: 300px;
  }
}
@media screen and (max-width: 735px) {
  #calltoaction h2 {
    font-size: 25px;
  }
  #calltoaction p {
    font-size: 16px;
    line-height: 20px;
  }
  #calltoaction h1 {
    line-height: 25px;
  }
  #informacion {
    padding-top: 180px;
  }
  #casos {
    width: 60%;
  }
}
@media screen and (max-width: 700px) {
  #calltoaction h2 {
    font-size: 30px;
  }
  #calltoaction p {
    font-size: 18px;
    line-height: 25px;
  }
  #calltoaction article {
    max-width: 200px;
  }
  #informacion {
    padding-top: 150px;
  }
  #casos {
    width: 70%;
  }
  #casosexito {
    background-position: -50px 0px;
  }
  #foto_contactanos {
    display: none;
  }
  #elementos_formulario form {
    width: 100%;
  }
  #formulario select,
  textarea,
  button {
    width: 100%;
  }
  #formulario button {
    border: 0;
  }
  #formulario input {
    width: 100%;
  }
}
@media screen and (max-width: 650px) {
  #calltoaction a {
    padding: 5px 35px;
    font-size: 13px;
  }
  #calltoaction article {
    max-width: 180px;
  }
  #cont_areas {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #casos {
    top: 0px;
    width: 100%;
  }
  #cont_areas article figure {
    left: 95px;
  }
}
@media screen and (max-width: 600px) {
  #calltoaction {
    height: 100%;
  }
  #calltoaction a {
    padding: 7px 50px;
  }
  #calltoaction h1 {
    font-size: 18px;
  }
  #contenedor_cajas {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
  #contenedor_cajas h2 {
    font-size: 25px;
  }
  #contenedro_cajas p {
    font-size: 30px;
  }
  #calltoaction article {
    background-color:;
    max-width: 100%;
    box-shadow: 0px 0px 0px var(--grismedio);
  }
  #informacion {
    padding-top: 50px;
  }
  #informacion article {
    width: 85%;
  }
  .ventajas {
    flex-direction: column;
    max-width: 100%;
  }
  .ventajas .elementos {
    max-width: 100%;
  }
}
@media screen and (max-width: 480px) {
  nav ul {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .linea_blanca2 {
    background-color: var(--rojo);
    height: 5px;
    top: 105%;
    width: 300px;
  }
  #cont_cabecera {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  }
  #cont_cabecera figure {
    max-width: 180px;
  }
  #cont_rojo {
    width: 100%;
    position: static;
    z-index: 2;
    height: 50vh;
    background-color: transparent;
  }
  #cont_rojo h3 {
    margin-left: 20px;
    line-height: 50px;
    font-size: 45px;
    margin-top: 0px;
    padding-top: 200px;
  }
  #cont_rojo h2 {
    font-weight: 400;
    font-size: 16px;
    margin-left: 20px;
    line-height: 24px;
    margin-top: 20px;
    padding-right: 10px;
  }
  .btn_blanco {
    border: 1px #bb1b1f solid;
    background-color: #bb1b1f;
    margin-left: 20px;
  }

  footer {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #logo_footer {
    display: none;
  }
  #redesociales {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  footer h2 {
    font-weight: normal;
    font-size: 16px;
    padding-right: 0px;
    padding-bottom: 10px;
  }
  #cont_areas {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #cont_areas article {
    max-width: 350px;
  }
  #cont_areas article figure {
    max-width: 100px;
    position: absolute;
    left: 120px;
  }
  header {
    background-position: -50px 0px;
  }
  #calltoaction h1 {
    font-size: 16px;
  }
  .galeria {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .btn-menu {
    font-size: 14px;
    width: 40px;
    margin: 0 auto;
    padding: 0;
  }
  .galeria .box-img {
    max-width: 85%;
    background-color: var(--grismedio);
    margin-bottom: 60px;
  }
  #casos {
    height: 550px;
    position: static;
    padding: 0;
    top: 0;
    left: 0;
  }
  #casos h2 {
    padding-left: 20px;
  }
  .fle {
    padding: 0;
  }
  #casos #linea_roja {
    margin-left: 20px;
  }
  .contenido {
    width: 90%;
  }
}
@media screen and (max-width: 375px) {
  .contenido {
    padding: 15px;
    width: 90%;
  }
  #cont_cabecera figure {
    max-width: 150px;
  }
  #linea_blanca {
    top: 310px;
  }
  #cont_areas article figure {
    left: 115px;
  }
  .btn_blanco {
    padding: 12px 25px;
    margin-top: 15px;
  }
  header {
    height: 600px;
  }
  #cont_rojo h3 {
    padding-top: 150px;
    font-size: 40px;
    line-height: 45px;
  }
}
@media screen and (max-width: 350px) {
  .contenido {
    padding: 10px;
    width: 100%;
  }
  #linea_blanca {
    top: 270px;
  }
  #cont_rojo h3 {
    padding-top: 120px;
    font-size: 40px;
  }
  #cont_rojo h2 {
    margin-top: 0px;
  }
  #cont_areas article figure {
    left: 92px;
  }
  header {
    height: 500px;
  }
  .btn_blanco2 {
    font-size: 14px;
    padding: 7px 30px;
  }
  .ventajas {
    padding: 0;
  }
  .ventajas .elementos {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .ventajas .elementos h2 {
    text-align: center;
  }
  .ventajas .elementos img {
    margin: auto;
    padding-bottom: 20px;
  }
  #contenedor_infocasos {
    width: 100%;
    padding: 10px;
  }
  #contenedor_infocasos .tile {
    padding: 10px;
    margin: 0;
    width: 100%;
  }
}
