@font-face {
    font-family: 'Axiforma';
    src: url('fonts/Axiforma Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('fonts/Axiforma Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('fonts/Axiforma SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('fonts/Axiforma Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Axiforma', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #11C0E3 0%, #0891B2 50%, #075985 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background-image: url('Nubes.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    filter: brightness(1.2);
}

.cloud1 {
    width: 200px;
    height: 100px;
    top: 10%;
    left: -200px;
    animation: float1 40s infinite linear;
}

.cloud2 {
    width: 150px;
    height: 75px;
    top: 70%;
    left: -150px;
    animation: float2 50s infinite linear;
    animation-delay: -15s;
}

.cloud3 {
    width: 250px;
    height: 125px;
    top: 25%;
    left: -250px;
    animation: float3 60s infinite linear;
    animation-delay: -30s;
}

.cloud4 {
    width: 180px;
    height: 90px;
    top: 60%;
    left: -180px;
    animation: float4 45s infinite linear;
    animation-delay: -10s;
}

@keyframes float1 {
    0% { transform: translateX(-200px); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

@keyframes float2 {
    0% { transform: translateX(-150px); }
    100% { transform: translateX(calc(100vw + 150px)); }
}

@keyframes float3 {
    0% { transform: translateX(-250px); }
    100% { transform: translateX(calc(100vw + 250px)); }
}

@keyframes float4 {
    0% { transform: translateX(-180px); }
    100% { transform: translateX(calc(100vw + 180px)); }
}

.container {
    text-align: center;
    z-index: 10;
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    }
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    position: absolute;
    bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-width: 90%;
    }

    .logo {
        width: 150px;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .spinner {
        width: 50px;
        height: 50px;
    }


    .footer {
        bottom: 1rem;
        font-size: 0.8rem;
        text-align: center;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .logo {
        width: 120px;
    }
}