@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700;900&display=swap');
:root {
    --green-color: #262262;
    --white-color: white;
    --black-opa-color: #353536ad;
    /* tipografia */
    --normal-font: 26px;
    --title-font: 50px;
    --font-bold: 900;
    /* espaciado */
    --space: 10px;
    --double-space: 10px;
    /* box shadow */
    --box-shadow: 2px 2px 8px #0000003b;
    --box-shadow-hover: 2px 2px 16px #0000003b;
}

body {
    font-weight: 400;
}

.float-up {
    position: relative;
    z-index: 10;
}

.logo_cleanfer {
    height: 80px;
}

.nav-item:hover {
    background-color: var(--green-color);
    color: var(--white-color);
    border-radius: 5px;
}

.navbar-light .navbar-nav:focus .nav-link,
.navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

.main_header_background_overlay {
    background: url("../img/oficina-limpia-trabajo-cleanfer-servicio-limpieza-empresas-negocios-industrias-clinicas-laboratorios.png");
    background-repeat: no-repeat;
    background-position: center center;
    padding: 2% 15%;
}

.btn-group-lg>.btn,
.btn-lg {
    margin: auto;
}

h1 {
    color: var(--green-color);
    font-size: var(--title-font);
    font-weight: var(--font-bold);
}

.main_header_img {
    height: 100%;
}

.main_content {
    height: 300px;
    width: 100%;
}

.main_content_button {
    text-decoration: none;
    background-color: var(--green-color);
    cursor: pointer;
    color: white;
    width: 500px;
    padding: 20px 0px;
    font-weight: bold;
    border-radius: 25px;
    border: solid var(--white-color);
}

.carousel-caption {
    top: 10%;
    right: 0% !important;
    width: 70%;
}

.main_content_button:hover {
    background-color: #4b478b;
}

