:root{
  --cc-background-color: linear-gradient(to top,#F4ECE1, #FCFBF7);

  --cc-fast-color-h1:#FF7E00;
  --dark-text-color: #000;
  --cc-light-dark-text-color: #2F2F2F;
  --cc-light-paragrah-text: #909090;
  --cc-button-dark:#2F2F2F;

  --ff-font-family: "Poppins", san-serif;

  --ff-food-text-size: 7.8125rem;
  --ff-food-delivery-text: 3.25rem;
  --ff-regular-text-paragrah: 1.375rem;
  --button-fonts-size: 1.25rem;
  --ff-low-regular-text: 1.125rem;
  --ff-logo-text: 2rem;
  --ff-list-text: 1.375rem;

  --fw-regular: 400;
  --fw-semi-bold: 500;
  --fw-bold: 700;
}

*,
::after,
::before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--ff-font-family);
  
}

h1, p{
  line-height: 1.1;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
}

body{
  background-image: var(--cc-background-color);
  background-repeat: no-repeat;
}

header{
  display: flex;
  align-items: center;justify-content: space-between;
  padding: 39px 65px;
  overflow: hidden;
  z-index: 5;
}

.logo{
  display: flex;
  align-items: center;
  gap: 4px;
  animation: logoanimation .8s ease-in-out;
}

.logo p{
  font-size: var(--ff-logo-text);
  font-weight: var(--fw-bold);
}

@keyframes logoanimation {
  0%{
    transform: translateX(-200px);
    opacity: 0;
  }

  100%{
    transform: translateX(0);
    opacity: 1;
  }

}

nav{
  animation: navanimation .8s ease-in-out;
}
nav ul{
  display: flex;
  align-items: center;
  gap: 56px;
}

nav ul li a{
  color: var(--dark-text-color);
  position: relative;
}

nav ul li a::before{
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cc-fast-color-h1);
  bottom: 0;
  transition: all .2s ease-in;
}

nav ul li a:hover::before{
  width: 100%;
}

@keyframes navanimation {
  0%{
    transform: translateY(-50px);
    opacity: 0;
  }

  100%{
    transform: translateY(0);
    opacity: 1;
  }
}

.search-input{
  position: relative;
  animation: inputanimation .8s ease-in-out;
}
.search-input input{
  width: 210px;
  height: 40px;
  border-radius: 30px;
  border: none;
  background-color: #FFF9F0;
  box-shadow: 0px 12px 40px rgba(0, 0, 0, 0.1);
  padding-block: 20px;
  padding-inline: 50px;
  outline: none;
}

.search-icon{
  position: absolute;
  top: 10px;
  left: 20px;
  cursor: pointer;
}

.shopping-icon-box{
  position: absolute;
  top: 10px;
  right: 20px;
  border-left: 1px solid #948C8C;
  padding-left: 10px;
  cursor: pointer;
}


@keyframes inputanimation {
  0%{
    transform: translateX(200px);
    opacity: 0;
  }

  100%{
    transform: translateX(0);
    opacity: 1;
  }

}
/* .search-input::placeholder */

.hero-details{
  padding-inline: 65px;
  display: flex;
}

.left-section{
  padding-top: 105px;
}

.right-section{
  animation: backgroundimage 1s ease-in;
}

@keyframes backgroundimage {
  0%{
    opacity: 0;
  }

  100%{
    opacity: 1;
  }
}

.heading-text{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  position: relative;
  animation: headinganimation .7s ease-in;
}

.heading-text::after{
  content: url("../images/arrow-movement.svg");
  position: absolute;
  top: -110px;
  right: -90px;
}
.heading-text h1{
  font-size: var(--ff-food-text-size);
  color: var(--cc-fast-color-h1);
}

.heading-text p{
  font-size: var(--ff-food-delivery-text);
  font-weight: var(--fw-bold);
  line-height: .9;
}

@keyframes headinganimation {
  0%{
    transform: translateY(-20px);
    opacity: 0;
  }

  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

article{
  color: var(--cc-light-paragrah-text);
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: headinganimation .7s ease-in;
}

button{
  border: none;
  padding: 20px 40px;
  font-size: var(--button-fonts-size);
}

.order-now-btn{
  background-color: var(--cc-button-dark);
  color: #FFF9F0;
  border-radius: 84px;
  cursor: pointer;
  transition: box-shadow .2s ease-in;
}

.order-now-btn:hover{
  box-shadow: 0px 20px 32px rgba(0, 0, 0, 0.1);
}

.btn-select-section{
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 69px;
  animation: headinganimation .7s ease-in;
}

.btn-play-icon{
  display: flex;
  align-items: center;
}

.btn-play-icon img{
  margin-top: 25px;
}

.btn-play-icon a{
  font-size: var(--button-fonts-size);
  color: var(--cc-button-dark);
  font-weight: 700;
  position: relative;
}

.btn-play-icon a::before{
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--cc-fast-color-h1);
  bottom: 0;
  transition: width .3s ease-in-out;
}

.btn-play-icon a:hover::before{
  width: 100%;
}

.rate-section{
  animation: headinganimation .8s ease-in;
}
.rate-icon img{
  margin-bottom: 5px;
}

.rating-number{
  color: var(--cc-button-dark);
  font-weight: var(--fw-bold);
  font-size: var(--ff-low-regular-text);
}

.reviews-number{
  color: #909090;
  font-size: var(--ff-low-regular-text);
}
