@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #37474F;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1565C0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

#countdown {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #00796B;
    font-weight: bold;
}

#detailed-countdown {
    font-size: 1.4rem;
    color: #455A64;
    margin-bottom: 2rem;
}

#recipe-container {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#generate-recipe, #send-email {
    background-color: #1565C0;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

#generate-recipe:hover, #send-email:hover {
    background-color: #0D47A1;
}

#recipe-text {
    margin-top: 1rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
}

.snowflake {
    color: #fff;
    font-size: 1.5em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
    position: fixed;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
    opacity: 0.7;
}

@keyframes snowflakes-fall {
    0% { top: -10%; }
    100% { top: 100%; }
}

@keyframes snowflakes-shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}
