body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.lessons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.lesson-card {
  width: calc(33.33% - 20px);
  margin: 10px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  transition: filter 0.3s;
}

.lesson-card img {
  width: 100px;
  height: 100px;
  float: left;
  padding: 10px;
  border-radius: 50%;
}

.lesson-content {
  padding: 10px;
}

.lesson-content h2 {
  margin: 0;
  font-size: 20px;
  color: black;
}

.lesson-content p {
  margin: 1px 0 0;
  font-size: 16px;
  color: black;
}

.lesson-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lesson-card:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.123);
}

.lesson-card:hover .lesson-overlay {
  opacity: 1;
}

.lesson-number {
  color: white;
  font-size: 24px;
  filter: none; /* Add this line */
  z-index: 1;
}


.lessondiv {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;

}









@media screen and (max-width: 768px) {
  /* Styles for screens up to 768px wide */
  .lessons-container {
    padding-bottom: 10vh;
  }
}



