@media (max-width: 640px) {
    .custom-class {
      font-size: 8px;
    }
  }
  
  @media (max-width: 640px) {
    .custom-class-2 {
      font-size: 6px;
    }
  }
  
/* Small screens (phones) */
@media only screen and (max-width: 767px) {
  .join-room-container {
    padding: 12px;
  }

  .header {
    font-size: 2xl;
    margin-bottom: 8px;
  }

  .transaction-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }

  .transaction-buttons button {
    width: 100%;
    padding: 12px; /* Adjust padding for better button appearance */
  }

  /* Add more CSS rules for small screens if needed */
}

/* Medium screens (tablets) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .join-room-container {
    padding: 20px;
  }

  .header {
    font-size: 3xl;
    margin-bottom: 12px;
  }

  .transaction-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
  }

  .transaction-buttons button {
    width: 48%;
  }

  /* Add more CSS rules for medium screens if needed */
}

/* Large screens (laptops and desktops) */
@media only screen and (min-width: 1024px) {
  .join-room-container {
    max-width: 6xl;
    margin: auto;
    margin-top: 8px;
    padding: 6px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .header {
    font-weight: bold;
    color: white;
    font-size: 4xl;
    text-align: center;
    margin-bottom: 16px;
  }

  /* Add more CSS rules for large screens if needed */
}
