ProyectoTicketFei/css/conciertos.css

187 lines
3.2 KiB
CSS

body {
background-color: #12122B;
font-family: 'Poppins', sans-serif;
color: #E3E3E3;
margin: 0;
padding: 0;
}
nav {
background-color: #12122B;
padding: 1rem 2rem;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
position: sticky;
top: 0;
z-index: 1000;
}
.navbar-brand {
font-size: 1.8rem;
font-weight: bold;
color: #E3E3E3;
text-decoration: none;
}
.nav-links {
display: flex;
gap: 25px;
}
.nav-links a {
color: #E3E3E3;
text-decoration: none;
font-size: 1.1rem;
font-weight: 500;
transition: color 0.3s;
padding-bottom: 5px;
}
.nav-links a:hover {
color: #AAAA91;
border-bottom: 3px solid #AAAA91;
}
.search-container {
display: flex;
background: #383845;
padding: 10px;
border-radius: 6px;
align-items: center;
}
.search-container input {
border: none;
background: transparent;
color: #E3E3E3;
outline: none;
padding: 8px;
flex-grow: 1;
}
.search-container button {
background: #AAAA91;
border: none;
padding: 8px 12px;
color: #12122B;
font-weight: bold;
cursor: pointer;
border-radius: 6px;
}
.search-container button:hover {
background: #848478;
}
#listaConciertos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
padding: 40px;
max-width: 1300px;
margin: auto;
}
.concierto-card {
background-color: #383845;
border-radius: 12px;
overflow: hidden;
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
display: flex;
flex-direction: column;
height: 100%;
}
.concierto-card:hover {
transform: translateY(-6px);
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}
.concierto-card img {
width: 100%;
height: 180px;
object-fit: cover;
}
.card-body {
padding: 16px;
flex-grow: 1;
}
.card-title {
font-size: 1.3rem;
font-weight: bold;
color: #E3E3E3;
}
.card-text {
font-size: 1rem;
color: #C4C4C4;
}
.btn-comprar {
width: 100%;
background: #5CB85C;
color: #12122B;
font-weight: bold;
padding: 12px;
border-radius: 8px;
transition: background 0.3s;
text-align: center;
display: block;
margin-top: auto;
}
.btn-comprar:hover {
background: #4CAF50;
}
/* Contenedor del menú */
.menu-container {
position: absolute;
top: 10px;
right: 10px;
z-index: 10;
}
/* Botón de los tres puntos */
.menu-btn {
background: #12122B;
border: none;
font-size: 20px;
color: white;
cursor: pointer;
padding: 5px 10px;
border-radius: 30%;
}
.menu {
display: none;
position: absolute;
top: 30px;
right: 0;
background: #383845;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 20;
}
/* Opciones del menú */
.menu button {
display: block;
width: 100%;
padding: 10px;
border: none;
background: #383845;
cursor: pointer;
text-align: left;
border-radius: 5px;
}
.menu button:hover {
background: #3e3e48;
}