.welcome {
    background-color: #FDFAF6;
    padding: 20px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 10px;
}

.welcome h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #5B3A29;
    margin-bottom: 10px;
}

.welcome p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.profile-pic{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.latest-recipes {
    background-color: #F9EDE3;
    padding: 20px;
    border-radius: 10px;
}

.latest-recipes h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #5B3A29;
    margin-bottom: 15px;
}

.recipe-preview {
    background-color: #FFF;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.recipe-preview h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #5B3A29;
    margin-bottom: 5px;
}

main img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.recipe-preview a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #E8C8A5;
    text-decoration: none;
    margin-top: 5px;
    background-color: #333333;
    border-radius: 5px;
    padding: 10px 30px;
}

.recipe-preview a:hover {
    color: #5B3A29;
}

.featured {
    background-color: #F5E9D7;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.featured h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #5B3A29;
    margin-bottom: 15px;
}

.featured h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #5B3A29;
    margin-bottom: 10px;
}

.featured a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #E8C8A5;
    text-decoration: none;
    margin-top: 5px;
    background-color: #333333;
    border-radius: 5px;
    padding: 10px 30px;
}

.featured a:hover {
    color: #5B3A29;
}
section{
    margin: 15px 0;
}


@media (min-width: 768px) {
    .welcome, .latest-recipes, .featured {
        padding: 30px;
    }
    .welcome{
        display: block;
    }

    .profile-pic {
        display: none;
    }

    .recipe-preview {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .recipe-preview img {
        width: 120px;
    }
}