/* rubik-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rubik/rubik-v30-latin_latin-ext-regular.woff2') format('woff2'); 
}

/* rubik-500 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/rubik/rubik-v30-latin_latin-ext-500.woff2') format('woff2'); 
}

/* rubik-600 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/rubik/rubik-v30-latin_latin-ext-600.woff2') format('woff2'); 
}


html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
    background-color: #F3F1EF;
    color: #676767;
}

img {
    max-width: 100%;
}

strong {
    font-weight: 500;
    color: #000;
}

#wrap {
    max-width: 428px;
    margin: 0 auto;
    background-color: #FFFFFF;
    min-height: 100vh;
} 

#hero {
    position: relative;
}

#header-bg {
    border-radius: 0 0 1rem 1rem;
}

#header-logo {
    border-radius: 100%;
    width: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#language {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.25rem 0.5rem;
}

#about {
    padding: 1.5rem;
}

#about h1 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #000;
}

#about ul {
    margin: 0 -0.5rem;
    padding: 0;
    list-style: none;
}

#about ul li {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    align-items: center;
    gap: 0.5rem;
}

#menu-categories-wrap {
    position: sticky;
    margin: 0;
    top: 0;
    padding-top: 0.5rem;
    background-color: #fff;
}

#menu-categories-wrap:after {
    background: linear-gradient(90deg,#ffffff 0,hsla(0,0%,100%,0) 0,#ffffff 100%);
    content: "";
    height: calc(100% - 4px);
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
}

#menu-categories {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.5rem 1.25rem 0.75rem 0;
    position: relative;
    flex-wrap: nowrap;
}

#menu-categories a {
    white-space: nowrap;  
    flex-shrink: 0; 
    color: #fff;
    border-radius: 1rem;
    background-color: #F30100;
    padding: 0.25rem 1rem;
    text-decoration: none;
}

#menu-categories a.active {
    background-color: #000;
}

h2 {
    font-size: 1.25rem;
    color: #000;
    text-transform: uppercase;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 1rem 0 1rem 0;
}

.menu-item {
    margin-bottom: 1rem;
}

.menu-item img {
    border-radius: 0.5rem;
}

.menu-item {
    padding-bottom: 1rem;
}

.menu-item h3 {
    color: #000;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0.5rem 0;

    align-items: baseline;
    display: inline-flex;
    gap: 1rem;
    justify-content: flex-start;
    width: 100%;
}

.menu-item-title {
    flex-grow: 1;
}

.menu-item-weight {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1rem;
    color: #676767;
}

.menu-item-description p {
    margin-top: 0;
}

.menu-item-allergens {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #676767;
    margin: 0.25rem 0 0.5rem 0;
}

.menu-item-allergens svg {
    width: 18px;
    height: 18px;
}

.menu-item-price {
    color: #F30100;
    font-weight: 600;
}

.menu-item-price span {
    font-weight: 400;
    color: #676767;
}

#alergeni ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#alergeni ul li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem 0.25rem 0;
    color: #676767;
}

#alergeni ul li svg {
    width: 18px;
    height: 18px;
}