@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
    --orange: #ff8829;
    --green:#023020;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.4);
}

*{
    font-family: 'Nunito', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; border:none;
    /* text-transform: capitalize; */
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5.5rem;
    scroll-behavior: smooth;
}

/* Receipt styles */
.receipt {
    display: none;
    border: 1px solid #000;
    padding: 20px;
    width: 300px;
    margin: 0 auto;
    background-color: #fff;
}

.receipt-header {
    text-align: center;
    margin-bottom: 10px;
}

.receipt-header img {
    width: 120px;
    height: 60px;
    margin-right: 10px;
}

.receipt-header h2 {
    margin: 0;
    font-size: 18px;
}

.receipt-items {
    list-style: none;
    padding: 0;
    margin: 0;
    /* text-align: center; */
}

.receipt-items li {
    border-bottom: 1px dashed #ccc;
    padding: 5px 0;
    margin: 1rem 3rem;
}

.Rtotal {
    /* text-align: center; */
    margin: 1rem 5rem;
    font-weight: bolder;
}

.receipt-footer {
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.receipt-footer p {
    margin: 5px 0;
}

section{
    padding:4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container:nth-child(odd){
    background:#e2ebde;
}

.sub-heading{
    text-align: center;
    color:var(--orange);
    font-size: 2rem;
}

.heading{
    text-align: center;
    color:var(--green);
    font-size: 3rem;
    padding-bottom: 2rem;
    text-transform: uppercase;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    font-size: 1.7rem;
    color:#fff;
    background: var(--green);
    border-radius: 2rem;
    cursor: pointer;
    padding:.8rem 2.5rem;
}

.btn:hover{
    background: var(--orange);
    transform: scale(1.01) translateY(-6px);
    
}

header{
    position: fixed;
    top:0; left: 0; right:0;
    background: #e4d9d9;
    box-shadow: var(--box-shadow);
    z-index: 1006;
    transition: all 0.5s ease-in-out;
    padding: 1rem;
}

header.sticky { 
	padding: .1rem 3%;
	background: var(--green);
	border-bottom: .1rem solid var(--orange);
    box-shadow: var(--box-shadow);
}

header .flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

header .flex .logo{
    color:var(--green);
    font-size: 2.5rem;
    font-weight: bolder;
}

header .flex .logo i{
    color:var(--green);
}

header .flex .navbar a{
    font-size: 1.7rem;
    border-radius: 2rem;
    padding:.5rem 2rem;
    color:var(--light-color);
    text-transform: capitalize;
}

header .flex .navbar a:hover{
    color: #f4f4f4;;
    background: var(--orange);
}

header .flex .navbar a.active {
     font-weight: bolder;
    color: var(--orange);
}

header .flex .navbar a.active:hover {
    background-color: var(--green);
}

header.sticky .flex .navbar a.active:hover {
    background-color: #f4f4f4;
}

header .flex .icons i,
header .flex .icons a{
    cursor: pointer;
    margin-left: 2rem;
    height:4.5rem;
    line-height: 4.5rem;
    width:4.5rem;
    text-align: center;
    font-size: 1.7rem;
    color:var(--green);
    border-radius: 50%;
    background: #f4f4f4;
}
a.fas.fa-shopping-cart, a.fas.fa-heart{
    position: relative;
}

.icons .quantity, .icons .favourite{
    background: var(--green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--orange);
    position: absolute;
    border: .2rem solid #e4d9d9;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-weight: bold ;
    left: 80%;
}


header .flex .icons i:hover,
header .flex .icons a:hover{
    color:#fff;
    background: var(--orange);
}

header .flex .icons #menu-bars{
    display: none;
}

/* body > div.ordered {
    max-height: 70%;
    overflow-y: scroll;
} */

.ordered {
    position: relative;
    z-index: 1005;
    display: block;
    margin-top: 6.8rem;
    position: fixed;
    top:-70%;
    left: 65%;
    width: 35%;
    background-color: #453E3B;
    /* height: 70%; */
    transition: 0.5s;
    max-height: 70%;
    overflow-y: scroll;
    scroll-snap-align: end;
}

.active .ordered{
    left: 65%;
    top: 0;
}
/* .active .container{
   transform: translateX(-200px);
} */
.ordered h1{
    color: var(--orange);
    font-weight: 100;
    margin: 0;
    padding: 0 20px;
    height: 80px;
    display: grid;
    align-items: center;
    justify-items: center;
}
.ordered .checkOut{
    /* position: absolute; */
    background-color: #fff;
    bottom: 0;
    width: 100%;
    height: 70px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}


.msg {
    display: none;
    position: absolute;
    left: 50%;
    top: 0
}

.error {
    color: rgb(105, 9, 9);
}

.ordered .total{
    /* position: absolute; */
    bottom: 7rem;
    background-color: #f4f4f4;
    font-weight: bolder;
    font-size: 3rem;
    width: 100%;
    height: 70px;
    display: grid;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.ordered .checkOut .submit-order{
    background-color: var(--green);
    color: #f4f4f4;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}
.ordered .checkOut .closeShopping{
    background-color: var(--orange);
    color: #f4f4f4;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.ordered .checkOut div:nth-child(2){
    background-color: #1C1F25;
    color: #fff;
}
.ordered-items li{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: var(--orange);
    font-size: 1.5rem;
    margin: 0 0 3rem 3rem;
    list-style: none;

}

.remove-from-order {
    position: absolute;
    border-radius: 2rem;
    left: 75%;
    /* margin: 0 3rem; */
    margin-right: 0;
    padding: 0.5rem 2rem;
    /* justify-self: center; */
    cursor: pointer;
}

.add-quantity, .remove-quantity {
    /* display: grid; */
    margin: 0 .5rem;
    padding: 0.5rem 1rem;
    border-radius: 100%;
    justify-self: center;
    /* margin-left: 0; */
    /* grid-template-columns: repeat(2, 1fr); */
    cursor: pointer;
}

div .quantity-controls{
    margin: 0;
    padding: 0;
    width: fit-content;
}

div ul li .item-name {
    /* color: #023020; */
    position: relative;
    margin-left: .5rem;
    align-self: center;
}


div ul li div .quantity {
    position: absolute;
    left: -3%;
    /* top: 26.5%; */
    margin: 0 2rem;
    font-weight: bolder;
}

div ul li .item-price {
    display: inline;
    position: absolute;
    left: 36%;
    /* margin-left: 1rem; */
    padding-left: 2px;
    align-self: center;
}

.ordered-items li div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ordered-items li img{
    width: 90%;
}

.payment {
    /* position: relative; */
    display: grid;
    background-color: #7e7272;
    z-index: 1009;
    top: 54rem;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding-bottom: 2rem;
    letter-spacing: .2rem;
    scroll-snap-align: end;
}

.payment h1{
    font-size: 3rem;
    color: var(--green);
    font-weight: bold;
}

.hidden {
	display: none;
}

.payment label {
	display: inline-block;
	/* margin-bottom: 20px; */
    margin-left: 1rem;
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: bolder;
    letter-spacing: .2rem;
}

.payment input[type=radio] {
	margin-bottom: 10px;
    font-size: 2rem;
}
#payment-method {
	margin-left: 1rem;
    padding: .5rem;
    font-size: 1.5rem;
    border-radius: 3rem;
    font-weight: bold;
}

#pay-button {
	
	border-radius: 3rem;
	padding: .5rem 2rem;
	margin-top: 1rem;
    background-color: var(--green);
    color: #f4f4f4;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5%;
}


#invoice {
    position: absolute;
    z-index: 1005;
    /* margin-top: 2rem; */
    position: fixed;
    align-items: center;
    justify-content: center;
    top:0;
    padding: 3rem;
    width: 30%;
    background-color: #c5baba;
    height: fit-content;
    transition: 0.5s;
    left: calc(100% - 30%);
}



