body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FAF3E0;
    color: #3A3A3A;
    overflow-x: hidden;
}

#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

header {
    background-color: #A3D2CA;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: 50px;
    margin-right:50px;
}

.logo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    align-items:right;
}

h1 {
    color: #3A3A3A;
    margin: 0;
    font-size: 50px;
    flex-grow: 1;
    text-align: center;
    margin-right:140px;
}

h3 {
    color: #3A3A3A;
    text-align: left;
    font-size: 32px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

button {
    background-color: #A3D2CA;
    border: none;
    color: #3A3A3A;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 20px 0;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 25px;
    font-weight: 600;
}

button:hover {
    background-color: #EFB0C9;
    transform: scale(1.05);
}

.meal-display {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    padding: 20px;
}

.meal-display img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.meal-display h2 {
    color: #3A3A3A;
    font-size: 1.5em;
}

.meal-display ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.meal-display li {
    margin-bottom: 8px;
    color: #3A3A3A;
}

.meal-display p {
    text-align: left;
    color: #3A3A3A;
}

.youtube-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #EFB0C9;
    color: #3A3A3A;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 600;
}

.youtube-link:hover {
    background-color: #A3D2CA;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    h1 {
        text-align: center;
    }

    .container {
        padding: 15px;
    }
    
    button {
        width: 100%;
    }

    .meal-display {
        padding: 15px;
    }
}

.food-icon {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body {
  
        font-size: 16px;
    }
    h3{
    font-size: 20px;
    margin-left:10px;
    }
    h1{
    font-size:35px;
    text-align: center;
    margin-left:150px;
    margin-bottom:5px;
  }
}

@media (max-width: 768px) {
    img {
        margin-top:8px;
        max-width: 90%; /* Reduces the image size */
        display: block;
        margin-right: 40px;
         /* Centers it */
    }
}
