@media screen and (max-width: 768px) {
    #header-nav {
        position: sticky;
    }
    #header-nav > div:nth-child(1)  > a > img  {
        width: 100%;
        height: auto;
    }
    #header-nav > div:nth-child(2)  > a > img {
        width: 50px;
        height: auto;
    }
    #seccion-1 {
        width: 100%;
        flex-direction: column;
    }
    #seccion-1 > div:nth-child(1) {
        flex: 100%;
        margin-right: 0;
    }
    #seccion-1 > div:nth-child(2) {
        flex: 100%;
        margin-left: 0;
    } 
    #seccion-1 > div > h1 {
        margin-top: 5%;
        font-size: 30px;
        text-shadow: 2px 2px 4px var(--color-grey-ulight);
    }
    #main-secc-servicios {
        background: unset;
        background-repeat: unset;
        background-size: unset;
        background-position: unset;
    }
    /*------------ secc 2 ----------------*/
    #seccion-2 {
        display: none;
        width: 100%;
    }
    #seccion-2 > div:nth-child(1) {
        flex-direction: column;
        gap: 1%;
        flex: 100%;
    }
    #seccion-2 > div:nth-child(2) {
        flex-direction: column;
        gap: 1%;
        flex: 100%
    }
    #seccion-2 > div:nth-child(1) > div:nth-child(1) > h2:nth-of-type(1) {
        font-size: 20px;
    }
    #seccion-2 > div:nth-child(1) > div:nth-child(2) > h2:nth-of-type(1) {
        font-size: 20px;
    }
    #seccion-2 > div:nth-child(2) > div:nth-child(1) > h2:nth-of-type(1) {
        font-size: 20px;
    }
    #seccion-2 > div:nth-child(2) > div:nth-child(2) > h2:nth-of-type(1) {
        font-size: 20px;
    }


    .secc2_info_content_1 {
        background: unset;
        background-size: unset;
        background-repeat: unset;
        background-position: unset;
    }   
    .secc2_info_content_2 {
        background: unset;
        background-size: unset;
        background-repeat: unset;
        background-position: unset;
    }
    .secc2_info_content_3 {
        background: unset;
        background-size: unset;
        background-repeat: unset;
        background-position: unset;
    }
    .secc2_info_content_4 {
        background: unset;
        background-size: unset;
        background-repeat: unset;
        background-position: unset;
    }

    /*------- secc 2 mobile ------*/
    #seccion-2-mobile {
        display: block;
        width: 90%;
        margin-top: 10%;
        margin-bottom: 2%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
    }
    #seccion-2-mobile > div:nth-of-type(1) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5%;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-of-type(1) > h2 {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-of-type(1) > img {
        width: 60px;
        height: auto;
    }

    
    #seccion-2-mobile > div:nth-of-type(3) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5%;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-of-type(3) > h2 {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-of-type(3) > img {
        width: 60px;
        height: auto;
    }


    #seccion-2-mobile > div:nth-of-type(5) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5%;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-of-type(5) > h2 {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-of-type(5) > img {
        width: 60px;
        height: auto;
    }

    #seccion-2-mobile > div:nth-of-type(7) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5%;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-of-type(7) > h2 {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-of-type(7) > img {
        width: 60px;
        height: auto;
    }

    


    .secc2_info_content_mobile {
        margin-top: 2%;
        border: solid 2px var(--color-blue);
        border-radius: 12px;
        width: 100%;
    }
    .secc2_info_content_mobile h1 {
        margin-top: 3%;
        margin-left: 20%;
        margin-bottom: 2%;
        color: var(--color-blue);
    }
    .secc2_info_content_mobile ul {
        list-style: none;
        margin-left: 5%;
        margin-right: 2%;
        margin-top: 5%;
        margin-bottom: 5%;
        line-height: 25px;
    }
    .secc2_info_content_mobile ul li {
        font-size: 16px;
        font-weight: 400;
        color: var(--color-blue);
    }
    .secc2_info_content_1_mobile {
        background: url('../img/Vehiculares-mobil.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
    }   
    .secc2_info_content_2_mobile {
        background: url('../img/CFE-mobil.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
    }
    .secc2_info_content_3_mobile {
        background: url('../img/Inmuebles-mobil.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
    }
    .secc2_info_content_4_mobile {
        background: url('../img/ProteccCivil-mobil.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
    }   
    

    /*
    #seccion-2-mobile > div:nth-child(2) {
        display: flex;
        flex-direction: row;
        justify-content:space-between;
        align-items: center;
        gap: 5%;
        flex: 50%
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(1) {
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(2) {
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-child(1) > div {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        align-items: center;
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(1) > img:nth-of-type(1) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(1) > h2:nth-of-type(1) {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 22px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(1) > img:nth-of-type(2) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(2) > img:nth-of-type(1) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(2) > h2:nth-of-type(1) {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 22px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-child(1) > div:nth-child(2) > img:nth-of-type(2) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }

    #seccion-2-mobile > div:nth-child(2) > div:nth-child(1) {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        align-items: center;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(1) > img:nth-of-type(1) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(1) > h2:nth-of-type(1) {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 22px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(1) > img:nth-of-type(2) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(2) {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        align-items: center;
        flex: 50%;
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(2) > img:nth-of-type(1) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(2) > h2:nth-of-type(1) {
        margin-left: 2%;
        flex: 90%;
        font-family: roboto-medium;
        font-size: 22px;
        font-weight: bold;
        color: var(--color-blue);
    }
    #seccion-2-mobile > div:nth-child(2) > div:nth-child(2) > img:nth-of-type(2) {
        flex: 5%;
        max-width: 100%;
        width: 60px;
        height: auto;
    } */


    /*------ secc 3 --------*/
    #seccion-3 {
        width: 98%;
    }
    #seccion-3 > div > h1 {
        font-size: 28px;
        margin-bottom: 5%;
    }
    #img-secc3-mobilesite {
        display: block;
    }
    #img-secc3-site {
        display: none;
    }
    /*------ secc 4 --------*/
    #seccion-4 {
        width: 95%;
    }
    #seccion-4 > div > h1 {
        font-size: 28px;
        text-shadow: 2px 2px 4px var(--color-grey-ulight);
    }
    #seccion-4 > div:nth-of-type(2) {
        flex-direction: column;
    }
    #seccion-4 > div:nth-of-type(2) > div > img {
        margin: 0 auto;
        display: block;
        text-align: center;
        width: 80%;
    }
    #seccion-4 > div:nth-of-type(2) > div > h3:nth-child(1) {
        margin-top: 5%;
        font-size: 18px;
    }
    #seccion-4 > div:nth-of-type(2) > div > h3 {
        font-size: 18px;
    }
    #seccion-4 > div:nth-of-type(3) {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-between;
        align-items: flex-start;
        gap: 1%;
    }
    #seccion-4 > div:nth-of-type(3) > div {
        flex: 45%;
    }
    #seccion-4 > div:nth-of-type(3) > div > img {
        width: 70%;
    }
    #seccion-4 > div:nth-of-type(3) > div > p {
        font-size: 14px;
    }
    /*------ secc 5 -------*/
    #seccion-5 {
        width: 95%;
        margin: 10% 2% 2% 2%;
    }
    #seccion-5 > div > h1 {
        font-size: 28px;
        text-shadow: 2px 2px 4px var(--color-grey-ulight);
    }
    #seccion-5 > div:nth-of-type(2) > form {
        width: 100%;
    }
    #seccion-5 > div:nth-of-type(2) > form > div {
        flex-direction: column;
    }
    input[type="text"] {
        padding: 10px;
        width: calc(100%-20px);
    }
    /*------ secc 6 -------*/
    #seccion-6 {
        width: 95%;
        margin: 10% 2% 2% 2%;
    }
    #seccion-6 > div > h1 {
        font-size: 22px !important;
    }
    #seccion-6 > div > div > img {
        width: 30px;
        height: auto;
    }
    #seccion-6 > div > div > h2 {
        font-size: 16px !important;
    }
    #seccion-6 > div:nth-child(2) {
        flex-direction: column;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(1) {
        flex: 100%;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(1) > img {
        vertical-align: middle;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(2) {
        flex: 100%;
        flex-direction: column;
        justify-content: unset;
        align-items: unset;
        margin: 0;
        padding: 0;
        gap: 1%;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(2) > div:nth-child(1) > img {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) {
        width: 100%;
        margin-right: 0;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > span:nth-of-type(1) {
        font-size: 24px;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > span {
        text-align: center;
        font-size: 18px;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) {
        flex: 100%;
        flex-direction: row;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) > div {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) > div > div {
        margin-bottom: 0;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) > div > div > span {
        font-size: 20px;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) > div > div:nth-child(2) {
        text-align: right;
    }
    #seccion-6 > div:nth-child(2) > div:nth-child(3) > div > div > img {
        width: 30%;
    }
    /*------ secc 7 -------*/
    #seccion-7 {
        width: 95%;
        margin: 10% 2% 5% 2%;
    }
    #seccion-7 > div > div:nth-of-type(1) > span {
        font-size: 18px;
    }
    #seccion-7 > div > div:nth-of-type(3) > img {
        height: 40px;
        width: auto;
    }

    .mySlides:nth-of-type(1) > a > button {
        font-size: 18px;
        padding: 10px 17px 10px 17px;
    }
    .mySlides:nth-of-type(2) > a > button {
        font-size: 18px;
        padding: 10px 17px 10px 17px;
    }
    .mySlides:nth-of-type(3) > a > button {
        font-size: 18px;
        padding: 10px 17px 10px 17px;
    }

    .mySlides:nth-of-type(2) > a > button {
        left: 75%;
    }
}