html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  cursor: default;
}
body {
  margin: 0;
  box-sizing: border-box;
  background-color: #3a3838;
  font-family: "Candal", sans-serif;
}

/* navbar  */
.navbar {
  position: fixed;
  background-color: rgb(0, 0, 0);
  width: 100%;
  height: 9rem;
  top: -8.5rem;
  z-index: 20;
  text-align: center;
  transition-timing-function: ease-in-out;
}
.menu-items {
  height: 8.5rem;
  width: 8rem;
  margin-right: 5rem;
  cursor: pointer;
}
.menu-items:hover {
  opacity: 0.7;
}
.line {
  height: 140px;
  width: 25px;
  z-index: 10;
  float: left;
  margin-left: 10px;
  position: fixed;
  top: -80px;
  cursor: pointer;
  transition-timing-function: ease-in-out;
}
.animation-come {
  animation: pickedcome 1s 1;
  top: 1.5rem;
}
.animation-go {
  animation: pickedgo 3s 1;
  top: -8rem;
}
.animation-nav-come {
  animation: navcome 3s 1;
  top: 0;
}
.animation-nav-go {
  animation: navgo 1s 1;
  top: -8.5rem;
}
@keyframes navcome {
  from {
    top: -8.5rem;
  }
  to {
    top: 0;
  }
}
@keyframes navgo {
  from {
    top: 0rem;
  }
  to {
    top: -8.5rem;
  }
}
@keyframes pickedcome {
  from {
    top: -8rem;
  }
  to {
    top: 1.5rem;
  }
}
@keyframes pickedgo {
  from {
    top: 1.5rem;
  }
  to {
    top: -8rem;
  }
}

/* section-1 */
.main-heading {
  position: relative;
  color: white;
  font-family: "Candal", sans-serif;
  font-size: 9rem;
  text-align: center;
  top: 8rem;
}
.slide {
  position: relative;
  margin-top: 10rem;
  text-align: center;
  width: 100%;
  height: 350px;
  margin-bottom: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide-pic {
  position: absolute;
  width: 30%;
  height: 100%;
  transition: opacity 0.3s ease-in-out;
}

/* section-2 */
.section-2 {
  background-color: rgb(43, 41, 41);
  width: 100%;
  height: 100%;
}
.heading-1 {
  color: white;
  font-family: "Candal", sans-serif;
  font-size: 9rem;
  text-align: center;
  top: 10rem;
}
.cards {
  width: 100%;
  height: 100%;
  margin-bottom: 8rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card {
  width: 300px;
  height: 400px;
  margin-left: 20px;
  background-color: #d9a520;
  box-shadow: -8px -8px 0 hsl(43, 74%, 30%), 8px 8px 6px black;
  text-align: center;
  position: relative;
  transition: 1s ease all;
}
.card-1 {
  margin-bottom: 20px;
}
.card-2 {
  margin-bottom: 20px;
}
.card-3 {
  margin-bottom: 8rem;
}
.card:hover {
  top: -1.5rem;
}
.meal-img {
  margin-top: 50px;
  width: 150px;
  height: 150px;
}
.meal-tag {
  font-size: 30px;
}
.meal-btn {
  width: 150px;
  height: 30px;
  background-color: black;
  color: #d9a520;
  font-size: 15px;
  font-family: "Candal", sans-serif;
  border-radius: 20px;
  border: none;
  outline: none;
  cursor: pointer;
}
.meal-btn:active {
  color: black;
  background-color: #d9a520;
}

/*section-3*/
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 50px;
}
.all-gallery {
  position: relative;
  width: 350px;
  height: 250px;
  margin: 0 4rem 4rem 4rem;
  transition: all 0.5s ease;
}
.all-gallery:hover {
  width: 360px;
  height: 260px;
}
.image-text:hover {
  opacity: 1;
  backdrop-filter: blur(5px);
}
.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: 2px 2px 0 red, 4px 4px 0 yellow, 6px 6px 0 blue, 8px 8px 0 purple;
  transition: all 0.5s ease;
}
.image-text {
  position: absolute;
  top: 8px;
  left: 15px;
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  color: white;
  letter-spacing: 1px;
  box-sizing: border-box;
  opacity: 0;
  transition: all 0.8s ease;
}
.image-title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid white;
  border-right: 2px solid white;
  padding-bottom: 20px;
  width: 80%;
  margin-bottom: 0;
}
.image-des {
  margin-top: 0;
  font-size: 12px;
  border-top: 1px solid white;
  border-right: 2px solid white;
  padding-top: 30px;
  width: 80%;
  text-transform: uppercase;
  padding-bottom: 25px;
}
.extra {
  width: 35px;
  border-top: 2px solid white;
  float: right;
  transform: translate(-35px, -164.3px);
}

/*section-4*/
.section-4 {
  background-color: rgb(0, 0, 0);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-left: 15%;
  padding-top: 2%;
  padding-bottom: 5%;
  padding-right: 15%;
  border-bottom: 1px white solid;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sign-in {
  color: #d9a520;
  font-size: 3rem;
}
.sign-tag {
  color: gray;
  font-size: 1rem;
}
label {
  position: relative;
  float: right;
  margin-top: 2rem;
}
.input {
  width: 250px;
  height: 30px;
  outline: none;
  font-family: "Candal", sans-serif;
  padding: 5px;
  box-sizing: border-box;
  border: none;
  padding: 0 15px;
}
.submit {
  position: absolute;
  right: 0;
  background: black;
  color: gray;
  font-size: 20px;
  border: none;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  top: 1px;
  left: 208px;
  cursor: pointer;
  outline: none;
}
.submit:active {
  color: black;
  background: gray;
}

/*section-5*/
.section-5 {
  background: black;
  width: 100%;
  height: 100%;
  margin-top: 0;
  color: gray;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 12px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

@media only screen and (max-width: 845px) {
  html {
    font-size: 50%;
  }
  .sign-in {
    font-size: 30px;
  }
  .sign-tag {
    font-size: 10px;
  }
  label {
    float: left;
  }
}

@media only screen and (max-width: 660px) {
  html {
    font-size: 45%;
  }
  .sign-in {
    font-size: 30px;
  }
  .sign-tag {
    font-size: 10px;
  }
  label {
    float: left;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 40%;
  }
  .sign-in {
    font-size: 30px;
  }
  .sign-tag {
    font-size: 10px;
  }
  label {
    float: left;
  }
}

@media only screen and (max-width: 540px) {
  html {
    font-size: 30%;
  }
  .sign-in {
    font-size: 30px;
  }
  .sign-tag {
    font-size: 10px;
  }
  label {
    float: left;
  }
}
