/* BODY */
body {
    background-color: #E8D8C4;
    background-size: cover;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic';
}

/* HEADER */
.menu-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: linear-gradient(45deg, rgb(15, 0, 0) 0%, rgb(50, 0, 0) 40%, rgb(157, 30, 30) 80%, rgb(193, 44, 44) 100%);
    padding: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.menu-bar {
    display: flex;
    align-items: center;
}

.menu-bar i {
    margin-right: 10px;
    cursor: pointer;
}

.enlaces ul {
    list-style: none;
    display: flex;
}

.enlaces ul li {
    margin-right: 10px;
}

.enlaces ul li a {
    text-decoration: none;
    color: whitesmoke;
    padding: 5px;
    transition: all 0.3s ease;
}

.enlaces ul li a:hover {
    background-color: #6D2932;
    border-radius: 5px;
}

.cerrar a {
    text-decoration: none;
    color: #000;
    padding: 5px;
    background-color: #af4c4c;
    color: #fff;
    border-radius: 5px;
}

.cerrar a:hover {
    background-color: #a04545;
}

#btnMenuOpen {
    display: none;
    cursor: pointer;
}

/* LISTADO DE USUARIOS */
.contenedor_listado_registro {
    margin-top: 20px;
}

.contenedor_listado_registro h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contenedor_listado_registro table {
    width: 100%;
    border-collapse: collapse;
}

.contenedor_listado_registro th,
.contenedor_listado_registro td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ccc;
    /*text-transform: uppercase;*/
}

.contenedor_listado_registro th {
    background-color: #6D2932;
    font-weight: bold;
    color: whitesmoke;
}

.contenedor_listado_registro tr:nth-child(even) {
    background-color: #F2ECE6;
}

.contenedor_listado_registro tr:hover {
    background-color: #D9C4B0;
}

/* Estilo para contenedor principal de los dos bloques */
.contenedor_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    /* Aumentado el viewport height a 90% */
    margin-top: -250px;
    /* Ajustado el margen superior */
}

/* MODIFICAR PUNTAJE */
.contenedor_modificar_puntaje {
    margin-top: 60px;
    /* Ajustado el margen superior */
    padding: 50px;
}

.contenedor_modificar_puntaje h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contenedor_modificar_puntaje form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contenedor_modificar_puntaje label {
    margin-bottom: 5px;
    /*text-transform: uppercase;*/
}

.contenedor_modificar_puntaje input {
    margin-bottom: 10px;
    padding: 5px;
}

.contenedor_modificar_puntaje button {
    padding: 4px 8px;
    background-color: #883540;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
}

.contenedor_modificar_puntaje button:hover {
    background-color: #561C24;
}

/* DESAFIO */
.resultado-desafio {
    margin-top: 60px;
    /* Ajustado el margen superior */
    padding: 50px;
}

.resultado-desafio h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.resultado-desafio form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resultado-desafio label {
    margin-bottom: 5px;
    /*text-transform: uppercase;*/
}

.resultado-desafio input {
    margin-bottom: 10px;
    padding: 5px;
}

.resultado-desafio button {
    padding: 4px 8px;
    background-color: #883540;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
}

.resultado-desafio button:hover {
    background-color: #561C24;
}

/* CONTENEDOR DESAFIOS */
.desafios-pendientes {
    margin-top: 20px;
}

.desafios-pendientess h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.desafios-pendientes table {
    width: 100%;
    border-collapse: collapse;
}

.desafios-pendientes th,
.desafios-pendientes td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ccc;
    /*text-transform: uppercase;*/
}

.desafios-pendientes th {
    background-color: #6D2932;
    font-weight: bold;
    color: whitesmoke;
}

.desafios-pendientes tr:nth-child(even) {
    background-color: #F2ECE6;
}

.desafios-pendientes tr:hover {
    background-color: #D9C4B0;
}

.desafios-pendientes button {
    padding: 4px 8px;
    background-color: #883540;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
}

.desafios-pendientes button:hover {
    background-color: #4C1D23;
}

.reiniciar {
    margin-top: 20px;
    /* Ajusta el margen superior según sea necesario */
    text-align: center;
}

.reiniciar button {
    background-color: #db3434;
    /* Color azul */
    color: #fff;
    /* Color del texto */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}

.reiniciar form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}