* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50;
    padding: 10px 20px;
    color: white;
}

.header_logo img{
    width: 75px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li a {
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
    transform: scale(1.1);
}

.header_2{
    display: none;
}

#toggleNav{
    background-image: none;
    text-transform: none;
    background: none; /* No background color */
    border: none;    /* No border */
    padding: 0;      /* Remove default padding */
    margin: 0;       /* Remove default margin */
    cursor: pointer; /* Indicate it's clickable */
    font-family: inherit; /* Inherit font from parent for text inside button (if any) */
    outline: none;   /* Remove outline on focus for a cleaner look, but consider accessibility */
    -webkit-appearance: none; /* For Safari/Chrome to reset default button styles */
    -moz-appearance: none;    /* For Firefox */
}

@media (max-width: 1000px){
    nav{
        display: none;
    }
    .header_2 {
        display: block;
        font-family: Arial, sans-serif;
        text-align: center;
    }

    #toggleNav img{
        width: 50px;
        background-color: transparent !important;
    }
    #navMenu {
        display: none;
        margin-top: 20px;
    }

    #navMenu ul {
        list-style: none;
        padding: 0;
    }

    #navMenu ul li {
        background-color: #333;
        margin: 5px 0;
        padding: 10px;
    }

    #navMenu ul li a {
        color: white;
        text-decoration: none;
        display: block;
    }
}

    .tabla-responsive {
      font-family: Arial, sans-serif;
      margin: 20px;
      background-color: #f9f9f9;
      overflow-x: auto;
    }

    /* Mensaje de aviso */
        .instruccion-aviso {
            text-align: center;
            margin-bottom: 20px;
            color: #555;
            background-color: #e8f0fe;
            padding: 10px 15px;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            width: 100%;
        }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 600px;
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    th, td {
      padding: 12px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }

    th {
      background-color: #007bff;
      color: white;
      position: relative; /* Para posicionar la flecha de ordenación */
      padding-right: 30px; /* Espacio para la flecha */
      user-select: none; /* Evita que el texto se seleccione al hacer clic */
    }
    
    thead th.ordenable {
        cursor: pointer;
    }
    
    tbody tr:nth-child(even) {
        background-color: #f9f9f9; /* Color de fondo alterno para las filas */
    }

    tbody tr:hover {
            background-color: #d7e2f7; /* Resalta la fila al pasar el ratón */
    }
    
    img {
      max-width: 400px;
      height: auto;
      border-radius: 6px;
    }
    /* Estilos para el indicador de ordenación (flecha) */
        thead th::after {
            content: '';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            opacity: 0; /* Oculta la flecha por defecto */
            transition: opacity 0.3s ease-in-out;
        }

        thead th.ordenado-asc::after {
            content: '';
            border-bottom: 8px solid white; /* Flecha hacia arriba para orden ascendente */
            opacity: 1; /* Muestra la flecha */
        }

        thead th.ordenado-desc::after {
            content: '';
            border-top: 8px solid white; /* Flecha hacia abajo para orden descendente */
            opacity: 1; /* Muestra la flecha */
        }
        .tooltip-text {
            visibility: hidden;
            width: 140px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;
            position: absolute;
            z-index: 1;
            bottom: 125%; /* Posición encima del elemento */
            left: 50%;
            margin-left: -70px; /* Centrar el tooltip */
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.8em;
            white-space: nowrap; /* Evita que el texto se rompa */
        }
        .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }
        thead th.ordenable:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
    @media (max-width: 600px) {
      table {
        font-size: 14px;
      }
      th, td {
        padding: 8px 10px;
      }
      thead th {
                padding-right: 25px;
      }
      thead th::after {
                right: 8px;
                border-left: 5px solid transparent;
                border-right: 5px solid transparent;
      }
      thead th.ordenado-asc::after {
                border-bottom: 7px solid white;
      }
      thead th.ordenado-desc::after {
                border-top: 7px solid white;
      }
      img {
        max-width: 250px;
      }
      .tooltip-text {
                width: 100px;
                margin-left: -50px;
                font-size: 0.75em;
            }
    }
.intro-billete {
  background: linear-gradient(to right, #f8f9fa, #eef2f5);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.intro-billete h1 {
  color: #0055a4;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #cfd8dc;
  padding-bottom: 0.5rem;
}

.intro-billete p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* Estilos generales */
.contact {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: #bfbdbd;
    margin: 0;
    padding: 40px;
    color: #333;
}

/* Título principal */
.contact h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Contenedor del formulario */
.contacto-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo del formulario */
.contacto-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

/* Subtítulo */
.contacto-form h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Grupo de entrada */
.input-group {
    margin-bottom: 15px;
}

/* Etiquetas */
.input-group label {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Campos de entrada */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Botón de enviar */
.btn-enviar {
    background: #4CAF50;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Efecto hover */
.btn-enviar:hover {
    background: #45a049;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-form {
        max-width: 90%;
    }
}



/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-container p {
    margin: 5px 0;
    font-size: 14px;
}

/* Estilo para el enlace de Facebook */
.facebook-link {
    color: #1877F2;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.facebook-link i {
    margin-right: 5px;
}

.facebook-link:hover {
    text-decoration: underline;
}
.legal{
    display:flex;
    justify-content:center;
    margin-bottom:50px;
    margin-top:25px;
    flex-wrap: wrap;
}
.legal p{
    margin-left:10px;
}
.legal a{
    margin-left:10px;
    color:white;
}
.legal a:hover{
    color:rgba(0,0,0,0.5);
}

