*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
  color: white;
  background: #faf3e0;
}


.navbar{
  position: fixed;
  font-family: fantasy;
  height: 13vh;
  width: 100vw;
  background: rgb(16,16,17);
  opacity: 0.9;
  align-items: right; 
  font-size: 18px;
  letter-spacing: 1px;
  padding-right: 60px;
}

.navbar-brand img{
  width: 75px;
  height: 75px;
  border-radius: 60px;
  margin-left: 20px;
}


/* Align menu items to the right */
 .navbar-nav {
  margin-left: auto;
}


/* Change the font color to white */
.navbar .navbar-nav .nav-link {
  color: white !important;
}

/* Hover effect with sliding background color animation */
  .navbar .navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgb(173,3,3);
    border-radius: 5px;
    z-index: -1;
    transition: left 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::before {
  left: 0;
}


/* Highlight the active page with the background hover color */
 .navbar .navbar-nav .nav-link.active::before {
  left: 0;
}


/* Add spacing between menu items */
.navbar-nav .nav-item {
  margin-left: .5rem;
  padding-right: 30px;
}

.navbar-toggler-icon {
  background-color: white; 
  /* margin-left: 5vw; */
}


/* ***************************************** */
#home{
  padding-top: 10vh;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh; 
  color: white;
  justify-content: center;
  align-items: center;
  background-image: url(./landingpage/newland.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.animated-text {
  position: relative;
  
  display: flex;
  width: 70vw;
  height: 15vh;
  align-items: center;
  justify-content: center;
  /* background-color: black; */
}

.animated-text span{
  display: inline-block;
  font-family: "Cherish", cursive;
  font-size: 110px;
  letter-spacing: 15px;
  text-shadow: 2px 2px 2px black;
  color: white;
  animation: dropLetter 2s forwards;
}

.animated-text span:nth-child(2) {
  animation-delay: 0.1s;
}

.animated-text span:nth-child(3) {
  animation-delay: 0.2s;
}

.animated-text span:nth-child(4) {
  animation-delay: 0.3s;
}

.animated-text span:nth-child(5) {
  animation-delay: 0.4s;
}

.animated-text span:nth-child(6) {
  animation-delay: 0.5s;
}

.animated-text span:nth-child(7) {
  animation-delay: 0.6s;
}

.animated-text span:nth-child(8) {
  animation-delay: 0.7s;
}

.animated-text span:nth-child(9) {
  animation-delay: 0.8s;
}

.animated-text span:nth-child(10) {
  animation-delay: 0.9s;
}

.animated-text span:nth-child(11) {
  animation-delay: 1s;
}

.animated-text span:nth-child(12) {
  animation-delay: 1.1s;
}

.animated-text span:nth-child(13) {
  animation-delay: 1.2s;
}

/* Animation for the text "Yety Kitchen" */
@keyframes dropLetter {
  0% {
      transform: translateY(-100%);
      opacity: 0;
  }
  50% {
      transform: translateY(0);
      opacity: 1;
  }
  100% {
      transform: translateY(100%);
      opacity: 0;
  }
}

 /* Animation for the text "Yety Kitchen" */
 @keyframes dropLetter {
  0% {
      transform: translateY(-100%);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}


.short-intro{
  position: relative;
  margin-top: 5vh;
  display: flex;
  width: 50vw;
  height: 35vh;
  align-items: center;
  justify-content: center;
 opacity: 0; /* Start invisible */
 animation: fadeIn 1s ease-in forwards; /* Apply the fade-in animation */
  
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5); /* Start small */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Grow to full size */
  }
}

.short-intro p{
  /* font-family: 'Courier New', Courier, monospace; */
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 2px black;
  color: white;
}

.menu-btn{
  margin-top: 10px;
  display: flex;
  font-family: fantasy;
  width: 200px;
  height: 70px;
  font-size: 20px;
  background-color: transparent;
  letter-spacing: 3px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  outline: 2px solid white;
  opacity: 0; /* Start invisible */
  animation: fadeIn 2s ease-in forwards; /* Apply the fade-in animation */
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5); /* Start small */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Grow to full size */
  }
}


.menu-btn a{
  text-decoration: none;
  text-shadow: 3px 3px 3px black;
  color: white;
}

/* Hover effect with sliding background color animation */
.menu-btn{
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgb(213,0,0);
  border-radius: 5px;
  z-index: -1;
  transition: left 0.3s ease;
}

.menu-btn:hover::before {
  left: 0;
}


/*START: SERVICE SECTION HERE  */
.service-container{
  margin-top: 5vh;
  display: flex;
  width: 100vw;
  height: 80vh;
  justify-content: center;
  align-items: center;
  background: #faf3e0;
}

.service-head{
  display: flex;
  flex-direction: column;
  width: 85%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.service-head h1{
  font-family: fantasy;
  color: rgb(213,0,0);
}

.line{
    width: 100px;
    height: 4px;
    background-color: black;
}

.service-head p{
  /* font-family: 'Courier New', Courier, monospace; */
  font-size: 20px;
  width: 85%;
  color: black;
}

.submenu-img{
margin-top: 3vh;
display: flex;
width: 100%;
height: 210px;
justify-content: space-evenly ;
align-items:center ;

}

.submenu-img img{
  width: 220px;
  height: 180px;
  border-radius: 6px;
  }

.submenu-img > img{
  scale: 0; opacity: 1;
  animation: fade-in linear;
  animation-timeline: view();
  animation-range:contain;
}
@keyframes fade-in {
  to {scale: 1; opacity: 1;}
}



#best-offer{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 60vh;
  font-style: fantasy;
  background: #faf3e0;
}
  



