

.qa-toggle {
    display: flex;
    justify-content: center;
    margin: 40px auto;
   
  }
  
  .qa-checkbox {
    display: none;
  }
  
  .qa-card {
    width: 300px;
    height: 150px;
    background: linear-gradient(to right, #1E88E5, #1565C0);
    color: white;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, background 0.6s ease;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  

  /* Hover effect on the card */
  .qa-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
  }
  
  .qa-card .qa-back {
    display: none;
  }
  
  .qa-checkbox:checked + .qa-card {
    background: linear-gradient(to right, #0faf15, #0a781b);
  }
  
  .qa-checkbox:checked + .qa-card .qa-front {
    display: none;
  }
  
  .qa-checkbox:checked + .qa-card .qa-back {
    display: block;
  }
  



  /* Embedded video */
 
iframe {
    display: block;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 50px;
    margin-bottom: 50px;

    
}

.lesson-video {
  width: 100%;
  /*margin-right: 15%;
  margin-left: 15%;*/
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  margin-bottom: 25px;
  width: 60%;
}


.page-title {
  margin-top: 550%;
  text-align: center;
  font-size: 2rem;
  width: 90%;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
  word-wrap: break-word;
  overflow: visible; 
  
}

