@import url('https://fonts.googleapis.com/css2?family=Akaya+Kanadaka&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merienda:wght@300..900&display=swap');

html {
    /* COLORS */
    --background: #ede0d4;
    --title_color: #ede0d4;
    --secondary_div: #f5ddbd;
    --board_header_row: #f5ddbd;
    --primary_div: #C39570;
    --board_covered_cells: #9c6644;
    --board_uncovered_cells: #864D31;
    --button: #703722;
    --board_borders: #4a160d;
    --title-tape: #513f36;
    --text_color: #232323;
    --bone_color: #f0e7d8;
    --bone2_color: #9c8679;

    /* FONTS */
    --primary_title_font: "Merienda", cursive;
    --secondary_title_font: "Akaya Kanadaka", system-ui;
    --text_font: "Inter", sans-serif;
}

/*----------------*/
* {
    margin: 0;
    cursor: default;
}


#noScriptAlert {
    position: absolute;
    text-align: center;
    width: 500px;
    background-color: var(--primary_div);
    z-index: 1;
    top: 400px;
    left: 700px;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 5px 20px;
}


#noScriptAlert p {
    font-size: 20px;
    color: var(--text_color);
    font-family: var(--text_font);
    padding: 30px 10% 30px;
    font-size: 1.2em;
    font-weight: 400;
}

#landing_page {
    background: url(./images/landing_page_bg.png);
    background-size: cover;
    margin: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

#landing_page .hero {
    background-color: #ffffff6e;
    width: 1000px;
    height: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 5px 20px;
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(6.8px);
    border-radius: 16px;
}

#landing_page .button_container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}

#landing_page h1 {
    color: var(--text_color);
    font-family: var(--primary_title_font);
    text-shadow: 3px 3px 0 #ffffff;
    font-size: 6em;
}

#landing_page h3 {
    color: var(--text_color);
    font-family: var(--secondary_title_font);
    font-size: 2em;
    font-weight: 400;
}

#landing_page p {
    color: var(--text_color);
    font-family: var(--text_font);
    padding: 30px 10% 30px;
    font-size: 1.2em;
    font-weight: 400;
}

#landing_page button,
#landing_page a {
    height: 80px;
    width: 300px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--text_font);
    background: #00000000;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--button);
    border: 3px solid var(--button);
    border-radius: 30px;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    text-decoration: none;
    cursor: pointer;
}

.disabled {
    opacity: .5;
    cursor: not-allowed !important;
}

#landing_page a:hover,
#landing_page button:hover {
    color: #fff;
    background-color: var(--button);
    transition-duration: .33s;
}

/* GAME PAGE*/

#game_page {
    background: var(--background);
    margin: 0;
    color: var(--text_color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#game_page .timer {
    background-color: var(--primary_div);
    font-family: var(--text_font);
    font-size: 1.15em;
    padding: 7px 0 7px;
    margin: 20px;
    text-align: end;
    border-radius: 18px;
    align-self: center;
    width: 1268px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#game_page .timer i {
    margin-right: 5px;
}

#game_page .fame .score {
    display: inline-block;
    width: 30px;
    text-align: center;
}

#game_page .timer #gameClock {
    display: inline-block;
    width: 50px;
    text-align: center;
    margin-left: 5px;
}

#game_page table {
    border-collapse: collapse;
    border: 2px solid var(--text_color);
}

#game_page td {
    border: 1px solid var(--board_borders);
    text-align: center;
    font-family: var(--text_font);
    font-size: 1.15em;
}


#game_page td:first-child,
#game_page tr:first-child {
    background-color: var(--board_header_row);
}

.bone {
    background-color: var(--bone_color);
}

.bone2 {
    background-color: var(--bone2_color);
}

.ground {
    background-color: var(--board_uncovered_cells);
}

.covered {
    background-color: var(--board_covered_cells);
}

.ia-table .bone {
    background-color: #353433;
}

.ia-table .bone2 {
    background-color: #3f3e3d;
}

.ia-table .ground {
    background-color: #6e6b6a;
}

.ia-table .covered {
    background-color: #8f8a88;
}

.ia-table .covered.bone {
    background-color: var(--bone_color);
}

.ia-table td {
    border: 1px solid #000 !important;
}

.ia-table {

    position: relative;
}

#game_page .tape {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--title-tape);
    color: var(--title_color);
    font-family: var(--primary_title_font);
    margin-top: 15px;
    padding: 10px
}

