@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

/* Get rid of all default margins/paddings. Set typeface */
body {

  box-sizing: border-box; */
    /* margin: 0 auto; */
    /* padding: 0; */
    background-color: white;
    font-family: "lato", sans-serif;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    align-content: center;
    flex-direction: column;
    background: linear-gradient(145deg,red,blue,green,black);
    background-size: 400% 400%;
    position: relative;

}

.wrapper {
  /* padding: 30px; */
  margin: 30px;
}

.container {
  /*display: flex;
  justify-content: center;
  align-items: center;
  /* height: 110vh; */
}

.form {
  align-self: center;
  background-color: white;
  width: 400px;
  border-radius: 8px;
  padding: 20px 40px;
  box-shadow: 0 10px 25px rgba(92, 99, 105, .2);
}

.title {
  font-size: 50px;
  margin-bottom: 50px;
}

.inputContainer {
  position: relative;
  height: 45px;
  width: 90%;
  margin-bottom: 17px;
}

/* Style the inputs */

.input {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border: 1px solid #DADCE0;
  border-radius: 7px;
  font-size: 16px;
  padding: 0 20px;
  outline: none;
  background: none;
  /* z-index: 1; */
}

/* Hide the placeholder texts (a) */

::placeholder {
  color: transparent;
}

/* Styling text labels */

.label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0 4px;
  background-color: white;
  color: #DADCE0;
  font-size: 16px;
  transition: 0.5s;
  z-index: 0;
}

.submitBtn {
  display: block;
  margin-left: auto;
  padding: 15px 30px;
  border: none;
  background-color: rgb(28, 27, 27);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 30px;
}

.submitBtn:hover {
  background-color: rgb(49, 47, 47);
  transform: translateY(-2px);
}

.input:focus+.label {
  top: -7px;
  left: 3px;
  /* z-index: 10; */
  font-size: 14px;
  font-weight: 600;
  color: grey;
}

.input:focus {
  border: 2px solid grey;
}

.input:not(:placeholder-shown)+.label {
  top: -7px;
  left: 3px;
  /* z-index: 10; */
  font-size: 14px;
  font-weight: 600;
}