#invoice h2 {
	margin-top: 5rem;
	margin-left: 8rem;
	margin-bottom: 3rem;
    font-size: 2rem;
}
#invoice ul li {
	margin-bottom: 2rem;
    margin-left: 5rem;
    list-style: circle;
    font-size: 1.5rem;
}
#invoice p {
	margin-top: 5rem;
    /* margin-bottom: 1rem; */
    margin-left: 8rem;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #f4f4f4;
    width:fit-content;
    padding: 1rem;
}

#card-details {
    position: relative;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    /* padding-left: 2rem; */
    /* margin-left: 1rem; */
    justify-content: center;
}

#card-details label {
	display: inline-block;
	/* margin-bottom: 20px; */
    margin-top: 1rem;
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: bolder;
    letter-spacing: .2rem;
}

#card-details input {
	margin-top: 2rem;
    font-size: 2rem;
    margin-right: 2rem;
}

#print-receipt {
	background-color: var(--green);
    color: #f4f4f4;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
    padding: 1rem;
    margin-top: 4rem;
    border-radius: 2rem;
    margin-left: 6.5rem;
}

#pay-button:hover {
	background-color: #555;
}


#search-form{
    position: fixed;
    margin-top: 5%;
    top:-150%;
    left: 0; 
    height:15%; 
    width: 100%;
    z-index: 1004;
    background:rgba(0,0,0,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 3rem;
}

#search-form.active{
    top:0;
}

