@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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px;
  font-size: 11px;
  text-align: center;
}
:root {
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
body {
  background: url(./images/bg-desktop.svg) no-repeat center/cover;
  background-color: var(--violet);
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 50px;
  font-family: "Poppins", sans-serif;
  font-family: "Open Sans", sans-serif;
  min-height: 100vh;
  gap: 20px;
}
.hero {
  display: flex;
  gap: 50px;
  color: white;
  margin-bottom: 20px;
  align-items: center;
}
.logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 60px;
}
.desktop-image {
  width: 50%;
}
.text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.desk-img {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.icon:hover {
  border: 2px solid var(--soft-magenta);
  color: var(--soft-magenta);
}
.register-btn {
  background-color: white;
  color: #6d4bb5;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s;
  max-width: 200px;
}

.register-btn:hover {
  background-color: var(--soft-magenta);
  color: white;
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .desktop-image,
  .text {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
  .register-btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  body {
    background: url(./images/bg-mobile.svg) no-repeat center/cover;
    background-color: var(--violet);
    padding: 20px;
    text-align: center;
  }

  .hero {
    gap: 20px;
  }

  .logo {
    justify-content: center;
    margin-bottom: 30px;
  }

  .social-icons {
    gap: 15px;
  }

  .icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .register-btn {
    padding: 10px 25px;
    font-size: 14px;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .register-btn {
    width: 100%;
  }

  .icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
