*{
    padding: 0;
    margin: 0;
}

body{
    font-family:Arial, Helvetica, sans-serif;
}

#header_1{
    display: flex;
    padding-inline: 15px;
    padding-block: 20px;
    align-items: center;
    justify-content: space-between;
}

#img_logo{
    width: 140px;
}

#btn_whatsapp{
    background-color: rgb(0, 148, 0);
    color: white;
    padding-block: 7px;
    padding-inline: 10px;
    border-radius: 15px;
}

.alink{
    color: white;
    text-decoration: none;
}

#menu_btn_movil{
    font-size: 35px;
    color: rgb(0, 148, 0);
}

#menu_movil{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-bottom: 15px;
    position: absolute;
    background-color: white;
    width: 96%;
}

#menu_movil a{
    text-decoration: none;
    color: rgb(7, 12, 128)
}

#banner_principal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-image:linear-gradient(rgba(0, 128, 19, 0.81), rgba(0, 128, 19, 0.81)), url(../img/servicios-generales.webp);
    background-position: center;
    background-size: cover;
    padding-top: 20%;
    padding-bottom: 5%;
    color: white;
}

#banner_principal h1{
    color: rgb(7, 12, 128);
    font-style: oblique;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.147);
}


.social{
    padding-top: 40px;
    display: flex;
    gap: 20px;
    font-size:1.2rem;
}

.social a{
    color: white;
}

.titulo{
    display: flex;
    color: rgb(7, 12, 128);
    font-style: italic;
    font-size: 1.6rem;
    padding-block: 10%;
    justify-content: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    padding-inline: 5%;
}

#t_servicios{
    background-image: url(../img/Servicios.webp);
    padding-top: 45px;
}

#t_contacto{
    background-image: url(../img/Contacto.webp);
    padding-top: 45px;
}

/* tarjetas de servicios */

#servicios{
    display: flex;
    flex-direction: column;
}

.tarjeta_servicio{
    display: flex;
    padding-block: 20px;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.img_izquierda{
    display: flex;
    height: 400px;
    width: 90%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.cont_serv_derecha{
    display: flex;
    flex-direction: column;
    background-color: rgba(252, 252, 252, 0.9);
    border-radius: 15px;
    padding: 7%;
    gap: 15px;
    margin-left: -80%;
    width: 80%;
    height: fit-content;
}

.img_derecha{
    display: flex;
    height: 400px;
    width: 90%;
    margin-left: 0%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.cont_serv_izquierda{
    display: flex;
    flex-direction: column;
    background-color: rgba(252, 252, 252, 0.9);
    border-radius: 15px;
    padding: 7%;
    gap: 15px;
    margin-right: -80%;
    width: 80%;
    height: fit-content;
    z-index: 2;
}

.serv_titulo{
    color: rgb(0, 148, 0);
    font-size: 1.4rem;
    font-weight: bold;
    font-style: italic;
}

.list_serv{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t_list_servicio{
    display: flex;
    color: rgb(7, 12, 128);
    gap: 1%;
    font-size: 0.9rem;
}

.list_sub_servicios{
    display: flex;
    gap: 3%;
}

.t_list_serv{
    color: rgb(0, 148, 0);
    display: flex;
}

.t_list_serv i{
    font-style: normal;
}

.btn_serv{
    display: flex;
    justify-content:space-around;
}

.btn_contactar{
    display: flex;
    gap: 8%;
    background-color: rgb(0, 148, 0);
    border-radius: 18px;
    padding-block: 10px;
    padding-inline: 18px;
    color: white;
    font-size: 0.8rem;
}

.btn_vermas{
    display: flex;
    gap: 8%;
    background-color: rgb(7, 12, 128);
    border-radius: 18px;
    padding-block: 10px;
    padding-inline: 18px;
    color: white;
    font-size: 0.8rem;
}

#tarjeta_servicio_2{
    background-image:linear-gradient(rgba(0, 128, 19, 0.81), rgba(0, 128, 19, 0.81)), url(../img/instalaciones-electricas.webp);
}

#tarjeta_servicio_4{
    background-image:linear-gradient(rgba(7, 12, 128, 0.80), rgba(7, 12, 128, 0.80)), url(../img/climatizacion.webp);
}

/* pie de página */
#contenedor_footer{
    background-color: rgb(7, 12, 128);
    display: flex;
    flex-direction: column;
    padding-block: 8%;
    justify-content: center;
    align-items: center;
}

/* formulario de contacto */
.formulario{
    padding-top: 25px;
    display: flex;
    background-color: rgb(0, 148, 0);
    padding: 20px;
    border-radius: 15px;
    margin: 15px;
}

#name, #msg{
    width: 94%;
}

#telefono{
    width: 43%;
}

#mail{
    width: 43%;
}

form ul li label{
    display:none;
}

.formulario form ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

form input, textarea{
    border-color: #ffffff;
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 7px;
}

