* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(1800deg, #fff8f0 0%, #f4e7d8 100%);
    color: #2d2d2d;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

header p {
    margin: 0.75rem auto 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b422f;
}

main {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(180, 140, 110, 0.25);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(91, 67, 47, 0.12);
}

.recipe-info h2 {
    margin-top: 0;
    font-size: 1.75rem;
    color: #8a3f1e;
}

.recipe-info p {
    line-height: 1.7;
    color: #4c433a;
}

#recipe-ingredients {
    margin-top: 1rem 0;
    padding-left: 1.25rem;
}

#recipe-ingredients li {
    margin-bottom: 0.4rem;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    background: #d96b3b;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, filter 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

footer {
    margin-top: auto;
    padding: 1rem 0;
    color: #6c5a4d;
    text-align: center;
    font-size: 0.95rem;

}

.banner {
    width: 100vw;              
    margin-left: calc(-50vw + 50%); 
    height: 280px;             
    background-image: url('BannerV1.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50px;
}

.banner-content {
    position: relative;
    color: white;
    text-align: center;
}

.banner h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(3rem, 2vw, 3.5rem);
    color: rgb(0, 0, 0);
}

.banner p {
    margin-top: 0.75rem;
}

#cat-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.cat {
    position: absolute;
    top: -50px;
    width: 40px;
    animation: fall linear forwards;
}




@keyframes fall {
    from {
        top: -60px;
        opacity: 1;
    }
    to {
        top: 100vh;
        opacity: 0;
    }
}



@media (max-width: 600px) {
    body {
        padding: 0.5rem;
    }

    .card {
        padding: 1.2rem;
    }

    button {
        width: 100%;
    }
}
