@font-face {
    font-family: 'Gotham';
    src: url('Gotham/Gotham-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Gotham';
    src: url('Gotham/Gotham-Black.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
  }
  
  body {
    font-family: 'Gotham', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: url('Image/background.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
/* Position the button outside the container and center it */
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;  /* Optional: Add some space at the bottom */
  }

  .container {
    background-color: #fffaf58e; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; 
    box-sizing: border-box;
    text-align: center;
  }

  .btn {
    background-color: #FFFAF5;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 40%;
    text-align: center;
    margin-top: 40px; 
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    
  }
  
  .custom-submit {
  width: 200px;
  height: 50px;
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  border: none;
  padding: 10px;
  cursor: pointer;
}
  
  
  .text h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .input {
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    font-size: 1rem;
    width: 100%;
    background-color: transparent;
    color: #333;
    outline: none;
  }
  
  .input::placeholder {
    color: #888;
    font-style: italic;
  }
  
  .input:focus {
    border-bottom: 2px solid #555; 
  }



.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    font-size: 16px;
    color: #000;
    font-weight: bold;
  }
  
  .slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
  }
  
  .slider img {
    width: 100%;
    max-width: 200px; 
    border-radius: 8px;
    object-fit: cover;
  }
  
  .arrow {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    padding: 5px;
  }
  
  #sliderText {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #000;
    text-align: center;
    padding: 0 15px;
  }
  
  
  .message-box {
    width: 100%;
    height: 150px;
    border: none;
    border-bottom: 2px solid #333;
    background-color: transparent;
    font-size: 1rem;
    padding: 10px 0;
    resize: none;
    outline: none;
    color: #333;
  }
  
  .message-box::placeholder {
    color: #000000;
    font-style: italic;
  }
  
  .main-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    padding: 0 20px;
  }
  
  .main-heading h1 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 30px;
  }

  h1 {
    color: #000;
  }
  
  .postcard {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
  }
  
  .postcard.flipped {
    transform: rotateY(180deg);
  }
  
  .postcard-front,
  .postcard-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .postcard-front img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 10px;
    box-sizing: border-box;
  }
  
  .postcard-back {
    background:  #FFFAF5;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .message {
    font-size: 1rem;
    text-align: center;
    color: #333;
    word-break: break-word;
  }
  
  
  
  
  /* Mobile Version Styling */
  @media screen and (max-width: 768px) {
    .text h1 {
      font-size: 1.2rem;
      margin-bottom: 15px;
    }
  
    .input {
      font-size: 1rem;
      padding: 12px 0;
    }
  
    .container {
      width: 90%;
      padding: 20px;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
  }
  
  /* Very Small Mobile Devices */
  @media screen and (max-width: 480px) {
    .text h1 {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }
  
    .input {
      font-size: 0.9rem;
      padding: 10px 0;
    }
  
    .container {
      width: 85%;
      padding: 16px;
    }
  }
  