div {
  text-align: center;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 30px;
  padding: 0;
}

li {
  font-size: 2vw;
}

li.jabali {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #c9848e;
  border:3px solid red
}
li.gancho {
  color: #000000;
  /*text-decoration: line-through;*/
  /*background-color: #00ff00;*/
  border:3px solid red
}

li.garrot {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #FFBB33;
  border:3px solid black
}
li.mitja_verda {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #FFF033;
  border:3px solid black
}
li.garrot_except {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #BA0505;
  border:3px solid black
}
li.dies_habils {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #1F5BE5;
  border:3px solid black
}
li.prorroga {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #5CFC7E;
  border:3px solid black
}
li.prorrogae {
  color: #000000;
  /*text-decoration: line-through;*/
  background-color: #12872B;
  border:3px solid black
}
h2 {
  margin-bottom: 4px;
  padding: 0;
}

.first-day {
  grid-column-start: var(--first-day-start, 0);
}

.day-name {
  background: #eee;
  font-weight: bold;
  font-size: 2vw;
  margin-bottom: 2px;
  padding: 4px;
  text-align: center;
}
body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100vh;
}

header {
	background-color: #f0f0f0;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

header .logo {
	width: 130px;
	height: auto;
}

header h1 {
	margin: 10px;
}

.container {
	display: grid;
	flex-wrap: wrap;
	justify-content: center;
	gap: 21px;
	margin: 10px;
	/*width: 100%;*/
}
.ventana {
    /* Estilos para el cuadro centrado */
    width: 80%; /* Ancho del cuadro, puedes ajustarlo */
    max-width: 600px; /* Ancho máximo para que no se estire demasiado en pantallas grandes */
    padding: 30px; /* Espacio interno dentro del cuadro */
    border: 1px solid #ddd;
    border-radius: 15px; /* Bordes redondeados */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    /* El centrado ya lo hace el .container con flexbox */
    text-align: center; /* Asegura que el texto dentro de ventana esté centrado */
	margin-top: 14%;
}
.button {
	background-color: #007bff;
	color: white;
	padding: 34px 64px;
	border: none;
	border-radius: 23px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.button:hover {
	background-color: #0056b3;
}

footer {
	background-color: #333;
	color: white;
	text-align: center;
	padding: 0px;
	position: fixed; /* Fijar al final de la página */
	bottom: 0;
	width: 100%;
}
@media (max-width: 600px) {
	.container {
		flex-direction: column;
	}
}
.logo {
  width: 50%;
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    width: 70%;
  }
}
@media (max-width: 768px) {
  footer {
    text-align: 10px; /* Alineación de texto a la izquierda en pantallas pequeñas */
  }
  footer p {
    margin-bottom: 10px; /* Espacio entre párrafos en pantallas pequeñas */
  }
}
.tabla-responsive {
  width: 100%;
}

table {
  /*width: 100%;*/
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

th, td {
  flex: 1;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #ddd;
	border: 1px solid #ddd
}

@media (max-width: 600px) {
  table {
    flex-direction: row;
  }

  th, td {
    flex-wrap: wrap;
	border: 1px solid #ddd
  }
}