@media screen and (max-width: 1150px) {
  nav {
    max-width: 750px;
    font-size: 15px;
  }
  nav ul li {
    padding: 0px 20px;
    display: inline-block;
  }
  #cont_cabecera2 figure {
    max-width: 280px;
  }
  #teclado img {
    max-width: 40%;
  }
  .ventajas {
    max-width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .ventajas .elementos {
    padding: 20px 10px;
    width: 45%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
  }
  #info_capacitacion {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #info_capacitacion article {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  #teclado {
    width: 100%;
  }
}
@media screen and (max-width: 950px) {
  #cont_infologo {
    padding-top: 20px;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
  }
  #cont_infologo figure {
    max-width: 95%;
  }
  #cont_infologo article {
    max-width: 95%;
    padding: 10px;
    margin-bottom: 10px;
  }
  #cont_infologo2 {
    padding-top: 20px;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
  }
  #cont_infologo2 figure {
    max-width: 95%;
  }
  #cont_infologo2 article {
    max-width: 95%;
    padding: 10px;
    margin-bottom: 10px;
  }
  nav {
    position: relative;
    top: 0;
    right: 0;
  }
  nav ul {
    display: block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    overflow: hidden;
    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 ul li a {
    color: white;
  }
  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: 896px) {
  #cont_negro .servicioslogo {
    max-width: 100%;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #cont_negro .servicioslogo .elementos {
    padding: 20px;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 15px;
  }
  #cont_negro h3 {
    font-size: 20px;
    padding: 20px 5px;
  }
  #linea_blanca {
    top: 140px;
  }
  #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: 100%;
  }
}
@media screen and (max-width: 840px) {
  #linea_blanca {
    top: 130px;
  }
  #calltoaction article {
    max-width: 240px;
  }
  #calltoaction h1 {
    font-size: 20px;
  }
  #informacion {
    padding-top: 200px;
  }
  #teclado #iconos {
    display: none;
  }
  #elementos_formulario #foto_contactanos {
    max-width: 350px;
    object-fit: cover;
  }
  #beneficios {
    flex-direction: column-reverse;
    justify-content: space-around;
    align-items: center;
  }

  #beneficios figure {
    max-width: 500px;
  }
  #beneficios article {
    max-width: 95%;
  }
  #beneficios article h2 {
    line-height: 30px;
  }
}
@media screen and (max-width: 768px) {
  #linea_blanca {
    top: 215px;
    left: 0%;
  }
  #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%;
  }
  #elementos_formulario select,
  #elementos_formulario textarea,
  #elementos_formulario button {
    width: 100%;
    font-size: 16px;
  }
  #elementos_formulario button {
    border: 0px;
  }
  #elementos_formulario input {
    width: 100%;
    font-size: 16px;
  }
  #info_capacitacion article {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
  .cont_infocursos h2 {
    text-align: center;
  }
}
@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;
  }
  #cont_negro h3 {
    font-size: 18px;
  }
}
@media screen and (max-width: 600px) {
  #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: row;
    max-width: 100%;
  }
  .ventajas .elementos {
    width: 100%;
  }
  .ventajas .elementos h2 {
    text-align: center;
  }
  .ventajas .elementos p {
    padding: 10px 0px 10px 0px;
  }
  .ventajas .elementos img {
    margin: auto;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 480px) {
  .informacion_diseno figure {
    width: 95%;
    margin-right: 0px;
  }
  nav ul {
    background-color: rgba(0, 0, 0, 0.8);
  }
  #linea_blanca {
    top: 370px;
    height: 5px;
    background-color: var(--rojo);
    left: 0%;
  }
  #cont_cabecera2 {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  }
  #cont_titulos {
    margin-top: 90px;
  }
  #cont_cabecera2 figure {
    max-width: 180px;
  }
  .btn_blanco {
    margin-left: 20px;
  }
  footer {
    margin-top: 0px !important;
    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;
  }
  .btn-menu {
    font-size: 14px;
    width: 40px;
    margin: 0 auto;
    padding: 0;
  }
  #cont_portafolio {
    padding: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  #cont_portafolio figure {
    width: 90%;
  }
  .ventajas {
    flex-direction: column;
    max-width: 100%;
  }
  .ventajas .elementos {
    width: 100%;
  }
  .cont_infocursos h2 {
    font-size: 22px;
  }
  .menu_proyectos ul .todos {
    display: none;
  }
}
@media screen and (max-width: 375px) {
  #cont_cabecera2 figure {
    width: 150px;
  }
  #linea_blanca {
    top: 310px;
  }
  #cont_rojo h3 {
    padding-top: 50px;
    font-size: 40px;
    line-height: 45px;
  }
  #cont_areas article figure {
    left: 115px;
  }
  .btn_blanco {
    padding: 12px 25px;
    margin-top: 15px;
  }
  header {
    height: 600px;
  }
}
@media screen and (max-width: 350px) {
  #cont_titulos {
    margin-top: 80px;
  }
  #linea_blanca {
    top: 270px;
  }
  #cont_rojo h3 {
    padding-top: 20px;
    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;
  }
  .informacion_diseno figure {
    width: 95%;
    margin-right: 0px;
  }
}
