@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Dancing+Script:wght@400..700&family=Darumadrop+One&family=Funnel+Display:wght@300..800&family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Reem+Kufi+Ink&family=Reem+Kufi:wght@400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); 

body,li,ul,h1,p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    text-align: center;
}
body {
  /* margin: 0px; */
background: white;
background-size: 300% 300%;
animation: gradientAnimation 10s ease infinite;
color: #000000;
/* font-family: 'Arial', sans-serif; */
font-family: "Reem Kufi", serif;
font-size: 1.175rem;
font-optical-sizing: auto;
font-weight: weight;
font-style: normal;  

display: flex;
flex-wrap: wrap; 
}


html {
scroll-behavior: smooth;
}

 header {
  z-index: 2;
    position: fixed;
    width: 100%;
    background-color: #291305;
    color: white;
    padding: 1.2em 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
 }
 .background-video {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   object-fit: cover;
   z-index: -1;
}
nav {
  z-index: 2;
   top: 6em;
   /* position: sticky; */
   width: 100%;
   background: rgb(255, 239, 239);
   padding: 1em;
   position: fixed;
}

nav ul {
   list-style: none;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 2rem;
}

nav ul li a {
   color: rgb(26, 24, 24);
   text-decoration: none;
   font-size: 1.3em;
   transition: all 0.3s linear;
}

nav ul li a:hover {
   background-color: #7B6B43;
   color: white;
   padding: 0.5em;
   border-radius: 5px;
}  
 .recipes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2em;
    justify-content: space-around;
    min-height: 200px; 
 }
 .recipe {
    background: #fff;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 20rem;
    margin-top: 10em;
    height: 30rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* z-index: -1; */
  }
   .recipe img {
      width: 100%;
      height: 70%;
      object-fit: cover;
      border-radius: 8px;
   }
   .recipe h3 {
      margin: 1em;
      color: #051138;
   }
   .recipe:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  }
 .tooltip {
   position: relative;
   display: inline-block;
 }
 
 .tooltip .tooltiptext {
   visibility: hidden;
   opacity: 0;
   width: 120px;
   background-color: #fff;
   color: #333;
   text-align: center;
   padding: 5px 8px;
   border-radius: 6px;
   
  
   position: absolute;
   top: 50%; 
   right: 10px;
   transform: translateX(-50%);
   z-index: 1;
   
  
   transition: opacity 0.3s;
 }
 
 .tooltip:hover .tooltiptext {
   visibility: visible;
   opacity: 1;
 }
 footer {
    background: #f3efef;
    color: rgb(12, 12, 12);
    padding: 1.5em;
    margin-top: 20px;
    width: 100%;
 }


/* fisal */

 .checkbtn {
   font-size: 22px;
   color: black;
   float: right;
   line-height: 80px;
   margin-right: 30px;
   cursor: pointer;
   display: none;
 }
 #check {
   display: none;
 }
 @media (max-width: 1050px) {
   /* label.logo { */
      /* padding-left: 30px; */
   /* } */
   /* nav ul li a { */
     /* font-size: 16px; */
   /* } */
 }
 
 /* Responsive media query code for small screen */
 @media (max-width: 890px) {

   .checkbtn {
     display: flex;
   }
   nav{
      display: flex;
      
      /* justify-content: right; */
   }
   /* label.logo { */
     /* font-size: 22px; */
   /* } */
   ul {
    display: flex;
    flex-flow: column;
    top: 9em;
     position: fixed;
     width: 100%;
     height: 80vh;
     background: rgb(255, 239, 239);
     left: -100%;
     text-align: center;
     transition: all .5s;
   }
   nav ul li {
     display: block;
     margin: 0.1rem 0;
     line-height: 30px;
   }
   nav ul li a {
     font-size: 25px;
   }
   a:hover,
   a.active {
     /* background: none; */
     /* color: #0082e6; */
   }
   #check:checked~ul {
     left: 0;
   }
  }
  section {
    background: url("bg.jpg") no-repeat;
    background-size: cover;
    height: calc(100vh - 80px);
  }
  ul,li{
    text-decoration: none;
 }
