/* 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;
  }
}

h3 {}

h4 {}

h5 {}

h6 {}

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; */
}

.hero .hero__bg {
    /* height: calc(100% - 7.4rem); */
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero .hero__bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero .hero__bg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.hero .hero__content {
    position: absolute;
    top: 50%;
    left: 6rem;
    transform: translateY(-50%);
    z-index: 4;
}

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

.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 .menus_group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 16rem;
    row-gap: 8rem;
}

.menu .menu__body {
    position: relative;
    cursor: pointer;
}

.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;
}

@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__body: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;
}

/* feedback */

.feedback {
    height: 100vh;
    color: #fff;
    background: #000 url("../images/feedback-background.jpg") repeat-y;
    background-size: 100% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.feedback h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.feedback ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 40rem;
    margin: 0 auto;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    counter-reset: item;
}

.feedback ul > li:nth-child(1):has(input:checked) > label { background-color: #ff4e50; }
.feedback ul > li:nth-child(2):has(input:checked) > label { background-color: #fc913a; }
.feedback ul > li:nth-child(3):has(input:checked) > label { background-color: #f9d423; }
.feedback ul > li:nth-child(4):has(input:checked) > label { background-color: #9fc536; }
.feedback ul > li:nth-child(5):has(input:checked) > label { background-color: #45b649; }

.feedback ul > li > input {
    display: none;
}

.feedback ul > li > label {
    counter-increment: item;
    content: counter(item);
    width: 6rem;
    aspect-ratio: 1;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.feedback ul > li > label:hover {
    background-color: #505050;
}

.feedback .area {
    margin-bottom: 1rem;
}

.feedback .textarea {
    margin-bottom: 3rem;
}

.feedback .actions {
    display: flex;
    justify-content: center;
}

.feedback .submit__button {
    padding: 1.5rem 3rem;
    font-size: 2.4rem;
}

/*@media only screen and (max-width: 940px) {*/

/*}*/

@media only screen and (max-width: 710px) {
    .feedback ul {
        width: 30rem;
    }

    .feedback ul > li > label {
        width: 4.8rem;
    }

    .feedback .submit__button {
        padding: 1rem 2.5rem;
        /*font-size: 2.4rem;*/
    }
}

@media only screen and (max-width: 390px) {
    .feedback h2 {
        font-size: 2.2rem;
    }
}

/* 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%);
}

.popup-menu .popup__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

@media only screen and (max-width: 710px) {
    .popup-menu .popup__content .btn {
        position: absolute;
        bottom: 0;
        left: 50%;
    }

    .popup-menu .popup__content .btn-prev {
        transform: translate(calc(-50% - 2.5rem));
    }

    .popup-menu .popup__content .btn-next {
        transform: translate(calc(-50% + 2.5rem));
    }

    .popup-menu .popup__content ul {
    }

    .popup-menu .popup__content .popup__wrapper {
        /*padding-bottom: ;*/
        padding-bottom: calc(4rem + 1rem);
    }
}

.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: 100vw;
    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 50%;
    max-width: 50%;
}

.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%;
}

/* btn */

.btn {
    font-family: "WDXL Lubrifont TC", sans-serif;
    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;
    display: inline-block;
}

.btn:disabled {
    background-color: #5e0000;
    color: #fff;
    cursor: pointer;
}

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

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

.btn:hover:enabled {
    background-color: #a21818;
}

.btn .btn__icon {
    margin-left: 0.8rem;
    font-size: 1.6rem;
}

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

/* 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);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.lang-switcher__link img {
  width: 48px;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 3px solid transparent;
  transition: all 0.2s ease-in-out;
  opacity: 0.6;
  filter: grayscale(80%);
  transform: scale(0.9);
}

.lang-switcher__link:hover img {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.lang-switcher__link--active img {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Menu Titles */
.menu__title {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    text-align: center;
    width: 100%;
    pointer-events: none; /* Allows clicking through the title */
}

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