@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

html, body {
  height: 100%;
  margin: 0;
  padding: 10px;
}

body {
  min-height: 100vh; /* mobile safe viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers vertically */
  align-items: center;     /* centers horizontally */
  gap: 20px;
  font-family: "Poppins", sans-serif;
  color: white;
  background: linear-gradient(to right, #30cfd0, #330867);
}

/* Remove flex from header/main so they don't mess up centering */
header, main {
  display: block;
  text-align: center;
}

/* Keep your figure styling */
figure {
  overflow: hidden;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Buttons */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  width: 200px;
  height: 50px;
  background-color: #ffffff;
  color: #333;
  border: none;
  border-radius: 10px;
}

button:hover {
  cursor: pointer;
  background-color: transparent;
  border: 1px solid white;
  color: white;
}
