@font-face {
    font-family: "Radikal Bold";
    src: url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.eot");
    src: url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/a156ca0cab1c4a0b79463ed53604bac6.svg#Radikal Bold")format("svg");
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
.background-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0, 0, 0); /* Ajusta la opacidad según sea necesario */
    z-index: 2;
}


.text-wrapper {
    position: absolute;
    z-index: 2;
    bottom: 20%; /* Ajusta para posicionar el texto verticalmente como en la imagen */
    width: 100%;
    text-align: center; /* Alinea el texto horizontalmente al centro */
    color: white;
    font-family: 'Radikal Bold', sans-serif;
    display: flex;
    justify-content: center; /* Centra los elementos en el eje horizontal */
    align-items: center; /* Centra los elementos en el eje vertical */
    flex-direction: row; /* Alinea los elementos de texto en una fila */
    
}

.text-wrapper p {
    font-size: 2vw; /* Ajusta el tamaño del texto según sea necesario */
    margin: 0; /* Elimina el margen para alinear los textos en una sola línea */
    display: inline; /* Hace que los párrafos se muestren en línea */
    /* Agrega un margen horizontal si deseas separar los textos un poco */
    flex: 1; /* Distribuye el espacio uniformemente entre los elementos p */
    margin-left: 1vw;
    margin-right: 1vw;
}
.squid {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/Squid.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%; /* Tamaño inicial del calamar, puede ajustarse según sea necesario */
    animation: color-shift 70s infinite linear, heartbeat 10s infinite linear;
    filter: drop-shadow(0 0 20px white); /* Empieza con un resplandor blanco */
    filter: hue-rotate(0deg); /* Color base para el elemento */
}
.squid::before,
.squid::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    border-radius: 50%;
    filter: blur(8px);
}



/* Media queries para responsividad */
@media (max-width: 768px) {
    .text-wrapper p {
        font-size: 5vw; /* Tamaño de fuente más grande para dispositivos más pequeños */
    }
    .squid {
        background-size: 30%; /* El calamar es más grande en dispositivos más pequeños */       
    }
}

@media (max-width: 480px) {
    .text-wrapper p {
        font-size: 6vw; /* Tamaño de fuente aún más grande para pantallas muy pequeñas */
    }
    .squid {
        background-size: 90%; /* El calamar ocupa más espacio en pantallas muy pequeñas */
    }
}

@keyframes color-shift {
    0%, 100% { filter: hue-rotate(0deg) drop-shadow(0 0 15px red); }
    16% { filter: hue-rotate(60deg) drop-shadow(0 0 15px yellow); }
    33% { filter: hue-rotate(120deg) drop-shadow(0 0 15px lime); }
    50% { filter: hue-rotate(180deg) drop-shadow(0 0 15px cyan); }
    66% { filter: hue-rotate(240deg) drop-shadow(0 0 15px blue); }
    83% { filter: hue-rotate(300deg) drop-shadow(0 0 15px magenta); }
}

@keyframes heartbeat {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.squid::before,
.squid::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    border-radius: 50%;
    filter: blur(8px);
}

.squid::before {
    filter: drop-shadow(0 0 15px red);
    animation: red-glow 70s infinite linear;
}

.squid::after {
    filter: drop-shadow(0 0 15px blue);
    animation: blue-glow 70s infinite linear;
}

@keyframes red-glow {
    0%, 100% { filter: hue-rotate(0deg) drop-shadow(0 0 15px red); }
    50% { filter: hue-rotate(180deg) drop-shadow(0 0 15px cyan); }
}

@keyframes blue-glow {
    0%, 100% { filter: hue-rotate(180deg) drop-shadow(0 0 15px blue); }
    50% { filter: hue-rotate(360deg) drop-shadow(0 0 15px magenta); }
}
