* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body, html {
  height: 100%;
  background-color: #0a0a0a;
  font-family: 'Poppins', sans-serif;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.card-wrapper {
    
    width: 100%;       /* fill container/screen width */
  max-width: 375px;  /* or use 100vw but max 375px */
  margin: 0 auto;    /* center horizontally */
  padding: 1.25rem;
  box-sizing: border-box; /* important so padding doesn't add extra width */
  /* border: 1px solid #ddd; */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* gap: 1rem; */

  border: none;

  /* Soft blurred shadow all around */
  box-shadow: 0 0 10px 5px rgba(17, 17, 17, 0.8);

  /* Keep border radius if you have */
  border-radius: 12px;
}

/* Profile Image */
.card-wrapper > img {
  width: 200px;
  height: 200px;
  border-radius: 5px;
  object-fit: cover;
}

/* Text Content */
.fullname {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  margin-top: 10px; 
  margin-bottom: 10px;
}

.job-titel {
  font-size: 16px;
  font-weight: 600;
  color: #676767;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  margin-bottom: 5px; /* smaller space below */
}

/* Location Section */
.card-wrapper div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.card-wrapper div img {
  width: 16px;
  height: 16px;
}

.location {
  color: #676767;
  font-size: 14px;
}

/* Button Styling */
button {
  background-color: #f1f1f1;
  color: #111;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 25px;
}

button img {
  width: 18px;
  height: 18px;
}

button:hover {
  background-color: #333;
}

/* Optional: Adjust font sizes even more for very small screens */
@media (max-width: 375px) {
  .fullname {
    font-size: 20px;
  }
  .job-titel {
    font-size: 15px;
  }
  .location {
    font-size: 13px;
  }
  button {
    font-size: 13px;
  }
}

  .social-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }
  .btn {
    background-color: #f1f1f1;
    color: #111;
    width: 40px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    user-select: none;
  }
  .btn img {
    width: 18px;
    height: 18px;
  }
  .btn:hover {
    background-color: #333;
    color: #fff;
  }