/* reset */

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

/* basic */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "WDXL Lubrifont TC", sans-serif;
  background: #1e1e1e;
  line-height: 1.2;
  font-size: 2rem;
  color: #ececef;
}

@media only screen and (max-width: 940px) {
  body {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 710px) {
  body {
    font-size: 1.4rem;
  }
}

h1 {
  font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-size: 9.5rem;
}

@media only screen and (max-width: 940px) {
  h1 {
    font-size: 7rem;
  }
}

@media only screen and (max-width: 510px) {
  h1 {
    font-size: 6rem;
  }
}

h2 {
  font-size: 3.5rem;
}

@media only screen and (max-width: 710px) {
  h2 {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 510px) {
  h2 {
    font-size: 2rem;
  }
}

a {
  color: #fff;
  text-decoration: none;
}

/* shell */

.shell {
  width: 114rem;
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media only screen and (max-width: 1180px) {
  .shell {
    width: 90rem;
    max-width: 90rem;
  }
}

@media only screen and (max-width: 940px) {
  .shell {
    width: 67rem;
    max-width: 67rem;
  }
}

@media only screen and (max-width: 710px) {
  .shell {
    width: 47rem;
    max-width: 47rem;
  }
}

@media only screen and (max-width: 510px) {
  .shell {
    width: 30rem;
    max-width: 30rem;
    padding: 0 0.5rem;
  }
}

/* header */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 12;
  padding: 1.2rem 0;
  min-height: 7.4rem;
  transition: background-color 0.3s;
}

@media only screen and (max-width: 710px) {
  .header {
    min-height: auto;
  }
}

.header--solid {
  background-color: #121212;
}

.header .header__inner {
}

/* nav */

.nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  justify-content: center;
  column-gap: 4.5rem;
}

@media only screen and (max-width: 940px) {
  .nav ul {
    column-gap: 3rem;
  }
}

@media only screen and (max-width: 710px) {
  .nav ul {
    column-gap: 2rem;
  }
}

@media only screen and (max-width: 510px) {
  .nav ul {
    column-gap: 1.5rem;
  }
}

.nav ul a {
  position: relative;
}

.nav ul a:after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 0%;
  height: 0.2rem;
  background-color: #fff;
  border-radius: 0.1rem;
  transition: width 0.3s;
}

.nav ul a:hover:after {
  width: 100%;
}

.nav ul a.logo:after {
  content: "";
  display: none;
}

/* logo */

.logo {
  height: 5rem;
  display: block;
}

@media only screen and (max-width: 710px) {
  .logo {
    height: 4rem;
  }
}

