@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;600;800&family=Orbitron:wght@400;700&display=swap');

:root {
    --bg-color: #fcfcfc;
    --text-main: #2d3436;
    --text-secondary: #636e72;
    --accent-color: #d63031; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: "Nunito", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out forwards;
}

.counter {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title h1 {
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.timer h1 {
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    background: linear-gradient(180deg, #2d3436 0%, #636e72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text h1 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.image {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    /* Animación sutil de flote */
    animation: float 6s ease-in-out infinite;
}

/* --- KEYFRAMES --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsividad simple */
@media (max-width: 600px) {
    .timer h1 { font-size: 1.2rem; }
    .title h1 { font-size: 0.9rem; }
    .image img { max-width: 250px; }
}

@media (min-width: 1100px) {
    .all{
        display: flex;
        flex-direction: row;
    }
}