@import url('https://fonts.googleapis.com/css2?family=Nova+Round&display=swap');

body {
  background-color: #ffcda0;
  font-family: 'Nova Round', sans-serif;
  margin: 0px;
}

.content {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  color: #2B2118;
}

h1 {
  font-size: 100px;
  background: -webkit-linear-gradient(#ce3471, #e4ab4f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  padding-top: 20px;
}

.subtitle {
  color: #e4ab4f;
}

h1, .subtitle, h2 {
  text-align: center;
  margin: 10px;
}

img {
  user-select: none;
  -webkit-user-select: none;
}

.row {
  display: flex;
  flex-direction: row;
  margin: 20px;
  gap: 10px 2%;
  justify-content: center;
}

.food-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 10px 2%;
  justify-content: center;
}

.col3 {
  width: 33%;
}

.col2 {
  justify-content: flex-start;
  width: 50%;
}

@media screen and (max-width: 800px) {
  .row {
    flex-direction: column;
  }

  .col3, .col2 {
    width: auto;
  }

  h1 {
    font-size: 50px;
  }
}

.food-box {
  display: flex;
  flex-direction: column;
  background-color: antiquewhite;
  padding: 8px;
  border-radius: 16px;
  width: 30%;
  min-width: 200px;
}

.food-label {
  margin: 4px;
  text-align: center;
  text-overflow: wrap;
}

.amount-label {
  text-align: center;
  justify-self: center;
  user-select: none;
  -webkit-user-select: none;
}

button {
  appearance: button;
  font-family: 'Nova Round', sans-serif;
  border-width: 0 0 4px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 20px;
  outline: none;
  overflow: visible;
  padding: 13px 16px;
  text-align: center;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: filter .2s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
}

.amount-button {
  width: min-content;
  background-color: #ed806a;
  border-color: #ed806a;
  color: #ffffff;
}

.nav-button {
  background-color: #DE788E;
  border-color: #BD5566;
  color: #FFFFFF;
  width: 100%;
}

.nav-button:focus {
  user-select: auto;
}

.nav-button:hover:not(:disabled) {
  filter: brightness(1.3);
  -webkit-filter: brightness(1.1);
}

.nav-button:disabled {
  cursor: auto;
}

#dimmer {
  display: grid;
  position: fixed;
  padding-top: 0px;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.75);
  justify-items: center;
}

#name-getter {
  background-color: #eee;
  position: relative;
  margin: auto;
  padding: 20px;
  border-radius: 16px;
}

.exit-button {
  background-color: #ed806a;
  align-self: flex-end;
  max-width: min-content;
  justify-self: right;
}

footer {
  background-color: #DE788E;
  padding: 20px;
  border-radius: 16px;
  color: #FFFFFF;
}

a {
  color: #c1e0ff;
  text-decoration: none;
}

#header {
  background: #fae9d6;
  position: fixed;
  justify-self: center;
  width: 100%;
  margin: auto;
  clear: both;
}

#spacer {
    width: 100%;
}

.subtitle {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
}

hr {
  height: 2px;
  border-width: 0;
  background-color: #ce3471;
}

.emphasis {
  margin: 4px;
  color: #ce3471;
}