/************* CLASES **************/
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0px;
}

.cuerpo {
    padding-top: 36px;
    background: transparent;
}

.pregunta {
	width: 94%;
    margin-left: 3%;
    margin-right: 3%;
}

td.personalizado {
    padding: 4px;
}

div.login {
    animation: desplazamiento 2010ms;
    margin-left: 25%;
}

div.menu {
    background-color: rgba(200, 200, 250,0.8);
}

@keyframes desplazamiento {
    0% {
        margin-left: -300px;
        opacity: 0%;
    }

    100% {
        margin-left: 25%;
        opacity: 100%;
    }
}

/***************** IDs *******************/
#aviso {
    background-color: #4f5af3;
    color: #fff;
    width: fit-content;
    animation: animacion-aviso 2010ms;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@keyframes animacion-aviso {
    50% {
        background-color: #4f5af3;
        color: white;
    }

    100% {
        background-color: #4f5af300;
        color: rgba(255, 255, 255, 0);
    }
}

/************** COMPONENTES HTML **************/
body {
    background-color: rgb(7, 114, 165);
    background-image: linear-gradient(180deg, rgb(0, 34, 56) 0%, rgb(2, 61, 93) 50%, rgb(7, 114, 165) 100%);
    background-repeat: no-repeat;
}

h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    color: rgb(236,238,255);
    padding: 5px;
    width: fit-content;
    text-shadow: 5px 2px #2223246b, 2px 4px #2223246b, 3px 5px #2223246b;
}

th.stat {
    min-width: 100px;
    text-align: center;
}

td.stat {
    color: #4f5af3;
    vertical-align: middle;
    font-size: 18px;
    padding-left: 10px;
}

p {
	color: rgb(236, 238, 255);
    padding: 4px;
    font-family: Verdana;
}

table {
    margin-left: 0px;
    margin-right: 0px;
}

td,
th,
div {
    padding: 4px;
    font-family: Verdana;
    text-align: justify;
}

td {
    background-color: rgba(230, 230, 250, 0.577);
    padding: 6px 10px;
}

th {
    /*background-color: #db81dbb7;*/
    background: linear-gradient(180deg, rgb(2, 61, 93) 0%, rgb(7, 114, 165) 100%);
    color: white;
    padding: 10px;
    text-shadow: 3px 2px #2223246b, 2px 3px #2223246b;
}

div {
    background-color: rgba(230, 230, 250, 0.5);
}

a:link,
a:visited,
a:active {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

input[type="number" i] {
    padding: 2px;
    border: 1px solid #3333ff;
}

textarea {
    resize: none;
    outline-color: #4f5af3;
    width: 99%;
    background: #eeebf3;
    height: 3lh;
}

textarea:invalid {
    border-color: red;
}
/************* OPCIONES DE RADIO BUTTON ***********/
.rad-label {
    display: flex;
    align-items: center;
    border-radius: 100px;
    padding: 4px 6px;
    cursor: pointer;
    transition: .3s;
}

.rad-label:hover:enabled,
.rad-label:focus-within {
    color: hsla(241, 65%, 45%, 0.653);
}

.rad-input {
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: -1;
}

.rad-design {
    width: 16px;
    height: 16px;
    border-radius: 100%;

    background: linear-gradient(to right bottom, hsl(154, 97%, 62%), hsl(225, 97%, 62%));
    position: relative;
}

.rad-design::before {
    content: '';

    display: inline-block;
    width: inherit;
    height: inherit;
    border-radius: inherit;

    background: hsl(0, 0%, 90%);
    transform: scale(1.2);
    transition: .3s;
}

.rad-input:checked+.rad-design::before {
    transform: scale(0);
}

.rad-text {
    margin-left: 14px;
    transition: .3s;
    background-color: rgba(255, 255, 255, 0);
}

/********** BOTON ANIMADO **************/
.button {
    background-color: rgb(2, 61, 93);
    border: 2;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 20px;
}

.button:hover:enabled {
    background-color: rgb(7, 114, 165);
    color: white;
}

@keyframes animacion {
    0% {
        border-radius: 5px;
        background-color: rgb(145, 73, 196);
        color: white;
    }

    100% {
        border-radius: 50px;
        background-color: lavender;
        color: rgb(200, 158, 230);
    }
}

.button:disabled {
    background-color: lavender;
    color: rgb(200, 158, 230);
    animation: animacion 500ms;
    border-radius: 50px;
}


/*************** BARRA DE MENUS ****************/
.navbar {
    display: flex;
    align-items: center;
    padding: 0px;
    color: rgb(2, 61, 93);
}

.nav-links a {
    color: rgb(236, 238, 255);
    font-size: 16px;
}

/* usuario */
.usuario {
    font-size: 18px;
    color: #000;
    padding-left: 5px;
    padding-right: 10px;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    gap: 0em;
    /* separacion entre las opciones del menu */
    font-size: 18px;
}

.menu li:hover {
    background-color: #4f5af3;
    color: #fff;
    border-radius: 5px;
    transition: 0.3s ease;
}

.menu li {
    padding: 5px 14px;
}

/* DROPDOWN MENU */
.estadisticas {
    position: relative;
}

.dropdown {
    background-color: #a0a6e8d0;
    padding: 0;
    position: absolute;
    /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 8px;
    top: 30px;
}

.dropdown li+li {
    margin-bottom: 5px;
}

.dropdown li {
    /*padding: 0.5em 1em;*/
    width: 8em;
    text-align: left;
    margin-top: 5px;
}

.dropdown li:hover {
    background-color: #4550f3;
}

.estadisticas:hover .dropdown {
    display: block;
}

a.salir:hover {
    color: #fff
}

a.salir {
    color: rgb(2, 61, 93);
    font-size: 18px;
}