@import url('https://fonts.googleapis.com/css2?family=Caramel&family=Pacifico&family=Rubik:wght@300&display=swap');

body {
    margin: 0;
    padding: 0;
     background-image: url("https://img.freepik.com/premium-vector/diet-healthy-lifestyle-banner-template-fruit-composition-healthy-food-with-checklist-concept-proper-nutrition-weight-management-diet-plan-notebook_87946-2154.jpg?w=740");
     background-repeat: no-repeat; 
      background-position:right; 
      background-size: 310px;
     background-position-x: right;
     
      
}
/* .imgmeal{
     width: 400px;
     height: 300px;
     margin-left: 930px;
     margin-bottom: 500px;
} */

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-heading {
    font-family: 'Pacifico', cursive;
    font-style: italic;
     /* text-align: center;  */
    width: 100%;
    height: 70px;
    position: sticky;
    top: 0px;
    z-index: 1000;
    box-shadow: 1px 1px 12px 4px #808080c9;
    background-color: rgb(23, 126, 23);
    display: flex;
    align-items: center;

}
.img1{
    width: 60px;
    margin-top: 40px;
}

.height-weight-age {
    display: flex;
    justify-content: center;
}

.height-div {
    margin: 0 40px;
}

h1 {
    
    color: white;
    /* text-decoration: underline; */
   
    display: inline-block;
    margin-left: 40px;
    margin-top: 20px;
    
    
}

.meal-generator {
    width: 100%;
    margin: 40px 0;
}

.gender-activity {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 5px;
}

.dummy-meal {
    width: 100%;
}

input {
    height: 30px;
    border-radius: 5px;
    border: 1px solid gray;
    
    box-shadow: 1px 1px 12px 4px #808080c9;
}

select {
    height: 30px;
    border-radius: 5px;
    border: 1px solid gray;
    width: 140px;
    box-shadow: 1px 1px 12px 4px #808080c9;
}

.meal-generate-button {
    display: flex;
    justify-content: center;
 }
.logo1{
    width: 60px;
    height: 50px;
    display: inline-block;
    margin-bottom: 2px;
    border: none;
    border-radius: 10px;
    margin-left: 80px;
}

button {
    border-radius: 15px;
    border: 1px solid gray;
    backgroun-color: rgb(23, 126, 23);    
    color: white;
    height: 30px;
    cursor: pointer;
    box-shadow: 1px 1px 12px 4px #808080c9;
}

button:hover {
    border-radius: 15px;
    border: 2px solid gray;
    background-color: rgb(23, 126, 23);;
    color: white;
    height: 30px;
    cursor: pointer;
    box-shadow: 1px 1px 12px 4px #808080c9;
}


.meal {
    /* width: 14rem; */
    width: 70%;
    height: 23rem;
    background-color: rgb(23, 126, 23);;
    margin: 10px 50px;
    border-radius: 10px;
    box-shadow: 1px 1px 12px 4px #808080c9;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.meals {
    display: flex;
    width: 100%;
}

.ingredients {
    margin: 40px 0;
    /* width: 54.5rem; */
    width: 90%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 1px 1px 12px 4px #808080c9;
    display: flex;
    justify-content: space-around;
}

.givePadding {
    padding: 20px 0;
}

.show-meal-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 2px;
    font-size: 1rem;
}

h4 {
    margin: 10px 0;
}
.warning {
    margin: 0 10px;
    color: red;
    display: none;
}

#warning-highlite {
    display: block;
}

.warning-activity, .warning-gender {
    margin: 0;
}

.imageClass {
    width: 180px;
    margin: 10px 5px;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-family: 'Rubik', sans-serif;
}

.showImage {
    width: 100%;
    height: 50%;
    margin: 0;
    border-radius: 10px 10px 0 0;
    color: white;
    text-align: center;
    font-size: 1rem;
}

.anchorName {
    text-decoration: none;
    color: white;
    margin: 4px;
    font-size: 1rem;
}

.borderAnchor {
    border: 1px solid white;
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
}

.colories {
    position: absolute;
    bottom: 50px;
}

h3 {
    margin: 5px;
    color: rgb(23, 126, 23);;
    font-family: 'Rubik', sans-serif;
}

h4 {
    color: rgb(23, 126, 23);;
    font-family: 'Rubik', sans-serif;
}

.mainContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.ingredientContainer {
    width: 100%;
    display: flex;
    justify-content: center;
}

/*-----------------------------------------------------------------*/

