/* public/css/public-styles.css */

#wdq-quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.wdq-step {
    margin-bottom: 20px;
}

.wdq-step h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.wdq-step p {
    margin-bottom: 10px;
}

.wdq-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}

.wdq-submit-button {
    display: block;
    margin: 20px 0;
    padding: 10px 20px;
}

.QuizModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* QuizModal content */
  .QuizModal-content {
    background-color: white;
    border-radius: 10px;
    /* padding: 20px; */
    width: 100%; /* Default width for mobile */
    max-width: 500px; /* Set a max width for larger screens */
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-in-out;
    height: 100vh;
  }

  .QuizModal-content iframe {
    height: 100%;
    width: 100%;
  }
  
  /* Desktop-specific styles */
  @media (min-width: 768px) {
    .QuizModal-content {
      width: 40%;
    }
  }
  
  /* QuizModal close button */
  .QuizModal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
  }
  
  .QuizModal-close:hover {
    color: red;
  }
  
  /* Animation */
  @keyframes slideIn {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }