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

:root {
  font-size: 62.5%;
}

body {
  background: linear-gradient(287.56deg, #c2e9fb 0%, #a1c4fd 100%);
  font-size: 1.6rem;

  display: grid;
  place-items: center;
  height: 100vh;
}

body,
button,
input {
  font-family: "DM Sans", sans-serif;
}

button {
  background-color: #7879f1;
  color: #fff;
  font-weight: bold;
  border-radius: 0 0.4rem 0.4rem 0;

  transition: background 300ms;
}

button:hover{
    background-color: #6363ce;
}

.hide {
  display: none;
}

main {
  background: #fff;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
  border-radius: 0.6rem;
  padding: 4.8rem 6.4rem 6.4rem;

  width: min(42.8rem, 90%);

  margin: 0 auto;
  margin-top: -12rem;

  text-align: center;
}

/* Screen 1 */
h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

h1,
p {
  color: #34355b;
}

p {
  opacity: 0.8;
}

form {
  margin-top: 4.8rem;

  display: flex;
  justify-content: center;
}

input,
button {
  border: none;
  padding: 1.6rem;
}

input {
  background-color: #dce2e9;
  width: 6rem;
  border-radius: 0.4rem 0 0 0.4rem;
}

/* Screen 2 */
h2 {
  font-size: 2.4rem;
  font-weight: normal;

  margin-bottom: 3.3rem;
}

.screen2 button {
  border-radius: 0.4rem;
}
