@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap');

:root {
  --color1:  #67adff;
  --color2:  #67f9ff;
  --color3:  #6d67ff;
  --color4: #FF6F27;
  --colorGray: #5c5656;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
}

p {
  font-size: 1.6rem;
  line-height: 1.5;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* A darle */
.main {
  height: 100vh;
  background: rgb(109,103,255);
  background: radial-gradient(circle, rgba(109,103,255) 15%, rgba(103,249,255) 80%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  background-color: var(--color1);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba( 0, 0, 0, .3);
  width: 35rem;
}

form {
  padding: 2rem;
}

form h2 {
  font-family: 'Petit Formal Script', cursive;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-control {
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.form-control label {
  display: block;
  margin-bottom: 5px;
  color: var(--colorGray);
}

.form-control input {
  display: block;
  border: 2px solid var(--colorGray);
  border-radius: 3px;
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
}     

.form-cotrol input:focus {
  border:rgba( 0, 0, 0, .2);
}

.form-control.success input {
  border-color: green;
}

.form-control.error input {
  border-color: red;
}

.form-control small {
  color: red;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  left: 0;
  visibility: hidden;
}

.form-control.error small {
  visibility: visible;
}

form button {
  width: 100%;
  background-color: var(--color4);
  border: none;
  outline: none;
  color: var(--color3);
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 5px;
  cursor: pointer;
}

form button:active {
   transform: scale(.95);
}

/* Password Strength CSS */
.show-pass {
  position: absolute;
  top: 18%;
  right: 5%;
  width: 10%; height: 10%;
}

.fa-eye {
  color: var(--color3);
  cursor: pointer;
}

.progress {
 width: 100%; height: 3px;
 margin: 2rem 0;
 background-color: var(--colorGray);
}

.progress-bar {
  width: 5%;
  height: 3px;
  background-color: var(--color2);
  transition: all 0.3s ease;
}

.form-list {
  list-style-type: none;
  color: var(--colorGray);
  font-weight: 900;
}

.pb-danger {
  background-color: red;
  box-shadow: 0 0 10px red;
}

.pb-warning {
  background-color: yellow; 
  box-shadow: 0 0 10px yellow;
}

.pb-primary {
  background-color: rgb(33, 33, 251);
  box-shadow: 0 0 10px rgb(33, 33, 251);
}

.pb-success {
  background-color: rgb(21, 253, 21);
  box-shadow: 0 0 10px rgb(21, 253, 21);
}

.fa-circle {
  font-size: 6px;
}

.fa-check {
  color: var(--color2);
}