*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --light-black:#262626;
    --white:#fff;
    --white-smoke:#f5f5f5;
    --darker-white:#c8c3ba;
    --dark-pink:#e85b77;
    --crimson:#dc143c;
    --red:#ff0000;
    --yellow:#ffff00;

    /*fonts*/
    --edu-vice: 'Edu VIC WA NT Beginner', cursive;
    --Frank: 'Frank Ruhl Libre', serif;
    --lobster: 'Lobster', cursive;
    --Pathway: 'Pathway Gothic One', sans-serif;
    --Rubik: 'Rubik', sans-serif;
    --Shrikhand:'Shrikhand', cursive;
}

header{
    /* background-color: var(--light-black); */
 /*   background-color: rgba(0,0,0,0.6);  /**/
 /*   min-height: 100vh;         /**/
 /*   background:  linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(./images/14.jpg) center /cover no-repeat fixed;/**/
  /*  justify-content: stretch;/**/
  /*  flex-direction: column;  /**/
  
  
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color:var(--white);
    font-family: var(--Pathway);
    
}

.navbar{
    display:flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding:0 25px;
    width: 100%;    /*i add those last 3 2 make it stay when scrolling*/  /**/
    position: fixed;       /**/
    /*background-color: #262626;*/
        background-color: rgba(0,0,0,0.6);   /*this what i put 1st but 2nd look better i think will see later  */
   /* background-color: #262626;*/
    /*background-color: transparent;*/
    
}

.nav-brand{
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-left: 5px;
    letter-spacing: 4px;
    font-family:var(--Pathway);
}
/*for the brand icon*/
.fa-cutlery{
   
    font-size: 2rem;
}
/*icon brand end*/

.nav-menu{
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.nav-link{
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: 0.7s ease;
    color:var(--red) ; /*new add*/
    font-size: 1.2rem;
     
}

.nav-link:hover{
   /* color:var(--darker-white);*/  color:var(--crimson);
   text-decoration: underline var(--crimson) ;
   text-underline-offset:5px;
   transition:  .3s ease-in-out;
   font-weight: 600;
}

.hamburger{
    display:none;
    cursor: pointer;
    
}

.bar{
    display:block;
    width:25px;
    height:3px;
    margin: 5px auto;
    -webkit-transition: all 0.3 ease-in-out;
    transition: all 0.3 ease-in-out;
    background-color: var(--white);
    transition: .3s ease;
   
}

/*media quire for hamburger menu*/
@media(max-width:768px){
    
    .hamburger{
        display: block;
    }

    /*switching bars 2 x*/
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform:translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform:translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed; /*when we scroll down this will ensure the menu will be on the screen*/
        left:-100%;
        top:70px;
        gap:0;
        flex-direction: column;
       /* background-color: var(--light-black);  removed it and will make glass color*/
        width:100%;
        text-align: center;
        transition: .5s ease-in-out;
        max-height: 100vh;/*i add the last 3 lins to make it look better '135- 137'*/
       /* padding:30%;
       /* font-size: 1.5rem;*/
       margin-top:150px;
       padding:10%;
    }
   

    .nav-item{
        margin:16px 0;  /*2 give space up and down between them when they appear*/
    }
     
    /*trying 2 make line move under the links on hover*/
      .nav-menu .nav-link{
        position: relative;
      }
      .nav-menu .nav-link::after{
        content: '';
        position: absolute;
        bottom: -5px;
       /* top:20px;   OR i can use top instead of bottom*/
         left: 0;
        width:100%;
        height: 1px;
        /*background-color: crimson;*/
        display: none;
       
      }

      .nav-menu .nav-link:hover::after{
        left:0;
        width:100%;
        display: block;
      }
      /*end here*/

    .nav-menu.active{
        left: 0;
    }

    /*glass effect for menu*/
    #glass{
        background:linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(225, 225, 225, 0));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
       /*for shadow*/ /*i think i will remove the shadow*/
       border: 1px solid rgba(225, 225, 225, 0.18);
       border-radius: 5px;
       box-shadow: 0 8px 32px 0 rgba(0 , 0, 0, 0.37);
        
    }
}


