﻿@font-face {
    font-family: 'Bauhaus 93';
    src: url('https://lh3.googleusercontent.com/d/1v9sKXJ5FyyCXQRvgnzt2gHt1YFjx494h') format('woff2');
    font-display: swap;
}

body {
    background-color: #080808;
    background-image: url('https://lh3.googleusercontent.com/d/1aWgJqc47KkzO3strwStua_AZcKm5nIot');
    color: rgb(255, 252, 244);
    font-family: 'Bauhaus 93', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    box-sizing: border-box;
}

.titulo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    flex-wrap: wrap;
    padding: 10px;
}

    .titulo-header img {
        width: 70px;
        height: auto;
    }

    .titulo-header h1 {
        font-size: clamp(1.5rem, 5vw, 3rem);
        margin: 0;
        white-space: nowrap;
    }

.arcoiris {
    background: linear-gradient(90deg, red, orange, yellow, lime, aqua, blue, violet, blue, aqua, lime, yellow, orange, red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 400% 100%;
    animation: brillo-arcoiris 8s linear infinite;
}

@keyframes brillo-arcoiris {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.contenedor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 1200px;
    padding: 20px;
    width: 100%;
}

    .contenedor-grid img {
        max-width: 100%;
        height: auto;
    }

.ola {
    display: inline-block;
    animation: saltar 3s ease infinite;
}

    .ola:nth-child(5n+1) {
        animation-delay: 0s;
    }

    .ola:nth-child(5n+2) {
        animation-delay: 0.1s;
    }

    .ola:nth-child(5n+3) {
        animation-delay: 0.2s;
    }

    .ola:nth-child(5n+4) {
        animation-delay: 0.3s;
    }

    .ola:nth-child(5n+5) {
        animation-delay: 0.4s;
    }

@keyframes saltar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

footer {
    background-color: black;
    width: 100%;
    padding: 20px;
}

    footer p {
        margin: 5px 0;
    }

.image-gallery {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: auto;
    aspect-ratio: 1/1;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
}

    .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

    .gallery-controls button {
        background: #333;
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s;
    }

        .gallery-controls button:hover {
            background: #555;
        }

.gallery-dots {
    display: flex;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

    .gallery-dot.active {
        background: #333;
        transform: scale(1.2);
    }

@media (max-width: 768px) {
    .titulo-header {
        gap: 8px;
    }

        .titulo-header img {
            width: 50px;
        }

    body {
        font-size: 14px;
        padding: 10px;
    }

    .contenedor-grid {
        padding: 15px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .contenedor-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .titulo-header img {
        width: 40px;
    }

    .gallery-controls button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

p, h1, h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
