:root {
  --settings-width: 50vmin;
  --settings-padding: 3vmin;
  --settings-origin: calc(calc(var(--settings-width) * -1) - var(--settings-padding) * 2);
  --settings-bg: slategrey;
  --settings-destination: 0px;
}

html {
  height: 100%;
  width: 100%;
}

body {
  overflow: hidden;
  position: relative;
  background-color: slategrey;
  background: url("assets/images/cows.jpg");
  background-size: cover;
  background-position: bottom;
  background-attachment: scroll;
}

#bg-filter {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -3;
}

#logo {
  height: 100%;
  margin-right: 10px;
}

#logo-text {
  color: white;
  font-family: monospace;
  font-size: 30px;
  user-select: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

#top-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

#logo-section {
  /* left: 1vmin; */
  /* min-height: 50px; */
  height: 50px;
  padding: 5px;
}

#input-section {
  /* position: absolute; */
  margin-top: 120px;
  height: 30px;
  /* z-index: 20; */
}

#qr-text {
  text-align: center;
  width: 80vmin;
  border-radius: 50px;
  padding: 10px 10px 10px 10px;
  font-size: 30px;
  box-shadow: inset 0 3px 3pt 0.5pt rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 3pt 0.5pt rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  outline: none;
  z-index: 10;
}

#qr-text:focus {
  border: 1px solid rgba(0, 255, 229, 0.5);
}

.container {
  margin: auto;
  width: 100%;
}

.qr-container {
  position: fixed;
  width: 100%;
  height: 100%;
  /* background-color: aliceblue; */
  bottom: 0px;
  left: 0px;
  overflow: visible;
  outline: none;
}

#download-section {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
}

#download-button {
  visibility: hidden;
  height: 70px;
  color: white;
  font-family: monospace;
  font-size: 30px;
  padding: 0px 30px 0px 30px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  user-select: none;
  border-radius: 75px;
  box-shadow: 0 3px 3pt 0.5pt rgba(0, 0, 0, 0.3);
}

#download-button:hover {
  filter: brightness(0.9);
}

#download-button:active {
  scale: 0.95;
}

.success {
  background-color: green;
}

.pending {
  background-color: blue;
}

#settings-panel {
  position: fixed;
  bottom: 20px;
  width: var(--settings-width);
  padding: var(--settings-padding);
  left: var(--settings-origin);
  border-radius: 0px 10px 0px 0px;
  z-index: 1;
  outline: none;
}

#settings-panel label{
  text-align: start;
  color: white;
  font-family: monospace;
  font-size: 2vh;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  margin: 10px 0px 10px 0px;
}

#settings-icon {
  height: 50%;
}

#settings-tab {
  position: absolute;
  bottom: 0px;
  right: -70px;
  z-index: 1;
  height: 70px;
  width: 70px;
  border-radius: 0px 10px 10px 0px;
}

#settings-tab:hover {
  filter: brightness(0.9);
}

.panel-style {
  background-color:rgba(61, 120, 93, 0.95);
  box-shadow: 4px 3px 3pt 0px rgba(0, 0, 0, 0.3);
}

@keyframes slide-settings-in { from { left: var(--settings-origin); } to { left: var(--settings-destination); } }
.slide-settings-in { animation: slide-settings-in 500ms ease-out 0ms 1 normal forwards; }
@keyframes slide-settings-out { from { left: var(--settings-destination); } to { left: var(--settings-origin); } }
.slide-settings-out { animation: slide-settings-out 500ms ease-out 0ms 1 normal forwards; }
/* animation-name: slide-settings;
animation-duration: 500ms;
animation-timing-function: ease-in-out;
animation-delay: 0ms;
animation-iteration-count: 0;
animation-direction: normal;
animation-fill-mode: forwards; */



.flex {
  display: flex;
}

.f-col {
  flex-direction: column;
}

.f-just-center {
  justify-content: center;
}

.f-align-center {
  align-items: center;
}
