/* CONFIG: Itens de Configuração: Fontes */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

/* CONFIG: Itens de Configuração: Gerais */
html {
  font-family: 'Lexend', 'Assistant', sans-serif;
  font-size: 62.5%; /* 62.5% de 16px = 10px */
  color: #2E2C2B;
  font-weight: 400;
}

* {
  margin: 0;
  padding: 0;
}

main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  position: fixed;
  background: linear-gradient(240deg, #FFFFFF, #F2F2F2);
  background-size: 140% 140%;
  animation: gradientPulse 7s ease infinite;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

p {
  font-size: 1.4rem;
}

/* CONFIG: Itens de Configuração: Links */
a {
  font-weight: 600;
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

/* CONFIG: Itens de Configuração: Formulários */
input[type="text"], input[type="password"] {
  width: calc(100% - 2.2rem);
  font-family: 'Lexend', 'Assistant', sans-serif;
  color: #2E2C2B;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 1rem;
  transition: 300ms ease-in-out;
}

input[type="text"]:focus, input[type="password"]:focus {
  transform: scale(1.02);
}

.input-text {
  transition: 300ms ease-in-out;
}

.input-text:focus {
  background-color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 13px 13px 100px #969696,
             -13px -13px 100px #FFFFFF;
}

.select-cicle {
  padding: 0.3rem;
  border-radius: 1rem;
  font-size: 1rem;
  transition: 300ms ease-in-out;
  background-color: rgba(255, 255, 255, 0.75);
}

.select-cicle:focus {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0.5rem 0.5rem 10rem #969696,
             -0.5rem -0.5rem 10rem #FFFFFF;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 0.5em;
  padding: 0.125em;
  box-shadow: 0 1px 1px rgb(255 255 255 / 0.6);
  /* resize for demo */
  font-size: 1.5em;
}

.toggle-checkbox {
  appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  /* fix em sizing */
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.toggle-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0.375em;
  width: 3em;
  height: 1.5em;
  background-color: #e8e8e8;
  box-shadow: inset 0 0 0.0625em 0.125em rgb(255 255 255 / 0.2),
    inset 0 0.0625em 0.125em rgb(0 0 0 / 0.4);
  transition: background-color 0.4s linear;
}

.toggle-checkbox:checked + .toggle-container {
  background-color: #A9C950;
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0.0625em;
  border-radius: 0.3125em;
  width: 1.375em;
  height: 1.375em;
  background-color: #e8e8e8;
  box-shadow: inset 0 -0.0625em 0.0625em 0.125em rgb(0 0 0 / 0.1),
    inset 0 -0.125em 0.0625em rgb(0 0 0 / 0.2),
    inset 0 0.1875em 0.0625em rgb(255 255 255 / 0.3),
    0 0.125em 0.125em rgb(0 0 0 / 0.5);
  transition: left 0.4s;
}

.toggle-checkbox:checked + .toggle-container > .toggle-button {
  left: 1.5625em;
}

.toggle-button-circles-container {
  display: grid;
  grid-template-columns: repeat(3, min-content);
  gap: 0.125em;
  position: absolute;
  margin: 0 auto;
}

.toggle-button-circle {
  border-radius: 50%;
  width: 0.125em;
  height: 0.125em;
  background-image: radial-gradient(circle at 50% 0, #f5f5f5, #c4c4c4);
}

/* CONFIG: Itens de Configuração: Botões */
button {
  font-family: 'Lexend', 'Assistant', sans-serif;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  border: 0.1rem solid #E8E8E8;
  transition: all 0.3s;
}

button:hover {
  transform: scale(1.02);
}

button:active {
  color: #FFC52C;
  background-color: #2E2C2B;
}

.divider {
  width: 100%;
  border: none;                 /* Remove o estilo padrão */
  height: 0.1rem;               /* Espessura da linha */
  background-color: #C7C5C4;  /* Cor da linha */
}

.txt-primary-color { color: #2E2C2B; }
.txt-secondary-color { color: #FFC52C; }
.txt-warning-color { color: #FF911F; }
.txt-success-color { color: #A9C950; }
.txt-danger-color { color: #D00E1A; }

.bg-primary-color { background-color: #2E2C2B; }
.bg-secondary-color { background-color: #FFC52C; }
.bg-warning-color { background-color: #FF911F; }
.bg-success-color { background-color: #A9C950; }
.bg-danger-color { background-color: #D00E1A; }

/* CONFIG: Hint box da senha */
.hint-box {
  display: none;
  background: #F2F2F2;
  border: 0.1rem solid #828D99;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.hint-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hint-box li {
  margin: 5px 0;
  font-weight: 600;
}

.valid {
  color: #A9C950;
}

.invalid {
  color: #D00E1A;
}

/* CONFIG: Área de mensagem */
.message-area {
  width: calc(100% - 4rem);
  position: absolute;
  display: flex;
  opacity: 0;
  align-items: center;
  border-radius: 0.4rem;
  padding: 1rem 2rem;
  transition: 500ms ease-in-out;

  & .icon {
    display: flex;
    font-size: 3rem;
    margin-right: 1rem;
    color: #FFF;
  }

  & .message {
    display: flex;
    flex-direction: column;
    color: #FFF;

    & .title {
      font-size: 1.4rem;
      font-weight: 800;
    }
    & .description {
      font-size: 1.1rem;
    }
  }
}

/* CONFIG: Área de mensagem */
.card-item {
  display: flex;
  flex-direction: column;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  cursor: pointer;
  transition: 300ms ease-in-out;

  & img {
    border-radius: 1rem 1rem 0rem 0rem;
    border-bottom: 0.1rem solid #E1E0DF;
  }

  p {
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 0rem 0rem 1rem 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 3rem 2rem;
  }
}

.card-item:hover {
  transform: scale(1.02);
}

/* MODAL: Configurações do modal de loading */
#modalLoading {
  position: fixed;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(42, 40, 38, 0.95);
  z-index: 999;
  transition: 500ms ease-in-out;
}

.loader-text {
  color: #FFF;
  text-align: center;
  margin-top: 6rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container div {
  position: absolute;
  width: 90px;
  height: 51px;
}

.container div:nth-of-type(2) {
  transform: rotate(60deg)
}

.container div:nth-of-type(3) {
  transform: rotate(-60deg)
}

.container div div {
  width: 100%;
  height: 100%;
  position: relative
}

.container div div span {
  position: absolute;
  width: 4px;
  height: 0%;
  background: #FFC52C;
  z-index: 999999;
}

.h1 {
  left: 0;
  animation: load1 7.2s ease infinite;
}

.h2 {
  right: 0;
  animation: load2 7.2s ease .6s infinite;
}

.h3 {
  right: 0;
  animation: load3 7.2s ease 1.2s infinite;
}

.h4 {
  right: 0;
  animation: load4 7.2s ease 1.8s infinite;
}

.h5 {
  left: 0;
  animation: load5 7.2s ease 2.4s infinite;
}

.h6 {
  left: 0;
  animation: load6 7.2s ease 3s infinite;
}

@keyframes load1 {
  0% {
    bottom: 0;
    height: 0
  }

  6.944444444% {
    bottom: 0;
    height: 100%
  }

  50% {
    top: 0;
    height: 100%
  }

  59.944444433% {
    top: 0;
    height: 0
  }
/*   91.6666667%{top:0;height:0%;} */
}

@keyframes load2 {
  0% {
    top: 0;
    height: 0
  }

  6.944444444% {
    top: 0;
    height: 100%
  }

  50% {
    bottom: 0;
    height: 100%
  }

  59.944444433% {
    bottom: 0;
    height: 0
  }
/*   91.6666667%{bottom:0;height:0%} */
}

@keyframes load3 {
  0% {
    top: 0;
    height: 0
  }

  6.944444444% {
    top: 0;
    height: 100%
  }

  50% {
    bottom: 0;
    height: 100%
  }

  59.94444443% {
    bottom: 0;
    height: 0
  }
/*   91.6666667%{bottom:0;height:0%;} */
}

@keyframes load4 {
  0% {
    top: 0;
    height: 0
  }

  6.944444444% {
    top: 0;
    height: 100%
  }

  50% {
    bottom: 0;
    height: 100%
  }

  59.94444443% {
    bottom: 0;
    height: 0
  }
/*   91.6666667%{bottom:0;height:0%;} */
}

@keyframes load5 {
  0% {
    bottom: 0;
    height: 0
  }

  6.944444444% {
    bottom: 0;
    height: 100%
  }

  50% {
    top: 0;
    height: 100%
  }

  59.94444443% {
    top: 0;
    height: 0
  }
/*   91.6666667%{top:0;height:0%;} */
}

@keyframes load6 {
  0% {
    bottom: 0;
    height: 0
  }

  6.944444444% {
    bottom: 0;
    height: 100%
  }

  50% {
    top: 0;
    height: 100%
  }

  59.94444443% {
    top: 0;
    height: 0
  }
/*   91.6666667%{top:0;height:0%;} */
}
  
