@charset "utf-8";
/* CSS Document */
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh; /* Ensure body takes at least full viewport height */
  /*background-color: #fcfaf3;*/
  overflow-y: auto; /* Enable vertical scrolling */
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.business_card {
  width: 360px;
  text-align: center;
  margin: 10px auto; /* Add margin to prevent sticking to top */
  padding-top: 0;
}

/* Ensure the image maintains aspect ratio and fits mobile screens */
img[usemap] {
  width: 100%;
  height: auto;
  max-width: 360px;
}

/* Disable tap highlight and focus outline for image map areas */
area {
  cursor: pointer;
  outline: none;
}

/* Disable tap highlight for the map element */
map {
  -webkit-tap-highlight-color: transparent;
}

/* Style for installation prompt */
.install-prompt {
  display: none;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.install-icon {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.android-install, .ios-install {
  display: none;
}

.install-icon img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  transition: transform 0.2s;
}

.install-icon img:hover {
  transform: scale(1.1);
}

.install-icon p {
  color: white;
  font-size: 14px;
  margin-top: 5px;
  text-align: center;
}

.share-popup {
  display: none;
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  width: 320px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.share-popup.show {
  display: flex !important;
}
.share-icon {
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}
.share-icon img {
  width: 30px;
  height: 30px;
}
.share-icon:hover {
  transform: scale(1.1);
}
.share-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.share-overlay.show {
  display: block !important;
}

/* Ensure visibility and scrollability on mobile devices */
@media only screen and (max-width: 1024px) {
  body {
    justify-content: flex-start;
    padding-bottom: 20px; /* Add padding to ensure bottom content is accessible */
  }
  .business_card {
    margin: 10px auto;
  }
  .install-prompt {
    padding: 10px;
  }
  .install-icon {
    padding: 5px;
  }
  .install-icon p {
    font-size: 12px;
  }
}