#game_page h1 {
    font-size: 2.5em;
    text-align: center;
    width: 100%;
}

#game_page .dinosaurs-right {
    justify-content: space-around;
    display: flex;
    width: 100%;
}

#game_page .dinosaurs-left {
    transform: scaleX(-1);
    justify-content: space-around;
    display: flex;
    width: 100%;
}

#game_page h1 {
    font-size: 2.5em;
    text-align: center;
    width: 100%;
}

#game_page svg {
    height: 3.6em;
    width: 3.6em;
    fill: var(--background);
}

#game_page table td {
    width: 50px;
    height: 50px;
}

#game_page .container {
    margin: 0px 0 0;
    display: flex;
    justify-content: center;
    gap: 100px;
    align-items: center;
}

#game_page .container-table {
    display: flex;
    flex-direction: column;
    position: relative;
}

#game_page .container-table .timer-fame {
    display: flex;
    justify-content: end;
    gap: 10px;
}

#game_page .container-table .timer-fame .timer,
#game_page .container-table .timer-fame .fame,
#game_page .container-table .timer-fame .player_name,
#game_page .container-table .timer-fame .ammo {
    background-color: var(--primary_div);
    font-family: var(--text_font);
    font-size: 1.15em;
    padding: 7px 14px 7px;
    text-align: end;
    margin-bottom: 5px;
    border-radius: 18px;
}

#game_page .container-table .timer-fame .timer i,
#game_page .container-table .timer-fame .fame i,
#game_page .container-table .timer-fame .player_name i,
#game_page .container-table .timer-fame .ammo i {
    margin-right: 5px;
}

#game_page .container-table .timer-fame .player_name {
    margin-right: auto;
}

#game_page .container-table .timer-fame .fame .score {
    display: inline-block;
    width: 30px;
    text-align: center;
}

#game_page .container-table .timer-fame .timer #gameClock {
    display: inline-block;
    width: 50px;
    text-align: center;
}

#game_page .container-table .timer-fame .fame #score {
    display: inline-block;
    width: 50px;
    text-align: center;
}



#game_page .container-info {
    background-color: var(--primary_div);
    width: 554px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
}


#game_page .container-info .info-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#game_page .container-info .info-item h3 {
    color: var(--text_color);
    font-family: var(--secondary_title_font);
    font-size: 2em;
    font-weight: 400;
    margin: 0 0 13px;
}

#game_page .container-info .info-item .secondary-info {
    color: var(--text_color);
    font-family: var(--text_font);
    font-size: 1.2em;
    font-weight: 400;
    height: 100%;
    background-color: var(--secondary_div);
    border-radius: 5px;
    padding: 5px;
}

#game_page .container-info .info-item .secondary-info ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#game_page #winner {
    position: relative;
    height: 100px;
    align-items: center;
}

#game_page #winner .nav-button {
    height: 36px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--text_font);
    font-size: 16px;
    font-weight: 500;
    color: var(--button);
    background: #00000000;
    border: 2px solid var(--button);
    border-radius: 18px;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    /* Para posicionamiento absoluto */
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
}

/* Aplica las posiciones correctas a los botones */
#game_page #winner .home-button {
    left: 30px;
}

#game_page #winner .rank-button {
    right: 30px;
}

#game_page #winner .nav-button i {
    cursor: pointer;
}


#game_page #winner .nav-button:hover {
    background-color: var(--button);
    color: #fff;
    transition-duration: .33s;
}

/* VERSUS IA */

.versus-ia .container-info {
    display: none !important;
}

#game_page:not(.versus-ia) .ia-table {
    display: none;
}

#game_page .ia-info {
    display: none;
}

#game_page #dinamita_container {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    background-color: var(--primary_div);
    padding: 15px;
    border-radius: 0 18px 18px 0;
    font-family: var(--secondary_title_font);
    font-size: 1.6em;
    transition: transform 0.4s ease; /* Animación de deslizamiento */
    gap: 10px;
}

#game_page .dinamita {
    font-family: var(--text_font);
    font-size: 18.4px;
    background: url(./images/dinamita.png);
    color: white;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 5px;
}
#game_page [type="checkbox"] {
    margin-left: 10px;
    margin-right: 6px;
    accent-color: #ed161f;
}

#game_page #dinamita_container.hidden {
    transform: translateX(-100%); /* Oculta el contenedor desplazándolo a la izquierda */
}

