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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #172121;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0s !important;
  }
}
h2 {
  font-size: 14px;
  color: #fff;
  padding: 5px;
  margin: 0;
  text-align: center;
}

.btn {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: transparent;
  padding: 10px;
  color: #fff;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: #fff;
  color: #172121;
}

#main {
  display: none;
}

.lds-ellipsis {
  color: #fff;
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
#chat #chat_users {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.3);
  bottom: 20px;
  right: 20px;
  width: 250px;
  padding: 10px;
}
#chat #chat_users .user_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#chat #chat_users .user_list .user {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}
#chat #chat_users .user_list .user .name {
  width: 100%;
}
#chat #chat_users .user_list .user .status {
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: 0;
  margin-right: 20px;
}
#chat #chat_users .user_list .user span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: green;
}
#chat #chat_messages {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px;
}
#chat #chat_messages .message_list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 400px;
  overflow-y: auto;
}
#chat #chat_messages .message_list li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#chat #chat_messages .message_list .message {
  padding: 5px;
  color: white;
  display: flex;
  flex-direction: row;
  text-align: left;
  padding-right: 20px;
}
#chat #chat_messages .message_list .message .name {
  display: inline-block;
  margin-right: 10px;
  color: lightseagreen;
}
#chat #chat_messages .message_list .message.sent {
  text-align: right;
  padding-left: 20px;
  justify-content: right;
}
#chat #chat_messages .message_list .message.sent .name {
  color: lightcoral;
}
#chat .input {
  padding-top: 10px;
}
#chat .input input {
  width: 100%;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  font-size: 14px;
  padding: 10px;
}

.alert_container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  padding: 15px 65px 15px 15px;
  background-color: #2b2b2b;
  color: #fff;
  font-size: 14px;
  transition: top 0.3s ease;
}

.alert_container.error {
  background-color: #9c1700;
}

.alert_container.warning {
  background-color: #917c00;
}

.alert_container.success {
  background-color: #417500;
}

.alert_close {
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: #fff;
  -webkit-mask-image: url("./assets/svg/close.svg");
          mask-image: url("./assets/svg/close.svg");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center center;
          mask-position: center center;
  cursor: pointer;
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #444554;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: center;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}
.modal .heading {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #172121;
}
.modal .heading h2 {
  font-size: 18px;
}
.modal .errors {
  display: none;
}
.modal .errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.modal .errors ul li {
  margin: 0;
  padding: 0;
  color: #e33030;
  list-style: none;
}
.modal .content p {
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.modal .content .field {
  margin-bottom: 10px;
  min-width: 250px;
}
.modal .content .field label {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.modal .content .field input {
  display: block;
  min-width: 250px;
  border: 1px solid #7F7B82;
  border-radius: 5px;
  font-size: 18px;
  padding: 5px 10px;
  margin: 0 auto 20px auto;
}
.modal .actions button {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 5px;
  background-color: transparent;
  padding: 10px;
  color: #ffffff;
  transition: all 0.3s ease;
}
.modal .actions button:hover {
  background-color: #ffffff;
  color: #172121;
}
.modal .actions button.cancel {
  border-color: #e33030;
  color: #e33030;
}
.modal .actions button.cancel:hover {
  background-color: #e33030;
  color: #ffffff;
}

#character_builder {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: none;
  background-color: #172121;
  padding: 5px;
}
#character_builder iframe {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 14px;
  border: none;
}

#splash {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(/assets/images/splash_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#splash .branding {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 33vw;
}
#splash .branding img {
  width: 100%;
}
#splash .character {
  position: absolute;
  bottom: -30px;
  left: -130px;
}
#splash .options {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
}
#splash .options ul {
  margin: 0;
  padding: 0;
}
#splash .options ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 20px;
}
#splash .options ul li button {
  width: 100%;
}/*# sourceMappingURL=main.css.map */