/* -------------- general css file -------------- */

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    scroll-behavior: smooth;
}
body {
    background-color: #1D1D1D;
}

@view-transition {
    navigation: auto;
}

p {
    margin: 0;
}

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

.video-background {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}


/* -------------- color, background-color -------------- */

.green {
    color: #AFFF50;
}
.green-back {
    background-color: #AFFF50;
}

.black {
    color: #1D1D1D;
}

/* for catalog subtitle */
.light-gray {
    color: #5E5E5E;
}


.black-back {
    background-color: #1D1D1D;
}

/* for modal buttons */
.white-back {
    background-color: #D9D9D9; 
}


/* -------------- font, font-size, weight -------------- */
.press-start-2p {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}

.font16 {
    font-size: 16px;
}
.font16to10 {
    font-size: clamp(10px, 0.2vw, 16px);
}
.font20 {
    font-size: clamp(16px, 1vw, 20px);
}
.font24 {
    font-size: clamp(20px, 1.25vw, 24px);
}
.font36 {
    font-size: clamp(24px, 1.8vw, 36px);
}
.font48 {
    font-size: clamp(32px, 2.5vw, 48px);
}

.regular {
    font-weight: 400;
}
.semi-bold {
    font-weight: 600;
}
.bold {
    font-weight: 700;
}


/* -------------- wrappers -------------- */

.wrapper-1200 {
    max-width: 1200px;
    margin: 0 auto;
}



/* -------------- assets -------------- */

.text-center {
    text-align: center;
}

.row-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.align-center {
    display: flex;
    align-items: center;
}

.space-between {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.radius40 {
    border-radius: 40px;
}

.padding5-30 {
    padding: 5px 30px;
}

.line08 {
    line-height: 0.8;
}



/* -------------- button:hover -------------- */
.hover-up {
    transition: transform 0.5s ease;
}
.hover-up:hover {
    transform: translateY(-5px);
}

@media (max-width: 800px) {
    .hover-up:hover {
        transform: none;
    }
}



/* -------------- header -------------- */

.menu {
    margin-top: 1.38vh;
}


/* for logo text */
@font-face {
    font-family: chinyen;
    src: url(../font/Chinyen.ttf);
}
.chinyen {
    font-family: chinyen;
}
/* ------------ */


.menu__logo {
    display: flex;
    align-items: end;
    gap: 5px;
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    border: 1px outset rgb(255, 255, 255, 0.2);
    line-height: 0.9;
    letter-spacing: 0.08vw;
}

.menu__right {
    display: flex;
    align-items: center;
    gap: 1.30vw;
}
.menu__right > a {
    width: clamp(100px, 10vw, 230px);
    padding: 15px 0;
    text-align: center;
}

/* adaptive */
@media (max-width: 537px) {
    .menu__right > :last-child {
        display: none;
    }
}

@media (max-width: 450px) {
    .menu__right > :nth-last-child(2) {
        display: none;
    }
}
/* -------- */


/* -------------- footer -------------- */

.footer {
    margin-top: 30vh;
}

.footer__buttons {
    gap: 3vh;
    justify-content: center;
}
.footer__buttons > a {
    width: 150px;
    text-align: center;
    padding: 5px 0;
}

/* -------------- salad-cards -------------- */

.salad__link-container {
    height: 80%;
    min-width: 70px;
    max-width: 13.02vw;
    padding: 15px 25px;
    transition: 0.5s ease;
}
.salad__link-container:hover {
    background-color: #171717;
}

.salad__img {
    min-width: 70px;
    max-width: 10.41vw;
}
.salad__name > h3 {
    margin: 0;
}



/* -------------- adaptive -------------- */

@media (max-width: 500px) {
    .container, .footer__container {
        padding: 0 5px;
    }
}