*{
    margin: 0;
    padding: 0;
}

:root{
    --text-color: #000;
    --text-color2: #EA5858;
    --color:#FFCC66;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@keyframes appear {
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}
@keyframes translate {
    from{
        opacity: 0;
        transform: translate(-100px);
    }
    to{
        opacity: 1;
        transform: translate(0px);
    }
}
.hidden{
    margin-top: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
  }

body{
    
    background-color: #eeeeee;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
/*============================================== NAVBAR STYLING===================================== */
.header{
    background-color: #FFF0E9;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding-top: 1em;
    padding-bottom: 0.7em;
    width: 100%;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.left{
    margin-left: 50px;
}

.middle ul{
    display: flex;
}
.middle ul li{
    list-style: none;
}
.middle ul li a{
    text-decoration: none;
    color: var(--text-color);
    margin:  0 20px;
    font-weight:700;
}
.middle .nav-link:hover{
    border-bottom: 4px solid red;
}

.right{
    margin-right: 40px;
}
.right a{
    color: var(--text-color2);
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    margin-right: 17px;
}
.right button{
    color: var(--text-color2);
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    width: 7em;
    height: 3em;
    text-align: center;
    background: transparent;
    border: 1px solid var(--text-color2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.right button:hover{
    color: #fff;
    background: var(--text-color2);
    border: none;
}

/*============================================== RESPONSIVENESS =====================================*/

.hamburger {
    display: none;
    font-size: 28px;
    color: var(--text-color2);
    cursor: pointer;
    margin-right: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .middle,
    .right {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: #FFF0E9;
        animation: slideDown 0.3s ease forwards;
        transform-origin: top;
        padding: 10px 30px;
        margin-top: 30px;
    }

    .middle ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .middle ul li {
        margin: 8px 0;
    }

    .middle ul li a {
        display: block;
        text-align: left;
    }
.right{
    margin-top: -2px;
    margin-left: 20px;
}
   
    .right button {
        margin-top: 20px;
    }

    .middle.show,
    .right.show {
        display: flex;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

  
/* =========================================HERO STYLING====================================== */
.hero{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1em;
    margin-bottom: 4em;
}
.hero-text{
    margin-left:5em;
}
.hero-text h1{
    font-size: 3.5em;
    color: var(--text-color2);
}
.hero-grid {
    display: flex;
    margin-top: 0.2em;
}
.hero-grid img{
    width: 40px;
    height: 40px;
    border-radius: 50px;
    margin-right: 20px;
}
.hero-grid p {
    font-size: 1em;
    color: rgb(48, 48, 48);
}
.hero-btn{
    margin-top: 2.4em;
}
.hero-btn button{
    width: 10em;
    height:3em;
    background-color: var(--text-color2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 900;
    margin-right: 20px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.hero-btn button:hover{
    width: 10em;
    height:3em;
    background-color:transparent;
    color:  var(--text-color);
    border: 2px solid var(--text-color2);
    border-radius: 50px;
    cursor: pointer;
}
.hero-btn button i{
    background-color: #FFCC66;
    padding: 10px;
    border-radius: 50px;
    margin-left: -2px;
}
.hero-btn a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}
.hero-img img{
    width: 30em;
    height: 30em;
    margin-right: 6em;
    margin-top: -50px;
    
}

/* ======================================== Categories styling ====================================== */
.Categories{
    margin-top:10em;
    justify-content: center;
    
    
}
.Categories-text{
    display: flex;
    flex-direction: row;
    gap: 40em;
    justify-content: center;
}
.Categories-text h1{
    font-size: 3em;
    
    animation: translate  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.Categories-text h1 span{
    color: var(--text-color2);
}

.Categories-text p {
    font-size: 1em;
    color: gray;
}
.Categories-content{
    margin-top: 70px;
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 80px;
}
.Categories-content-grid img{
    border-radius: 100px;
    margin-bottom: 30px;
    width: 13em;
    
    animation: appear  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.Categories-content-grid h1{
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 900;
}
.Categories-content-grid a{
    color: var(--text-color2);
    font-size: 1em;
    margin-top: 200px;
    font-weight: 900;
    text-decoration: none;
}
/* ================================================MENU STYLING =================================================================== */
.menu{
    justify-content: center;
    margin-top: 8em;
    height: 100vh;
}
.menu-content{
    display: flex;
    gap: 44em;
    justify-content: center;
}

.menu-text h1 {
    font-size: 3em;
    margin-bottom: 17px;
     
    animation: translate  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.menu-text h1 span{
color: var(--text-color2);
}
.menu-text p {
    font-size: 1em;
    color: gray;
     
    animation: translate  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.menu-text-btn button{
    background-color: var(--text-color2);
    color: #fff;
    font-size: 15px;
    width: 10em;
    height: 3em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.menu-text-btn button:hover{
    background-color: transparent;
    color: var(--text-color2);
    border: 1px solid var(--text-color2);
}

.menu-parent{
    height: 100vh;
}
.menu-cards{
    margin: 0 ;
    display: grid;
  align-items: center;
    justify-content: center;
    margin-top: 10em;
}

.first-row{
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
    margin-top:3em;
    gap: 8em;
}
.card-1{
    background:#fee0d3 ;
    position: relative;
    width: 18em;
    height: 20em;
    border-radius: 30px;
    animation: appear  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
.card-1 img{
    position: absolute;
    top: -40px;
    right: -22px;
    width: 11em;
    border-radius: 100px;
    border: 8px solid var(--text-color2);
    box-shadow:0px 1px 10px 0px rgb(46, 44, 44)
}

.card-1-text{
    margin-top: 12em;
}
.card-1-text h1{
    margin-bottom: 10px;
    font-size: 1.4em;
    margin-left: 20px;
    font-weight: 900;
}
.card-1-text p{
    margin-bottom: 13px;
    font-size: 0.7em;
    margin-left: 20px;
}
.card-1-cont {
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
    gap: 4em;
}
.card-1-cont p {
    font-size: 1.5em;
    font-weight: 900;
}
.card-1-cont button{
    background-color: var(--text-color2);
    color: #fff;
    width: 9em;
    height: 3em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s ease-out;
}
.card-1-cont button:hover{
    background-color: transparent;
    color: var(--text-color2);
    border: 1px solid var(--text-color2);
}
/* 
==========================================DISCOUNT STYLING========================================================= */
.discount{
   position: relative;
   margin-top: 28em;
   z-index: 0;
}
.discount-content{
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 0;
}
.discount-img-1{
    position: relative;
}
.discount-img-1 .wrap-1{
    width: 100%;
    height: 21.5em;
    box-shadow: 0px 0px 20px 0px #fff;
    border-radius: 20px;
    animation: translate  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}


.discount-images-1{
    position: relative;
    width: 25em;
    height: 10em;
      border-radius: 20px;
      margin-bottom: 20px;
      box-shadow: 0px 0px 20px 0px #fff;
      background: #EA5858;
      animation: appear  linear;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
      overflow: hidden;
}
.discount-images-1 .img-1{
    position: absolute;
    width: 15em;
    height: 10em;
    border-radius: 20px;
    margin-bottom: 20px;
    margin: 0 auto;
    bottom: -38%;
    left: 19%;
    animation: appear  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    
}
.discount-images-1 h2{
    position: absolute;
    top: 10%;
    right: 5%;
    color: #fff;
}
.star-2 p{
    position: absolute;
    top: 28%;
    left: 6%;
    font-size: 1em;
    color: #ffffff;
    font-weight: 900;
    transform: rotate(-45deg);
}
.star-img-2{
    transform: rotate(-45deg);
    position: absolute;
    top: 10%;
    left: 2%;
    color: #EA5858;
    width: 80px;
    height: 80px;
}
.discount-images-2 {
    width: 25em;
    overflow: hidden;
    height: 10em;
    background: rgb(255, 218, 83);
      border-radius: 20px;
      margin-bottom: 20px;
      box-shadow: 0px 0px 20px 0px #fff;
      animation: appear  linear;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
}
.discount-images-2 img{
    width: 10em;
    height: 7em;
    bottom: -20%;
    left: 32%;
    position: absolute;
    overflow: hidden;
      border-radius: 20px;
      margin-bottom: 20px;
      animation: appear  linear;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
      
  }

  .discount-images-2 h3{
    position: absolute;
    top: 10%;
    color: #EA5858;
    margin-left: 18px;
    
  }
  .discount-images-2 p{
    position: absolute;
    top: 25%;
    font-size: 0.7em;
    font-weight: 900;
    color: #EA5858;
    margin-left: 18px;
    
  }
  .discount-images-2 h2{
    position: absolute;
    top: 10%;
    right: 5%;
    color: #fff;
    font-weight: 900;
}
.img-1{
    display: block;
}
.star p{
    position: absolute;
    top: 21%;
    font-size: 1.1em;
    font-weight: 900;
    left: 50.5%;
    transform: rotate(-45deg);
}
.star-img{
    transform: rotate(-45deg);
    position: absolute;
    top: 10%;
    left: 48.7%;
    color: #EA5858;
    width: 100px;
    height: 100px;
}




/* ============================================FOOTER STYLING======================================================================*/

footer{
  margin-top: 5em;
   
}
.footer-div{
    display: flex;
    background-color: #fee0d3;
   justify-content: center;
   width: 100%;
   padding-top: 3em;
   padding-bottom: 3em;
}
.footer-content{
    display: flex;
    flex-direction: row;
    margin-left: 4em;
    gap: 8em;
    justify-content: center;
   

}
.footer-content h1{
    color:var(--text-color2);
}
.footer-content a{
    display: block;
    margin-top: 20px;
    text-decoration: none;
    color: gray;

     
    animation: appear  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 10%;
}
.footer-rights{
    width: 27em;
    margin-left: 1em;
     
    animation: translate  linear;
    animation-timeline: view();
    animation-range: entry 0% cover 10%;
}
.footer-rights h1{
    margin-bottom: 0.7em;
}
.footer-rights p{
    color: gray;
    
}
.footer-contact{
    width: 10em;
}
.footer-socials{
    margin-top: 3em;
}
.socials{
    display: flex;
}
.socials a{
    display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(128, 128, 128, 0.604);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}


/* responsivensss*/


@media (max-width:768px){
   .left{
    margin-left:0;
   }
    .hero{
        flex-direction: column;
        margin-top: -0.2em;
    }
    .hero-text{
        margin-left: 1.3em;
    }
    .hero-text h1{
        font-size: 2.5em;
    }
    .hero-grid{
        margin-top: -0.6em;
    }
    .hero-grid img{
        width: 2.8em;
        height: 2.8em;
        margin-right: 0.9em;
    }
    .hero-grid p{
        font-size: 1em;
    }
    .hero-btn button{
        width: 8em;
       height:3em;
       font-size: 0.7em;
    }
    .hero-btn a{
        font-size: 1em;
    }
    .hero-img{
        text-align: end;
    }
    .hero-img img{
        width: 100%;
        height: auto;
        justify-content: start;
        align-content: center;
        margin: 0 ;
    }


    .Categories{
        margin-top: 7em;
    }
    .Categories-text{
        flex-direction: column;
        margin-left: 20px;
        gap: 1em;
    }
    .Categories-text h1{
        font-size: 2.1em;
    }
    .Categories-text p{
        font-size: 0.7em;
    }
    .Categories-content{
        flex-direction: column;
    }
    .menu-content{
        flex-direction: column;
        margin-left: 15px;
        gap: 2em;
    } 

    .menu-text h1{
        font-size: 1.9em;
    }
    .menu-text p{
        font-size: 0.7em;
    }
    .menu-text-btn button{
        width: 8em;
        height:3em;
        font-size: 0.7em;
    }
    .menu-cards{
        margin-top: 4em;
        justify-content: center;
    }
    .first-row{
        flex-direction: column;
    }

    .card-1{
        width: 15em;
        height: 18em;
    }
    
    .card-1 img{
        width: 7em;
    }

    .card-1-text{
        margin-top: 10em;
    }

    .card-1-cont{
        gap: 3em;
    }
    .card-1-cont p {
        font-size: 1.4em;
        font-weight: 900;
    }
    .card-1-cont button{
        width: 7em;
        height: 3em;
    }
    .discount{
        margin-top: 135em;
        justify-content: end;
    }
    .discount-content{
        justify-content: end;
        display: flex;
        flex-direction: column;
        z-index: 0;
    }
    
    .discount-img-1 .wrap-1{
        width: 80%;
        display:block ;
        justify-content: center;
        height: auto;
        margin: 0 auto;
    }
   
    .discount-images-1{
        width: 80%;
        margin: 0 auto;
    }
    .discount-images-2{
        margin-top: 10em;
        width: 80%;
        margin:2em auto;
    }
    .footer-div{
        justify-content: center;
        padding-bottom: 4em;
    }
    .footer-rights{
        margin-left: 0;
    }
    .footer-rights p {
        font-size: 0.8em;
    }
    .footer-content{
        flex-direction: column;
        gap: 3em;
    }
    .footer-content h1{
        font-size: 1.7em;
    }
    .footer-content a {
        font-size: 0.9em;
    }
    .socials a{
        width: 2em;
        height: 2em;
    }
}