Malaji71 commited on
Commit
1903435
·
verified ·
1 Parent(s): 5cd2097

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +25 -33
index.html CHANGED
@@ -29,11 +29,11 @@
29
 
30
  .slide.active { display: flex; align-items: center; justify-content: center; }
31
 
32
- /* OVERLAYS: Ahora empiezan invisibles */
33
  .overlay, .overlay-slide2, .overlay-slide4, .overlay-slide5, .overlay-slide6 {
34
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
35
  z-index: 1;
36
- opacity: 0; /* Invisible al cargar */
37
  pointer-events: none;
38
  }
39
 
@@ -63,97 +63,95 @@
63
  to { transform: scale(1.05); }
64
  }
65
 
66
- /* Animación para el SOMBREADO (Overlay) */
67
  @keyframes fadeInOverlay {
68
  from { opacity: 0; }
69
  to { opacity: 1; }
70
  }
71
 
72
- /* Clases de animación para elementos */
 
73
  .animate-overlay {
74
  animation: fadeInOverlay 1.5s ease-out forwards;
75
- animation-delay: 0.5s; /* Pequeña pausa para ver la imagen limpia */
76
  }
77
 
78
  .animate-title {
79
  opacity: 0;
80
  animation: fadeInUp 1s ease-out forwards;
81
- animation-delay: 0.8s;
82
  }
83
 
84
  .animate-tagline {
85
  opacity: 0;
86
  animation: fadeIn 1.2s ease-out forwards;
87
- animation-delay: 0.6s;
88
  }
89
 
90
  .animate-credits {
91
  opacity: 0;
92
  animation: fadeInUp 1s ease-out forwards;
93
- animation-delay: 1.2s;
94
  }
95
 
96
  .animate-genre {
97
  opacity: 0;
98
  animation: fadeIn 1s ease-out forwards;
99
- animation-delay: 1.6s;
100
  }
101
 
102
  .animate-text {
103
  opacity: 0;
104
  animation: slideInLeft 1s ease-out forwards;
105
- animation-delay: 0.8s;
106
  }
107
 
108
  .animate-title-slide {
109
  opacity: 0;
110
  animation: fadeInUp 0.8s ease-out forwards;
111
- animation-delay: 0.6s;
112
  }
113
 
114
  .animate-table {
115
  opacity: 0;
116
  animation: fadeIn 1.2s ease-out forwards;
117
- animation-delay: 0.8s;
118
  }
119
 
120
  .animate-notes {
121
  opacity: 0;
122
  animation: fadeInUp 1s ease-out forwards;
123
- animation-delay: 1.5s;
124
  }
125
 
126
  .animate-contact {
127
  opacity: 0;
128
  animation: slideInLeft 0.8s ease-out forwards;
129
- animation-delay: 0.6s;
130
  }
131
 
132
  .animate-contact-item {
133
  opacity: 0;
134
  animation: fadeInUp 0.6s ease-out forwards;
135
  }
136
- .animate-contact-item:nth-child(1) { animation-delay: 1s; }
137
- .animate-contact-item:nth-child(2) { animation-delay: 1.2s; }
138
- .animate-contact-item:nth-child(3) { animation-delay: 1.4s; }
139
 
140
  .animate-miembro {
141
  opacity: 0;
142
  animation: scaleIn 0.8s ease-out forwards;
143
  }
144
- .animate-miembro:nth-child(1) { animation-delay: 0.8s; }
145
- .animate-miembro:nth-child(2) { animation-delay: 1s; }
146
- .animate-miembro:nth-child(3) { animation-delay: 1.2s; }
147
 
148
  .animate-highlight {
149
  opacity: 0;
150
  animation: fadeInUp 0.8s ease-out forwards;
151
- animation-delay: 0.8s;
152
  }
153
 
154
  /* ===================== ESTILOS GENERALES ===================== */
155
-
156
- /* Slide 1 */
157
  .tagline-top {
158
  position: absolute; top: 25px; width: 100%; text-align: center;
159
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 2rem;
@@ -180,7 +178,6 @@
180
  text-shadow: 0 2px 10px rgba(0,0,0,1);
181
  }
182
 
183
- /* Slide 2 */
184
  .overlay-slide2 {
185
  background: linear-gradient(to bottom, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.0) 100%);
186
  }
@@ -196,7 +193,6 @@
196
  text-align: justify; font-weight: 300; color: #f5f5f5; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
197
  }
198
 
199
- /* Slide 3 */
200
  .titulo-slide-top-right {
201
  font-family: 'EB Garamond', serif; font-size: 3.2rem; font-weight: 400;
202
  letter-spacing: 1px; text-align: right; position: absolute;
@@ -221,7 +217,6 @@
221
  }
222
  .miembro-bio { font-size: 1rem; line-height: 1.7; font-weight: 300; opacity: 0.95; }
223
 
224
- /* Slide 4 */
225
  .overlay-slide4 {
226
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.0) 100%);
227
  }
