*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-color: #5D4037;
    /* background-color: #f4c531; */

}
.container{
    background-color: #D7CCC8;
    /* background-color: #ffffff; */
    font-size: 16px;
    padding: 3em 2.8em;
    width: 90vh;
    max-width: 32em;
    position: absolute;
    transform: translate(-50%);
    left: 50%;
    top: 1em;
    border-radius: 0.6em;
    box-shadow: 0 1.2em 2.5em rgba(42, 32, 0, 0.2);
}
.search-cont{
    width: 100%;
    display: grid;
    grid-template-columns: 9fr 3fr;
    gap: 1.2em;
}
.search-cont input{
    font-size: 1em;
    padding: 0.6em;
    border: none;
    outline: none;
    border-bottom: 2px solid #202030;
}
.search-cont button{
    font-size: 1em;
   background-color: #5D4037;
   /* background-color: #f4c531; */
   border: none;
   font-weight: 600;
   border-radius: 0.3em;
}
img{
    display: block;
    width: 50%;
    margin: 1.8em auto 0 auto;
}
.details{
    text-align: center;
    background-color: #f4c531;
    background-color: #5D4037;
    position: relative;
    margin: -2.3em 0 0 0;
    padding: 0.6em;
}
.details h2{
    font-size: 1.2em;
    font-weight: 600;
}
.details h4{
    font-size: 1em;
    font-weight: 400;
}
#show_recipe{
    font-size: 1em;
    position: relative;
    left: 75%;
    padding: 0.9, 0.6;
    background-color: #5D4037;
    /* background-color: #f4c531; */
    border: none;
    top: 1.5em;
    border-radius: 0.3em;
    font-weight: 600;
}
#recipe{
    position: absolute;
    background-color: #ffffff;
    min-height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    border-radius: 2em;
    display: none;
}
#recipe pre{
    white-space: pre-wrap;
    word-break: break-word;
    padding: 2.5em 1.2em 1.2em 1.2em;
}
#hide_recipe{
    font-size: 1em;
    position: relative;
    width: 1.8em;
    height: 1.8em;
    background-color: #5D4037;
    /* background-color: #f4c531; */
    border: none;
    top: 1.2em;
    left: 90%;
    border-radius: 0.3em;
}
#show_recipe{
    font-size: 1em;
    position: relative;
    width: 6.8em;
    height: 2.8em;
    background-color: #5D4037;
    /* background-color: #f4c531; */
    border: none;
    top: 1.2em;
    left: 80%;
    border-radius: 0.3em;
}
ul{
    font-size: 1em;
    position: relative;
    display: grid;
    grid-template-columns: auto auto ;
    gap: 0.8em 1.1em;
    padding: 1.2em 0 0 1.2em;
}
h3{
    text-align: center;
    margin-top: 1em;
    color: #202030;
}