@import url('https://cdn.skypack.dev/-/@material/textfield@v14.0.0-cx6Fl8VqcPrLJ59oCrYK/dist=es2019,mode=raw/dist/mdc.textfield.min.css');

body {
  font-family: 'Roboto', sans-serif;
}

header {
  background-color: #2f0a94;
  color: white;
  text-align: center;
  padding: 5px;
}

#topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px;
}

.mdc-card {
  display: flex;
  flex-direction: column;
  margin: 16px;
  max-width: 400px;
  width: 100%;
}

.mdc-card__primary {
  background-color: #2f0a94;
  color: white;
  display: flex;
  flex-direction: column;
}

.mdc-card__title {
  font-size: 24px;
  font-weight: 500;
  margin: 16px;
}

.mdc-card__supporting-text {
  display: flex;
  flex-direction: column;
  margin: 16px;
}

.mdc-text-field {
  margin: 8px;
}

.mdc-text-field__input {
  font-size: 16px;
  padding: 8px;
  margin-right: 50%;
}

.mdc-floating-label {
  font-size: 16px;
  padding-left: 50%;
}

.spacer
{
    width: 100%;
    height: 110px;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: white;
  }

/*   .mdc-card {
    background-color: rgb(39, 36, 36)
  }

  .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: white;
  }
  .mdc-text-field__input {
    color: white;
  } */
}
