*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-transform: capitalize;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Amatic SC", sans-serif;
}
.container {
  width: 90%;
  margin: auto;
}
.padding-section {
  padding: 70px 0;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* main-title */
.main-title {
  text-align: center;
}
.main-title p {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #6f7275;
}
.main-title h2 {
  font-size: 50px;
  font-weight: 400;
  line-height: 75px;
  color: #37373f;
}
.main-title h2 span {
  color: rgb(206, 18, 18);
}

/* End Glo   */

/* Start nav Section   */
.nav {
  background-color: white;
  padding: 20px 0px;
  box-shadow: 0px 0px 14px 0px #0000001b;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
.nav .navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.nav .logo a {
  color: rgb(33, 37, 41);
  font-weight: 700;
  font-size: 30px;
  position: relative;
}
.nav .logo a::after {
  content: " ";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ce1212;
  position: absolute;
  bottom: 8px;
  right: -4px;
}
.nav .nav-links ul {
  display: none;
  gap: 1.25rem;
}
.nav .nav-links ul li a {
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
  color: #7f7f90;
  transition: 0.8s;
  position: relative;
}
.nav .nav-links ul li a::before {
  content: "";
  width: 0%;
  height: 2px;
  background-color: #ce1212;
  bottom: -3px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease-in-out;
}
.nav .nav-links a:hover {
  color: black;
}
.nav .nav-links a:hover::before {
  width: 100%;
}
/* Has Target */

body:has(.header:target) .header-links::before,
body:has(.chefs:target) .chefs-links::before,
body:has(.gallery:target) .gallery-links::before,
body:has(.contact:target) .contact-links::before {
  width: 100% !important;
}

/* Has Target */

.nav .icon {
  font-size: 25px;
  font-weight: 700;
}

/* End nav Section   */

/* Start header Section   */
.header {
  background-color: #eeeeee;
  min-height: 100vh;
}
.header .header-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  /* padding-top: 30px; */
}
.header .header-box .header-info {
  /* width: 40%; */
  width: 100%;
  /* text-align: start; */
  text-align: center;
}
.header .header-box .header-info h2 {
  color: #37373f;
  font-size: 65px;
  font-weight: 700;
}
.header .header-box .header-info p {
  color: #37373f;
  padding-block: 0.625rem;
}
.header .header-box .header-info .header-buttons {
  display: flex;
  margin-top: 15px;
  gap: 0.9375rem;
  padding-bottom: 20px;
  justify-content: center;
  /* justify-content: start; */
  flex-wrap: wrap;
}
.header .header-box .header-info .header-buttons .book-btn {
  border-radius: 0 50px 50px 50px;
  padding: 15px 20px;
  background-color: #ce1212;
  color: white;
  transition: 0.5s ease-in-out;
}
.header .header-box .header-info .header-buttons .book-btn:hover {
  background-color: red;
}
.header .header-box .header-info .header-buttons .second-btn {
  /* padding: 15px 20px; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: 0.4s;
}
.header .header-box .header-info .header-buttons .second-btn:hover {
  color: #ce1212;
}
.header .header-box .header-info .header-buttons .second-btn .icon {
  width: 50px;
  height: 50px;
  /* background-color: #ce1212; */
  background-image: linear-gradient(to right, red 0% 50%, transparent 50% 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header .header-box .header-info .header-buttons .second-btn .icon::before {
  content: "";
  width: 35px;
  height: 35px;
  background-color: white;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.header .header-box .header-info .header-buttons .second-btn .icon i {
  z-index: 999;
}
.header .header-box .header-img {
  /* width: 40%; */
  width: 100%;
  padding-top: 40px;
}
.header .header-box .header-img img {
  width: 100%;
  display: block;
  animation: shake 0.8s infinite;
  animation-play-state: paused;
}
.header .header-box .header-img img:hover {
  animation-play-state: running;
}
@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
/* End header Section   */

/* Star chefs Section   */

.chefs .chefs-boxs {
  padding: 50px 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
}
.chefs .chefs-boxs .card {
  background-color: gold;
  /* width: calc((100% - 3.75rem) / 3); */
  width: 100%;
  transition: transform 0.6s ease-in-out;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.chefs .chefs-boxs .card:hover {
  transform: scale(1.07);
}
.chefs .chefs-boxs .card .card-img {
  background-color: green;
  position: relative;
}

.chefs .chefs-boxs .card .card-img img {
  width: 100%;
  display: block;
  border-radius: 5px;
}
.chefs .chefs-boxs .card .card-img::before {
  content: "";
  width: 100%;
  height: 60px;
  background-image: url(../images/chefs/wave.svg);
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0;
  left: 0;
}
.chefs .chefs-boxs .card .card-img .chefs-layer {
  width: fit-content;
  background-color: red;
  position: absolute;
  top: 40px;
  right: -140px;
  transition: right 1.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  gap: 0.9375rem;
  border-radius: 4px;
  background-color: #ffffff4d;
  color: rgba(0, 0, 0, 0.541);
}
.chefs .chefs-boxs .card .card-img .chefs-layer a:hover i {
  color: black;
}
.chefs .chefs-boxs .card:hover .chefs-layer {
  right: 10px;
}
.chefs .chefs-boxs .card .card-info {
  background-color: white;
  text-align: center;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
}
.chefs .chefs-boxs .card .card-info h3 {
  color: rgb(33, 37, 41);
  font-size: 19px;
  font-weight: 700;
  line-height: 28px;
  font-family: Inter, sans-serif;
}
.chefs .chefs-boxs .card .card-info span {
  color: rgb(127, 127, 144);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.chefs .chefs-boxs .card .card-info p {
  color: rgb(127, 127, 144);
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  font-style: italic;
}
/* End chefs Section   */

/* Star Gallery Section   */
.gallery {
  background-color: #eeeeee;
}
.gallery .gallery-box {
  padding: 50px 0;
  /* columns: 3; */
  columns: 1;
  gap: 1.25rem;
}
.gallery .gallery-img {
  background-color: gold;
  margin-bottom: 20px;
  border: 4px solid white;
  position: relative;
  overflow: hidden;
}
.gallery .gallery-img .gallery-layer {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.575);
  position: absolute;
  top: 100%;
  left: 0;
  transition: top 0.5s ease-in-out;
  columns: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.gallery .gallery-img .gallery-layer h3 {
  font-family: Inter, sans-serif;
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
}
.gallery .gallery-img .gallery-layer p {
  color: rgb(221, 221, 221);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  font-style: normal;
  text-align: center;
}
.gallery .gallery-img:hover .gallery-layer {
  top: 0;
}
.gallery .gallery-box .gallery-img img {
  width: 100%;
  display: block;
}

/* End Gallery Section   */

/* Star contact Section   */
.contact {
  background-color: #ffffff;
}
.contact-map {
  padding: 50px 0;
}
.contact-map iframe {
  display: block;
}
.contact .contact-box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
}
.contact .contact-box .box {
  background-color: #f5f5f5;
  display: flex;
  width: 100%;
  /* width: calc((100% - 30px) / 2); */
  gap: 10px;
  padding: 25px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.contact .contact-box .box .box-icon {
  background-color: #ce1212;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact .contact-box .box .box-title h3 {
  font-family: Inter, sans-serif;
  color: rgb(125, 125, 125);
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.contact .contact-box .box .box-title p {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: rgb(33, 37, 41);
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.contact .contact-form {
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 1.875rem #00000014;
}
.contact .contact-form .form-group {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}
.contact .contact-form .form-group .form-input {
  /* width: calc((100% - 20px) / 2); */
  width: 100%;
  margin-bottom: 20px;
}
.contact .contact-form .form-group .form-input input {
  width: 100%;
  padding: 20px;
  border: 1px solid #e8e3e3;
  outline: none;
  border-radius: 4px;
}
.contact .contact-form .form-input {
  margin-bottom: 20px;
}
.contact .contact-form .form-input input {
  width: 100%;
  padding: 20px;
  border: 1px solid #e8e3e3;
  outline: none;
  border-radius: 4px;
}
.contact .contact-form .form-input textarea {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  resize: vertical;
  padding: 20px;
  border: 1px solid #e8e3e3;
  outline: none;
  /* border-radius: 4px; */
}
.contact .contact-form .contact-btn button {
  background-color: #ce1212;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  color: white;
  display: block;
  margin: auto;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}
.contact .contact-form .contact-btn button:hover {
  background-color: #ff0000;
}
/* End contact Section   */

/* Star Footer  Section   */

.footer {
  background-image: url(../images/textured-metal-background.jpg);
  color: white;
  background-size: contain;
}
.footer .footer-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.footer .about {
  /* width: 23%; */
  width: 100%;
}
.footer .about .about-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer .about .about-title img {
  width: 40px;
  height: 40px;
}
.footer .about .about-title h2 {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-size: 30px;
  font-weight: 700;
  line-height: 45px;
  color: #fff;
  position: relative;
}
/*  */
.footer .about .about-title h2::after {
  content: " ";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ce1212;
  position: absolute;
  bottom: 8px;
  right: -4px;
}
/*  */
.footer .about h3 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 28px;
  padding-block: 0.3125rem;
  text-align: center;
  position: relative;
}
.footer .about h3::before {
  content: " ";
  width: 100%;
  height: 2px;
  background-color: #585858;
  position: absolute;
  bottom: 0;
  left: 0;
}
.footer .about p {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
  padding: 10px 0;
}
.footer .about ul {
  display: flex;
  justify-content: space-around;
  padding-block: 0.625rem;
}
.footer .about ul li a i {
  font-weight: 400;
  font-size: 24px;
}
.footer .Subscribtion {
  /* width: 45%; */
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer .Subscribtion .sub-group {
  display: flex;
  gap: 0.625rem;
}
.footer .Subscribtion h2,
h3 {
  font-family: Inter, sans-serif;
}
.footer .Subscribtion .sub-group input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  outline: none;
}
.footer .Subscribtion .sub-group button {
  padding: 10px 5px;
  border: none;
  border-radius: 2px;
  background-color: #ce1212;
  min-width: 110px;
  color: white;
  transition: 0.5s ease-in-out;
}
.footer .Subscribtion .sub-group button:hover {
  background-color: red;
}
.footer .Subscribtion .quick-links h3 {
  margin-top: 10px;
  padding-bottom: 20px;
}
.footer .Subscribtion .quick-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}

.footer .Subscribtion .quick-links ul li {
  width: 100%;
  position: relative;
  padding: 5px;
  border-radius: 4px;
  transition: transform 0.4s ease, background-color 0.3s ease;
}

.footer .Subscribtion .quick-links ul li:hover {
  background-color: #222222;
  transform: translateX(10px);
}

.footer .Subscribtion .quick-links ul li:hover a {
  color: #ce1212;
}

.footer .Subscribtion .quick-links ul li::before {
  content: "\f105";
  margin-right: 5px;
  font: 900 1em/1 "Font Awesome 6 Free";
}
.footer .contact-title {
  width: 100%;
}
.footer .contact-title ul {
  padding: 10px;
}
.footer .contact-title ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-block: 0.625rem;
}
.footer .contact-title ul li i {
  color: #ce1212;
  font-weight: 900;
  font-size: 22px;
  line-height: 22px;
  cursor: pointer;
}
.footer .contact-title ul li span {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: white;
}
/* End Footer Section   */

/* media */

@media only screen and (min-width: 640px) {
}

@media only screen and (min-width: 768px) {
  .chefs .chefs-boxs .card {
    width: calc((100% - 3.75rem) / 2);
  }
  .gallery .gallery-box {
    columns: 2;
  }
  .footer .about {
    width: 25%;
    order: 1;
  }
  .footer .Subscribtion {
    width: 100%;
    order: 3;
  }
  .footer .contact-title {
    width: 25%;
    order: 2;
  }
}

@media only screen and (min-width: 1024px) {
  .nav .nav-links ul {
    display: flex;
  }
  .header .header-box {
    flex-direction: row;
  }
  .header .header-box .header-info {
    text-align: start;
    width: 40%;
  }
  .header .header-box .header-info .header-buttons {
    justify-content: start;
  }
  .header .header-box .header-img {
    width: 40%;
  }
  .chefs .chefs-boxs .card {
    width: calc((100% - 3.75rem) / 3);
  }
  .gallery .gallery-box {
    columns: 3;
  }
  .contact .contact-box .box {
    width: calc((100% - 30px) / 2);
  }
  .contact .contact-form .form-group .form-input {
    width: calc((100% - 20px) / 2);
  }
  .footer .about {
    width: 23%;
    order: 1;
  }
  .footer .Subscribtion {
    width: 47%;
    order: 2;
  }
  .footer .contact-title {
    width: 23%;
    order: 3;
  }
}

@media only screen and (min-width: 1280px) {
}
