/* CSS */
.border-btn {
  background-color: var(--theme-color-400);
  border: 0 solid var(--theme-color-50);
  box-sizing: border-box;
  color: var(--theme-color-950);
  display: flex;
  font-family: var(--font-narrow);
  font-size: var(--font-size);
  font-weight: 700;
  justify-content: center;
  line-height: 1.75rem;
  padding: var(--padding-s) var(--padding-xl);
  position: relative;
  text-align: center;
  text-decoration: none var(--theme-color-950) solid;
  text-decoration-thickness: auto;
  width: 100%;
  max-width: 460px;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: var(--margin-s) auto;
}

.border-btn:focus {
  outline: 0;
}

.border-btn:after {
  content: "";
  position: absolute;
  border: 1px solid var(--theme-color-950);
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}

.border-btn:hover:after {
  bottom: 2px;
  left: 2px;
}

@media (min-width: 768px) {
  .border-btn {
    padding: 0.75rem 3rem;
    font-size: var(--font-size-l);
  }
}

/* CSS */
.simple-white-btn {
  appearance: none;
  background-color: var(--theme-color-50);
  border: 1px solid rgba(27, 31, 35, 0.15);
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0,
    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: var(--theme-color-950);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-narrow);
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 16px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
}

.simple-white-btn:hover {
  background-color: var(--theme-color-50);
  text-decoration: none;
  transition-duration: 0.1s;
}

.simple-white-btn:disabled {
  background-color: var(--theme-color-50);
  border-color: rgba(27, 31, 35, 0.15);
  color: var(--theme-color-200c);
  cursor: default;
}

.simple-white-btn:active {
  background-color: var(--theme-color-50);
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

.simple-white-btn:focus {
  outline: 1px transparent;
}

.simple-white-btn:before {
  display: none;
}

.simple-white-btn:-webkit-details-marker {
  display: none;
}
/* CSS */
.hover-btn {
  appearance: none;
  background-color: var(--theme-color-700);
  border: 2px solid var(--theme-color-950);
  box-sizing: border-box;
  color: var(--theme-color-50);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-narrow);
  font-size: var(--font-size);
  line-height: normal;
  min-height: 40px;
  min-width: 100%;
  outline: none;
  text-align: center;
  margin: auto;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 90%;
  will-change: transform;
  margin-bottom: 20px;
}

.hover-btn:disabled {
  pointer-events: none;
}

.hover-btn:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.hover-btn:active {
  box-shadow: none;
  transform: translateY(0);
}

.btn-admin-only{
    cursor: pointer;
    background-color: #441616;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 13px;
    font-family: 'Oswald';
    width: max-content;
    color: red;
    border: red 2px solid;
    float: right;
    margin: 0 10px;
}

.notice {
    padding: 10px;
    background-color: var(--theme-color-500);
    border-radius: 6px;
    padding: 2px 10px;
    font-family: 'Oswald';
    color: var(--theme-color-800);
    border: var(--theme-color-300) 2px dashed;
}

.notice-error {
    background-color: #441616;
    color: red;
    border: red 2px dashed;
}

.notice-success{
    background-color: #194416;
    color: #00ff68;
    border: #00ff68 2px dashed;
}

.btn-admin-only:hover{
    background-color: red;
    color: #441616;
    border: #441616 2px solid;
}

.btn-admin-only:disabled{
    display: none;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-color: #ccc #0000;
  animation: l16 1s infinite linear;
}
.loader::before,
.loader::after {    
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
}
.loader::before {
  border-color: #f03355 #0000;
  animation: inherit; 
  animation-duration: .5s;
  animation-direction: reverse;
}
.loader::after {
  margin: 8px;
}
@keyframes l16 { 
  100%{transform: rotate(1turn)}
}