@media only screen and (max-width: 510px) {
  .logo {
    height: 3rem;
  }
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* .logo--header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

/* hero */

.hero {
  /* min-height: calc(100vh - 7.4rem); */
  min-height: 100vh;
  /* margin-top: 7.4rem; */
}
@media screen and (max-width: 1000px) {
  .hero {
    min-height: 130vh;
  }
  .hero__content {
    display: inline !important;
    transform: translate(-50%, -40%) !important;
  }
}

@media only screen and (max-width: 710px) {
  .hero .hero__content {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.hero .hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 80%;
  background-color: #232323;
  padding: 4rem;
  display: flex;
  justify-content: space-between;
}

.hero .hero__head h1 {
  line-height: 1;
}

.hero .hero__head small {
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: -0.5rem;
  line-height: 1;
  display: block;
}

@media only screen and (max-width: 940px) {
  .hero .hero__head small {
    font-size: 1.6rem;
    margin-top: 0rem;
  }
}

@media only screen and (max-width: 710px) {
  .hero .hero__head small {
    font-weight: 400;
    font-size: 1.4rem;
    text-align: center;
  }
}

.hero .hero__body {
  margin-top: 3rem;
}

@media only screen and (max-width: 710px) {
  .hero .hero__body {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }
}

/* list */

.list {
  padding: 7rem 0 7rem;
  background-color: #232323;
  position: relative;
}

@media only screen and (max-width: 510px) {
  .list {
    padding: 3rem 0;
  }
}

.list:before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.07;
  background: url("../images/cooking_bg.svg");
}

.list .list__head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

@media only screen and (max-width: 510px) {
  .list .list__head {
    margin-bottom: 2rem;
  }
}

.list .list__head:before,
.list .list__head:after {
  content: "";
  height: 0.2rem;
  width: 3rem;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.list .list__head:after {
  left: 50%;
  transform: translate(calc(-50% - 15.5rem), -50%);
}

.list .list__head:before {
  left: 50%;
  transform: translate(calc(-50% + 15.5rem), -50%);
}

@media only screen and (max-width: 510px) {
  .list .list__head:after {
    transform: translate(calc(-50% - 9.5rem), -50%);
    width: 2rem;
  }

  .list .list__head:before {
    transform: translate(calc(-50% + 9.5rem), -50%);
    width: 2rem;
  }
}

.list ul.list__list {
  list-style: none;
  display: flex;
  margin: 0 -1.5rem;
}

@media only screen and (max-width: 940px) {
  .list .list__list {
    flex-wrap: wrap;
    row-gap: 1rem;
  }
}

@media only screen and (max-width: 510px) {
  .list .list__list {
    margin: 0 -1rem;
  }
}

.list .list__item {
  padding: 0 1.5rem;
  flex: 0 0 25%;
  max-width: 25%;
}

@media only screen and (max-width: 510px) {
  .list .list__item {
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 940px) {
  .list .list__item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.list .list__content {
  /* background-color: #e4e4e4; */
  /* border: 0.1rem solid #fff; */
  padding: 2rem 2rem 2rem 6rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 8px;
}

@media only screen and (max-width: 1180px) {
  .list .list__content {
    padding: 2rem 2rem 2rem 5rem;
  }
}

@media only screen and (max-width: 940px) {
  .list .list__content {
    padding: 1.5rem 2rem 1.5rem 5rem;
  }
}

@media only screen and (max-width: 510px) {
  .list .list__content {
    padding: 0rem 0rem 0rem 3rem;
    box-shadow: none;
  }
}

.list .list__plate {
  padding: 3rem 2rem;
  background-color: #fff;
  border-radius: 0.7rem;
  position: relative;
  z-index: 3;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

@media only screen and (max-width: 510px) {
  .list .list__plate {
    padding: 2.3rem 1.5rem;
  }
}

.list .list__plate p {
  position: absolute;
  top: 50%;
  left: 50%;
  height: calc(100% - 1.2rem);
  width: calc(100% - 1.2rem);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 0.1rem solid #ababab;
  color: #b02c2c;
}

@media only screen and (max-width: 1180px) {
  .list .list__content p {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 510px) {
  .list .list__content p {
    font-size: 1.4rem;
    height: calc(100% - 0.8rem);
    width: calc(100% - 0.8rem);
  }
}

.list .list__tisue {
  position: absolute;
  top: 50%;
  left: 2rem;
  border-style: solid;
  border-width: 2rem;
  border-color: transparent transparent #fff #fff;
  z-index: 1;
  transform: translateY(-50%) rotate(45deg);
}

@media only screen and (max-width: 510px) {
  .list .list__tisue {
    left: 0.7rem;
    border-width: 1.5rem;
  }
}

.list .list__content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(82, 51, 23, 0.183);
  z-index: 1;
}

@media only screen and (max-width: 510px) {
  .list .list__content:before {
    display: none;
  }
}

.list .list__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 510px) {
  .list .list__bg {
    display: none;
  }
}

.list .list__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list .list__icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  z-index: 2;
  color: #6e6e6e;
}

@media only screen and (max-width: 510px) {
  .list .list__icon {
    left: 0.7rem;
  }
}

/* about */

.about {
  /* background-color: #343333; */
  padding: 7rem 0 7rem;
  position: relative;
}

@media only screen and (max-width: 510px) {
  .about {
    padding: 4.5rem 0;
  }
}

.about .about__bg {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: rgb(120, 22, 22);
  background-image: radial-gradient(rgb(114, 19, 19) 0.2rem, transparent 0);
  background-size: 0.5rem 0.5rem;
  background-position: -2rem -2rem;
}

.about .about__bg:before,
.about .about__bg:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1rem;
  background-color: rgb(108, 18, 18);
}

.about .about__bg:after {
  bottom: 2.5rem;
  left: 0;
}

.about .about__bg:before {
  top: 2.5rem;
  left: 0;
}

@media only screen and (max-width: 510px) {
  .about .about__bg:after {
    bottom: 1.5rem;
  }

  .about .about__bg:before {
    top: 1.5rem;
  }
}

.about .about__head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

@media only screen and (max-width: 940px) {
  .about .about__head {
    margin-bottom: 2.5rem;
  }
}

@media only screen and (max-width: 510px) {
  .about .about__head {
    margin-bottom: 1.5rem;
  }
}

@media only screen and (max-width: 1180px) {
  .about .about__body {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 710px) {
  .about .about__body {
    font-size: 1.4rem;
  }
}

.about .about__head:before,
.about .about__head:after {
  content: "";
  height: 0.2rem;
  width: 3rem;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media only screen and (max-width: 940px) {
  .about .grid__col--1of2:nth-child(1) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about .grid__col--1of2:nth-child(2) {
    display: none;
  }
}

.about .about__head:after {
  left: 50%;
  transform: translate(calc(-50% - 13rem), -50%);
}

.about .about__head:before {
  left: 50%;
  transform: translate(calc(-50% + 13rem), -50%);
}

@media only screen and (max-width: 510px) {
  .about .about__head:after {
    width: 2rem;
    transform: translate(calc(-50% - 8.5rem), -50%);
  }

  .about .about__head:before {
    width: 2rem;
    transform: translate(calc(-50% + 8.5rem), -50%);
  }
}

.about .about__body p + p {
  margin-top: 1.5rem;
}

.about .about__image {
  width: 100%;
}

.about .about__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

/* menu */

.menu {
  padding: 6rem 0 5rem;
  position: relative;
  background-color: #232323;
}

@media only screen and (max-width: 510px) {
  .menu {
    padding: 4rem 0;
  }
}

.menu:before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.07;
  background: url("../images/cooking_bg.svg");
}

.menu .menu__head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

@media only screen and (max-width: 510px) {
  .menu .menu__head {
    margin-bottom: 2.5rem;
  }
}

.menu .menu__head:before,
.menu .menu__head:after {
  content: "";
  height: 0.2rem;
  width: 3rem;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.menu .menu__head:after {
  left: 50%;
  transform: translate(calc(-50% - 13.5rem), -50%);
}

.menu .menu__head:before {
  left: 50%;
  transform: translate(calc(-50% + 13.5rem), -50%);
}

.menu .menu__cover {
  height: 42rem;
  width: 33rem;
  margin: 0 auto;
  background-color: #5c0f0f;
  position: relative;
  z-index: 1;
  background: url("../images/leather.svg");
  box-shadow: rgba(100, 100, 111, 0.4) 0 0 3rem 0;
  cursor: pointer;
}

@media only screen and (max-width: 710px) {
  .menu .menu__cover {
    height: 30rem;
    width: 24rem;
  }
}

@media only screen and (max-width: 510px) {
  .menu .menu__cover {
    height: 27rem;
    width: 21rem;
  }
}

.menu .menu__cover:hover {
  animation: menu 1s;
}

@keyframes menu {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.menu .menu__cover:after {
  content: "";
  border: 0.2rem solid rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0rem;
  left: 1.3rem;
  width: calc(100% - 1.7rem);
  height: calc(100% - 0.4rem);
}

.menu .menu__cover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1.3rem;
  background-color: rgba(0, 0, 0, 0.22);
}

.menu .menu__logo {
  position: absolute;
  left: 50%;
  top: 6rem;
  transform: translateX(-50%);
}

.menu .menu__corners {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.menu .menu__cornerTop,
.menu .menu__cornerBottom {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  right: 0;
}

@media only screen and (max-width: 510px) {
  .menu .menu__cornerTop,
  .menu .menu__cornerBottom {
    width: 2rem;
    height: 2rem;
  }
}

.menu .menu__cornerTop {
  top: 0;
}

.menu .menu__cornerBottom {
  bottom: 0;
  transform: rotate(90deg);
}

.menu .menu__corners img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.2);
}

/* contacts */

.contacts {
  /* background-color: #343333; */
  padding: 6rem 0 6rem;
  position: relative;
}

.contacts .contacts__groupC {
  margin-bottom: 1.5rem;
}

@media only screen and (max-width: 710px) {
  .contacts {
    padding: 4rem 0 4rem;
  }

  .contacts .grid {
    flex-wrap: wrap;
    row-gap: 2rem;
    /* flex-direction: column-reverse; */
  }

  .contacts .grid .grid__col--1of2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contacts .contacts__groupC {
    display: flex;
  }

  .contacts .contacts__groupC .contacts__group + .contacts__group {
    margin-top: 0;
  }

  .contacts .contacts__groupC .contacts__group {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.contacts .contacts__bg {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: rgb(56, 56, 56);
  background-image: radial-gradient(rgb(52, 52, 52) 0.2rem, transparent 0);
  background-size: 0.5rem 0.5rem;
  background-position: -2rem -2rem;
}

.contacts .contacts__head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

@media only screen and (max-width: 710px) {
  .contacts .contacts__head {
    display: none;
  }
}

.contacts .contacts__head:before,
.contacts .contacts__head:after {
  content: "";
  height: 0.2rem;
  width: 3rem;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.contacts .contacts__head:after {
  left: 50%;
  transform: translate(calc(-50% - 10rem), -50%);
}

.contacts .contacts__head:before {
  left: 50%;
  transform: translate(calc(-50% + 10rem), -50%);
}

.contacts .contacts__maps {
  width: 100%;
  height: 20rem;
  border: none;
}

@media only screen and (max-width: 940px) {
  .contacts .contacts__maps {
    height: 15rem;
  }
}

@media only screen and (max-width: 710px) {
  .contacts .contacts__maps {
    height: 12rem;
  }
}

.contacts .contacts__group + .contacts__group {
  margin-top: 1.5rem;
}

.contacts .contacts__group p {
  color: #fff;
}

.contacts .contacts__group a {
  color: #fff;
  margin-top: 0.3rem;
  display: block;
}

.contacts .contacts__icon {
  margin-right: 0.8rem;
}

.contacts .contacts__formG + .contacts__formG {
  margin-top: 1.5rem;
}

@media only screen and (max-width: 710px) {
  .contacts .contacts__formG + .contacts__formG {
    margin-top: 0.5rem;
  }
}

.contacts .contacts__formG label {
  display: block;
  margin-bottom: 0.5rem;
}

/* area */

.area {
  font-family: "WDXL Lubrifont TC", sans-serif;
  width: 100%;
  height: 4.5rem;
  padding: 0 1.2rem;
  border-radius: 0.3rem;
  font-size: 1.6rem;
}

@media only screen and (max-width: 710px) {
  .area {
    height: 4rem;
    font-size: 1.4rem;
  }
}

/* textarea */

.textarea {
  padding: 1.2rem;
  width: 100%;
  height: 12rem;
  resize: none;
  font-family: "WDXL Lubrifont TC", sans-serif;
  font-size: 1.6rem;
  border-radius: 0.3rem;
}

@media only screen and (max-width: 940px) {
  .textarea {
    height: 10rem;
  }
}

@media only screen and (max-width: 710px) {
  .textarea {
    height: 4rem;
    font-size: 1.4rem;
  }
}

/* footer */

.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 1.8rem;
}

@media only screen and (max-width: 940px) {
  .footer {
    font-size: 1.6rem;
  }
}

.footer a {
  font-weight: 700;
  text-decoration: underline;
}

/* popup-menu */

.popup-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 14;
  /*display: none;*/
  visibility: hidden;
}

.popup-menu .popup__close {
  position: absolute;
  top: 3.4rem;
  right: 3.4rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: block;
  z-index: 16;
}

.popup-menu .popup__close:before,
.popup-menu .popup__close:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 0.2rem;
  background-color: #fff;
}

.popup-menu .popup__close:after {
  transform: translateX(-50%) rotate(-45deg);
}

.popup-menu .popup__close:before {
  transform: translateX(-50%) rotate(45deg);
}

.popup-menu .popup__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.popup-menu .popup__content > .btn {
  width: 4rem;
  height: 4rem;
}

.popup-menu ul {
  list-style: none;
  display: flex;
}

.popup-menu ul li {
  flex: 0 0 50%;
}

.popup-menu img {
  max-height: calc(100vh - 8rem);
  max-width: calc(100vw - 14rem);
  display: block;
}

/* scroll down */

.scroll-down {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.scroll-down span:nth-child(2) {
  animation-delay: -0.2s;
}

.scroll-down span:nth-child(3) {
  animation-delay: -0.4s;
}

.scroll-down span {
  display: block;
  width: 2rem;
  height: 2rem;
  border-bottom: 0.2rem solid #bcbcbc;
  border-right: 0.2rem solid #bcbcbc;
  transform: rotate(45deg);
  margin: -1rem;
  animation: animate 2s infinite;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-1rem, -1rem);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(1rem, 1rem);
  }
}

/* grid */

.grid {
  margin: 0 -2rem;
  display: flex;
}

.grid .grid__col {
  padding: 0 2rem;
}

.grid .grid__col--1of2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.grid .grid__col--1of3 {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
}

.grid .grid__col--fill {
  flex: 1;
}

.grid .grid__col--60 {
  flex: 0 0 60%;
  max-width: 60%;
}

/* reservation grid */

@media only screen and (max-width: 940px) {
  .hero__content {
    width: 100%;
    left: 0%;
  }
}

@media only screen and (max-width: 488px) {
  .form__content {
    display: flex !important;
    flex-direction: column;
  }
}

.form__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.form__content input {
  height: 4.5rem;
  font-family: "WDXL Lubrifont TC", sans-serif;
  font-size: 1.6rem;
  padding: 1.2rem;
  width: 100%;
}
.form__content select {
  height: 4.5rem;
  font-family: "WDXL Lubrifont TC", sans-serif;
  font-size: 1.6rem;
  padding-left: 1rem;
  position: relative;
}
.form__content label {
  display: block;
}

/* names */
.grid__names {
  grid-column: span 2 / span 2;
}
.nameinput {
  position: relative;
  display: inline-block;
  width: 100%;
}
.nameinput::after {
  content: "\f007"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}
.nameinput input {
  box-sizing: border-box;
}

/* phone */
.grid__phone {
  grid-row-start: 2;
}
.phoneinput {
  position: relative;
  display: inline-block;
  width: 100%;
}
.phoneinput::after {
  content: "\f095"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}
/* email */
.grid__email {
  grid-row-start: 2;
}
.email__input {
  position: relative;
  display: inline-block;
  width: 100%;
}
.email__input::after {
  content: "\f0e0"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}

/* date */
.grid__date {
  grid-row-start: 3;
  grid-column: span 2 / span 2;
}

.date__input {
  position: relative;
  display: inline-block;
  width: 100%;
}

/*  below */
.date__input input {
  width: 100%;
  padding: 8px 32px 8px 8px; /* space for the icon */
  box-sizing: border-box;
}

.date__input::after {
  content: "\f783"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}

/* Make the default calendar icon invisible but clickable */
/* input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  color: transparent;
  background: transparent;
  opacity: 0;
} */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

/* time */
.time__select {
  position: relative;
  display: inline-block;
}

.time__select select {
  padding: 8px 32px 8px 8px; /* space for the icon */
  box-sizing: border-box;
  appearance: none; /* hides the default dropdown arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.time__select::after {
  content: "\f017"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}

/* people */
.grid__people {
  grid-row-start: 4;
}

.people__select {
  position: relative;
  display: inline-block;
}
.people__select select {
  padding: 8px 40px 8px 8px; /* space for the icon */
  box-sizing: border-box;
  appearance: none; /* hides the default dropdown arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.people__select::after {
  content: "\f0c0"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  color: black;
  pointer-events: none;
}
.time-people__container {
  display: flex;
  justify-content: space-between;
}
/* placement */
/* extra */
.extra textarea {
  width: 100%;
  resize: none;
}

.form {
  width: 40vw;
  margin-right: 4rem;
}

.image__content {
  width: auto;
  max-width: 30vw;
  height: auto;
  max-height: 40vh;
  object-fit: fill;
  display: block;
}

/* 855px and less switch to max-width 100% and add margin-top: 3 rem */
/* switch form to width:100% */
/* .hero__content display inline */
@media screen and (max-width: 1000px) {
  .image__content {
    max-width: 100% !important;
    margin-top: 3rem !important;
  }
  .form {
    width: 100% !important;
  }
}

@media screen and (max-width: 1500px) {
  .image__content {
    max-width: 40vw;
  }
  .form {
    width: 30vw;
  }
}

.image__content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.button__container {
  position: relative;
  display: inline-block;
  height: 5rem;
  width: 100%;
  margin-top: 2rem;
}
.submit__button {
  font-family: "WDXL Lubrifont TC", sans-serif;
  margin: 0 auto;
  display: block;
  width: 20rem;
  height: 5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #b51919;
  padding: 1rem 1.5rem;
  color: #fff;
  transition: background-color 0.2s;
  font-size: 1.8rem;
  cursor: pointer;
}

/* alert */

.alert {
    background-color: #ffd4d4c4;
    color: rgb(196, 0, 0);
    bottom: 3rem;
    right: 3rem;
    position: fixed;
    padding: 1.6rem 3.5rem;
    border-radius: 0.7rem;
    border: 0.2rem solid rgb(196, 0, 0);
    z-index: 15;
}

.alert .alert__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    height: calc(1.2rem / sqrt(2));
    width: calc(1.2rem / sqrt(2));
}

.alert .alert__close:after,
.alert .alert__close:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    background-color: rgb(196, 0, 0);
    height: 1.2rem;
    width: 0.2rem;
    transition: background-color 0.3s;
}

.alert .alert__close:hover:after,
.alert .alert__close:hover:before {
    background-color: rgb(219, 114, 114);
}

.alert .alert__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.alert .alert__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.alert--green {
    color: rgb(0, 129, 0);
    background-color: rgba(191, 238, 191, 0.69);
    border: 0.2rem solid rgb(0, 129, 0);
}

.alert--green .alert__close:after,
.alert--green .alert__close:before {
    background-color: rgb(35, 129, 35);
}

.alert--green .alert__close:hover:after,
.alert--green .alert__close:hover:before {
    background-color: rgb(35, 129, 35);
}

.alert--green .alert__close:hover:after,
.alert--green .alert__close:hover:before {
    background-color: rgb(42, 167, 42);
}

.alert--yellow {
    color: rgb(222, 147, 18);
    background-color: rgba(255, 239, 136, 0.547);
    border: 0.2rem solid rgb(231, 153, 9);
}

.alert--yellow .alert__close:after,
.alert--yellow .alert__close:before {
    background-color: rgb(231, 153, 9);
}

.alert--yellow .alert__close:hover:after,
.alert--yellow .alert__close:hover:before {
    background-color: rgb(255, 195, 56);
}