/* Estilos del botón */
#game_page .toggle-button {
    cursor: pointer;
    color: white;
    color: var(--button);
    background-color: var(--primary_div);
    position: absolute;
    top: 50%;
    padding: 10px;
    right: -30px;
    transform: translateY(-50%); /* Centra verticalmente */
    border: none;
    border-radius: 0 10px 10px 0;
    transition: background-color 0.2s ease;
}

/* RESULT PAGE (WIN AND LOSE) */

#result_page {
    background-size: cover;
    margin: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.hold-name-result {
    display: flex;
    font-family: var(--text_font);
    font-size: 1em;
    font-weight: 500;
    color: var(--text_color);
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0 30px;
}

.hold-name-result input {
    border: 2px solid var(--button);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    width: 240px;
    height: 30px;
    font-family: var(--text_font);
    font-size: 16px;
    cursor: text;
}


#result_page.win {
    background: url(./images/result_page_win_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#result_page.lose {
    background: url(./images/result_page_lose_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#result_page .hero {
    background-color: #ffffff6e;
    width: 1000px;
    height: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 5px 20px;
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(6.8px);
    border-radius: 16px;
    animation: slideInFromTop 3s forwards;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

#result_page .button_container {
    display: flex;
    gap: 20px;
}

#result_page h1 {
    color: var(--text_color);
    font-family: var(--primary_title_font);
    text-shadow: 3px 3px 0 #ffffff;
    font-size: 6em;
}

#result_page h2 {
    margin-top: 0;
    color: var(--text_color);
    font-family: var(--secondary_title_font);
    font-size: 2em;
    font-weight: 400;
}

#result_page h3 {
    color: var(--text_color);
    font-family: var(--text_font);
    font-size: 1.2em;
    font-weight: 400;
}

#result_page a {
    height: 80px;
    width: 300px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--text_font);
    background: #00000000;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--button);
    border: 3px solid var(--button);
    border-radius: 30px;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    text-decoration: none;
    cursor: pointer;
}

#result_page .disabled {
    opacity: .5;
    cursor: not-allowed !important;
}

#result_page a:hover {
    color: #fff;
    background-color: var(--button);
    transition-duration: .33s;
}

/* RANKING_PAGE */

#ranking_page {
    background: var(--background);
    margin: 0;
    color: var(--text_color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#ranking_page .tape {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--title-tape);
    color: var(--title_color);
    font-family: var(--primary_title_font);
    margin: 15px 0 30px;
    padding: 10px
}

#ranking_page h1 {
    font-size: 2.5em;
    text-align: center;
    width: 100%;
}

#ranking_page .dinosaurs-right {
    justify-content: space-around;
    display: flex;
    width: 100%;
}

#ranking_page .dinosaurs-left {
    transform: scaleX(-1);
    justify-content: space-around;
    display: flex;
    width: 100%;
}

#ranking_page h1 {
    font-size: 2.5em;
    text-align: center;
    width: 100%;
}

#ranking_page svg {
    height: 3.6em;
    width: 3.6em;
    fill: var(--background);
}

#ranking_page table {
    border-collapse: collapse;
    margin: 0 auto auto auto;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 2px 8px;
    width: 50%;
    border:  var(--board_header_row) !important;
}

#ranking_page tr:not(:first-child) td{
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    /* Retraso en cascada */
    animation-delay: calc(0.1s * var(--index));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


#ranking_page th,
#ranking_page td {
    height: 40px;
    text-align: center;
    font-family: var(--text_font);
    font-size: 1em;
    background-color: var(--board_header_row);
}

#ranking_page th,
#ranking_page tr:not(:last-child) td {
    border-bottom: 1px solid var(--board_borders);
}

#ranking_page td:first-child, #ranking_page th:first-child  {
    border-right: 1px solid var(--board_borders);
}


#ranking_page th {
    background-color: #fffffd;
    font-family: var(--secondary_title_font);
    font-size: 1.5em;
    font-weight: 400;
}

#ranking_page .empty-txt {
    font-family: var(--secondary_title_font);
    font-size: 1.5em;
    font-weight: 400;
    text-align: center;
}

#ranking_page td:first-child {
    background-color: #fffffd;
    width: 6%;
}

#ranking_page td:nth-child(2) {
    width: 31%;
}

#ranking_page td:nth-child(3) {
    width: 26%;
}

#ranking_page td:nth-child(4) {
    width: 37%;
}


#ranking_page .podium:nth-child(2) td {
    background-color: #fdd216;
    font-weight: 600;
}