@@ -280,7 +275,6 @@
280
  .roi-risk { color: #fb923c; }
281
  .roi-low { color: #f87171; }
282
 
283
- /* Slide 5 */
284
  .overlay-slide5 {
285
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.0) 100%);
286
  }
@@ -351,7 +345,6 @@
351
  font-weight: 600;
352
  }
353
 
354
- /* Slide 6 */
355
  .overlay-slide6 {
356
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.0) 100%);
357
  }
@@ -546,7 +539,7 @@
546
  <div class="overlay-slide2 animate-overlay"></div>
547
  <div class="content-slide2">
548
  <h2 class="titulo-slide2 animate-text">Guatemala, 1946</h2>
549
- <div class="texto-slide2 animate-text" style="animation-delay: 1s;">
550
  El nuevo gobierno revolucionario se enfrenta a una inesperada crisis: un asesino en serie está abusando y asesinando niños de entre 10 y 15 años. Es como un fantasma: nadie le ha visto, no hay testigos. Parece algo sobrenatural. En la urgencia por detener la ola de violentos crímenes, las autoridades ofrecen al comisario Miguel un indulto por todos sus delitos durante el régimen anterior a cambio de capturar al asesino. En un sistema corrupto, la búsqueda de justicia exige las mismas manos manchadas que pretende limpiar.
551
  </div>
552
  </div>
@@ -580,7 +573,7 @@
580
  <div class="overlay-slide4 animate-overlay"></div>
581
  <div class="content-slide4">
582
  <h2 class="titulo-slide4 animate-title-slide">Comparables de mercado</h2>
583
- <p class="subtitulo-slide4 animate-title-slide" style="animation-delay: 0.8s;">Por temática y presupuesto</p>
584
  <div class="highlight-row animate-highlight">
585
  <div class="highlight-box">
586
  <span class="highlight-number">2.60x</span>
@@ -693,7 +686,7 @@
693
  <div class="content-slide6">
694
  <h1 class="gracias-title animate-contact">Muchas gracias</h1>
695
 
696
- <div class="contacto-nombre animate-contact" style="animation-delay: 0.8s;">Contacto</div>
697
 
698
  <div class="contacto-item animate-contact-item">
699
  <span>📞</span>
@@ -732,11 +725,10 @@
732
  function changeSlide(dir) {
733
  const currentEl = document.querySelector('.slide.active');
734
  if (currentEl) {
735
- // Resetear todas las animaciones al cambiar de slide
736
  const animatedElements = currentEl.querySelectorAll('.animate-overlay, .animate-title, .animate-tagline, .animate-credits, .animate-genre, .animate-text, .animate-title-slide, .animate-table, .animate-notes, .animate-contact, .animate-contact-item, .animate-miembro, .animate-highlight');
737
  animatedElements.forEach(el => {
738
  el.style.animation = 'none';
739
- el.offsetHeight; // Trigger reflow
740
  el.style.animation = '';
741
  });
742
  }
 
29
 
30
  .slide.active { display: flex; align-items: center; justify-content: center; }
31
 
32
+ /* OVERLAYS: Empiezan invisibles */
33
  .overlay, .overlay-slide2, .overlay-slide4, .overlay-slide5, .overlay-slide6 {
34
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
35
  z-index: 1;
36
+ opacity: 0;
37
  pointer-events: none;
38
  }
39
 
 
63
  to { transform: scale(1.05); }
64
  }
65
 
 
66
  @keyframes fadeInOverlay {
67
  from { opacity: 0; }
68
  to { opacity: 1; }
69
  }
70
 
71
+ /* === TIMINGS: 1.5s de imagen limpia antes de cualquier animación === */
72
+
73
  .animate-overlay {
74
  animation: fadeInOverlay 1.5s ease-out forwards;
75
+ animation-delay: 1.5s; /* IMAGEN LIMPIA DURANTE 1.5 SEGUNDOS */
76
  }
77
 
78
  .animate-title {
79
  opacity: 0;
80
  animation: fadeInUp 1s ease-out forwards;
81
+ animation-delay: 1.8s;
82
  }
83
 
84
  .animate-tagline {
85
  opacity: 0;
86
  animation: fadeIn 1.2s ease-out forwards;
87
+ animation-delay: 1.6s;
88
  }
89
 
90
  .animate-credits {
91
  opacity: 0;
92
  animation: fadeInUp 1s ease-out forwards;
93
+ animation-delay: 2.2s;
94
  }
95
 
96
  .animate-genre {
97
  opacity: 0;
98
  animation: fadeIn 1s ease-out forwards;
99
+ animation-delay: 2.6s;
100
  }
101
 
102
  .animate-text {
103
  opacity: 0;
104
  animation: slideInLeft 1s ease-out forwards;
105
+ animation-delay: 1.8s;
106
  }
107
 
108
  .animate-title-slide {
109
  opacity: 0;
110
  animation: fadeInUp 0.8s ease-out forwards;
111
+ animation-delay: 1.6s;
112
  }
113
 
114
  .animate-table {
115
  opacity: 0;
116
  animation: fadeIn 1.2s ease-out forwards;
117
+ animation-delay: 1.8s;
118
  }
