/* Reset básico */ body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; overflow-x: hidden; } /* Estilos del encabezado */ header { background-color: #4d4d4d; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; } header h1 { margin: 0; font-size: 24px; } nav a { color: white; text-decoration: none; margin-right: 20px; font-weight: bold; } nav a:hover { text-decoration: underline; } /* Carrusel de conciertos */ .contenedor-principal { display: flex; justify-content: center; width: 100%; background: #eeeeee; padding: 20px; border-radius: 10px; } /* Contenedor de conciertos con scroll horizontal */ .contenedor-conciertos { display: flex; gap: 20px; overflow-x: auto; /* Habilitar desplazamiento horizontal */ scroll-behavior: smooth; white-space: nowrap; /* Evitar que los conciertos se apilen verticalmente */ padding: 10px; width: 90%; } /* Estilo del scrollbar en navegadores modernos */ .contenedor-conciertos::-webkit-scrollbar { height: 8px; } .contenedor-conciertos::-webkit-scrollbar-thumb { background: #008cba; border-radius: 5px; } .contenedor-conciertos::-webkit-scrollbar-track { background: #f4f4f4; } /* Tarjetas de concierto */ .concierto { background: white; border-radius: 10px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); text-align: center; width: 250px; display: inline-block; padding: 15px; } .concierto img { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; } .concierto h2 { font-size: 18px; margin: 10px 0; } .concierto p { font-size: 14px; color: #666; } /* Botón comprar */ .concierto button { background-color: #008cba; color: white; padding: 10px 15px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; } .concierto button:hover { background-color: #005f7f; } /* Botón de volver */ .boton-volver { display: inline-block; margin-top: 20px; padding: 10px 15px; background-color: #008cba; color: white; text-decoration: none; font-weight: bold; border-radius: 5px; } .boton-volver:hover { background-color: #005f7f; }