@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-family: "Roboto", sans-serif;
  --second-family: "Helvetica", sans-serif;
  --third-family: "Oxygen", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
}

header {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0 17px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;

  backdrop-filter: blur(50px);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

header .logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

header .logo h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 26px;
  line-height: 127%;
  color: #363b40;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;

  background-image: url("./assets/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main .card {
  max-width: 450px;
  width: 100%;
  border-radius: 20px;
  padding: 40px 28px;

  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: translateY(20px);
}

main .card img {
  width: 155px;
  height: 155px;
}

main .card h1 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  text-align: center;
  color: #000;
}

main .card .subscribe--text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #9b9d9e;
}

main .info--container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

main .info--container .info_1--text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: #000;
}

main .info--container .info_2--text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: #000;
}

main .info--container .dots {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #1d1d1d;
}

main .btn--container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

}

main .btn--container a {
  width: 100%;
  max-width: 215px;
  border-radius: 100px;
  padding: 12px 24px;

  font-family: var(--third-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 183%;
  color: #fff;
  background: #2481cc;
}

main .btn--container a:hover {
background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #2481cc;
}

main .preview--text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #9b9d9e;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  main .card {
    max-width: 400px;
    padding: 36px 20px;
  }

  main .card img {
    width: 120px;
    height: 120px;
  }

}

@media (max-width: 768px) {
  header {
    height: 55px;
    padding: 0 10px;
  }

  main .card {
    max-width: 320px;
    padding: 24px 10px;
    gap: 16px;
  }

  main .card img {
    width: 90px;
    height: 90px;
  }


}

@media (max-width: 480px) {


  main {
    padding: 0 10px;
  }

  main .card {
    max-width: 380px;
    padding: 36px;
    border-radius: 12px;
    gap: 16px;
  }

  main .card img {
    width: 76px;
    height: 76px;
  }

}
