*{
  margin : 0;
  padding : 0;
  box-sizing : border-box;
  font-family: 'Roboto', sans-serif;
}
html, body, .sub{
  height: 100%;
}
body, .sub{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a{
  text-decoration: none;
  color: black;
}

button{   /* a blue button */
  cursor: pointer;
  background-color: #3882F6;
  color: white;
  font-size: 20px;
  border-radius: 8px;
  padding: 5px 10px;
}

img{
  max-width: 100%;
  height: auto;
}

li{
  cursor: pointer;
}

/* the header */
.header,
.footer{
  background-color: #1F2937;
  color: white;
}

.header{
  display: flex;
  flex-direction: column;
  padding: 1em 2em 1em;
  
}

.header .up{
  display: flex;
  align-items: center;
}

.header .up .logo{
  margin-right: auto;
  width: 50px;
}

.header .up .links{
  display: flex;
  gap: 20px;
  margin-right: 2em;
}

.header .down{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-top: 3em;
}

.header .down .right{
  width: 300px;
}
.header .down img{
  border-radius: 18px;
}

.header .down .left{
  max-width: 500px;
  display: flex;
  flex-direction: column;
  padding: 2em;
  justify-content: center;
  gap: 10px;
}

.header .down .left > *{
  margin-top: 10px;
}

/* content */

.content{
  display: flex;
  flex-direction: column;
  height: auto;
}

.content .title{
  text-align: center;
  margin: 20px 0;
  font-weight: 900;
  color: #1F2937;
  font-size: 20px;
}

.content .recipes{
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px;
}

.content img{
  border-radius: 20px;
  width: 100%;
  height: 100%;

}

.content .recipes > div{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.content .recipes .text{
  margin-top: 10px;
  width: 200px;
  
}

.content .recipes .image{
  border: 5px solid #294770;
  
  border-radius: 20px;
  height: 210px;
  width: 210px;
  display: flex;
  align-items: center;
  padding: 2px;
}

/* footer */

.footer{
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/** koshari and Molokhia page **/

.content{
  flex: 1 0 auto;
}
.sub .content{
  display: flex;
  justify-content: center;
  padding: 5em;
  flex-direction: row;
  gap: 5em;
  margin: 0 4em;
}

.sub .left,
.sub .right{
  display: flex;
  flex-direction: column;
  gap: 2em;
  width: 100%;
  max-width: 100%;
  min-width: 0%;
}

.sub .left{
  max-width: 40%;
}

.sub .right{
  max-width: 60%;
}

.sub .image{
  display: flex;
  justify-content: center;
  height: auto;
  
  border: 2px solid black;
  border-radius: 14px;
}

.sub .image img{
  border: 2px solid burlywood;
  border-radius: 14px;
}

.sub .left .ingredients,
.sub .right > *{
  padding: 3em;
  border: 2px solid black;
  border-radius: 14px;
  background-color: lightblue;
}

.sub .heading{
  font-size: 15px;
  margin-bottom: 1.5em;
}
.sub .left .list,
.sub .right .list{
  line-height: 2em;
}

.sub .right .description p{
  line-height: 1.4em;
}
.sub .right .description{
  justify-content: flex-begin;
}