@font-face {
  font-family:OpenSans;
  src:url("../assets/fonts/OpenSans-Regular.eot");
  src:url("../assets/fonts/OpenSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("../assets/fonts/OpenSans-Regular.otf") format("opentype"),
    url("../assets/fonts/OpenSans-Regular.svg") format("svg"),
    url("../assets/fonts/OpenSans-Regular.ttf") format("truetype"),
    url("../assets/fonts/OpenSans-Regular.woff") format("woff"),
    url("../assets/fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight:normal;
  font-style:normal
}

:root {
  --theme-orange: rgb(246 108 17);
  --theme-grey: rgb(150 150 150);
  --theme-light-grey: rgb(200 200 200);
  --theme-dark: rgb(60 60 60);
  --theme-sidebar-hover: rgb(100 100 100);
  --theme-halo-light: rgb(111 176 196);
  --theme-halo-medium: rgb(67 141 173);
  --theme-halo-dark: rgb(47 100 115);
}

html, body {
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  background-color: black;
}

.main {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1, h2, h3, h4, h5, p, a, input, textarea {
  font-family: montserrat, Arial, Helvetica, sans-serif;
  color: rgb(160 160 160);
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 0;
  -webkit-text-fill-color: rgb(150 150 150);
  box-shadow: 0;
  transition: background-color 5000s ease-in-out 0s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader {
  position: absolute;
  margin: auto;
  pointer-events: none;
  border: 6px solid rgb(230 230 230);
  border-top: 6px solid rgb(100 100 100);
  border-radius: 100vw;
  opacity: 0;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.button {
  -webkit-touch-callout: none;
  user-select: none;
  user-select: none;
  user-select: none;
  user-select: none;
  user-select: none;
}

.button.loading {
  pointer-events: none;
  cursor: inherit;
}

.button.standard {
  background-color: var(--theme-halo-light);
  border-radius: 0;
  width: 158px;
  height: 48px;
  box-sizing: border-box;
  box-shadow: 4px 4px 6px 0 rgb(0 0 0 / 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s;
}

.button.standard:hover {
  filter: brightness(135%);
  filter: brightness(135%);
  filter: brightness(135%);
}

.button.standard.clicked {
  box-shadow: 4px 4px 6px 0 rgb(0 0 0 / 25%) inset;
  filter: brightness(70%);
  filter: brightness(70%);
  filter: brightness(70%);
  transition: filter 0.05s;
  transition: filter 0.05s;
  transition: filter 0.05s;
  transition: filter 0.05s;
  transition: filter 0.05s;
}

.button.standard h3 {
  color: white;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 200;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.button.standard i {
  color: white;
  font-size: 24px;
  margin-right: 14px;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.button.loading h3 {
  opacity: 0;
}

.button.loading i {
  opacity: 0;
}

.button.standard .loader {
  border-color: rgb(255 255 255 / 30%);
  border-top-color: rgb(255 255 255);
  width: 28px;
  height: 28px;
  min-height: 28px;
  min-width: 28px;
  border-width: 4px;
}

.button.loading .loader {
  animation: spin 0.8s infinite;
  animation: spin 0.8s infinite;
  animation: spin 0.8s infinite;
  opacity: 1;
}

.main .logo {
  position: relative;
  width: 50%;
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  margin-bottom: 42px;
  z-index: 2;
}

.main .form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  max-width: 484px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.main .formInput {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.main .formInput i {
  color: white;
  font-size: 18px;
  margin-right: 14px;
  min-width: 28px;
}

.main .formInput input {
  border: 1px solid white;
  padding: 10px;
  background-color: transparent;
  margin: 0;
  border-radius: 0;
  color: white;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 200;
  width: 100%;
}

.main .formInput input::placeholder {
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
}

.main .buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.main .buttons .button {
  margin-top: 16px;
  width: 248px;
  border-bottom: 6px solid var(--theme-halo-dark);
}

.main .buttons .button:first-child {
  margin-left: 0;
}

#login-particle-bkg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
  transition: opacity 1.3s ease-in-out;
  transition: opacity 1.3s ease-in-out;
  transition: opacity 1.3s ease-in-out;
  transition: opacity 1.3s ease-in-out;
}

#login-particle-bkg.fadeIn {
  opacity: 1;
}

#login-particle-mask {
  position: absolute;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(at center 60%, black 0%, black 20%, rgb(255 255 255 / 0%) 60%, rgb(255 255 255 / 0%) 100%);
}

.errDialog {
  position: fixed;
  top: calc(40% - 157px);
  left: calc(50% - 192px);
  z-index: 1001;
  background-color: white;
  width: 512px;
  height: 314px;
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: 4px 4px 6px 0 rgb(0 0 0 / 30%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  transition: opacity 0.3s, top 0.3s ease-in-out;
  transition: opacity 0.3s, top 0.3s ease-in-out;
  transition: opacity 0.3s, top 0.3s ease-in-out;
  transition: opacity 0.3s, top 0.3s ease-in-out;
  transition: opacity 0.3s, top 0.3s ease-in-out;
}

.errDialog h2 {
  color: rgb(30 30 30);
  margin-bottom: 10%;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 300;
  text-align: center;
}

.errDialog.open {
  top: calc(50% - 157px);
  opacity: 1;
  pointer-events: all;
}

.errDialog .button {
  width: 128px;
}

.errDialog .row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.errDialog .row .button {
  margin-left: 24px;
}

.errDialog .row .button:first-child {
  margin-left: 0;
}