html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: sans-serif;
}

.background-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: visible;
  z-index: 0;
}

.background-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.background-wrapper.blur::before {
  filter: blur(30px);
  /* ⬅️ Use this instead of backdrop-filter */
  transform: scale(1.15);
}

.container {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #000;
}

.profile-container {
  text-align: center;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile-img-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #000DFF;
  /* iOS blue */
  color: #ffffff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-family: sans-serif;
  text-transform: uppercase;
}

.profile-name {
  font-family: "fraunces";
  font-size: 20px;
  font-weight: 400;
  color: #ff9100;
  margin: 0px;
}

.profile-username {
  font-family: "fraunces";
  font-size: 16px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  margin: 0px;
  padding-top: 5px;
}

.social-media-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.social-media-links a svg {
  transition: transform 0.2s ease-in-out;
}

.social-media-links a:hover svg {
  transform: scale(1.2);
}


.social-icon img {
  width: 24px;
  height: 24px;
}

.social-icon:hover img {
  transform: scale(1.2);
}


.main-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 32px;
}

.section-title {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

.element {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  height: 152px;
}

.media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-element {
  padding: 16px;
  height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scroll-sections {
  max-width: 600px;
  margin: 30px auto 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  min-height: 500px;
}

.section-title {
  margin-top: 24px;
  margin-bottom: 16px;
}

.message-button {
  position: absolute;
  top: -10px;
  right: 20px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.message-button:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.profile-container {
  position: relative;
  /* Needed for absolute positioning the button */
  max-width: 600px;
  margin: auto;
}


/* Mobile (up to 767px) */
@media (max-width: 767px) {
  /* body {
      background-color: lightblue;
    } */
  .message-button {
    width: 26px;
    height: 26px;
  }

  .container {
    height: 100vh;
    width: 100%;
  }
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  /* body {
      background-color: peachpuff;
    } */

  .container {
    padding: 2rem;
    font-size: 16px;
  }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
  /* body {
      background-color: lightgreen;
    } */

  .container {
    padding: 3rem;
    font-size: 18px;
  }
}