134 lines
2.5 KiB
CSS
134 lines
2.5 KiB
CSS
/* Contenedor principal */
|
|
.main-container {
|
|
display: flex;
|
|
height: 80vh;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Lado izquierdo */
|
|
.cardIzq {
|
|
flex: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.cardIzq img {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
height: 400px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.cardIzq h2 {
|
|
font-size: 44px;
|
|
margin: 20px;
|
|
}
|
|
|
|
.zones-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
margin-top: 15px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Lado derecho (tarjetas en columna) */
|
|
.cardDer {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column; /* Se colocan en columna */
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20px; /* Espacio entre las tarjetas */
|
|
}
|
|
|
|
.card {
|
|
background: #1E1E30;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Botón centrado en la parte inferior */
|
|
.button-container {
|
|
position: relative;
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#comprarBoletos {
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border: none;
|
|
background-color: #5e17eb;
|
|
color: white;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
#comprarBoletos:hover {
|
|
background-color: #4c11c9;
|
|
}
|
|
/* Contenedor de asientos dentro de la tarjeta */
|
|
.asientos-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr); /* 5 columnas por fila */
|
|
gap: 10px;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Estilos para cada asiento */
|
|
.asiento {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: all 0.2s ease;
|
|
user-select: none;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
/* Iconos dentro de los asientos */
|
|
.asiento i {
|
|
font-size: 24px; /* Ajusta el tamaño del icono */
|
|
}
|
|
|
|
/* Asientos disponibles */
|
|
.asiento.disponible {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
/* Asientos ocupados */
|
|
.asiento.ocupado {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Asientos seleccionados */
|
|
.asiento.seleccionado {
|
|
background-color: #007bff;
|
|
color: white;
|
|
transform: scale(1.1);
|
|
box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
|
|
}
|
|
|