html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*menu Efecto clásico: cambio de color y fondo PARA EL MENU*/
/*.nav-link {
    transition: 0.3s;
}

    .nav-link:hover {
        color: #fff !important;
        background-color: #b30000;
        border-radius: 4px;
    }*/

/*Efecto moderno: subrayado animado PARA EL MENU*/
.nav-link {
    position: relative;
    transition: color 0.3s;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 0%;
        height: 3px;
        background-color: #fff;
        transition: width 0.3s;
    }

/*Efecto “zoom” al pasar el mouse PARA EL MENU*/
/*.nav-link {
    transition: transform 0.2s ease-in-out, background-color 0.2s;
}

    .nav-link:hover {
        transform: scale(1.15);
        background-color: #8b0000;
        color: #fff !important;
        border-radius: 6px;
    }*/


    /*PARA EL BANNER CON TEZTO*/
.banner-dinamico {
    width: 100%;
    background: #ff0000; /*#004aad;*/
    color: white;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.texto-movimiento {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: mover 12s linear infinite;
    font-size: 22px;
    font-weight: bold;
}

@keyframes mover {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


    .nav-link:hover {
        color: #fff !important;
    }

        .nav-link:hover::after {
            width: 100%;
        }




/*PARA BANNER CON IMAGENES*/
.slider-banner {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
}

    .slider-banner img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 14s infinite;
}

    .slide:nth-child(1) {
        animation-delay: 0s;
    }

    .slide:nth-child(2) {
        animation-delay: 4s;
    }

    .slide:nth-child(3) {
        animation-delay: 8s;
    }
    .slide:nth-child(4) {
        animation-delay: 12s;
    }

@keyframes fade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
