@font-face {
    font-family: 'OpenDyslexic';
    src: url('Fuentes/OpenDyslexic/OpenDyslexic-Regular.woff2') format('woff2');
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'OpenDyslexic', sans-serif;
    color: white;
    overflow-x: hidden; 
    background: url('https://i.ibb.co/TMjC4dH0/tekstury-razmytie-siniy.jpg') no-repeat center center fixed; 
   background-size: cover;
}

blockquote {
    margin: 20px 0;
    padding: 15px; 
    background-color: rgba(0, 0, 0, 0.5);  
    border-left: none; 
    border-radius: 10px; 
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

blockquote:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); 
}

blockquote.red {
    background-color: rgba(0, 0, 0, 0.336);
    animation: backgroundColorChange 5s infinite;
}

@keyframes backgroundColorChange {
    0% {
        background-color: rgba(0, 0, 0, 0.336);
    }
    50% {
        background-color: rgba(255, 0, 0, 0.7);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.336);
    }
}

blockquote.gold {
    background-color: rgba(0, 0, 0, 0.336);
    animation: backgroundColorChangeGold 5s infinite;
}

.quote-rotator blockquote {
  display: none;
  text-align: center;
  font-size: 1.2em;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0,0,0,0.4);
  color: white;
  transition: opacity 0.5s;
}


@keyframes backgroundColorChangeGold {
    0% {
        background-color: rgba(0, 0, 0, 0.336);
    }
    50% {
        background-color: rgba(255, 251, 0, 0.055);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.336);
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #232323; 
    z-index: 1000;
}

.loading-screen p {
    font-size: 2em;
    font-family: 'OpenDyslexic', sans-serif;
}

.hide {
    display: none;
}

video#bg-video {
    position: fixed; 
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; 
}

a {
    color: lightblue;
    cursor: pointer;
}

code {
    font-family: monospace;
    padding: 2px 4px;
    border-radius: 4px;
    background-color: #232323; 
    border-left: 5px solid #ccc;
    color: white;
    white-space: pre-wrap; 
    word-wrap: break-word; 
    display: block; 
    padding: 10px; 
    border-radius: 5px; 
    overflow-x: auto; 
}

.content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 30px;
    max-width: 800px;
    margin: 50px auto;
    margin-bottom: -40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 9);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(7px);
}


/* .content div div {
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
} */

/* carrusel */
.contenedor-imagenes-animado {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.contenedor-imagenes-animado a {
    flex: 0 0 25%; 
    position: relative;
    transform: translateX(0);
    animation: moveLeft 5s linear infinite;
    animation-play-state: running;
}

.contenedor-imagenes-animado a img {
    width: 100%;
    height: auto;
    display: block;
}


.swiper {
    width: 100%;
    padding: 40px 0; 
    overflow: visible; 
    position: relative;
}

.swiper-slide {
    width: 250px !important; 
    position: relative;
    transition: all 0.3s ease; 
    overflow: hidden; 
    border-radius: 16px; 
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  */
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: auto; 
    min-height: 200px; 
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: auto; 
    max-height: 300px; 
    object-fit: contain; 
    border-radius: 16px;
    transition: all 0.3s ease;
}


.swiper-slide-active {
    z-index: 2; 
    transform-origin: center center; 
}

.swiper-slide-active a {
    transform: scale(1.1);
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
    height: auto; 
    max-height: 400px; 
}

.swiper-slide-active img {
    width: 100%;
    height: auto; 
    max-height: 400px; 
    object-fit: contain;
}


.swiper-slide:not(.swiper-slide-active) {
    transform: scale(0.9); 
    opacity: 0.7; 
}




.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px;
}

.grid-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    transform: scale(0.9);
    opacity: 0.7;
    transform-origin: center center;
    position: relative;
    z-index: 1;
}

.grid-gallery img:hover {
    transform: scale(1.1);
    opacity: 1;
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
    z-index: 2;
}

.view-all-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1a73e8;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: #1557b0;
}

.back-button {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    background-color: #666;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #444;
}
.rss-section {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(7px);
    border-radius: 15px;
}

.rss-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.rss-item {
    margin: 20px 0;
    padding: 15px; 
    background-color: rgba(0, 0, 0, 0.5);  
    border-left: none; 
    border-radius: 10px; 
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.rss-item:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.418);
}

.rss-item h3 {
    margin: 0 0 10px 0;
}

.rss-item h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rss-item h3 a:hover {
    color: #1a73e8;
}

.rss-item p {
    color: #e0e0e0;
    margin: 0;
    line-height: 1.5;
}


.rss-item img {
    max-width: 100%; 
    height: auto; 
    max-height: 300px; 
    object-fit: cover; 
    border-radius: 8px; 
    margin-top: 10px;
    display: block; 
}


#disqus-container {
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 20px; 
    border-radius: 30px;
    max-width: 800px; 
    margin: 50px auto; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(7px);
}

#custom-gallery {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
    backdrop-filter: blur(7px);
}




        .mariposas-section {
            margin: 30px 0;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(7px);
            border-radius: 15px;
            position: relative;
            overflow: hidden;
        }

        .mariposas-section h2 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.8em;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .mariposas-section p {
            position: relative;
            z-index: 2;
        }

        .butterfly {
            position: absolute;
            width: 40px;
            height: 30px;
            pointer-events: none;
            animation: flyPath 6s infinite linear;
        }

        .butterfly::before,
        .butterfly::after {
            content: '';
            position: absolute;
            width: 18px;
            height: 15px;
            border-radius: 50% 10% 50% 10%;
            animation: flutterBig 0.5s infinite ease-in-out;
        }

        .butterfly::before {
            top: 0;
            left: 2px;
            background: linear-gradient(45deg, #ff0080, #ff8000);
            transform-origin: bottom;
            box-shadow: 0 0 15px #ff0080;
        }

        .butterfly::after {
            top: 0;
            right: 2px;
            background: linear-gradient(45deg, #00ff80, #0080ff);
            transform-origin: bottom;
            animation-delay: 0.1s;
            box-shadow: 0 0 15px #00ff80;
        }

        .butterfly:nth-child(1) {
            top: 20%;
            animation-delay: 0s;
        }

        .butterfly:nth-child(2) {
            top: 60%;
            animation-delay: 2s;
        }

        .butterfly:nth-child(3) {
            top: 40%;
            animation-delay: 4s;
        }

        @keyframes flutterBig {
            0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
            50% { transform: rotateX(-80deg) rotateY(-20deg); }
        }

        @keyframes flyPath {
            0% {
                left: -50px;
                transform: translateY(0px);
            }
            25% {
                transform: translateY(-40px);
            }
            50% {
                transform: translateY(20px);
            }
            75% {
                transform: translateY(-30px);
            }
            100% {
                left: calc(100% + 50px);
                transform: translateY(0px);
            }
        }


        .pulsos-section {
            margin: 30px 0;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(7px);
            border-radius: 15px;
            position: relative;
            overflow: hidden;
            animation: pulse-glow 3s infinite ease-in-out;
        }

        .pulsos-section h2 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.8em;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .pulsos-section p {
            position: relative;
            z-index: 2;
        }

        @keyframes pulse-glow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(0, 255, 255, 0.322);
                border: 2px solid rgba(0, 255, 255, 0.158);
            }
            50% {
                box-shadow: 0 0 60px rgba(0, 255, 255, 0.589), 0 0 100px rgba(0, 255, 255, 0.8);
                border: 2px solid rgba(0, 255, 255, 0.486);
            }
        }