* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body,
html {
  background-color: #141414;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.loading {
  overflow: hidden;
  height: 100vh;
}

main {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-button,
button {
  background: linear-gradient(90deg, #3f005e 0%, rgba(74, 0, 203, 1) 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  width: fit-content;
  align-self: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.bg-button:hover,
button:hover {
  transform: scale(1.1);
  transition: transform 0.1s ease-in-out;
}

form {
  max-width: 740px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-group input,
select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.input-group input:focus,
select:focus {
  outline: none;
  border: 3px solid #02bb18;
}

.input-group select:disabled {
  background-color: #f1f1f1;
  color: #757575;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.accept-terms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#loading-screen {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 999;
}

.error-msg {
  color: rgb(206, 45, 45);
  font-size: 0.9rem;
  font-weight: 500;
}

.hidden {
  display: none;
}

.btns {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/*Nickname*/
#nicknameTitle {
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  background: #3f005e;
  border-radius: 0.5rem;
}

.data-user {
  width: 80%;
}

.data-user li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
}

/* Loader */
.loader {
  width: 8px;
  height: 40px;
  border-radius: 4px;
  display: block;
  margin: 20px auto;
  position: relative;
  background: currentColor;
  color: #fff;
  box-sizing: border-box;
  animation: animloader 0.3s 0.3s linear infinite alternate;
}

.loader::after,
.loader::before {
  content: "";
  width: 8px;
  height: 40px;
  border-radius: 4px;
  background: currentColor;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  box-sizing: border-box;
  animation: animloader 0.3s 0.45s linear infinite alternate;
}
.loader::before {
  left: -20px;
  animation-delay: 0s;
}

@keyframes animloader {
  0% {
    height: 48px;
  }
  100% {
    height: 4px;
  }
}

/* Responsive */

@media screen and (max-width: 768px) {
  .data-user {
    width: 100%;
  }
}

@media screen and (max-width: 425px) {
  .wrapper {
    padding: 3rem 1.5rem;
  }

  #is-registered h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
  }

  .data-user {
    width: 100%;
  }

  .btns {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 375px) {
  .data-user li {
    flex-direction: column;
    gap: 0.5rem;
  }
}
