:root {
    --bs-danger: #c62c1b;
    font-size: 12px;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.f-regular {
    font-weight: 400;
}

.f-extra-bold {
    font-weight: 800;
}



/* Ajuste del navbar sobre el carrusel */
.navbar {
    /* font-size: clamp(12px, 1.2rem, 15px); */
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 0 10vw;

}

.present * {
    color: inherit;
}



.btn-danger {
    background-color: #c62c1b;
}

.text-danger * {
    color: #c62c1b !important;
}


/* Estilos del logo */
.logo {
    width: auto;
    height: 10px;
}

/* Ajuste de tamaño responsive para los iconos de contacto */
.icono {
    width: auto;
    height: 3rem;
}

.separate-li {
    color: #bbb;
    height: 100%;
    font-size: 20px;
}

/* Ajuste de tamaño responsive para las redes sociales */
.redes {
    width: auto;
    height: 2rem;
}

/* Ajuste de tamaño responsive para las redes sociales */
.redes-footer {
    width: auto;
    height: 2rem;
}

/* Navbar */
.navbar-brand img {
    height: 80px;
}

/* LETRAS CARRUSEL */
.carousel-caption {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: start;
    top: 0;
    left: 10%;
}

.carousel-caption h1 {
    font-size: 2rem;
    padding: .5rem 0;
    margin: 0;
}


.carousel-caption h3 {
    margin: .5rem 0;
}

/* .carousel-caption h3 b {
    font-size: inherit;
} */

.carousel-caption button {
    width: fit-content;
    border-radius: 0;
    margin-top: 2rem;
}

.w-40 {
    width: 40vw;
}

.p-5rem {
    padding-right: 5rem !important;
}

.pt-5 {
    padding-top: 5rem;
}



.box-shadow {
    box-shadow: #aaa 3px 7px 8px;
}


/* .b-texto .row .h-40 {} */

.offcanvas-backdrop.show {
    border-radius: 0;
}

.offcanvas.offcanvas-bottom {
    height: 80%;
    bottom: 0;
    border-radius: 0;
    margin: 3rem 1rem 3rem 1rem;
}

.offcanvas.offcanvas-start {
    width: 90%;
    height: 70%;
    margin: auto 5%;
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    border-radius: 0;
}

.offcanvas-body * {
    border-radius: 0;
    list-style: none !important;
    text-align: start;
}

.form-label {
    color: #fff;
}

.present div {
    border-radius: 2rem;
    border: 0;
    text-align: start;
}

.present div .card {
    box-shadow: #ddd 0px 5px 8px;
    color: #c62c1b;
    transition: .5s;
}

.present div .card:hover {
    color: #fff;
    background-color: #c62c1b;
}

.present div .card:hover .check-icon,
.present div .card:hover .check-icono {
    filter: brightness(0%) invert(100%);
}

/* 
.present div .card:hover .check-icono {
    filter: brightness(0%) invert(100%);
} */


.card-margen {
    margin: 0;
}

.position-fixed {
    right: 2rem;
}

.btn-outline-danger:hover {
    background-color: #c62c1b;
}

.maximus {
    height: 400vh;
    background: #333;
}

/* .div-box {
    position: absolute;
    top: 10vh;
    width: 100%;
    z-index: 1;
    padding: 0 10vw;
    height: fit-content;

} */

.div-boxis .nav-link {
    background: #000;
    padding: 1.5rem !important;
    color: #fff;

    display: list-item;
}


.menu a.active {
    background-color: #c62c1b !important;
    color: white !important;
    transition: .3s;
    box-shadow: #111 1px 1px 2px;
}

.div-boxis.fixed-top {
    padding: 0 !important;
}

.div-box .nav li a {
    background: #333;
    border-radius: 0;
    color: #fff;
}

.div-box .nav li .active {
    background: #c62c1b;
    box-shadow: #333f 10px 2px 8px;
}

.carousel-control-next,
.carousel-control-prev {
    width: 7%;
}

carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

.nav-link.active {
    background-color: #c62c1b !important;
    /* Fondo rojo */
    color: white !important;
    /* Texto blanco */
}

.nav-pills .nav-link {
    border-radius: 0;
}

.slide {
    top: 0vw;
}

.carrusel-clientes {
    height: auto;
}

.img-nosotros {
    width: 50%;
    right: 0px;
    background-color: #0000;
}

.text-black span {
    color: #c62c1b;
}

.persona::before {
    background-image: url(image/img/bg-image.jpg);
    height: 110%;
}

.carta {
    border: 0;
    border-radius: 2rem;
    box-shadow: -10px 10px 10px #c6c6c6ff;
}

/* .carta p {
    font-size: 12px;
} */

.check {
    width: 1rem;
    height: 1rem;
}

.check2 {
    width: 4rem;
}

/* .valores .row{
    max-height: 50vh;

} */


.x {
    height: 100vh;
}

.contact-box ul {
    position: relative;
    right: 70%;
    width: max-content;
    box-shadow: #777 4px 0px 8px;
}


/* TOP */
.form-control {
    background-color: #222;
    color: white;
    border: 1px solid #555;
}

.form-control::placeholder {
    color: #bbb;
}

.form-control:focus {
    background-color: #333;
    color: white;
    border-color: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-light {
    background-color: white;
    color: black;
    font-weight: bold;
}

.btn-light:hover {
    background-color: #ddd;
}

.contacto .container {
    width: 100%;
    background-color: #0000;
}

.contacto .container div {
    background-color: #000;
    width: 100%;

}




.contacto .container div {
    background: #0000;
}

.contacto .col-md-6 {
    background-color: #000;
    padding: 2rem;
}


.card-presentation .col .card {
    background-color: #c62c1b;
}

.card-presentation {
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.card-presentation * {
    border-radius: 2rem;
    text-align: center;
}

.card-img-top {
    border-radius: 2rem 2rem 0 0 !important;
}

.services {
    background: #fff;
}

.img-fluid {
    object-fit: cover;
}

/* .card {
    width: 100%;
    background-color: #fff;
    color: white;
    border: 1px solid #444;
    text-align: center;
} */

.check-icon {
    width: 1.5rem;
    /* Ajusta el tamaño del icono */
    height: auto;
}

.check-icono {
    width: 100%;
    /* Ajusta el tamaño del icono */
    height: auto;
}

.text-danger {
    color: #c62c1b !important;
}

.footer {
    background-color: #000;
}

/* .caos {
    width: 100%;
    height: 400%;
    background-color: #f00;
} */
.carousel-inner .carousel-item {
    height: fit-content;
}

.bg-button {
    height: .5rem !important;
    width: .5rem !important;
    background-color: #fff0 !important;
    border: .15rem solid #fff !important;
    border-radius: 50% !important;
}

.bg-button.active {
    background-color: #fff !important;
}

.off-img .carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 0;

}

.off-img {
    border: 1px solid #333;
    padding: 3px;
    border-radius: 0;
}

* {
    text-align: justify;
}

b,
span {
    font-size: inherit;
}

/* Tamaño responsivo para títulos */
h1 {
    font-size: 4rem;
    text-align: inherit;
    /* Mayor en 4K */
}

h2 {
    font-size: 3rem;
    text-align: inherit;
}

h3 {
    font-size: 2rem;
    text-align: inherit;
}

h4 {
    font-size: 1.7rem;
    text-align: inherit;
}


h5 {
    font-size: 16px;
    text-align: inherit;
}

h6 {
    font-size: 1rem;
    text-align: inherit;
}

a {
    font-size: 1rem;
}

/* Tamaño responsivo para párrafos */
p {
    font-size: 1rem;
    /* Texto más grande en 4K */
    text-align: justify;
}


/* .height-20 {
            height: 20%;
        }

        .height-60 {
            height: 60%;
        } */

.contacto {
    /* padding: 0;
            background-color: #fff; */
    background-image: url(image/img/bg-image.jpg);
    /* Ruta de la imagen */
    background-size: cover;
    /* Ajusta la imagen */
    background-position: center;
    /* Posiciona la imagen */
    background-repeat: no-repeat;
    /* Evita repeticiones */
}

.bg-contact {
    background: transparent !important;
}

@media (max-width:600px) {


    .fz-4 {
        font-size: 1.2rem !important;
        line-height: 1.2rem !important;
    }

    .text-sm-center {
        text-align: center;
        align-items: center;
    }

    .txt-center {
        text-align: center !important;
        justify-content: center;
        width: 100% !important;

    }

    .btn-header h4 {
        font-size: 1.2rem;
    }

    .h4-cel {
        font-size: 1.7rem;
    }

    .box-white div .text-nowrap {
        inline-size: .2rem;
    }

    .vh-75 {
        height: 50vh;
        width: auto;
        /* object-fit: cover; */
    }


}

@media (min-width:768px) {
    .carousel-item {
        height: 100vh;
    }


    .carousel-caption {
        bottom: 10vh;
        width: 50vw;
    }

    ul {
        list-style: none !important;
    }
}

.h-40 {
    min-height: 40vh;
    height: max-content;
}

@media (min-width:1024px) {

    .p-lg-10 {
        padding: 5rem 10rem !important;

    }

    .contacto {
        /* padding: 0;
        background-color: #fff; */
        background-image: none;
        /* Ruta de la imagen */

    }

    .bg-contact {
        background: #000 !important;
    }

    .fz-4 b {
        font-size: 1.8rem !important;
    }

    .h-40 {
        position: relative;
        bottom: 22vh;
    }

    .main {
        /* padding: 0;
        background-color: #fff; */
        background-image: url('image/img/3840-f.jpg');
        /* Ruta de la imagen */
        background-size: contain;
        /* Ajusta la imagen */
        background-position-x: center;
        background-position-y: 100%;
        /* Posiciona la imagen */
        background-repeat: no-repeat;
        /* Evita repeticiones */
    }


    .contacto div .col-lg-8 {
        margin-left: 10%;
    }



    .box-white div h3 b {
        font-size: 1.7rem !important;
    }

    .box-white div p {
        font-size: 16px !important;
    }


    .offcanvas.offcanvas-start {
        width: 60%;
        height: 70%;
        margin: auto 20%;
        border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
        border-radius: 0;
    }

    .contact-box ul {
        right: 100%;
    }

}

#carouselClientes .carousel-inner {
    padding: 0 7%;
}

.bg-lg-black {
    background: #000 !important;
    margin-right: 5rem;
}


.carousel-caption {
    bottom: 25vh;
    width: 50vw;
}

.contacto div .col-lg-9 {
    background: #000;
}

.contacto div .container-fluid {
    padding: 3rem;
}


@media (min-width:1366px) {
    /* .main {
                background-position-y: 133.5%;
                /* Posiciona la imagen 
            } */
}

@media (min-width:1600px) {
    .main {
        background-image: url('image/img/bg-1980px.jpg');
    }

    .h2-ordenador {
        font-size: 3rem;
        text-align: inherit;
    }

    /* .box-white{
        gap: 3rem 7rem !important;
    } */

    /* .box-white div {
        background-color: #77a;
    } */
    .box-white div h3 b {
        font-size: 1.7rem !important;
    }

    .box-white div p {
        font-size: 16px !important;
    }

    .offcanvas.offcanvas-start {
        width: 60%;
        height: 70%;
        margin: auto 20%;
        border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
        border-radius: 0;
    }

    .offcanvas-body div h4 {
        font-size: 2.3rem;
    }

    .offcanvas-body div p {
        font-size: 1.7rem;
    }

    .contact-box ul {
        right: 35%;
    }
}

a {
    text-decoration: none;
}

.fz-4 b {
    font-size: 1.2rem !important;
    line-height: 1.5rem !important;
}

#thank-you-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background-color: #e6ffe6;
    color: #0f5132;
    padding: 2rem 3rem;
    border: 2px solid #198754;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 1.2rem;
    text-align: center;
    animation: fadeInScale 0.4s ease-in-out;
}

.icon-check {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
