Actualizar Interfaz/estilos/Artistas.css

This commit is contained in:
maria.ruiz 2025-03-10 07:59:41 +00:00
parent 28c158e8a2
commit e631a4ce7c
1 changed files with 129 additions and 101 deletions
Interfaz/estilos

View File

@ -1,101 +1,129 @@
body { body {
font-family: 'Trebuchet MS', sans-serif; font-family: 'Trebuchet MS', sans-serif;
background-color: #2E2E2E; background-color: #d9d9d9;
text-align: center; text-align: center;
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
} }
.background-container { .background-container {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
z-index: -1; /* Para que quede de fondo */ z-index: -1; /* Para que quede de fondo */
} }
.linea { .linea {
position: absolute; position: absolute;
width: 1000px; width: 1000px;
} }
.linea2 { .linea2 {
position: absolute; position: absolute;
width: 1300px; width: 1300px;
} }
.linea:nth-child(2) { top: 32%; left: -10%; } .linea:nth-child(2) { top: 32%; left: -10%; }
.linea2:nth-child(1) { top: 26%; right: 37%; } .linea2:nth-child(1) { top: 26%; right: 37%; }
.linea:nth-child(4) { bottom: 36%; left: 50%; } .linea:nth-child(4) { bottom: 36%; left: 50%; }
.linea2:nth-child(3) { bottom: 15%; right: -21%; } .linea2:nth-child(3) { bottom: 15%; right: -21%; }
.blur-overlay { .blur-overlay {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: rgba(12, 15, 20, 0.76); background: rgba(140, 144, 150, 0.76);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
z-index: 0; z-index: 0;
} }
.titulo { .titulo {
position: relative; position: relative;
z-index: 1; z-index: 1;
color: aliceblue; color: rgb(64, 64, 64);
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
margin-top: 60px; margin-top: 60px;
} }
#pelicula { #pelicula {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 70vh; height: 70vh;
gap: 40px; gap: 40px;
margin-top: 20px; margin-top: 20px;
} }
.artista { .artista {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
width: 450px; width: 450px;
height: 450px; height: 450px;
transition: transform 0.3s ease; transition: transform 0.3s ease;
} }
.artista:hover { .artista:hover {
transform: scale(1.15); transform: scale(1.15);
} }
.artista img { .artista img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
} }
.overlay { .overlay {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 20px; font-size: 20px;
opacity: 0; opacity: 0;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
} }
.artista:hover .overlay { .artista:hover .overlay {
opacity: 1; opacity: 1;
} }
.back-button {
position: absolute;
top: 60px;
left: 40px;
font-size: 24px;
color: white;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1); /* Un leve fondo para mejor visibilidad */
transition: background 0.3s ease, transform 0.2s ease;
}
.back-button:hover {
background: rgba(255, 255, 255, 0.3); /* Efecto hover más visible */
transform: scale(1.1); /* Aumenta ligeramente el tamaño */
}
.arrow {
font-size: 30px; /* Asegura que la flecha sea grande */
pointer-events: none; /* Permite que el clic en la flecha también active el botón */
}