.recipe-finder-app{
    margin-top: 50px;
    line-height: 35px;
    
}
.recipe-finder-app h1{
    text-align: center;
    font-family: sans-serif;
    font-size: 40px;
    letter-spacing: -2px;
}
#form1{
    margin-top: 50px;
    background-color: #fff;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    border-radius: 8px;
}
#searchInput{
    width: 70%;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 16px;
    font-size: 17px;
    flex-grow: 1;
    border-radius: 2px 3px 3px 2px;
    border: 2px solid rgb(245, 240, 240);
    outline: none;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
#searchInput:hover{
    border: 2px solid green;
}
.serach-btn{
    padding: 19px;
    margin-left: -5px;
    font-size: 17px;
    color: white;
    background-color: #018801;
    border: none;
    border-radius: 2px 5px 5px 2px;
    cursor: pointer;
    transition: background-color 0.5s ease;
}
.serach-btn:hover{
    background-color: #125812;
}
.recipe-random-button{
    margin-top: 45px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: bold;
    background-color:#FFA500;
    color: white;
    width: 230px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}
.recipe-random-button:hover{
    background-color:#FF8C00;
    transform: translateY(-3px);
}
.recipe-image{
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px,1fr));
    gap: 25px;
   
}
.recipe-card{
    background-color: rgb(248, 243, 243);
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 2px 3px grey;
    margin: auto;
    cursor: pointer;
    transition: all 0.5s ease;
}
.recipe-card:hover{
   background-color: rgb(170, 187, 187);
   transform: translateY(-2px);
}
.recipe-card img{
    width: 93%;
    margin-top: 10px;
    margin-left: 10px;
    height: 240px;
    border-radius: 15px;
}
.recipe-card h2{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 25px;
}

.recipe-contant{
   position: fixed;
   inset: 0;
   backdrop-filter: blur(2px);
   z-index: 1000;
   opacity: 1;
   visibility: visible;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px;

}
.message-loading{
    width: 200px;
}
.recipe-contant.hidden{
    opacity: 0;
    visibility: hidden;
}
.recipe-item{
   background-color: #fff;
   max-width: 780px;
   max-height: 80vh;
   overflow-y: auto;
   padding: 20px;
   position: relative;
}
.plus-btn{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e9ecef;
    background-color: rgb(234, 223, 223);
    cursor: pointer;
    box-shadow: 0px 2px 3px grey;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}
.plus-btn:hover{
    background-color: grey;
    transform: rotate(135deg);
}
.recipe-item h3{
    font-size: 30px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #018801;
}
.recipe-item img{
    border-radius: 6px;
    width: 100%;
}
.recipe-item h4{
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    color: #018801;
    border-bottom: 2px solid rgb(79, 204, 79);
}
.recipe-item .ingredients{
    border-bottom: 1px dotted grey;
}
.recipe-item ul li{
    font-size: 20px;
    font-style: italic;
}
.recipe-item p{
    line-height: 20px;
}
.recipe-item .video-recipe a{
    font-size: 20px;
    text-decoration: none;
    color: green;
    font-weight: bold;
}
.recipe-item .video-recipe a:hover{
    text-decoration: underline;
}
.recipe-item .video-recipe a:last-of-type{
    display: flex;
    justify-content: center;
}

.message{
    margin-top: 40px;
    max-width: 560px;
    font-size: 20px;
    margin: 25px auto;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 8px;
    padding: 7px;
}
