@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}
: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%);
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  width: 100%;
  min-height: 100vh;
  /* overflow: hidden; */
  background: url(/assets/bg-intro-mobile.png);
  background-color: var(--Red);
}

main {
  display: flex;
  padding: 5rem 1rem;
  flex-direction: column;
  gap: 2rem;
}
.sect {
  color: white;
  text-align: center;
  position: relative;
  bottom: 2rem;
}
.sect h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.btn {
  outline: none;
  border: none;
  padding: 1rem 1.5rem;
  background-color: var(--Blue);
  text-align: center;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 5px 3px rgba(189, 185, 185, 0.4);
  position: relative;
  bottom: 2rem;
}
.btn span {
  font-weight: 800;
}
.btn2 {
  background-color: var(--Green);
  text-transform: uppercase;
  font-size: 1rem;
  position: relative;
  top: 1rem;
}
form {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 1.5rem;
  gap: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 3px rgba(189, 185, 185, 0.4);
}

form p {
  text-align: center;
  position: relative;

  top: 1.2rem;
}
form a {
  color: var(--Red);
}
input:focus {
  outline: none;
  border-color: var(--Grayish-Blue);
}
input {
  padding: 0.5rem 0.5rem;
  border: 1px solid var(--Dark-Blue);
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media screen and (min-width: 1024px) {
  main {
    max-width: 700px;
    margin-inline: auto;
  }
  body {
    background-image: url("./images/bg-intro-desktop.png");
    display: flex;
    align-items: center;
  }
  main {
    flex-direction: row;
    max-width: 900px;
    gap: 6rem;
    align-items: center;
  }
  .sect {
    flex: 1;
    text-align: left;
  }
  .sect h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    position: relative;
    bottom: 1.5rem;
  }
  .sect p {
    font-size: 0.8rem;
    text-align: left;
    font-weight: 400;
  }
  .form {
    flex: 1;
  }
  form p {
    text-align: center;
    position: relative;
    top: 1rem;
  }
}