.main_content {
    align-items: center;
    justify-content: center;
    display: flex;
    background-image: url("../img/oficina-limpia-trabajo-cleanfer-servicio-limpieza-empresas-negocios-industrias-clinicas-laboratorios.png");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

.header_title {
    margin-top: 0px;
    margin-bottom: 10px;
}

.main_content_front {
    display: flex;
    align-items: center;
    width: 100%;
}

.main_content_front_text {
    padding: 5% 10%;
}

.main_content_front_text h3 {
    margin-bottom: 5%;
    font-weight: 400;
}

.main_content_front_image img {
    width: 100%;
}

.main_content_image {
    padding: var(--space) 0px;
    width: 80%;
    background-size: cover;
}

.video_content {
    align-items: center;
    justify-content: center;
    display: flex;
}

.iframe_video {
    display: block;
    margin: auto;
    height: 400px;
    width: 100%;
}

.main_video h1 {
    padding: 0% 60px;
}

.video_content_video {
    padding-left: 5%;
    width: 80%;
}

.video_content_text {
    padding: 0px 5%;
}

.main_servicios {
    padding: 0px 5%;
}

.main_servicios h2 {
    margin: 0px;
}

.servicios_content_card {
    justify-content: center;
    text-align: center;
    width: 25%;
    margin: 2%;
    padding: 4%;
    border-radius: 10px;
}

.servicios_content_card:hover {
    box-shadow: var(--box-shadow-hover);
}

.servicios_content_card h2,
h3,
a {
    text-align: left;
    font-size: 18px;
    margin: 3% 0%;
}

.servicios_content_card h3 {
    font-weight: normal;
}

.servicios_content {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.servicios_content_card_link {
    color: var(--green-color);
    text-decoration: none;
    text-align: left;
    font-size: 18px;
    background-color: var(--black-opa-color);
}

.servicios_content_card_link:hover {
    text-decoration: none;
}

.servicios_content_card_img {
    padding: 10px;
}

.test {
    width: 100%;
}

.main_clientes {
    padding: 0px 5%;
}

.clientes_content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.clientes_content img {
    width: 100%;
    margin: 10px;
}

footer {
    background-color: var(--black-opa-color);
    width: 100%;
    padding: 60px 0px;
}

#map {
    width: 100%;
    height: 400px;
    background-color: grey;
}

.mapa_full {
    width: 100%;
    margin: 40px auto;
}

.mapa_half {
    width: 100%;
}

footer h2 {
    color: var(--green-color);
    font-size: var(--normal-font);
    font-weight: var(--font-bold);
}

footer h3 {
    font-weight: 400;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.btn-secondary {
    font-size: 20px;
    font-weight: 300;
    line-height: 20px;
    margin: 40px;
    padding: 20px 50px;
    height: 65px;
    border: none;
    background: #4b478b;
    transition: all 0.4s;
    color: white;
    border-radius: 4px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open>.dropdown-toggle.btn-secondary {
    background: #4b478b;
    color: white;
    text-decoration: none;
}

.card {
    margin: 10px;
}

.contact_icons img {
    width: 50px;
    margin-right: 10px;
    margin-top: 10px;
}

.float {
    position: fixed;
    width: 15%;
    height: 10%;
    bottom: 100px;
    right: 20px;
    border-radius: 10px;
    text-align: center;
    color: black;
    text-decoration: none;
}

.my-float {
    margin-top: 22px;
    vertical-align: middle;
    flex: auto;
}

.button_style {
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    width: 100%;
}

.tarjetas_content .col-md-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.card-title a {
    padding: 0px 20px;
}

.card-body {
    padding: 0px 1.25rem 1.25rem !important;
}

.card_especial {
    background-color: var(--green-color);
    color: white;
    border: none !important;
    box-shadow: var(--box-shadow-hover);
}

.card_especial h4 {
    margin: 10px auto;
}

.carousel-item {
    height: 600px;
}

.main_title {
    max-width: 50%;
}

.main_title_img {
    max-width: 100%;
    margin: 0px 0px 0px 300px;
}

.modal-dialog,
.modal-content {
    max-width: 700px;
    width: 700px;
}

.iframe_form {
    width: 640px;
    height: 1273px
}

.subtitle_content {
    width: 500px;
}


/* ////////////////////////////////////////////////////////////////////////////////// */

@media (max-width: 1200px) {
    .card_especial img {
        height: 100% !important;
    }
    .main_title_img {
        margin: 0px 0px 0px 150px;
    }
    .iframe_form {
        width: 100%;
    }
    .main_content_button,
    .subtitle_content {
        width: 400px;
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 36px;
    }
    .iframe_form {
        width: 100%;
    }
    .modal-dialog,
    .modal-content {
        max-width: 600px;
        width: 98%;
    }
    .carousel-caption {
        right: 15%;
    }
    .carousel-item {
        height: 400px;
    }
    .main_title_img {
        display: none;
    }
    .main_title {
        max-width: 80%;
        text-align: center !important;
    }
    .main_content_button,
    .subtitle_content {
        width: 100%;
    }
    .iframe_video {
        display: block;
        margin: auto;
        height: 300px;
        width: 100%;
    }
    .clientes_content img {
        width: 160px;
        margin: 10px;
    }
    .float {
        width: 20%;
        bottom: 40px;
        right: 40px;
    }
    .button_style {
        background-color: white;
        box-shadow: var(--box-shadow);
        border-radius: 10px;
        width: 100%;
        font-size: 14px;
        padding: 5px 10px;
    }
    .servicios_content_card h2,
    h3,
    a {
        font-size: 14px;
    }
    .card-text {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 36px;
    }
    .iframe_form {
        width: 100%;
    }
    .modal-dialog,
    .modal-content {
        max-width: 400px;
        width: 98%;
    }
    .iframe_video {
        display: block;
        margin: auto;
        height: 200px;
        width: 100%;
    }
    .servicios_content_card h2,
    h3,
    a {
        font-size: 14px;
    }
    .clientes_content img {
        width: 160px;
        margin: 10px;
    }
    .float {
        width: 25%;
        bottom: 80px;
        right: 40px;
        border-radius: 4px;
    }
    .clientes_content img {
        width: 50%;
        margin: 10px;
    }
}