@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html{
    font-family: "Montserrat", sans-serif !important;
    background-color: #fff;
    width: 100% !important;
    overflow-x: hidden;
}

body{
    font-family: "Montserrat", sans-serif !important;
    width: 100% !important;
    overflow-x: hidden;
}

.bg-nav1{
    background-color: #C4772F;
    height: 40px;
}

.bg-nav2{
    background-color: #0F283F;
    margin-top: 40px;
    transition: margin-top 0.3s ease-in-out;
}

.link{
    text-decoration: none;
}

.active{
    font-weight: 600 !important;
}

/* Precarga de las imágenes mediante el uso de background-image */
#portada {
    position: relative;
    overflow: hidden;
    margin-top: 45px;
    padding: 70px 0;
    background-image: url('../img/b0.jpg'), url('../img/b1.jpg'), url('../img/b2.jpg'), 
                      url('../img/b3.jpg'), url('../img/b4.jpg'), url('../img/b5.jpg'), 
                      url('../img/b6.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: changeBackground 16s infinite;
    /* Agregar un delay en la animación para dar tiempo a que se carguen las imágenes */
    animation-delay: 1s; /* Ajusta el delay según sea necesario */
}

@keyframes changeBackground {
    0% { 
        background-image: url('../img/b0.jpg');
    }
    18% { 
        background-image: url('../img/b1.jpg');
    }
    36% { 
        background-image: url('../img/b2.jpg');
    }
    54% {
        background-image: url('../img/b3.jpg');
    }
    72% {
        background-image: url('../img/b4.jpg');
    }
    88% {
        background-image: url('../img/b5.jpg');
    }
    100% {
        background-image: url('../img/b6.jpg');
    }
}


.btn-orange, .btn-orange:active, .btn-orange::after{
    background-color: #C4772F !important;
    color: #FFFFFF !important;
}

.btn-trans, .btn-trans:active, .btn-trans::after{
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF;
}

.btn-blue, .btn-blue:active, .btn-blue::after{
    background-color: #0F283F !important;
    color: #FFFFFF !important;
}

#plus{
    background-color: #C4772F;
}

.plusN{
    color: #0F283F;
    font-weight: bold;
}

.text-orange{
    color: #C4772F;
}

#tarjeta{
    background-color: #C4772F;
    padding-bottom: 250px;
}

#tar{
    margin-top: -200px;
}

.cardNB{
    background-color: #0F283F;
    color: #FDC087;
}

.cardNB > .titled{
    padding: 3.3rem 0;
}

.cardNB > .sub{
    display:none;
}

.cardNB:hover{
    background-color: #C4772F;
    color: #FFFFFF;
    padding: 0.5rem 0.8rem;
}

.cardNB:hover > .titled{
    padding: 0;
    color: #0F283F;
    font-weight:bold !important;
    font-size: 1.1rem;
}

.cardNB:hover > .sub{
    display:block;
}

#foot{
    background-color: #0F283F;
}

#footN{
    background-color: #C4772F;
    color: #FFFFFF;
}

#val{
    background-color: #0F283F;
}

.gal:hover>img{
    filter: brightness(0.4);
}

.gal:hover>.textG{
    display: block !important;
    filter: brightness(1);
}

#portadaS{
    background-image: url('../img/services.png');
    background-size: cover;
    background-position: center center;
    margin-top: 60px;
    padding: 100px 0;
    background-repeat: no-repeat;
}

#portadaP{
    background-image: url('../img/proyect_bg.png');
    background-size: cover;
    background-position: center center;
    margin-top: 60px;
    padding: 100px 0;
    background-repeat: no-repeat;
}

#portadaC{
    background-image: url('../img/contact.png');
    background-size: cover;
    background-position: center center;
    margin-top: 60px;
    padding: 100px 0;
    background-repeat: no-repeat;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: gray;
    opacity: 1 !important;
    width: 40px;  /* Tamaño del círculo */
    height: 40px; /* Asegúrate de que el ancho y el alto sean iguales para un círculo */
    border-radius: 50%;  /* Hace el contenedor circular */
    display: flex;  /* Para centrar el contenido */
    align-items: center;
    justify-content: center;
}

/* Ajusta el tamaño del icono dentro del círculo */
.carousel-control-next-icon, .carousel-control-prev-icon {
    background-size: 50%; /* Hace que el icono sea más pequeño dentro del círculo */
    background-position: center;
    background-repeat: no-repeat;
}


@media (max-width: 3060px) {
}

@media (max-width: 1280px) {
}

/* LG */
@media (max-width: 1199px) {
}

/* MD */
@media (max-width: 991px) {
    
}

/* SM */
@media (max-width: 767px) {
    .showPhone{
        display: block !important;
    }
    .hiddenPhone{
        display: none !important;
    }
}

/* XS */
@media (max-width: 575px) {}

/* XS */
@media (max-width: 330px) {}