main #vid{    /*i did this coz without the hamburger menu doesn't work  */
    
  
  /* padding-top:70px;*/
   width:100%;
   object-fit: cover;  /*to make the vid cover small screen*/
   position: absolute;
   z-index: -1;  /*to make me able 2 press on the menu*/
   height: 100vh;
   filter: blur(10);
}


/*this media down is for video bg*/
@media(min-aspect-ratio: 16/9) {
    #vid{
        width:100%;
        height: auto;
    }
}

@media(max-aspect-ratio: 16/9) {
    #vid{
        width:auto;
        height: 100%;
    }
}


/*
 .social-icons li img  {
    width:20px;
    filter: invert(1);  /*will make it back when i position the icons */
    
*/

section{
     position: absolute;
    top: 60vh;
    color: #fff
}



#textIco .text{
   /* background-color: red;*/
    padding: 20px 25px;
    position: absolute;
    top: 20vh;
    color:var(--yellow);
}

 .text h2{
  font-size: 3rem;  
  padding: 20px 0;  
  text-transform: capitalize;
  font-family: /*var(--edu-vice)*/ var(--Shrikhand);
  color:var(--white);
  letter-spacing: 2px;
  font-weight: 500;
}

.text h3{
    font-size: 2rem;
    padding-bottom: 20px;
    text-transform: capitalize;
    color:var(--white);
    font-family: var(--Shrikhand);
    letter-spacing: 2px;
    font-weight: 400;
}

.text p::first-letter{
    font-size: 1.2rem;
    text-transform: capitalize;
}

.text p{
    font-size: 1.3rem;
    font-family: var(--edu-vice);
    color:var(--white);
    font-weight: 400;
    letter-spacing: 2px;
}



.social-icons{
    position: absolute;
    bottom: 40px;
    z-index: 10; /*to make them on top*/
    list-style: none;
    display: flex;
    justify-content: center;
    padding-left: 20px;
    
}

.social-icons li a{
    display:inline-block;
    filter: invert(1);  /*THIS will turn their color from black 2 white :) */
    margin-right: 40px;
    transform: scale(.5);  /*this will make them smaller and go down little*/
    transition: .05s;
}

.social-icons li a:hover{
    transform: scale(0.5) translateY(-15px); /*mines will move it to up*/
}

/*for bigger screens*/
@media(min-width:768px){
    #textIco .text {
        padding-top: 100px;
    }
    
    .social-icons{
        margin-bottom: 30px;
    }

}

/*media query for samsung galaxy fold*/
@media(max-width:280px){
    .text h2{
        font-size: 2.5rem;
    }

 .navbar .nav-brand{
    font-size: 1.5rem;
 }
 .navbar {
    position: absolute;
 }

 .social-icons li img {
    
    position: absolute;
 }
}




/*Menu style*/
 

.head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding:50px;
}
 .head h1{
    color:var(--red);
    padding-bottom:30px;
    font-size: 4.5rem;
    font-family: var(--Shrikhand);
    text-transform: capitalize;
}

 .head h2{
    text-transform: capitalize;
    font-family: var(--Shrikhand);
 }


.cards{
   /* position:;    /*will remove it for now 4.30pm*/
    justify-content: center;
    align-items: center;
    width:100vw;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,310px));
    margin-top: 10px;
    gap:40px;
    transition:  .3s ease;
           /**/  /**/  /**/ 
           /**/  /**/  /**/ 
           /**/  /**/  /**/  
           padding:100px;
}

