html {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  background-color: lightgrey;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  background-color: white;
  width: 100%;
  padding: 20px 25px;
  max-width: 300px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

div {
  line-height: 0.5;
}

div h3 {
  font-size: 25px;
  text-align: center;
}

div p {
  color: grey;
  font-size: 15px;
  padding: 0 40px;
}

form:hover {
  box-shadow: -8px -7px 0 0 lightslategrey;
  transform: translateY(-0.25em);
}

.mp {
  text-align: left;
  line-height: 2;
  font-weight: normal;
  margin-bottom: 10px;
  transition: all 0.5s;
}
.mp:hover {
  border-color: lightgrey;
  transform: translateX(-0.35em);
}

#mail,
#password {
  width: 300px;
  height: 25px;
  border: 1px solid lightgrey;
  border-radius: 5px;
  padding: 5px 0 5px 5px;
}

a {
  text-decoration: none;
  padding-left: 60px;
  font-size: 10px;
  float: right;
  display: inline;
}

div .check {
  font-size: 15px;
  text-align: left;
}

button {
  width: 300px;
  height: 25px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 25px;
  padding: 15px 10px;
  text-align: center;
  color: black;
  background-color: white;
  border: 1px solid black;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

button:hover,
button:focus {
  background-color: rgb(25, 25, 46);
  color: white;
  border: none;
  box-shadow: 0.25em 0.3em 0 0 rgb(167, 164, 164);
  transform: translate3d(10px);
}
