text: const firstItem = document.querySelector(".firstAcordion")
  var acc = document.getElementsByClassName("accordion-lesson");
  var i;
  
  firstItem.nextElementSibling.style.maxHeight = firstItem.nextElementSibling.scrollHeight + "px";
  firstItem.nextElementSibling.style.padding = "10px 0"; 
  
  
  for (i = 0; i < acc.length; i++) {
    acc[i].addEventListener("click", function () {
      this.classList.toggle("activeAcordion");
      var panel = this.nextElementSibling;
      if (panel.style.maxHeight) {
        panel.style.maxHeight = null;
        panel.style.padding = "0";
      } else {
        panel.style.maxHeight = panel.scrollHeight + "px";
        panel.style.padding = "10px 0";
      }
    });
  }