/* http://meyerweb.com/eric/tools/css/reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End CSS Reset */

body {
  background-color: #343838;
  font-size: 16px;
}

#page {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#page-wrapper {
  background: beige;
  position: relative;
  margin: 10px;
  max-width: 640px;
  width: 100%;
  min-height: 96vh;
  padding: 0px 20px 20px 20px;
  box-sizing: border-box;
  border: 5px dashed #dfbc00;
  box-shadow: 0 0 0 2.5px #a78d01, 0 0 0 12.5px beige, inset 0 0 0 2.5px #a78d01, 0 5px 10px 15px rgb(0 0 0 / 50%), inset 0 0 0 6px beige, inset 0 0 100vw 100vw beige;
}

img.logo {
  height: 100%;
  width: auto;
}

.header {
  height: 60px;
  text-align: center;
  margin: 12px auto 20px auto;
}

@keyframes bounce {
  0% {
    transform: translateY(-20px)
  }
  50% {
    transform: translateY(0px)
  }
  100% {
    transform: translateY(-20px)
  }
}

@keyframes shadowscale {
  0% {
    transform: scale(0.6)
  }
  50% {
    transform: scale(1)
  }
  100% {
    transform: scale(0.6)
  }
}

.loading svg {
  width: 25%;
  animation: bounce 1.5s infinite ease-in-out;
}

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

.loading-logo-shadow {
  margin: 5px auto;
  width: 20%;
  height: 32px;
  background: radial-gradient(50% 50%, #4e4e4e 0%, transparent 100%);
  animation: shadowscale 1.5s infinite ease-in-out;
}

@keyframes fadeinout {
  0% {
    opacity: 0
  }
  50% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}

p.loading-text {
  margin: 1em 0;
  font-family: 'Arima Madurai';
  font-weight: 700;
  font-size: 1.2em;
  animation: fadeinout 1.5s infinite linear
}

.sidebar-btn {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  font-size: 25px;
  line-height: 32px;
  width: 36px;
  padding: 0;
}

.sidebar-btn-open {
  left: 22px;
  top: 22px;
}

.sidebar-btn-close {
  right: 15px;
  top: 4px;
}

#sidebar {
  position: fixed;
  z-index: 999;
  overflow: auto;
  top: 0px;
  left: -275px;
  width: 275px;
  opacity: 0;
  height: 100%;
  background-color: #f6f6f6;
  color: #343838;
  transition: all 350ms cubic-bezier(0.6, 0.05, 0.28, 0.91);
  box-shadow: 1px 0 14px;
}

#sidebar.active {
  left: 0px;
  opacity: 1;
}

#categories {
  position: relative;
}

#categories .category {
  position: relative;
  cursor: pointer;
  font-family: 'Arima Madurai';
  font-weight: 700;
  font-size: 1.2em;
  padding: 1px;
  transition: all 250ms;
}

#categories .category:hover {
  padding-left: 20px;
  background-color: rgba(52, 56, 56, 0.2);
}

.category label {
  display: inline-block;
  width: 100%;
  padding: 5px 0 5px 6px;
  cursor: pointer;
}

.category input {
  display: none;
}

#btn, #btn * {
  will-change: transform;
}

#sidebar {
  will-change: transform, opacity;
}

.sidebar-title {
  font-family: cursive;
  font-size: 18px;
  margin: 14px 10px;
}

.element-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  /* height: 100px; */
  margin: 2px;
  /* padding: 10px; */
  background: rgb(255, 255, 255);
  color: #262524;
  font-family: cursive;
}

.element-item .inner {
  padding: 8px 10px;
  min-width: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.element-item .name, .element-item .desc {
  line-height: 1.5em;
}

.element-item .name {
  font-family: 'Lobster Two', cursive;
  font-size: 20px;
}

.element-item p.desc {
  font-family: 'Arima Madurai';
}

.element-item .price {
  font-family: 'Arima Madurai';
  line-height: 1.6em;
  text-align: right;
}

.price i {
  font-size: 1.4em;
  font-weight: 400;
  vertical-align: middle;
  margin-right: 3px;
}

.price span {
  font-weight: 700;
  vertical-align: middle;
}