@media screen and (max-width: 800px) {

    .height-weight-age {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .height-div {
        margin: 3px;
        width: 100%;
        text-align: center;
    }

    .gender-activity {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    input {
        height: 30px;
        border-radius: 5px;
        border: 1px solid gray;
        box-shadow: 1px 1px 12px 3px white;
        width: 70%;
        margin: 8px 0;
        box-shadow: 1px 1px 12px 4px #808080c9;
    }

    select {
        height: 30px;
        border-radius: 5px;
        border: 1px solid gray;
        width: 70%;
        box-shadow: 1px 1px 12px 3px white;
        margin: 8px 0;
    }

    .meals {
        display: block;
        width: 100%;
    }

    .ingredients {
        margin: 40px 0;
        width: 80%;
        background-color: white;
        border-radius: 10px;
        box-shadow: 1px 1px 12px 4px #808080c9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        background-color: rgb(23, 126, 23);;
        color: white;
        text-decoration: none;
        margin: 1px;
        padding:0 3rem;
    }

    button {
        border-radius: 15px;
        border: 1px solid gray;
        background-color: rgb(23, 126, 23);;
        color: white;
        height: 30px;
        cursor: pointer;
        box-shadow: 1px 1px 12px 4px #808080c9;
        margin: 15px 0;
        font-size: 25px;
    }

    .show-meal-plan {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dummy-meal {
        width: 100%;
    }

    .meal {
        width: 80%;
        height: 30rem;
        background-color: rgb(23, 126, 23);;
        margin: 20px 50px;
        border-radius: 10px;
        box-shadow: 1px 1px 12px 4px #808080c9;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .showImage {
        width: 100%;
        height: 50%;
        margin: 0;
        border-radius: 10px 10px 0 0;
        color: white;
        text-align: center;
        font-size: 1rem;
    }

    .imageClass {
        width: 100%;
        margin: 20px 10px;
        border-radius: 10px;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        font-family: 'Rubik', sans-serif;
    }

    .colories {
        position: absolute;
        bottom: 55px;
    }

    .borderAnchor {
        border: 1px solid white;
        border-radius: 10px;
        position: absolute;
        bottom: 20px;
    }

    .anchorName {
        text-decoration: none;
        color: white;
        margin: 5px;
        font-size: 1.5rem;
    }

    .ingredientContainer {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .givePadding {
        padding: 20px;
        width: 100%;
    }

    .checkOver-flow {
        margin: 10px 40px;
    }

    li {
        font-size: 1.2rem;
    }

    h4 {
        color: or;
        font-family: 'Rubik', sans-serif;
        font-size: 1.5rem;
        margin: 5px 40px;
    }

    h3 {
        margin: 5px;
        color: rgb(23, 126, 23);;
        font-family: 'Rubik', sans-serif;
        font-size: 1.5rem;
    }
}
/* ---------------------------------------------------------------------- */

@media screen and (max-width: 300px) {

    .height-weight-age {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .height-div {
        margin: 3px;
        width: 100%;
        text-align: center;
    }

    .gender-activity {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    input {
        height: 30px;
        border-radius: 5px;
        border: 1px solid gray;
        box-shadow: 1px 1px 12px 3px white;
        width: 70%;
        margin: 8px 0;
    }

    select {
        height: 30px;
        border-radius: 5px;
        border: 1px solid gray;
        width: 70%;
        box-shadow: 1px 1px 12px 3px white;
        margin: 8px 0;
    }

    .meals {
        display: block;
        width: 100%;
    }

    .ingredients {
        margin: 40px 0;
        width: 80%;
        background-color: white;
        border-radius: 10px;
        box-shadow: 1px 1px 12px 4px #808080c9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        background-color: rgb(23, 126, 23);;
        color: white;
        text-decoration: underline;
        margin: 1px;
        padding:0 2rem;
    }

    button {
        border-radius: 15px;
        border: 1px solid gray;
        background-color: rgb(23, 126, 23);;
        color: white;
        height: 30px;
        cursor: pointer;
        box-shadow: 1px 1px 12px 4px #808080c9;
        margin: 15px 0;
        font-size: 25px;
    }

    .show-meal-plan {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dummy-meal {
        width: 100%;
    }

    .meal {
        width: 80%;
        height: 30rem;
        background-color: rgb(23, 126, 23);;
        margin: 20px 50px;
        border-radius: 10px;
        box-shadow: 1px 1px 12px 4px #808080c9;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .showImage {
        width: 100%;
        height: 50%;
        margin: 0;
        border-radius: 10px 10px 0 0;
        color: white;
        text-align: center;
        font-size: 1rem;
    }

    .imageClass {
        width: 100%;
        margin: 20px 10px;
        border-radius: 10px;
        color: white;
        text-align: center;
        font-size: 1.4rem;
        font-family: 'Rubik', sans-serif;
    }

    .colories {
        position: absolute;
        bottom: 55px;
    }

    .borderAnchor {
        border: 1px solid white;
        border-radius: 10px;
        position: absolute;
        bottom: 20px;
    }

    .anchorName {
        text-decoration: none;
        color: white;
        margin: 5px;
        font-size: 1.5rem;
    }

    .ingredientContainer {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .givePadding {
        padding: 20px;
        width: 100%;
    }

    .checkOver-flow {
        margin: 10px 40px;
    }

    li {
        font-size: 1.2rem;
    }

    h4 {
        color: rgb(23, 126, 23);;
        font-family: 'Rubik', sans-serif;
        font-size: 1.5rem;
        margin: 5px 40px;
    }

    h3 {
        margin: 5px;
        color: rgb(23, 126, 23);;
        font-family: 'Rubik', sans-serif;
        font-size: 1.5rem;
    }
}