@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --clr-primary-rgb: 103, 75, 175;
  --clr-secondary-rgb: 232, 130, 232;

  --clr-primary: rgb(103, 75, 175);
  --clr-secondary: rgb(232, 130, 232);

  --f-heading: "Poppins", sans-serif;
  --f-body: "Open Sans", sans-serif;

  --fw-400: 400;
  --fw-600: 600;
}

* {
  padding: 0;
  margin: 0;
}

body {
  background-image: url("images/bg-mobile.svg");
  background-color: var(--clr-primary);
  background-position: top;
  background-size: contain;
  padding: 2rem;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: calc(48rem + 1px)) {
  body {
    text-align: start;
    padding: 2rem 4rem;
    background-image: url("images/bg-desktop.svg");
    background-position: top;
    background-size: cover;
  }
}

/* main {
  background: black;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: calc(48rem + 1px)) {
  main {
    grid-template-columns: 1fr 45%;
    justify-content: center;
  }
} */

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: calc(48rem + 1px)) {
  main {
    flex-direction: row;
    justify-self: center;
    max-width: 100%;
  }
}

.mockup {
  margin-block: auto;
  min-width: 60%;
  height: fit-content;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-block: 2rem;
}

@media (min-width: calc(48rem + 1px)) {
  .container {
    margin-block: 4rem;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

h1 {
  font-family: var(--f-heading);
  font-weight: var(--fw-600);
  font-size: 1.5rem;
  line-height: 1.6;
  text-wrap: pretty;
}

@media (min-width: calc(48rem + 1px)) {
  h1 {
    font-size: clamp(1.125rem, 3vw, 3.5rem);
  }
}

p {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--f-body);
  font-weight: var(--fw-400);
  line-height: 1.8;
}

@media (min-width: calc(48rem + 1px)) {
  p {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  }
}

.logo {
  width: clamp(6.5rem, 30vw, 12rem);
}

@media (min-width: calc(48rem + 1px)) {
  .logo {
    width: clamp(7rem, 16vw, 12rem);
  }
}

.register {
  font-family: var(--f-heading);
  font-weight: var(--fw-400);
  font-size: 0.8rem;
  background: white;
  color: var(--clr-primary);
  border: none;
  border-radius: 2rem;
  padding: 1rem 4rem;
  box-shadow: 0.3rem 0.3rem 2rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease-in-out;

  &:hover {
    background: var(--clr-secondary);
    color: white;
  }
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: calc(48rem + 1px)) {
  footer {
    justify-content: flex-end;
  }
}

a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  &:hover {
    border-color: var(--clr-secondary);
    color: var(--clr-secondary);
  }
}

@media (min-width: calc(48rem + 1px)) {
  a {
    font-size: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}