#search-form #search-box{
    width:30rem;
    border-bottom: .1rem solid #fff;
    padding:1rem 0;
    margin-right: 2rem;
    color:#fff;
    font-size: 2rem;
    text-transform: none;
    background:none;
}

#search-form #search-box::placeholder{
    color:#eee;
}

#search-form #search-box::-webkit-search-cancel-button{
    -webkit-appearance: none;
}

#search-form label{
    color:#fff;
    cursor:pointer;
    font-size: 2rem;
}

#search-form label:hover{
    color:var(--orange);
}

#search-form #close{
    position: absolute;
    color:#ec0909;
    cursor: pointer;
    top: 2rem;
    right:3rem;
    font-size: 3rem;
}


.home .home-slider .slide{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:2rem; 
    padding-top: 9rem;
}

.home .home-slider .slide .content{
    flex:1 1 45rem;
}

.home .home-slider .slide .image{
    flex:1 1 45rem;
}

.home .home-slider .slide .image img{
    width: 100%;
}

.home .home-slider .slide .content span{
    color:var(--orange);
    font-size: 2.5rem;
}

.home .home-slider .slide .content h3{
    color:var(--green);
    font-size: 7rem;
}

.home .home-slider .slide .content p{
    color:var(--light-color);
    font-size: 2.2rem;
    padding:.5rem 0;
    line-height: 1.5;
}

/* swiper button */
.swiper-navBtn{
    height: 5rem;
    width: 5rem;
    color: var(--green);
    font-weight: bold;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.2s;
    opacity: 1;
    visibility: visible;
}

.home:hover .swiper-navBtn {
    opacity: 1;
}

.swiper-navBtn:hover{
    background-color: rgba(92, 67, 67, 0.3);
}
.swiper-navBtn::after,
.swiper-navBtn::before{
    font-size: 2rem;
}
  
.swiper-pagination-bullet-active{
   background-color: var(--orange);
}

.dishes .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap:1.5rem;
    justify-content: center;
}

.dishes .box-container .box{
    padding:2.5rem;
    background:#ffffff;
    border-radius: 2rem;
    border:.2rem solid rgba(0,0,0,.2);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dishes .box-container .box .fa-heart{
    position: absolute;
    top:1.5rem;
    background:#eeeeee;
    border-radius: 50%;
    height: 5rem;
    width:5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:var(--green);
    /* right:1.5rem; */
}

.dishes .box-container .box .fa-heart:hover{
    background: var(--orange);
    color:#fff;
}

.dishes .box-container .box .fa-heart{
    right:-10rem;
}

.dishes .box-container .box:hover .fa-heart{
    right:1.5rem;
}

.dishes .box-container .box img{
    height:20rem;
    width: 20rem;
    margin:1rem 0;
    border-radius: 50%;
}

.dishes .box-container .box h3{
    color:var(--green);
    font-size: 2.5rem;
}

.dishes .box-container .box .price{
    padding:1rem 0;
}

.dishes .box-container .box span{
    color:var(--orange);
    font-weight: bolder;
    margin-right: 1rem;
    font-size: 2.5rem;
}

.about .row{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
    align-items: center;
}

.about .row .image{
    flex:1 1 45rem;
    border-radius: 50%;
}

.about .row .image img{ 
    width: 100%;
    border-radius: 50%;
}

.about .row .content{
    flex:1 1 45rem;
}

.about .row .content h3{
    color:var(--green);
    font-size: 4rem;
    padding:.5rem 0;
}

.about .row .content p{
    color:var(--light-color);
    font-size: 1.5rem;
    padding:.5rem 0;
    line-height: 2;
}

.about .row .content .icons-container{
    display: flex;
    gap:1rem;
    flex-wrap: wrap;
    padding:1rem 0;
    margin-top: .5rem;
}

.about .row .content .icons-container .icons{
    background:#eee;
    border-radius: .5rem;
    border:.2rem solid rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap:1rem;
    flex:1 1 17rem;
    padding:1.5rem 1rem;
}

.about .row .content .icons-container .icons i{
    font-size: 2.5rem;
    color:var(--orange);
}

.about .row .content .icons-container .icons span{
    font-size: 1.5rem;
    color:var(--green);
}

.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap:1.5rem;
    justify-content: center;
}

.menu .box-container .box{
    background: #fff;
    border:.1rem solid rgba(0,0,0,.2);
    border-radius: 2rem;
    box-shadow: var(--box-shadow);    
}

