@keyframes scroll-background {
    0% {
        background-position: 0% 50%;
        /* Posición inicial */
    }

    100% {
        background-position: 100% 50%;
        /* Posición final (se desplaza) */
    }
}
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    display: grid !important;
    grid-template-rows: auto 1fr auto!important;
    background: url('../img/fondo.jpg');
    background-size: contain;
    animation: scroll-background 20s ease-in-out infinite alternate;
    min-height: 100vh;
}

.text-justify {
    text-align: justify;
}

.control-label {
    font-weight: bold !important;
    
}

fieldset:disabled {
    pointer-events: revert;
    opacity: revert;
}

fieldset {
    min-width: revert;
    padding: 15px;
    margin: revert;
    border: revert;
    border-radius: 10px;
    margin-top: 10px;
}

fieldset legend {
    all: unset;
    /* Elimina todos los estilos del navegador y Bootstrap */
    display: block;
    /* Vuelve a ponerlo en bloque si es necesario */
    width: revert;
    /* Ajusta según diseño */
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
}

.card .home {
    img {
        transform: scale(0.8);
    }
}

nav {
    width: 100% !important;
    border: 1px inset ;
    border-radius: 10px;
}

nav ul {
    list-style: none;
    width: 100% !important;
    display: block;
    padding: 1em;

    li {
        width: 100% !important;

        a {
            text-decoration: none;
            color: black;
            font-size: 21px;
            letter-spacing: 2px;
            display: block;
            padding: 5px;
        }

        a:hover {
            color: white;
            background: black;
            border-radius: 5px;
        }

    }
}

hr {
    margin: 2;
}

header {
    position:sticky;
    top:0;
    width:100%;
    background: rgba(0, 2, 150, 0.6);
    padding: 10px;
    h1 {
        color:#FFF;
        text-shadow: 2px 3px 1px #000;
        padding:0;
        margin:0;
    }
    small.logo{
        color:rgb(3, 3, 187);
        text-shadow: 2px 1px 2px #ffffff;
    }
    z-index:1000;
}

main {
    /* margin-top:100px; */
    /* min-height:80vh; */
    h2{ 
        /* margin-top:0.5em; */
        margin-bottom:0.5em;
    }
    .container {
        background: rgba(219, 219, 219, 0.9);
        min-height:100%;
    }
}

footer {
    background: rgba(0, 2, 150, 0.8);
    padding: 1.5em;
    h6 {
        color:#CCC;
    }
}
.card > .blue {
    background: rgb(0, 0, 121)!important;
    border-radius: 10px;
}

.class-save{
    position:fixed!important;
    top:40%;
    right:10px;
    border:2px solid #FFF;
    border-radius:10px;
    box-shadow: 6px 5px 15px 10px #333;
    z-index:2;
    #cantidadAsignados {
        position:Absolute;
        top:-20px;
        right:-10px;
        padding:5px 10px;
        background:#FFF;
        color:#000;
        border-radius:50%;
    }
}

.check-green{
    color:#037c09!important;
    font-weight: bold;
    opacity:0;
}
.radio-eval{
    display:none;
}

.page-link {
    background:rgb(0, 0, 121);
    color:white;
}
.active > .page-link {
    background:rgb(80, 80, 80);
    color:white;
    border:black 1px solid
}
.table thead tr th {
    background:rgb(0, 0, 121);
    color:white;
}