@media screen and (max-width: 789px) {
    main{
        margin-top: 135px; 
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    #mrkpubhome{
        width: 95%;
        height:auto;
        margin-top: 15px;
        margin-left: 7px;
    }
    figcaption {
        width: 95%;
        font-size: 12px;
        margin-left: 7px;
      }
    .contenedor{
        width: 80%;
        height: auto;
    }
    .head{
        margin-left: 5px;
    }
    
    
    /* nuevos contenedores*/
    .content-demo{
        margin-top: 20px;
        margin-left: 15px;
        width: 75%;
        color: #fff;
        height: auto;
        background-image: linear-gradient(135deg, #fff 0, #fff 100%);
        padding: 0.3em 0.3em 0.3em 0.3em;
        border-radius: 5px;
    }
    .demo-subtitle{
     font-size: 24px;
     letter-spacing: 0.3px;
     margin-bottom: 15px;
    }
    .demo-content-subtitle{
        font-size: 12px;
        margin-top: -15px;
        margin-bottom: 10px;
    }
    .btn-Demo{
        width: 100%;
        height: auto;
        display: block;
        padding: 10px 15px;
        font-size: 12px;
        margin-top: 10px;
    }
    /* Lo nuevo de mark*/
    .content{
        width: 80%;
    }
    .mark{
        height: auto;
    }
    .somos, .mision, .vision, .valores{
        width: 80%;
        height: auto;
        display: block;
        font-size: 8px;
        margin-top: 8px;
    }
    .somos-text, .mision-text, .vision-text, .valores-text {
        font-size: 10px;
    }
    .title-somos, .title-mision, .title-vision, .title-valores{
        font-size: 18px;
    }
    .mark1{
        width: 95%;
        height: 960px;
        font-size: 8px;
        margin-top: 10px;
        margin-left: 10px;
    }
    
    .software-mark{
        display: block;
        height: 880px;
        max-width: 100%;
    }
    .title-ti{
        font-size: 24px;
    }
    .text-mark1{
        font-size: 10px;
    }
    .mark2{
        width: 95%;
        height: 880px;
        margin-left: 10px;
    }
    
    .cat-computadoras{
        color: #040780;
        margin-top: 20px;
        height: 220px;
        padding: 0.5em 0.5em 0.5em 0.8em;
        font: sans-serif;
        width:50%;
    }
    .tit-mark2{
        text-align: left;
        color: #f5900b;
        padding: 0.5em 0.5em 0.5em 0.8em;
        font: sans-serif;
        font-size: 14px;
        display: flex;
    }
    .txt-mark2{
        color: #03115e;
        display: block;
        float: left;
        text-align: justify;
        margin-left: 10px;
        margin-right: 15px;
        font: sans-serif;
        font-size: 8px;
    }
    .iasepc{
        display: block;
        box-shadow: 0 0 3px #313331;
        border-radius: 5px;
        width: 80%;
        height: 90px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .compu-mrk{
        margin-left: 40px;
    }
    .cat-celulares{
        color: #040780;
        height: 220px;
        margin-top: -220px;
        vertical-align: baseline;
        float: right;
        padding: 0.5em 0.5em 0.5em 0.8em;
        font: sans-serif;
        width: 47%;
    }
    .iasecel{
        width: 80%;
        height: 95px;
        display: block;
        box-shadow: 0 0 3px #313331;
        border-radius: 5px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .celular-mrk, .camseg-mrk, .accrep-mrk{
        margin-left: 40px;
    }
    .cat-camseguridad{
        color: #040780;
        height: 220px;
        padding: 0.5em 0.5em 0.5em 0.8em;
        font: sans-serif;
        width: 51%;
        margin-top: 30px;
    }
    .iasecam{
        width: 80%;
        height: 100px;
        display: flex;
        box-shadow: 0 0 5px #313331;
        border-radius: 5px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .cat-accesorios{
        color: #040780;
        margin-top: -220px;
        height: 220px;
        padding: 0.5em 0.5em 0.5em 0.8em;
        font: sans-serif;
        width: 47%;
        float: right;
    }
    .iaseacc{
        width: 80%;
        height: 90px;
        display: flex;
        box-shadow: 0 0 5px #313331;
        border-radius: 5px;
        margin-bottom: 15px;
        margin-top: 10px;
    }
    
    .subtitle-pc{
        display: none;
        position: absolute;
        margin-top: 80px;
        font-size: 20px;
        margin-left: 15px;
    }
    .contact-pc{
        width: 80%;
        height: 100px;
        position:absolute;
        font-size: 12px;
        font: sans-serif;
        margin-top: 120px;
        color: #03115e;
        margin-left: 15px;
        font-weight: bold;
    }
    #mensajepc, #emailpc{
        width: 80%;
        border-radius: 5px;
        font-size: 12px;
        padding: 0.1em 0.1em 0.1em 0.1em;
    }
    #mensajepc{
        height: 50px;
    }
    .mensaje-pc{
        margin-left: 20px;
        width: 100%;
        display:none;
        flex-direction: column;
        margin-bottom: 10px;
        margin-top: -10px;
    }
    .correo-pc{
        position: absolute;
        margin-left: 20px;
        width: 100%;
        position: absolute;
        display: none;
        flex-direction: column;
    }
    #sendmail:focus{
        cursor: pointer;
    }
    .mrk-info{
        background-color: #03115e;
        color: #ffff;
        font-size: 12px;
        text-decoration: none;
        padding: 0.5em 0.8em;
        height: auto;
        border-radius: 7px;
        display: none;
    }
    
    .mark3{
        width: 95%;
        height: 800px;
        margin-top: 10px;
        margin-left: 10px;
    }
    .red-social{
        display: none;
    }
}
@media screen and (max-width: 480px){
    main{
        margin-top: 110px;
    }
    .software-mark{
        display: block;
        height: 880px;
        max-width: 100%;
    }
    .title-ti{
        font-size: 18px;
    }
    .title-serv{
        font-size: 18px;
    }
    .text-mark1{
        font-size: 10px;
    }
    .mark2{
        width: 95%;
        height: 880px;
        margin-left: 10px;
    }
    .mark3{
        width: 95%;
        height: 800px;
        margin-top: 10px;
        margin-left: 10px;
    }
    .red-social{
        display: none;
    }
    .text-mark2{
        box-shadow: 1px 2px 1px 2px #3f0858;
        text-align: justify;
        color: #3f0858;
        border-radius: 5px;
        margin-left: 90px;
        position: absolute;
        margin-top: -160px;
        width: 45%;
    }
    .text-mark3{
        text-align: center;
        box-shadow: 1px 2px 1px 2px #199b08;
        color: #3f0858;
        border-radius: 5px;
        margin-left: 90px;
        position: absolute;
        margin-top: 35px;
        width: 45%;
    }
    .text-mark4{
        text-align: center;
        box-shadow: 1px 2px 1px 2px #03115e;
        color: #03115e;
        border-radius: 5px;
        margin-left: 90px;
        position: absolute;
        margin-top: 151px;
        width: 45%;
    }
    .text-mark5{
        box-shadow: 1px 2px 1px 2px #f77a05;
        text-align: center;
        color: #3f0858;
        border-radius: 5px;
        margin-left: 90px;
        position: absolute;
        margin-top: 282px;
        width: 45%;
    }
    .text-mark6{
        box-shadow: 1px 2px 1px 2px #1f090f;
        text-align: center;
        color: #1f090f;
        border-radius: 5px;
        margin-left: 90px;
        position: absolute;
        margin-top: 400px;
        width: 45%;
    }
}