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

body.forContacts {
    font-family: 'Courier New', Courier, monospace;
    background-color: #fffaf0;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background-color: #0072C6;
    color: white;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    gap: 1.5rem;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #ffcc00;
}

/* Top Section */
.top-section {
    padding: 100px 20px 50px;
    text-align: center;
}

.upcoming-container h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Recipe grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.recipe-card {
    background-color: #FBCEB1;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 200px;
    transition: transform 0.3s;
    cursor: pointer;
}

.recipe-card:hover {
    transform: scale(1.05);
}

.recipe-card img.recipe-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recipe-text {
    padding: 10px;
}

.recipe-text h3 {
    margin-bottom: 5px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.3;
}

.recipe-text p {
    text-align: center;
    font-size: 0.9rem;
}

/* Bottom Section: Sign-up form */
.bottom-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.signup-form {
    background-color: #FF6347;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.signup-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.signup-form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.signup-form input[type="submit"] {
    background-color: #0072C6;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.signup-form input[type="submit"]:hover {
    background-color: #ffcc00;
    color: #333;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .signup-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    nav {
        font-size: 0.9rem;
        gap: 1rem;
    }

    .top-section h1 {
        font-size: 1.5rem;
    }
}

