@import url('./style.css');

body {
  background: #1E1F22;
  color: #fff;
}

.d-flex-column {
  display: flex;
  flex-direction: column;
}

.d-flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

body {
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.background {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding: 0.625rem;
  justify-content: space-between;
  overflow: hidden;
}

.formHome {
  background: #292B32;
  border-radius: var(--border-10);
  box-shadow: var(--dropShadown);
  padding: 1.875rem 1.125rem;
  width: 27.75rem;
  text-align: center;
  justify-content: space-evenly;
  z-index: 2;
}

.fieldUsername {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.375rem;
  transition: all 0.5s ease-in-out;
  margin: 0.625rem auto;
  width: 100%;
  justify-content: start;
  transform: scale(0.9);
  opacity: 0;
  height: 0;
}

.containerSelectName {
  width: 100%;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease-in-out;
  transform: scale(0.9);
  opacity: 0;
  height: 0;
}

.btnBackAuthentication {
  width: 100%;
  transform: scale(0.9);
  opacity: 0;
  height: 0;
  transition: all 0.5s ease-in-out;
}

.buttonStart {
  width: 100%;
  transition: all 0.5s ease-in-out;
  transform: scale(0.9);
  opacity: 0;
  height: 0;
}

.showFieldButton {
  margin: 0 auto;
  margin-bottom: .75rem;
  transform: scale(1);
  opacity: 1;
  height: 3.75rem;
}

.showField {
  margin: 0 auto;
  margin-bottom: .75rem;
  transform: scale(1);
  opacity: 1;
  height: auto;
}

.fieldSelectName {
  margin-bottom: 36px;
}

.subtitle-index {
  color: #767D8C;
  position: relative;
  bottom: 0.625rem;
}

.topContainer {
  position: relative;
  bottom: 100px;
}

.buttonGreen {
  background: var(--green);
  color: #838517;
}

option,
optgroup {
  background-color: #292B32;
}

option {
  font-weight: 200;
}

option:disabled {
  color: #3B3E48;
}

.buttonsAuthentication>button {
  width: calc(100% / 2);
  border-radius: var(--border-10);
  padding: .75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.buttonsAuthentication {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.buttonToType {
  border-image: 1;
  background: linear-gradient(var(--blue-100), var(--blue-100)) padding-box, linear-gradient(45deg, #162F62, #678BD3) border-box;
  border: 2px solid transparent;
  color: var(--white);
}

.buttonToChoose {
  border-image: 1;
  background: linear-gradient(var(--green), var(--green)) padding-box, linear-gradient(45deg, #f9faad00, #F9FAAD) border-box;
  border: 2px solid transparent;
  color: #838517;
}

.buttonTop {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.buttonTop>p {
  font-size: 9px;
  font-weight: 400;
  text-align: start;
}

.swithAuthentication {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 42px 0 0 0;
}

.textButtonSwitch {
  font-size: 32px;
}

.textChoise {
  color: var(--gray-100);
}

.imgButton {
  display: none;
}

@media only screen and (max-width: 1000px) {

  .formHome {
    width: 90%;
    height: fit-content;
  }

  .buttonsAuthentication {
    flex-direction: column;
  }

  .textButtonSwitch {
    font-size: 40px;
  }

  .buttonTop {
    display: none;
  }

  .swithAuthentication {
    gap: 1.125rem;
  }

  .swithAuthentication {
    margin: 1.5rem 0 0 0;
  }

  .buttonsAuthentication>button {
    text-align: center;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .textButtonSwitch {
    font-weight: 300;
    font-size: 1.4rem;
  }

  .imgButton {
    display: inline-block;
    width: auto;
    margin-left: 8px;
  }

  .buttonToType {
    border: 2px solid transparent;
  }

  .buttonToChoose {
    border: 2px solid transparent;
  }

  #keyboard {
    display: none;
  }

  .buttonStart {
    font-size: 1.4rem;
  }

  .fieldFormDefault>label {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    top: 20px;
    left: unset;
  }

}