@font-face {
  font-family: 'Nunito';
  font-style: Bold;
  src: url('/resources/fonts/Nunito-Bold.woff') format('woff');
  font-weight: 800;
}

body {
  height: 100vh;
  display:flex;
  flex-direction: column;
  font-family: "Lato", "Helvetica", Helvetica, sans-serif;
  background: #151515;
  margin: 0;
}

.hidden {
  display: none;
}

.title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 40px;
  z-index: 10;
  height: 40px;
  width: fit-content; 
  max-width: 90vw; 
  margin-inline: auto;
}

.title-image {
  width: 40px;
}

.title-text {
  display: flex;
  color: white;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  margin-block: auto;
  font-size: 33px;
  font-family: Nunito;
}

.double-wrapper {
  position: absolute;
  height: 100vh;
  width: 100vw;
  display:flex;
  justify-content: center;
  flex-direction: column;
  margin: 0;
}

.form-wrapper {
  box-sizing: content-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  outline: 2px dashed #ccc;
  outline-offset: -2px;
  border-radius: 20px;
  margin: 0px auto;
  padding: 20px;
  background-color: #222;
  min-height: 140px;
  width: 80vw;
}

.form-wrapper::after {
  border-radius: inherit;
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(-45deg,#8419b6 0,#4d1cf7 100%);
  filter: blur(50px);
  z-index: -2;
}

.upload-icon-wrapper {
  display: none !important;
}

.flexrow {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.plain-label {
  padding-left: 10px;
  color: #fff;
  font-size: 12px;
}

.plain-label-div {
  line-height: 100%;
  text-align: center;
}

.main-form {
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

#file-selector-button-text span {
  display: none;
}

.hide-after:after { display:none; }

#file-selector-button-text:after {
  content: "Click to select a File - Max 500MB"
}

.button {
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: calc(100% - 40px);
  background: #222;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #eee;
  color: #fff;
  height: fit-content;
  min-height: 40px;
  margin-inline: auto;
  overflow: hidden;
  white-space: nowrap;
  z-index: 5;
  transition: 150ms;
}

.button:hover:not(.disabled) {
  background: #151515;
  border-color: #aaa
}

.disabled {
  cursor:not-allowed;
  color: #ccc;
  border: 1px solid #ccc;
}

.button-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: normal;
  word-break: break-all;
  padding: 10px;
  text-align: center;
  margin: 0;
}

#progress-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: -20px;
  transition: 250ms;
  margin-left: 20px;
  margin-right: 20px;
  z-index: -1;
  transform: translateY(35px);
}

#progress-bar {
  display: block;
  position: relative;
  height: 16px;
  width: calc(100% - 38px);
}

#progress-bar .foreground {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg,#8419b6 0,#4d1cf7 100%);
  border-radius: 20px;
  min-width: 16px;
  max-width: 450px;
  transition: 100ms;
}

#progress-bar .background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  outline: 1px solid #fff;
  outline-offset: -1px;
}

#upload-percentage {
  height: 16px;
  font-family: Nunito;
  vertical-align: middle;
  font-size: 12px;
  color: white;
  text-align: center;
  margin-right: 0px;
  margin-left: auto;
}


