* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --Red: hsl(0, 100%, 74%);
  --Green: hsl(154, 59%, 51%);
  --Blue: hsl(248, 32%, 49%);
  --Dark-Blue: hsl(249, 10%, 26%);
  --Grayish-Blue: hsl(246, 25%, 77%);
  --sh: 0 5px 2px rgba(65, 62, 79, 0.347);
}

html {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  outline: none;
  border: none;
  padding: 1.5rem 2rem;
  background-color: transparent;
  text-align: center;
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
}
button.blue {
  background-color: var(--Blue);
  box-shadow: var(--sh);
}

button.blue span {
  font-weight: 700;
}

button.green {
  background-color: var(--Green);
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 2px 2px rgba(4, 50, 4, 0.878);
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: url("./images/bg-intro-mobile.png");
  background-color: var(--Red);
  /* background-blend-mode: multiply; */
}

main {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contents {
  color: white;
  text-align: center;
}
.contents h1 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.form__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--sh);
}

input {
  padding: 1rem 0.5rem;
  border: 1px solid var(--Grayish-Blue);
  border-radius: 0.3rem;
}

input:focus {
  outline: none;
  border-color: gray;
}
form p {
  text-align: center;
}
form a {
  color: var(--Red);
}

@media screen and (min-width: 768px) {
  main {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media screen and (min-width: 1024px) {
  body {
    background-image: url("./images/bg-intro-desktop.png");
    display: flex;
    align-items: center;
  }
  main {
    flex-direction: row;
    max-width: 1000px;
    gap: 6rem;
    align-items: center;
  }
  .contents {
    flex: 1;
    text-align: left;
  }
  .contents h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  .contents p {
    font-size: 1.2rem;
  }
  .form__wrapper {
    flex: 1;
  }
}
