html {
    font-size: 62.5%;
}

body {
  background-color: hsl(257, 40%, 49%);
  color: white;
  position: relative;
  min-height: 100vh;
  background-image: url('./bg-desktop.svg');
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header {
    padding: 5rem 0 3rem 5rem;
}

.header img {
    width: 200px;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem 5rem;
    gap: 5rem;
}

.content .image img {
    height: auto;
    width: 100%;
}

.content .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    width: 490px;
}

.content .text h1 {
   font-family: "Poppins", sans-serif;
   font-weight: 600;
   font-size: 3rem;
   color: white;
   margin-bottom: 2rem;
   width: 400px;
}

.content .text p{
    font-family: "Open Sans", sans-serif;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.5rem;
    margin-bottom: 2rem;
}

.content .text .btn-register {
    background-color: white;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: hsl(257, 40%, 49%);
    text-align: center;
    width: 150px;
    padding: 15px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow:  1px 10px 8px rgba(0, 0, 0, 0.2);
}

.content .text .btn-register:hover {
    background-color: hsl(300, 69%, 71%);
    color: white;
}

.footer {
    text-align: right;
    padding: 2rem;
}

.footer .social a {
    color: white;
    border: 1px solid white;
    padding: 1rem;
    margin-left: 1rem;
    border-radius: 50%;
    display: inline-block;
    transition:  0.3s ease;
}

.footer .social a:hover{
    background-color:hsl(257, 40%, 49%);
    color: hsl(300, 69%, 71%);
     border: 1px solid hsl(300, 69%, 71%);
}

.footer .social a i{
    font-size: 20px;
}

@media (max-width: 375px) {
  body {
    background-image: url('./images/bg-mobile.svg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
  }

  .header {
    padding: 4rem 2rem 2rem;
    text-align: center;
  }

  .header img {
    width: 150px;
  }

  .content {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 3rem;
  }

  .content .image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .content .text {
    padding: 0;
    width: 100%;
    align-items: center;
  }

  .content .text h1 {
    font-size: 2.4rem;
    width: 100%;
    line-height: 3.2rem;
  }

  .content .text p {
    font-size: 1.4rem;
    line-height: 2.2rem;
    max-width: 320px;
  }

  .content .text .btn-register {
    width: 200px;
    padding: 1.5rem;
    font-size: 1.5rem;
  }

  .footer {
    text-align: center;
    padding: 4rem 0 2rem;
  }

  .footer .social a {
    margin: 0 1rem;
  }
}
