@font-face {
  font-family: 'Nunito';
  font-style: Bold;
  src: url('/resources/fonts/Nunito-Bold.woff') format('woff');
  font-weight: 700;
}

@font-face {
  font-family: 'Poppins';
  font-style: Light;
  src: url('/resources/fonts/Poppins-Light.woff2') format('woff2');
  font-weight: 300;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #151515;
  font-family: "Poppins", "Helvetica", Helvetica, sans-serif;
  margin: 0;
}

.hidden {
  display: none;
}

.title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: calc( 0.25 * calc(100vh - 330px) - 50px);
  z-index: 10;
  height: 100px;
}

.title-image {
  width: 100px;
}

.title-text {
  color: white;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 20px;
  font-size: 80px;
  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: #222;
  min-height: 135px;
  transition: 250ms;
}

.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 {
  width: 150px;
  height: auto;
  filter:opacity(0.8);
  transition: 250ms;
}

.upload-icon-wrapper {
  z-index: 10;
  position: absolute;
  margin-top: auto;
  margin-bottom: auto;
  vertical-align: middle;
  width: calc(100% - 40px);
  pointer-events: none;
}

.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;
}

#file-size-div {
  width: 100%;
  display: flex;
  justify-content: center;
  color: #fff;
}

.main-form {
  display:flex;
  flex-direction: column;
  justify-content: center;
  transition: 250ms;
  margin: 20px;
  gap: 20px;
}

.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 500px;
  background: #222;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #eee;
  color: #fff;
  height: fit-content;
  min-height: 40px;
  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;
}

.button-label {
  display: flex;
  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: -16px;
  margin-left: 20px;
  margin-right: 20px;
  transition: 250ms;
  transform: translateY(-28px);
}

#progress-bar {
  display: block;
  position: relative;
  height: 16px;
}

#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: 450px;
  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;
  position: absolute;
  margin-left: 470px;
  width: 30px;
  text-align: center;
}