@media (max-width: 768px) {
    .gallery {
      display: flex !important;
      flex-direction: column !important;
      align-items: center;
      gap: 20px;
      margin-left: 0;
      width: 100%;
    }
  }
  
  body {
    margin-top: 50vh;
    flex:1 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
     background-image: url(bg.png);
    background-position: center;
    background-size: cover;
    flex-direction: column;
  }
  
  .gallery {
    margin-left: 34vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 80%;
  }
  
  .flip-card {
    perspective: 1000px;
    width: 90%; /* Adjust card width to fit mobile screens */
    max-width: 300px;
    /* width: 280px; */
    height: 330px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  .flip-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }
  
  .flip-card:hover .flip-card-inner,
  .flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .flip-card-front {
    background: #fff;
    overflow: hidden;
    border-radius: 15px;
  }
  
  .flip-card-front img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
  }
  
  .flip-card-back {
    background: #121212;
    padding: 7px;
    transform: rotateY(180deg);
    flex-direction: column;
    color: #fff;
  }
  
  .register-button {
    margin-top: 10px;
    padding: 5px 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* .header {
      background: rgba(0, 0, 0);
      padding: 15px 0;
      text-align: center;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
    }
  
    .header img {
      height: 50px;
    }
  
    .nav-links {
      margin-top: 10px;
    }
  
    .nav-links a {
      color: white;
      text-decoration: none;
      margin: 0 15px;
      font-weight: bold;
    }
  
    .nav-links a:hover {
      color: #00bfff;
    }
  
    @media (max-width: 768px) {
      .nav-links {
        display: flex;
        flex-direction: column;
      }
    } */
  
    .header {
      background: rgba(0, 0, 0);
      color: white;
      padding: 15px 20px;
      position: fixed;
      top: 0;
      width: 100%;
      text-align: center;
      z-index: 1000;
    }
  
    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: auto;
    }
  
    .header-left a {
      color: #00bfff;
      text-decoration: none;
      font-weight: bold;
    }
  
    .header-right {
      display: flex;
      gap: 5px;
      margin-right: 10px;
    }
    .header-right a {
      text-decoration: none !important;
      color: white !important;
    }
  
    .social-icon {
      height: 30px;
      width: 30px;
    }
  
    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        gap: 10px;
      }
    }
  
   