#ranking_page .podium:nth-child(3) td {
    background-color: #e2d3d5;
    font-weight: 600;
}

#ranking_page .podium:nth-child(4) td {
    background-color: #df9b33;
    font-weight: 600;
}

#ranking_page .navigation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    position: relative;
}

#ranking_page .pagination {
    width: 100%;
    display: flex;
    justify-content: center;
}

#ranking_page .pagination a,
#ranking_page .pagination span {
    margin: 0 5px;
    display: flex;
    height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    color: var(--button);
    background: #00000000;
    border: 2px solid var(--button);
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    gap: 6px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
}

#ranking_page .pagination .page,
#ranking_page .pagination .current-page {
    font-family: var(--text_font);
    font-weight: 500;
    font-size: 1em;
}

#ranking_page .pagination a:hover,
#ranking_page .pagination span:hover {
    background-color: var(--button);
    color: #fff;
    transition-duration: .33s;
}

#ranking_page .pagination .current-page {
    background-color: var(--button);
    color: #fff;
    font-size: 1em;
}


/************
/ NAV BUTTONS 
/************/

#ranking_page .navigation-container .nav-button {
    height: 36px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--text_font);
    font-size: 16px;
    font-weight: 500;
    color: var(--button);
    background: #00000000;
    border: 2px solid var(--button);
    border-radius: 18px;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    left: 30px;
    top: auto;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
}

#ranking_page .navigation-container .nav-button i {
    cursor: pointer;
}

#ranking_page .navigation-container .nav-button:hover {
    background-color: var(--button);
    color: #fff;
    transition-duration: .33s;
}

/* Animaciones para las alertas */
@keyframes slideInPlayer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutPlayer {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInAI {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutAI {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}



.player-alert {
    position: fixed;
    top: 100px;
    left: 20px;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1.3em;
    z-index: 1000;
    opacity: 0;
    /* Comenzamos con opacidad 0 */
    animation: slideInPlayer 0.5s forwards;
    /* Animación al aparecer */
    font-family: var(--secondary_title_font);
    font-weight: 400;
}

.ia-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1.3em;
    z-index: 1000;
    opacity: 0;
    /* Comenzamos con opacidad 0 */
    animation: slideInAI 0.5s forwards;
    /* Animación al aparecer */
    font-family: var(--secondary_title_font);
    font-weight: 400;
}

/* Clases para animar la salida */
.alert.slide-out-player {
    animation: slideOutPlayer 0.5s forwards;
    /* Animación al salir del jugador */
}

.alert.slide-out-ai {
    animation: slideOutAI 0.5s forwards;
    /* Animación al salir de la IA */
}

.ia-alert#foundAlert {
    background-color: #007f00;
}

.player-alert#foundAlert {
    background-color: green;
}


.ia-alert#missAlert {
    background-color: #7f0000;
}

.player-alert#missAlert {
    background-color: red;
}

.ia-alert#foundAlertAll {
    background-color: #00007f;
}

.player-alert#foundAlertAll {
    background-color: blue;
}

.ia-alert#winAlert {
    background-color: #7f7f00;
}

.player-alert#winAlert {
    background-color: gold;
}

.player-alert#waitAlert {
    background-color: rgb(0, 0, 0);
    top: 170px;
}


.centered-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 500px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
}

.centered-form h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text_color);
    font-family: var(--secondary_title_font);
    font-size: 2em;
    font-weight: 400;
}

.centered-form h3 {
    color: var(--text_color);
    font-family: var(--text_font);
    font-size: 1.2em;

}

.centered-form input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: var(--text_color);
    font-family: var(--text_font);
}

/* Estilo del botón */
.centered-form input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--text_font);
    font-size: 1em;
}

/* Hover en el botón */
.centered-form input[type="submit"]:hover {
    background-color: #218838;
}


#easter_eggAlert {
    background-color: black;
}


.easter-egg-style {
    position: absolute;
    top: 200px;
    left: 700px;
    width: 305px;
    height: 386px;
}

.turn-overlay-ia {
    opacity: 0;
    z-index: -1;
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
    background-color: var(--primary_div);
    font-family: var(--secondary_title_font);
    font-weight: 400;
    font-size: 1.6em;
    border-radius: 7.5px;
}



.turn-overlay {
    opacity: 0;
    z-index: -1;
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
    background-color: var(--primary_div);
    font-family: var(--secondary_title_font);
    font-weight: 400;
    font-size: 1.6em;
    border-radius: 7.5px;
}