.card{
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.menu-img{
    width:300px;
    height: 310px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    
}

.card .menu-img:hover{
    transform: scale(1.04);
}

.card h3{
    text-align: center;
     padding:5px 0; 
    
}
/*
.card button{
  padding:10px 15px;
  border: none;
  background-color: #262626;
  color:#fff;
  border-radius: 8px;
  transition: .4s ease-in-out;
}

.card button:hover{
    color:black;
    background-color: #fff;
    border: solid 1px rgba(0, 0, 0, 0.151);
    transform: scale(1.03)
}
*/

/*popUp when clicking the button  BUT I REMOVED IT */

/*
.popup .overlay{
    position: fixed;
    top:0;
    left: 0;
    width:100vw;
    height: 100vh;
    background-color: rgba(0 , 0, 0, 0.7);
    z-index: 1;
    display:none;
}
*/

/*
.popup .content{
    position: fixed; /*it was absolute but this make it appear only on top but with fixed will appear where the page is*/
/*    top: 50%;
    left:50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: #fff;
    width: 450px;
    height: 220px;
    z-index: 2;
    text-align: center;
    padding:30px;
    box-sizing: border-box;
}
*/
/*
.popup .close-btn{
    position: absolute;
    left:20px; /*i can make it right*/
 /*   top:20px;
    width:30px;
    height: 30px;
    background-color: #222;
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;  /*may remove*/
 /*   line-height: 30px;   /*to make the x in the middle*/
/*    cursor: pointer;
}

.popup.active .overlay{
    display: block;
}

.popup.active .content{
    transition: all  300ms ease-in-out;
    transform: translate(-50%, -50%) scale(1);
}
*/

/*part for testing last card with over lat with price*/
/*.overlay .ov-btn{
    display:grid;
    place-items: center;
    margin-left: 60px;
}
popup ends here
*/

.overlay-1 .about-food{
    align-items: center;
    max-width:100%;
    /*margin: 20px;*/
     color:yellow;
     letter-spacing: 1px;
     
    padding: 5px ;
}

.card{
margin: 0 auto;
position:relative;
width:100%;
max-width: 300px;
}

.card img{
   display: block;
   width:100%;
}

.overlay-1{
    position:absolute;
    bottom: 27px;  /*without button its perfect  */ 
   /*bottom:82px;  if i wanna uncomment the button this will be perfect */
     background-color:rgba(0, 0, 0, 0.5); 
    width:100%;
    transition: .5s ease-in-out;
    opacity: 0;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
}

.card:hover .overlay-1{
    opacity: 1;
    transform: scale(1.04);
    transition: .4s ease-out;
    
}


.card .price{
    background-color: var(--light-black);
    padding:10px 15px;
    font-size: 1.2rem;
    position: absolute;
    top:15px;
    left:12px;
    color:var(--white);
    border-radius: 5px;
}




/*scroll up button*/

#toTopBtn{
    display:block ;
    position: fixed;
    bottom: 20px;
    right:10px;
    z-index: 99;  /*wanna try it another num*/
    border:none;
    outline: none;
    background-color: var(--dark-pink);
    color:var(--white);
    cursor: pointer;
    padding:15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: .5s ease-in;
}

#toTopBtn:hover{
   background-color: var(--white);
   color:var(--dark-pink); 
   border: solid 1px var(--dark-pink);
   transition: .5s ease-out;
}



#back-btn{
    display:block ;
    position: fixed;
    bottom: 20px;
    left:10px;
    z-index: 99;  
    border:none;
    outline: none;
    background-color: var(--dark-pink);
    color:#fff;
    cursor: pointer;
    padding:15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: .5s ease-in;
}

#back-btn:hover{
    background-color: white;
    color:var(--dark-pink); 
    border: solid 1px var(--dark-pink);
    transition: .5s ease-out;
}

html{
    behavior: smooth;
}

body {
   /* background-image: url(./images/menu-bg6.jpg) ;
    --webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover;*/

   /* background-color: #f5f5dc;*/
    /* background-image:linear-gradient(#f5f5dc,#cece7c) ; */
    /*background-color: aliceblue;*/
    background-image: url(/images/bg\ menu5.jpg) ;   /*I THINK THIS WILL BE THE FINAL*/
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}



/*this media for buttons to top and back for small screens*/
@media(max-width:460px){
    .head h1{
        font-size: 3.5rem;
    }

    .card {
        max-width:85%;
    }
}

@media(max-width:375px){
    .card{
        width: 80%;
    }

     
}

@media(max-width:360px){
    .head h1{
        font-size: 3rem;
    }
}


    




 
