@font-face {
    font-family: 'Valentine'; /* Name for the font */
    src: url('./Assets/ILoveWhatYouDo-d0q6.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  

body {
    font-family: 'Valentine', sans-serif;
    text-align: center;
    background-color: #ffe6e6;
    color: #d63384;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    touch-action: pan-y; /* Disable horizontal touch scrolling */
}

.container {
    max-width: 600px;
    margin: auto;
    padding: 50px 20px;
    position: relative;
  }

.section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

#heart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

#language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #ff85a2;
    color: white;
    cursor: pointer;
    z-index: 100;
    transition: background 0.3s ease;
}

#language-toggle:hover {
    background-color: #d63384;
}




#card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
  }
  
  #card {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d; /* Keep children in 3D space */
    transition: transform 0.6s ease; /* Smooth flip transition */
  }
  
  #card:active {
    transform: scale(0.65); /* Subtle press effect */
  }
  
  #letter {
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .card-text {
    font-size: 18px;
    color: #333;
    position: absolute;
    bottom: 20px; /* Positioned near the bottom of the card */
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
  }
  
  #card.flipped .card-text {
    visibility: hidden; /* Hide the "Tap to Open" text when the card is flipped */
  }
  
  .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* White background for the back */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 24px;
    transform: rotateY(180deg); /* Initially hidden (rotate back) */
    backface-visibility: hidden; /* Prevent the back side from showing during the flip */
    padding: 20px;
    box-sizing: border-box;
  }
  
  .cute-message {
    text-align: center;
    font-weight: bold;
    color: #ff5e5e;
    font-size: 22px;
  }
  
  #cutie, #cutie-back {
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .flip-card {
    width: 100%;
    height: 300px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .flip-card-back {
    transform: rotateY(180deg);
  }
  
  .flipped {
    transform: rotateY(180deg);
  }
  

  .polaroid-section {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
  }
  
  .polaroid-container {
    display: flex;
    transition: transform 0.5s ease-out;
  }
  
  .polaroid {
    width: 200px;
    height: 200px;
    margin: 0 10px;
    perspective: 1000px;
  }
  
  .polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 10px solid #fff;
    border-bottom: 40px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .polaroid:hover img {
    transform: rotate(10deg);
  }
  