* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff;
}

/* ================= Navbar ================= */

nav {
    background: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

.logo {
    font-size: 35px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: .3s;
}

nav ul li a:hover {
    color: orange;
}

/* ================= Header ================= */

header {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

header p {
    font-size: 22px;
    color: #555;
    margin-bottom: 20px;
}

header input {
    width: 100%;
    padding: 15px;
    border: 2px solid orange;
    border-radius: 8px;
    font-size: 18px;
    outline: none;
}

/* ================= Title ================= */

.title {
    width: 90%;
    margin: 30px auto;
    color: orange;
    font-size: 40px;
}

/* ================= Recipes ================= */

#recipes {
    width: 90%;
    margin: auto;
}

/* ================= Card ================= */

.card {
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 2px solid orange;
    padding: 30px 0;
}

.card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.content {
    flex: 1;
}

.content h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.content p {
    color: #555;
    line-height: 1.8;
    font-size: 18px;
}

.content a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: orange;
    font-weight: bold;
    font-size: 18px;
}

.content a:hover {
    color: red;
}

/* ================= Footer ================= */

footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ================= Responsive ================= */

@media(max-width:768px) {

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .card img {
        width: 150px;
        height: 150px;
    }

    .content h2 {
        font-size: 24px;
    }

}