2025-09-05 14:17:26 -04:00
|
|
|
.ocean {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 30vh;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: #4fc3f7; /* color del mar */
|
|
|
|
|
z-index: -1; /* para que quede atrás del contenido */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wave {
|
|
|
|
|
position: absolute;
|
2025-09-05 18:24:12 -04:00
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 160%;
|
|
|
|
|
height: 130%;
|
2025-09-05 14:17:26 -04:00
|
|
|
background: rgba(255, 255, 255, 0.5);
|
2025-09-05 18:24:12 -04:00
|
|
|
border-radius: 50% 50%;
|
|
|
|
|
animation: waveMove 6s linear infinite;
|
2025-09-05 14:17:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wave:nth-child(2) {
|
2025-09-05 18:24:12 -04:00
|
|
|
top: -10;
|
2025-09-05 14:17:26 -04:00
|
|
|
background: rgba(255, 255, 255, 0.3);
|
2025-09-05 18:24:12 -04:00
|
|
|
animation-duration: 8s;
|
2025-09-05 14:17:26 -04:00
|
|
|
animation-delay: -2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wave:nth-child(3) {
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
2025-09-05 18:24:12 -04:00
|
|
|
animation-duration: 10s;
|
2025-09-05 14:17:26 -04:00
|
|
|
animation-delay: -4s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes waveMove {
|
|
|
|
|
0% {
|
|
|
|
|
transform: translateX(0) translateY(0);
|
|
|
|
|
}
|
|
|
|
|
50% {
|
|
|
|
|
transform: translateX(-25%) translateY(5%);
|
|
|
|
|
}
|
|
|
|
|
100% {
|
|
|
|
|
transform: translateX(0) translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
|
.ocean {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
.wave {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|