.menu .box-container .box .image{
    height: 25rem;
    width: 100%;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.menu .box-container .box .image img{
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

.menu .box-container .box .image .fa-heart{
    position: absolute;
    top:2.5rem; right: 2.5rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    background: #fff;
    border-radius: 50%;
    color:var(--green);
}

.menu .box-container .box .image .fa-heart:hover{
    background-color: var(--orange);
    color:#fff;
}

.menu .box-container .box .content{
    padding:2rem;
    padding-top: 0;
}

.menu .box-container .box .content .price{
    padding-bottom: 1rem;
}

.menu .box-container .box .content h3{
    color:var(--green);
    font-size: 2.5rem;
}

.menu .box-container .box .content p{
    color:var(--light-color);
    font-size: 1.6rem;
    padding:.5rem 0;
    line-height: 1.5;
}

.menu .box-container .box .content .price{
    color:var(--orange);
    margin-left: 1rem;
    font-size: 2.5rem;
}

.order form{
    max-width: 90rem;
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    border: .2rem solid rgba(0,0,0,.2);
    background:#fff;
    padding: 2rem;
    margin: 0 auto;
    padding-top: 3rem;
}

.order form .inputBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.order form .inputBox .input{
    width:49%;
}

.order form .inputBox .input span{
    display:block;
    padding:.5rem 0;
    font-size: 1.5rem;
    color:var(--light-color);
}

.order form .inputBox .input input,
.order form .inputBox .input textarea{
    background:#eee;
    border-radius: .5rem;
    padding:1.4rem;
    font-size: 1.8rem;
    color:var(--black);
    text-transform: none;
    margin-bottom: 1rem;
    width:100%;
}

.order form .inputBox .input input:focus,
.order form .inputBox .input textarea:focus{
    border:.1rem solid var(--green);
}

.order form .inputBox .input textarea{
    height:20rem;
    resize: none;
}

.order form .btn{
    margin-top: 0;
}

.footer{
    padding-bottom: .5rem;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap:1.5rem;
}

.footer .box-container .box h3{
    padding:.5rem 0;
    font-size: 2.5rem;
    color:var(--black);
    margin-bottom: 1.5rem;
}

.footer .box-container .box a{
    display: block;
    padding:.7rem 0;
    font-size: 1.6rem;
    color:var(--light-color);
}

.footer .box-container .box a:hover{
    color:var(--green);
    text-decoration: underline;
}

.footer .credit{
    text-align: left;
    border-top: .1rem solid rgba(0,0,0,.1);
    font-size: 1.6rem;
    color:var(--green);
    padding: .5rem;
    padding-top: 2rem;
    /* margin-top:3rem; */
    padding-bottom: 1rem;
}

.footer .credit span{
    color:var(--orange);
}

.loader-container{
    position: fixed;
    top:0; left:0;
    height:100%; 
    width:100%;
    z-index: 10000;
    background:#fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-container img{
    width:35rem;
}

.loader-container.fade-out{
    top:-110%;
    opacity:0;
}


































/* media queries  */


@media (max-width:1024px){
    .ordered{
        width: 45%;
    }

    .active .ordered{
        left: calc(100% - 45%);
    }

    #invoice {
        width: 45%;
        left: calc(100% - 45%);
    }

}

@media (max-width:991px){

    html{
        font-size: 55%;
    }
    
    header{
        padding:1rem 2rem;
    }

    section{
        padding:2rem;
    }

    .ordered{
        width: 50%;
    }

    .active .ordered{
        left: calc(100% - 50%);
    }

    #invoice {
        width: 50%;
        left: calc(100% - 50%);
    }


}


@media (max-width:768px){

    header .flex .icons #menu-bars{
        display: inline-block;
    }

    header .flex .navbar{
        position: absolute;
        top:100%; left:0; right:0;
        background:#fff;
        border-top: .1rem solid rgba(0,0,0,.2);
        border-bottom: .1rem solid rgba(0,0,0,.2);
        padding:1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header .flex .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .flex .navbar a{
        display: block;
        padding:1.5rem;
        margin:1rem;
        font-size: 2rem;
        background:#eee;
    }

    #search-form #search-box{
        width:90%;
        margin:0 1rem;
    }

    .home .home-slider .slide{
        margin-bottom: 4rem;
    }

    .home .home-slider .slide .content h3{
        font-size: 4.5rem;
    }


    .ordered{
        width: 50%;
    }

    .active .ordered{
        left: calc(100% - 50%);
    }

    #invoice {
        width: 50%;
        left: calc(100% - 50%);
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

    .dishes .box-container .box img{
        height:auto;
        width: 100%;
    }

    .order form .inputBox .input{
        width:100%;
    }


    .ordered{
        width: 100%;
    }

    .active .ordered{
        left: calc(100% - 100%);
    }

    #invoice {
        width: 100%;
        left: calc(100% - 100%);
    }



}