.table-ia-turn {
    animation: slideTextIn 0.25s forwards;
}

.table-ia-turn-out {
    animation: slideTextOut 0.25s forwards;
}

.table-player-turn {
    animation: slideTextIn 0.25s forwards;
}

.table-player-turn-out {
    animation: slideTextOut 0.25s forwards;
}



@keyframes slideTextIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animación de salida */
@keyframes slideTextOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes colorChange-player {
    0% {
        background-color: rgb(216, 180, 17); /* Color inicial rojo */
    }
    50% {
        background-color: var(--board_covered_cells); /* Color original del alerta o el que uses */
    }
    100% {
        background-color: rgb(216, 180, 17); /* Vuelve a rojo */
    }
}


.cell-selected {
    animation: colorChange-player 1s ease-in-out infinite;
}

@keyframes colorChange-player {
    0% {
        background-color: rgb(216, 180, 17); /* Color inicial rojo */
    }
    50% {
        background-color: var(--board_covered_cells); /* Color original del alerta o el que uses */
    }
    100% {
        background-color: rgb(216, 180, 17); /* Vuelve a rojo */
    }
}

.ia-table .cell-selected {
    animation: colorChange-ia 1s ease-in-out infinite;
}

@keyframes colorChange-ia {
    0% {
        background-color: rgb(216, 180, 17); /* Color inicial rojo */
    }
    50% {
        background-color: #8f8a88; /* Color original del alerta o el que uses */
    }
    100% {
        background-color: rgb(216, 180, 17); /* Vuelve a rojo */
    }
}
.hold-name {
    display: flex;
    font-family: var(--text_font);
    font-size: 1em;
    font-weight: 500;
    color: var(--button);
    position: absolute;
    height: 36px;
    left: 25px;
    top: 25px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#name_landing {
    border: 2px solid var(--button);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    width: 240px;
    height: 30px;
    font-family: var(--text_font);
    font-size: 16px;
    cursor: text;
}


/* estilos menu desplegable */


.visible {
    display: block;
}

div.hero>ul {
    position: absolute;
    list-style-type: none;
    top: 66px;
    right: 25px;
    z-index: 1;
    width: 220px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 16px;
    padding: 15px;
    gap: 15px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 5px 20px;
}

div.hero>#menuButton {
    position: absolute;
    height: 36px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--text_font);
    font-size: 1em;
    font-weight: 500;
    color: var(--button);
    background: #00000000;
    border: 2px solid var(--button);
    border-radius: 18px;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    right: 0;
    top: 0;
    margin: 25px 25px 0;
    width: auto;
}

div.hero>#menuButton:hover {
    background-color: var(--button);
    color: #fff;
    transition-duration: .33s;
}

div.hero>ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    font-family: var(--text_font);
    font-size: 1em;
    font-weight: 500;
    color: var(--button);
    background: #00000000;
    border: 2px solid var(--button);
    border-radius: 8px;
    text-decoration: none;
    cursor: default;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 1px 4px;
    width: auto;
    align-items: center;
    justify-content: start;
}

div.hero>ul li:hover {
    background-color: var(--button);
    color: #fff;
    transition-duration: .33s;
}

div.hero>ul li input {
    margin-right: 5px;
    cursor: pointer;
}
div.hero>ul li label {
    cursor: pointer;
}
.hiddenClass {
    display: none !important;
}

input[type="checkbox"]:checked{
    accent-color: var(--button);
}

/* NOT FOUND PAGE AND FORBIDDEN PAGE */

.not-found-page,
.forbidden-page {
    background: var(--background);
    margin: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.not-found-page .hero,
.forbidden-page .hero {
    background-color: #ffffff6e;
    width: 1500px;
    height: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.33) 0px 5px 20px;
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(6.8px);
    border-radius: 16px;
}

.not-found-page h1,
.forbidden-page h1 {
    color: var(--text_color);
    font-family: var(--primary_title_font);
    font-size: 6em;
}

.not-found-page p,
.forbidden-page p {
    color: var(--text_color);
    font-family: var(--secondary_title_font);
    font-size: 2em;
    font-weight: 400;
}

#player td:first-child  {
    position: relative;
}

#player td:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 6px; /* Ancho del borde simulado */
    background-color: red;
    animation: pulse-border 1s linear;
    animation-iteration-count: 3;
}

@keyframes pulse-border {
    0% {
        background-color: red;
    }
    50% {
        background-color: transparent;
    }
    100% {
        background-color: red;
    }
}