119
 
120
  .animate-notes {
121
  opacity: 0;
122
  animation: fadeInUp 1s ease-out forwards;
123
+ animation-delay: 2.5s;
124
  }
125
 
126
  .animate-contact {
127
  opacity: 0;
128
  animation: slideInLeft 0.8s ease-out forwards;
129
+ animation-delay: 1.6s;
130
  }
131
 
132
  .animate-contact-item {
133
  opacity: 0;
134
  animation: fadeInUp 0.6s ease-out forwards;
135
  }
136
+ .animate-contact-item:nth-child(1) { animation-delay: 2.0s; }
137
+ .animate-contact-item:nth-child(2) { animation-delay: 2.2s; }
138
+ .animate-contact-item:nth-child(3) { animation-delay: 2.4s; }
139
 
140
  .animate-miembro {
141
  opacity: 0;
142
  animation: scaleIn 0.8s ease-out forwards;
143
  }
144
+ .animate-miembro:nth-child(1) { animation-delay: 1.8s; }
145
+ .animate-miembro:nth-child(2) { animation-delay: 2.0s; }
146
+ .animate-miembro:nth-child(3) { animation-delay: 2.2s; }
147
 
148
  .animate-highlight {
149
  opacity: 0;
150
  animation: fadeInUp 0.8s ease-out forwards;
151
+ animation-delay: 1.8s;
152
  }
153
 
154
  /* ===================== ESTILOS GENERALES ===================== */
 
 
155
  .tagline-top {
156
  position: absolute; top: 25px; width: 100%; text-align: center;
157
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 2rem;
 
178
  text-shadow: 0 2px 10px rgba(0,0,0,1);
179
  }
180
 
 
181
  .overlay-slide2 {
182
  background: linear-gradient(to bottom, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.0) 100%);
183
  }
 
193
  text-align: justify; font-weight: 300; color: #f5f5f5; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
194
  }
195
 
 
196
  .titulo-slide-top-right {
197
  font-family: 'EB Garamond', serif; font-size: 3.2rem; font-weight: 400;
198
  letter-spacing: 1px; text-align: right; position: absolute;
 
217
  }
218
  .miembro-bio { font-size: 1rem; line-height: 1.7; font-weight: 300; opacity: 0.95; }
219
 
 
220
  .overlay-slide4 {
221
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.0) 100%);
222
  }
 
275
  .roi-risk { color: #fb923c; }
276
  .roi-low { color: #f87171; }
277
 
 
278
  .overlay-slide5 {
279
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.0) 100%);
280
  }
 
345
  font-weight: 600;
346
  }
347
 
 
348
  .overlay-slide6 {
349
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.0) 100%);
350
  }
 
539
  <div class="overlay-slide2 animate-overlay"></div>
540
  <div class="content-slide2">
541
  <h2 class="titulo-slide2 animate-text">Guatemala, 1946</h2>
542
+ <div class="texto-slide2 animate-text" style="animation-delay: 2.0s;">
543
  El nuevo gobierno revolucionario se enfrenta a una inesperada crisis: un asesino en serie está abusando y asesinando niños de entre 10 y 15 años. Es como un fantasma: nadie le ha visto, no hay testigos. Parece algo sobrenatural. En la urgencia por detener la ola de violentos crímenes, las autoridades ofrecen al comisario Miguel un indulto por todos sus delitos durante el régimen anterior a cambio de capturar al asesino. En un sistema corrupto, la búsqueda de justicia exige las mismas manos manchadas que pretende limpiar.
544
  </div>
545
  </div>
 
573
  <div class="overlay-slide4 animate-overlay"></div>
574
  <div class="content-slide4">
575
  <h2 class="titulo-slide4 animate-title-slide">Comparables de mercado</h2>
576
+ <p class="subtitulo-slide4 animate-title-slide" style="animation-delay: 1.8s;">Por temática y presupuesto</p>
577
  <div class="highlight-row animate-highlight">
578
  <div class="highlight-box">
579
  <span class="highlight-number">2.60x</span>
 
686
  <div class="content-slide6">
687
  <h1 class="gracias-title animate-contact">Muchas gracias</h1>
688
 
689
+ <div class="contacto-nombre animate-contact" style="animation-delay: 1.8s;">Contacto</div>
690
 
691
  <div class="contacto-item animate-contact-item">
692
  <span>📞</span>
 
725
  function changeSlide(dir) {
726
  const currentEl = document.querySelector('.slide.active');
727
  if (currentEl) {
 
728
  const animatedElements = currentEl.querySelectorAll('.animate-overlay, .animate-title, .animate-tagline, .animate-credits, .animate-genre, .animate-text, .animate-title-slide, .animate-table, .animate-notes, .animate-contact, .animate-contact-item, .animate-miembro, .animate-highlight');
729
  animatedElements.forEach(el => {
730
  el.style.animation = 'none';
731
+ el.offsetHeight;
732
  el.style.animation = '';
733
  });
734
  }