body {
  text-align: center;
  font-family: Myriad,Arial; 
}

.card__container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  perspective: 1400px;
  transition: all 0.2s ease;
  cursor: pointer;
}

/*default*/
.card {
  max-width: 572px;
  max-height: 809px;
  width: 80vw;
  height: 120vw;
  transform-style: preserve-3d;
  transform: rotateX(15deg);
  transition: all 1s ease;
}
@media (min-width: 768px) {
  .open .card__container {
    transform: translate(0%, -50%);
  }
}
.open .card {
  transform: rotateX(0deg);
}

/* For tablets (between 768px and 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .open .card__container {
    transform: translate(0%, -50%);
  }  
  .card {
    width: 60vw; /* Adjust for tablet screen size */
    height: 100vw; /* Adjust height */
    max-width: 70%; /* Limit max width for tablets */
    max-height: 600px; /* Optional: Set a max height */
  }
}

.card__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  backface-visibility: visible;
  transform-origin: left;
  transform-style: preserve-3D;
  transition: all 3s ease;
}

.card__panel--front {
  z-index: 1;
  backface-visibility: hidden;
}

.card__panel--inside-left {
  z-index: 0;
}

.card__panel--inside-right {
  z-index: -1;
}

.open .card__panel--front {
  transform: rotate3d(0, 1, 0, -170deg);
}

.open .card__panel--inside-left {
  transform: rotate3d(0, 1, 0, -170deg);
}

.card-image {
  width: 100%;
  height: auto;
  border: 1px solid #999999;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#shareUrl:focus {
	border: none; 
	outline: none;
}