* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #1a1a1a;
  min-height: 100vh; /* Footer stays on bottom */
  display: flex; /* Footer stays on bottom */
  flex-direction: column; /* Footer stays on bottom */
  color: #ffffff;
}

header {
  width: 100%;
  height: 80px; /* Logo height: 50px */
  background: #000000;
  color: #bbbbbb;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 2px solid #fff;
}

header img {
  float: left;
  margin-top: 15px;
}

.contenedor {
  width: 97%;
  margin: auto;
}

header .contenedor {
  display: table;
}

/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Dark background */
  /*  color: #fff;*/
}
*/

/* Navigation bar styles */
nav {
    background-color: #000;
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    border-bottom: 2px solid #fff;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d32f2f; /* Red hover effect */
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a {
    color: #ffffff;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 1;
    border: 1px solid #fff;
    border-radius: 5px;
}

.dropdown-content a {
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: #d32f2f;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Centered title */
.page-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-top: 125px; /* Adjusted margin */
    color: #fff;
}

.torneo {
  margin-top: 125px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  line-height: 1.5;
}

.torneo a {
  color: #ffffff;
  text-decoration: none;
}

/* Category dropdown styles */
.category-select {
    display: block;
    width: 200px;
    margin: 20px auto; /* Center the dropdown */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: #333; /* Dark background for dropdown */
    color: #fff; /* White text */
    appearance: none; /* Remove default dropdown arrow */
}

/* General page content */
.content {
    text-align: center;
    margin: 20px;
    font-size: 1.5rem;
}

.lista-espera a {
  color: #ffffff;
  text-decoration: none;
}

.pasos {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.pasos a {
  color: #ffffff;
  text-decoration: none;
}

.blankdiv {
  height: 75px;
}

.horarios {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav ul li {
        margin: 0 10px;
        font-size: 1rem; /* Smaller font size for mobile */
    }

    .page-title {
        font-size: 2.5rem; /* Smaller title on mobile */
    }

    .content {
        font-size: 1.2rem; /* Smaller content font size */
    }

    .category-select {
        width: 65%; /* Smaller dropdown on mobile */
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align items */
    }

    nav ul {
        flex-direction: column; /* Stack menu items vertically */
        width: 100%; /* Full width */
        padding: 0; /* No padding */
    }

    nav ul li {
        margin: 10px 0; /* Spacing between vertical items */
    }

    .dropdown-content {
        left: 50%;
        transform: translateX(-50%); /* Center dropdown */
    }
}