.pic{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30vw;
  height: 50vh;
}

.pic img{
  width: 300px;
  height: 300px;
  border-radius: 150px;
   
}

#best-offer > .pic{
  scale: 0; opacity: 0;
  animation: fade-in linear;
  animation-timeline: view();
  animation-range: contain;
}
@keyframes fade-in {
  to {scale: 1; opacity: 1;}
}


.one{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35%;
  height: 100%;
  font-style: fantasy;
}

.one.visibl{
  transform: translateX(0);
  opacity: 1;
}
.one .best{
  font-family: fantasy;
  font-size: 50px;
  color: rgb(213,0,0);
}

.one .tasty{
  margin-left: 100px;
  font-family: fantasy;
  font-size: 40px;
  color: rgb(213,0,0);
}

.home-deli{
  /* font-family: 'Courier New', Courier, monospace; */
  color: black;
  font-size: 20px;
  font-weight:bold;
  text-align: center;
}

.order-btn{
  /* font-family: 'Courier New', Courier, monospace; */
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 125px;
  height: 50px;
  font-size: 17px;
  background-color: rgb(213,0,0);
  letter-spacing: 1px;
  border-radius: 8px;
}

.order-btn a{
  text-decoration: none;
  color: white;
  text-align: center;
}
.order-btn:hover{
  background-color: black;
}



#just-yety{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100vw;
  height: 15vh; 
  background-color: rgb(213,0,0);
}

#just-yety h5{
  font-family: "Cherish", cursive;
  text-align: center;
  align-items: center;
  font-size: 55px;
  letter-spacing: 6px;
  word-spacing: 10px;
}

#just-yety-second{
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100vw;
  height: 15vh;  
  background-color: rgb(213,0,0);
}

#just-yety-second .yety-second{
  font-family: "Cherish", cursive;
  font-size: 30px;
  letter-spacing: 6px;
  word-spacing: 10px;

}
/* **************************************************************** */
#service{
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 270vh; 
  justify-content: center;
  align-items: center;
  background: #faf3e0;
}

.menu-container{
display: grid;
width: 90vw;
height: 90%;
justify-content: center;
align-items: center;
}

.cover-menu{
display: flex;
width: 90vw;
height: 55vh;

}

.img-left{
width: 100%;
height: 100%;
}

.img-left img{
width: 100%;
height: 100%;
}
/* END: SERVICE SECTION HERE  */
/* *******************************************************************8 */
#cont-bar{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 15vh; 
  background-color: black;
}

#cont-bar a{
  display: flex;
  width: 100vw;
  height: 16vh;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  animation-name: example;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@keyframes example {
  from {background-color: red;}
  to {background-color: black;}
}


#cont-bar a:hover{
  background-color: red;
}

#cont-bar .fa-solid{
  margin-right: 30px;
  display: flex;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  color: black;
  background-color: white;
  align-items: center;
  justify-content: center;
}

#cont-bar p{
  /* font-family: 'Courier New', Courier, monospace; */
  font-size: 23px;
  padding-top: 20px;
}


#company{
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 70vh;
  justify-content: center;
  align-items: center;
  background-color: rgb(213,0,0);
  /* background-color: blue; */
}
.logo-name{
  display: flex;
  width: 100vw;
  height: 20vh;
  justify-content: center;
  align-items: center;
}

.logo-name h1{
  font-family: "Cherish", cursive;
  font-weight: bolder;
  font-size: 50px;
  letter-spacing: 14px;
  word-spacing: 30px;
}

.logo-name img{
  margin-right: 40px;
  width: 140px;
  height: 140px;
  border-radius: 150px;
}

.socials{
  display: flex;
  width: 25vw;
  height: 10vh;
  justify-content: space-evenly;
  align-items: center; 
}

.socials a{
  text-decoration: none;
  color: white;
}

.socials a:hover{
  color: black;
}

.location-address{
  margin-top: 5vh;
  display: flex;
  width: 35vw;
  height: 5vh;
  justify-content:center;
  align-items: center;
}

.location-address a{
  text-decoration: none;
  color: white;
}

.location-address a:hover{
  color: black;
}

/* *************************************************************** */
footer{
  display: flex;
  width: 100vw;
  height: 10vh;
  background-color: black;
  color: white;  
  justify-content: right;
  align-items: center;
  font-size: 16px;
}

.foot{
  display: flex;
  width: 18vw;
  height: 10vh;
  color: white;  
  justify-content: center;
  place-items: center;
  font-size: 16px; 
}

.foot a{
  color: white;
  text-decoration: none;  
}

.foot a:hover{
  color: red;
}

.tag{
 text-shadow:2px 2px 2px grey;
 animation:bayo 2s ease 1s infinite;
}

@keyframes bayo{

 0%{
    transform:rotateX(-45deg);
}
 50%{
    transform:rotateY(45deg);
}
} 