﻿modal {
  --padding: 15px;
  position: relative;
  color: var(--theme-text-color);
  padding: var(--padding);
  background: var(--theme-bg);
  border-radius: 5px;
  width: 100%;
  width: 450px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5058823529);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100vw;
  margin: 10px;
  animation: modal-spawn 0.2s linear;
  min-width: 300px;
}
modal modal div div {
  max-width: 100%;
}
modal #close {
  border-radius: 3px;
  width: 30px;
  height: 30px;
  filter: brightness(0.85);
  position: absolute;
  right: var(--padding);
  top: var(--padding);
}
modal h5 {
  font-family: "Bebas Neue", cursive;
  font-weight: 500;
}
modal .group {
  margin: 0px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
  margin-bottom: 12px;
  flex-grow: 1;
  min-width: 80px !important;
}
modal label {
  font-size: 0.8rem;
  font-family: "Nunito", sans-serif;
  color: #7a7a7a;
}
modal input {
  height: 31px;
  padding-inline: 7px;
  font-size: 0.9rem;
  margin-top: 2px;
  background: rgba(157, 157, 157, 0.0941176471);
  border: none;
  border-radius: 3px;
  color: var(--theme-text-color);
  min-width: 80px !important;
}
modal input:focus {
  outline: 0px;
  box-shadow: 0px 0px 4px rgba(199, 199, 199, 0.5764705882);
}

@keyframes modal-spawn {
  0% {
    filter: opacity(0);
    transform: translateY(-20px);
  }
  100% {
    filter: opacity(1);
    transform: translateY(0px);
  }
}
