@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Poppins, 'Sans-Serif';
}

body {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(0, 100%, 74%);
  background-image: url(images/bg-intro-desktop.png);
  height: 100vh;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  margin: 3rem;
  background-color: transparent;
}

#left {
  color: hsl(0, 100%, 95%);
  margin: 1rem;
  background-color: transparent;
  flex-basis: 50%;
}

#left h1 {
  font-size: 36px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

#left p {
  font-size: 90%;
  font-weight: 500;
}

#right {
  margin: 1rem;
  flex-basis: 50%;
}

#right #top {
  background-color: hsl(248, 32%, 49%);
  padding: 0.8rem 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
  font-size: 80%;
  border-radius: 5px;
  text-align: center;
  color: hsl(0, 100%,100%);
  box-shadow: 0 3px 9px hsla(249, 10%, 26%, 0.5);
}

#right form {
  width: 100%;
  background-color: hsl(0, 100%, 100%);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px hsla(249, 10%, 26%, 0.5);
}

#right form input {
  width: 100%;
  outline: none;
  border-radius: 4px;
  background-color: inherit;
  border: 1px solid hsl(246, 25%, 77%);
  padding: 0.6rem 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

#right form input:focus {
  border: 1px solid hsl(249, 10%, 26%);
}

#right form button {
  width: 100%;
  outline: none;
  border: none;
  border-radius: 2px;
  background-color: hsl(154, 59%, 51%);
  color: hsl(0, 100%, 100%);
  padding: 0.6rem 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: inset 0 -1px 3px hsla(249, 10%, 26%, 0.4);
  font-weight: 600;
  font-size: 80%;
}

::placeholder {
  font-weight: 500;
}

form p {
  color: hsl(246, 25%, 78%);
  font-size: 9px;
  text-align: center;
  font-weight: 600;
}

form p a {
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  color: hsl(0, 100%, 74%);
}

@media only screen and (max-width: 600px) {
  body {
    height: auto;
    margin: 3rem 0;
    background-image: url('images/bg-intro-mobile.png');
  }
  
  main {
    flex-direction: column;
    margin: 0;
    padding: 0.5rem;
    
  }
  
  #left {
    text-align: center;
    font-size: 90%;
  }
  
  #left {
    font-size: 110%;
  }
  
  #right #top {
    padding: 1rem 4rem;
  }
  
  #terms, #terms a {
    font-size: 11px;
  }
}
