/* ###############################   BODY DE LA WEB    #########################*/
body {
  margin: 0 auto;
  padding: 0;


  font-size: 16px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

h1{
  padding: 2rem;
}

/* ###############################   ENCABEZADO DE LA WEB    #########################*/
/* Estilo para el header */
header {
  display: flex;
  align-items: center;
  
  position: sticky;
  top: 0;
  
  background-color: #333;
  color: #fff;
}

/* Estilo para el logo */
.logo {
  padding: 10px;
  display: inline-block;
  
  font-size: 24px;
  font-weight: bold;
}

.logo a{
  color: #fff;
  text-decoration: none;
}


/* ###############################   CONTENIDO DE LA GALERÍA    #########################*/
.contenedor-galeria{
  padding: 20px;
  text-align: center;
  justify-content: center;
}

.gallery {
  margin: 30px auto;
  display: flex;
  justify-content: space-around;
  max-width: 70em;
  gap: 2em;
}

.item {
  margin: 15px auto;
  position: relative;
}

/*Asignamos un tamaño a las imágenes, y una transición*/
.item img {
  display: block;
  width: 270px;
  height: 370px;
  object-fit: cover;
  transition: 0.3s ease;
  border-radius: 10%;
  box-shadow: 10px 10px 5px black;
}

/*Agrandamos la imagen al pasar el cursor sobre ella*/
.item:hover img {
  transform: scale(1.2);
}

@media (max-width: 875px){
  .gallery{
      flex-direction: column;
  } 
}
/* ###############################   PIE DE LA WEB    #########################*/
footer {
  width: 100%;
  
  bottom: 0;
  
  background-color: #333;
  color: #fff;
  text-align: center;
}

footer p{
  margin: 0;
}

button{
  margin-bottom: 2rem;
}


/* ###############################   Contenedor de las Salas    #########################*/
.contenedor-sala{
  text-align: center;
}

#sala-container{
 display: flex;
 justify-content: center;
}
/* ###############################   Sala de Cine - Butacas    #########################*/

table {
  border-collapse: separate;
  padding: 2rem;
}
td {
  border-collapse: separate;
  border-spacing: 2px;
  width: 80px;
  height: 80px;
  text-align: center;
  cursor: pointer;
  border-radius: 15%;
}
.disponible {
  background-color: green;
}
.ocupado {
  background-color: red;
}
.seleccionado {
  background-color: orange;
}

#reservarBtn{
  margin-left: 2rem;
}