* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #2f2f33;
  height: 100vh;
}

.first {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 555px;
  height: auto;
  background-color: black;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(5px 5px 17px #000000);
}

.container img {
  margin-bottom: 40px;
  width: 255px;
}

.infos {
  width: 330px;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.074);
  border: 1px solid rgba(255, 255, 255, 0.222);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 20px;
}

.infos,
h3 {
  font-size: 25px;
  font-weight: bold;
  color: white;
  margin-bottom: 5px;
}

.input-group {
  position: relative;
  margin-bottom: 5px;
}

.input {
  border: solid 1.5px #9e9e9e;
  border-radius: 5px;
  background: none;
  padding: 5px;
  font-size: 1rem;
  color: #f5f5f5;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
input:valid {
  outline: none;
  border: 1.5px solid #1a73e8;
}

button {
  --glow-color: rgb(138, 92, 246);
  --glow-spread-color: rgba(138, 92, 246, 0.5);
  --enhanced-glow-color: rgb(196, 167, 255);
  --btn-color: rgb(25, 20, 40);
  border: 0.25em solid var(--glow-color);
  padding: 1em 3em;
  color: var(--glow-color);
  font-size: 15px;
  font-weight: bold;
  background-color: var(--btn-color);
  border-radius: 1em;
  outline: none;
  box-shadow:
    0 0 1em 0.25em var(--glow-color),
    0 0 4em 1em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
  text-shadow: 0 0 0.5em var(--glow-color);
  position: relative;
  transition: all 0.3s;
  margin-top: 15px;
  margin-bottom: 15px;
}

button::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--glow-spread-color);
  filter: blur(2em);
  opacity: 0.7;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

button:hover {
  color: var(--btn-color);
  background-color: var(--glow-color);
  box-shadow:
    0 0 1em 0.25em var(--glow-color),
    0 0 4em 2em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
}

button:active {
  box-shadow:
    0 0 0.6em 0.25em var(--glow-color),
    0 0 2.5em 2em var(--glow-spread-color),
    inset 0 0 0.5em 0.25em var(--glow-color);
}

.container h1 {
  font-size: 24px;
  font-weight: bold;
  padding: 22px;
  color: white;
  text-align: center;
}

@media (max-width: 800px) {
  .first {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .container {
    width: 355px;
    height: auto;
    background-color: black;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(5px 5px 17px #000000);
  }

  .container img {
    margin-bottom: 40px;
  }

  .container h1 {
    font-size: 24px;
    font-weight: bold;
    padding: 22px;
    color: white;
    text-align: center;
  }

  .infos {
    width: 330px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.074);
    border: 1px solid rgba(255, 255, 255, 0.222);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
  }

  .infos,
  h3 {
    font-size: 25px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
  }

  /* From Uiverse.io by alexruix */
  .input-group {
    position: relative;
    margin-bottom: 5px;
  }

  .input {
    border: solid 1.5px #9e9e9e;
    border-radius: 5px;
    background: none;
    padding: 5px;
    font-size: 1rem;
    color: #f5f5f5;
    transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .input:focus,
  input:valid {
    outline: none;
    border: 1.5px solid #1a73e8;
  }

  button {
    --glow-color: rgb(138, 92, 246);
    --glow-spread-color: rgba(138, 92, 246, 0.5);
    --enhanced-glow-color: rgb(196, 167, 255);
    --btn-color: rgb(25, 20, 40);
    border: 0.25em solid var(--glow-color);
    padding: 1em 3em;
    color: var(--glow-color);
    font-size: 15px;
    font-weight: bold;
    background-color: var(--btn-color);
    border-radius: 1em;
    outline: none;
    box-shadow:
      0 0 1em 0.25em var(--glow-color),
      0 0 4em 1em var(--glow-spread-color),
      inset 0 0 0.75em 0.25em var(--glow-color);
    text-shadow: 0 0 0.5em var(--glow-color);
    position: relative;
    transition: all 0.3s;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  button::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(2em);
    opacity: 0.7;
    transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
  }

  button:hover {
    color: var(--btn-color);
    background-color: var(--glow-color);
    box-shadow:
      0 0 1em 0.25em var(--glow-color),
      0 0 4em 2em var(--glow-spread-color),
      inset 0 0 0.75em 0.25em var(--glow-color);
  }

  button:active {
    box-shadow:
      0 0 0.6em 0.25em var(--glow-color),
      0 0 2.5em 2em var(--glow-spread-color),
      inset 0 0 0.5em 0.25em var(--glow-color);
  }
}
