body{
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background-color: #000000;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
}
header{
    text-align: center;
    background-color: #2e2e2e;
    padding: 20px;
    border-bottom: 2px solid #333333;
    border-radius: 5px;
}
header h1{
    color: #ffffff;
    font-size: 2.5rem;
}
header p{
    color: #e0e0e0;
    font-size: 1.1rem;
}
nav{
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
nav a{
    margin: 10px;
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    background-color: #2d5a27;
    border-radius: 5px;
    transition: 0.8s ease;
}
nav a:hover{
    opacity: 0.8;
}
h2, h3, p{
    margin-left: 10px;
    font-weight: bold;
}
.hero-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 20px;
    border: 1px solid #2d5a27;
    border-radius: 12px;
    background-color: #0f1a12;
    overflow: hidden;
}
.hero-text h1{
    font-size: 2rem;
    margin-bottom: 10px;
}
.hero-btn{
    display: inline-block;
    padding: 10px 20px ;
    background-color: #2d5a27;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.hero-section img{
    border: 1px solid #ccc;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.hero-section img:hover{
    filter: brightness(80%);
}
.hero-section{
    min-height: 60vh;
}
.container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}
.recipe-card{
    display: inline-block;
    border: 1px solid #4a4a4a;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    background-color: #262612;
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.5s ease;
}
.recipe-card:hover{
    background-color: #3d3d1d;
    transform: translateY(-5px);
}
.recipe-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.recipe-card ul{
    text-align: left;
}
.view-btn{
    background-color: #2d5a27;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-left: 20px;
    transition: 0.8s ease;
}
.view-btn:hover{
    opacity: 0.8;
}
footer{
    margin-top: 20px;
    color: #555;
}

/* styling meal-plan page */
table{
    width: 90%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
}
th, td{
    border: 1px solid #333333;
    padding: 10px;
    text-align: center;
}
tr:nth-child(even){
    background-color: #121212;
}
tr{
    transition: 0.8s;
}
tr:hover{
    background-color: #2a2a2a;
    
}
tr:first-child{
    background-color: #2d5a27;
    color: white;
}

/* styling recipes page */


/* styling submit-recipe form */
.recipe-form{
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.recipe-form label{
    margin-top: 15px;
    font-weight: bold;
}
.recipe-form input, .recipe-form textarea{
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.recipe-form textarea{
    height: 100px;
    resize: vertical;
}
.recipe-form button{
    margin-top: 20px;
    padding: 10px;
    background-color: #2d5a27;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.recipe-form button:hover{
    background-color: #5a7a59;
}
.recipe-form{
    padding: 20px;
}

/* Ingredients and Instructions page */
