﻿@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;700&family=Montserrat:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
    color-scheme: light only;
    --color-green: #008b46;
    --color-red: #c72b37;
}

.bg-green {
    background-color: var(--color-green) !important;
}

.bg-red {
    background-color: var(--color-red) !important;
}

.text-green {
    color: var(--color-green) !important;
}

.text-red {
    color: var(--color-red) !important;
}

* {
    font-family: 'Dosis', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px !important;
    padding: 0px !important;
}

body div#loading {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #fff;
    z-index: 9999;
    font-size: 48px;
    text-align: center;
    color: var(--color-green);
    padding-top: 30%;
}

body .main-header {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    aspect-ratio: auto 1080/471;
    background-image: url('/qr-menu/images/header/bg-1.png');
    background-position: center center;
    background-size: cover;
    box-shadow: 0px 1px 10px #999;
    z-index: 1;
}

body .main-header .main-logo {
    width: 66.48%;
    aspect-ratio: auto 2120/408;
}

body .main-header a {
    text-decoration: none;
}

body .main-header a img.button {
    width: 6.25%;
    aspect-ratio: auto 1;
}

body #header {
    width: 100%;
    /*aspect-ratio: auto 1080/459;*/
    background-image: url('/qr-menu/images/header/bg-1.png');
    background-position: center center;
    background-size: cover;
    box-shadow: 0px 1px 10px #999;
}

body #header .first-row .main-logo {
    width: 82.49%;
    aspect-ratio: auto 2120/408;
}

body #header .first-row .main-logo {
    width: 82.49%;
    aspect-ratio: auto 2120/408;
}

body #header .first-row a {
    text-decoration: none;
}

body #header .first-row a img.button {
    width: 10.25%;
    aspect-ratio: auto 1;
}

body #header .second-row {
    height: 92px;
    overflow: hidden;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}

body #header .third-row h3 {
    padding: 0px;
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
    color: var(--color-green);
}

body .content {
    position: absolute;
    width: 100%;
    padding: 30px 8.38%;
    overflow: auto;
    z-index: 0;
}

body .content .menu-card {
    display: block;
    width: 100%;
    aspect-ratio: auto 435/261;
    color: #000;
    text-decoration: none;
    background-color: #fdfdfd;
    border: solid 1px #ccc;
    border-radius: 10px;
}

body .content .menu-card.gray {
    border: none;
}

body .content .menu-card span {
    display: block;
    width: 97.12%;
    aspect-ratio: auto 423/211;
    margin: 2px auto;
    border-radius: 10px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body .content .menu-card p {
    width: 89.90%;
    margin: 8px auto 0px;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


body .content .product-card {
    border: solid 1px #ccc;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #ccc;
    font-size: 12px;
}

body .content a.product-card {
    text-decoration: none;
    color: #999;
}

body .content .product-card img {
    border-radius: 10px;
}



body .content .product-card p {
    height: 47px;
    margin: 0px;
    padding: 0px;
    font-size: 10px;
    overflow: hidden;
}



body .content .campaign-card {
    margin-bottom: 20px;
}

body .content .campaign-card img {
    width: 100%;
    aspect-ratio: auto 1436/400;
    margin: 0px auto;
}

body .content .campaign-card a {
    text-decoration: none;
    color: #999;
}

body .content .stars {
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}

body .content .stars div.col-2 {
    color: #f9e637;
    cursor: pointer;
}


body footer {
    position: fixed;
    width: 100%;
    left: 0px;
    bottom: 0px;
    background-color: #fff;
    box-shadow: 0px -1px 10px #999;
    z-index: 1;
}

body footer a.tab {
    padding: 5px 0px;
    color: #999;
    text-decoration: none;
}

body footer a.tab img {
    width: 18.14%;
    aspect-ratio: auto 1;
}

body footer a.tab img.animg {
    animation: shake 1s ease-in-out infinite;
}

body footer a.tab span {
    display: block;
    font-size: 11px;
}

body footer .row:last-child div {
    aspect-ratio: auto 1080/32;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }
}