body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  /* Color de fondo */
  background-image: url("Fondo.webp");
  background-size: cover;
  /* Ajustar la imagen al contenedor */
  background-repeat: no-repeat;
  background-position: center;
  /* Centrar la imagen */
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("Fondo.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(8px); /* Ajusta el nivel de difuminado */
  z-index: -1; /* Para que quede detrás del contenido */
}

#Nombre_titulo {
  font-weight: bold;
  font-size: clamp(1rem, 4vw, 2rem); /* Ajuste fluido según el ancho de pantalla */
  white-space: nowrap; /* Evita que el texto se divida en varias líneas */
  overflow: hidden;
  text-overflow: ellipsis; /* Opcional: muestra "..." si se desborda */
}

main {
  padding-top: 75px;

  padding-bottom: 30px;
}

header {
  background-color: #d5ffd5;
  color: black;
  text-align: center;
  padding: 3px 0;
  position: fixed;
  width: 100%;
  top: 0;
}

.title {
  margin: 0;
}

.users {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Tres columnas */
  gap: 20px;
  color: black;
}

.users .user-card {
  border: 1px solid #ccc;
  padding: 10px;
  display: flex;
  background-color: #cbe1fbc7;
  border-radius: 8px;
  align-items: center;
}

.users .user-card>div {
  flex: 1;
  /* Que ocupe todo el espacio disponible */
}

.users .user-card .user-info {
  text-align: center;
  /* Alinear texto al centro */
  margin-top: 5px;
  /* Espacio entre el nombre y la información */
}

.users .user-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.users .user-card .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.users .user-card h3 {
  margin: 0;
  font-size: 1.5em;
}

.users .user-card p {
  margin: 5px 0;
  /* Espaciado entre los párrafos */
  font-size: 0.9em;
  /* Tamaño del texto del párrafo */
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #d5ffd5;
  color: black;
  padding: 3px 20px;
}

footer h2 {
  margin: 0;
}

/* Estilos para los botones del footer */
.Footer_Buttons {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  /* Agrega scroll fluido en dispositivos iOS */
}

.Footer_Buttons button {
  flex: 0 0 auto;
  /* Evita que los botones se expandan */
  white-space: nowrap;
  /* Evita el salto de línea dentro de los botones */
  min-width: 150px;
  /* Ancho mínimo para los botones */
  padding: 10px 15px;
  margin-right: 10px;
  border: none;
  border-radius: 5px;
  background-color: #27ae60;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buttons {
  display: flex;
  justify-content: center;
}

.current-time {
  text-align: center;
}

button:hover {
  background-color: #2ecc71;
}

/* Estilo para la clase 'active' */
button.active {
  background-color: #14552f;
}

::-webkit-scrollbar {
  width: 5px;
}

/* Barrita de scroll */
::-webkit-scrollbar-thumb {
  background: #44ee44;
  border-radius: 5px;
}

/* Barrita de scroll cuando se presiona */
::-webkit-scrollbar-thumb:hover {
  background: #2b912b;
}

h1,
h2,
h3 {
  font-weight: bold !important;
}

.text-bold {
  font-weight: 700;
}


.Div_Centro {
  justify-content: center;
}


/* Estilos para pantallas más pequeñas */
@media screen and (max-width: 1400px) {
  .buttons{
      justify-content: unset !important;
  }
  .users .user-card h3{
    font-size: 1.0em !important;
  }
  .users .user-card p{
    font-size: 0.7em !important;
  }
}