@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap");
@font-face {
  font-family: October;
  src: url("/fonts/OctoberLVariable.woff2"), url("fonts/OctoberLVariable.woff2") format("woff2");
}
:root {
  --primaryColor: #9a7f67;
  --primaryColorDark: #9a7f67;
  --break: 800px;
}

* {
  margin: 0;
  padding: 0;
}

*, :after, :before {
  box-sizing: border-box;
}

body {
  font-family: "October", sans-serif;
  font-variation-settings: "wght" 400;
  background-color: #F8F7F4;
  font-size: 1em;
}

a {
  color: var(--primaryColor);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
}
@media (max-width: 800px) {
  main {
    padding: 110px 30px;
  }
}

.welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.app-content {
  min-height: calc(100vh - 200px);
}

.app-footer {
  background-color: #F0ECE6;
  height: 200px;
  width: 100%;
}
.app-footer a {
  color: var(--primaryColor);
}

.app-header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #F0ECE6;
  z-index: 999;
}
.app-header.testmode {
  background-color: orange;
}
.app-header .app-header-content {
  max-width: 1200px;
  height: 80px;
  padding: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
@media (max-width: 800px) {
  .app-header .app-header-content {
    padding: 30px;
  }
}
.app-header .app-header-content .logo {
  flex-grow: 1;
  font-family: "larken";
  font-weight: 400;
  font-style: normal;
  font-size: 2.5em;
  cursor: pointer;
}
.app-header .app-header-content .logo a {
  text-decoration: none;
  color: black;
}
.app-header .app-header-content .app-header-content-buttons .buttons-cart {
  display: inline-block;
  position: relative;
}
.app-header .app-header-content .app-header-content-buttons .buttons-cart .cart-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 25px;
  height: 25px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px solid lightgray;
  font-size: 0.9em;
}
.app-header .app-header-content .app-header-content-buttons .buttons-cart .cart-badge.quantity0 {
  display: none;
}

.global-page-title {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: "larken";
}

.global-page-subtitle {
  font-size: 1.5em;
  line-height: 1.2em;
  margin-bottom: 20px;
  font-family: "larken";
}

.global-page-caption {
  font-size: 0.9em;
  margin-top: -15px;
  margin-bottom: 20px;
}

.global-color-primary-dark {
  color: var(--primaryColorDark);
}

button, a.button {
  font-family: "October";
  font-size: 1.1em;
  text-decoration: none;
  text-align: center;
  padding: 13px 20px;
  border-radius: 7px;
  cursor: pointer;
}
button.fullwidth, a.button.fullwidth {
  display: inline-block;
  width: 100%;
}
button.normal, a.button.normal {
  color: white;
  background-color: var(--primaryColor);
  border: 1px solid var(--primaryColor);
}
button.normal:hover, a.button.normal:hover {
  background-color: black;
}
button.outlined, a.button.outlined {
  color: black;
  background-color: white;
  border: 1px solid lightgray;
}
button.outlined:hover, a.button.outlined:hover {
  color: white;
  background-color: #484848;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 14px;
}
label:not(:first-child) {
  margin-top: 10px;
}
label.error {
  color: red;
}

input[type=text] {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  padding: 12px;
  background-color: white;
  border-radius: 7px;
  border: 1px solid lightgray;
  margin-bottom: 5px;
  width: 100%;
  background-color: #fafafa;
}
input[type=text].error {
  border: 1px solid red;
}

.global-input-with-button {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background-color: white;
  border-radius: 7px;
  border: 1px solid lightgray;
  text-align: left;
}
.global-input-with-button input {
  margin: 0;
  padding: 12px;
  font-size: 16px;
  border: none;
  outline: none;
  width: calc(100% - 45px);
}
.global-input-with-button .button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primaryColor);
  color: white;
  padding: 0 10px;
  width: 45px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.global-input-with-button .button:hover {
  background-color: black;
}