input, textarea{
    color: rgb(166, 166, 166);
}

input::placeholder, textarea::placeholder{
    color: rgb(166, 166, 166);
}

form button{
    display: flex;
    padding: 7px;
    /* width: 40%; */
    border-radius: 10px;
    background-color: rgb(7, 12, 128);
    color: white;
    justify-content: center;
    border-width: 0px;
}

#btn_enviar:hover{
    cursor: pointer;
}

/* #menu_flotante{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    bottom: 40%;
    right: 0%;
    z-index: 2;
} */

#m_social{
    background-color: rgb(7, 12, 128);
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 38px;

    position: fixed;
    top: auto;
    bottom: 40%;
    right: 0%;
    z-index: 2;
}

.mflotante_icon{
    background-color: rgba(252, 252, 252, 0.9);
    border-radius: 250px;
    padding: 10px;
    width: 18px;
}

#mflotante_subir{
    display: none;
    justify-content: center;
    font-size: 2.2rem;
    color: rgb(7, 12, 128);
}

#mflotante_subir i{
    display: none;
    padding: 2px;
    border-radius: 250px;
    background-color: rgba(252, 252, 252, 0.9);
}

.subtitulo_centrado{
    color: rgb(7, 12, 128);
    text-align: center;
    padding-top: 5%;
    padding-inline: 5%;
}

.parrafo_centrado{
    color: rgb(166, 166, 166);
    text-align: center;
    padding-block: 20px;
    padding-inline: 5%;
    font-size: 1.1rem;
}

.contenedor{
    padding-inline: 5%;
    padding-block: 2%;
}


#banner_secundario h1{
    color: white;
    font-style: oblique;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.147);
    font-size: 1.2rem;
    text-align: center;
}

#banner_secundario p{
    text-align: center;
    padding-inline: 5%;
}

#banner_secundario{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-image:linear-gradient(rgb(7, 12, 128,0.81), rgb(7, 12, 128,0.81)) , url(../img/servicios-generales.webp);
    background-position: center;
    background-size: cover;
    padding-top: 20%;
    padding-bottom: 20%;
    color: white;
}

#presentacion_carmigsac{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-inline: 5%;
    padding-block: 5%;
    color: rgb(62, 62, 62);
}

#valores{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-inline: 5%;
    padding-bottom: 5%;
}

#valores h2{
    text-align: center;
    color: rgb(7, 12, 128);
}

#valores_contenedor{
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 15px;
    padding-inline: 5%;
}

.valor{
    color: rgb(27, 27, 27);
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(0, 148, 0);
    padding: 5px;
    text-align: center;
    border-radius: 15px;
    flex-direction: column;
    color: rgb(7, 12, 128);
}

.valor i{
    font-size: 1.6rem;
    color: rgb(0, 148, 0);
}

#mision_vision{
    display:flex;
    flex-direction: column;
    gap: 20px;
    padding-inline: 5%;
}

#mision_vision h2{
    color: rgb(7, 12, 128);
    text-align: center;
}

#mision_vision p{
    color: rgb(62, 62, 62);
    padding-block: 15px;
}

@media (width>800px) {

    #header_1{
        padding-inline: 5%;
    }

    #menu_desktop {
        display: flex!important;
        gap: 20px;
    }

    #menu_desktop a{
        text-decoration: none;
        color: rgb(27, 27, 27);
    }

    #menu_desktop a:hover{
        color: rgb(7, 12, 128) !important;
    }

    #menu_btn_movil{
        display: none!important;
    }

    #banner_principal p{
        font-size: 2rem;
    }

    #banner_principal h1{
        font-size: 3rem;
    }

    .social a{
        font-size: 1.5rem;
    }

    .titulo{
        font-size: 2.8rem;
    }

    #t_servicios, #t_contacto{
        padding-top: 100px;
    }

    .cont_serv_derecha{
        margin-left: -3%;
        width: 30%;
        padding: 3%;
    }

    .img_izquierda{
        width: 52%;
    }

    .cont_serv_izquierda{
        margin-right: -3%;
        width: 30%;
        padding: 3%;
    }

    .img_derecha{
        width: 52%;
    }

    #tarjeta_servicio_2, #tarjeta_servicio_4{
        justify-content: end;
    }


    #telefono{
        width: 44%;
    }

    #mail{
        width: 44%;
    }

    .section_col_2{
        display: grid;
        grid-template-columns: 50% 50%;
        align-items: center;
    }

    #valores_contenedor{
        display: grid;
        grid-template-columns: 33% 33% 33%;
        gap: 15px;
        padding-inline: 5%;
    }

    #banner_secundario h1{
        color: white;
        font-style: oblique;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.147);
        font-size: 2rem;
        text-align: center;
    }
    
    #banner_secundario p{
        text-align: center;
        font-size: 1.4rem;
        padding-inline: 5%;
    }

}