.accordion-section {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: white;
  gap: .5rem;
}

.accordion {
  background-color: #eee;
  color: #292929;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.3s ease-in-out;

  /* border: 1px solid #ccc; */
}

main {
  gap: 0;
  margin-bottom: 0;
}


.ql-icon {
  display: none;
  pointer-events: none;
}


.accordion.active,
.accordion:hover {
  background-color: #ccc;
}

.accordion:focus {
  outline: auto;
}


.accordion:after {
  content: "\002B";
  color: #515151;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion.active:after {
  content: "\2212";
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-bottom: 1rem;
}

/* media queries */

@media (min-width: 600px) {
  .accordion-section {
    margin: 2rem;
    border-radius: 12px;
  }
}

@media (min-width: 1050px) {

  main {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .accordion-section {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: relative;
    transition: all 0.3s ease-in-out; 
    width: 1000px;
    margin: auto;
  }

  .accordion {
    font-size: 18px;
    /* background-color: red; */
    text-align: center;
    border-radius: 12px;
    width: 175px;
    height: 175px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* helpdesk */
  .accordion:nth-child(1) {
    order: 3;
  }

  /* appointments */
  .accordion:nth-child(3) {
    order: 1;
  }

  /* services */
  .accordion:nth-child(5) {
    order: 2;
  }

  /* guides */
  .accordion:nth-child(7) {
    order: 4;
  }

  /* contact */
  .accordion:nth-child(9) {
    order: 5;
  }

  .ql-icon {
    display: block;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: white;
    margin: auto;
  }

  .accordion:after {
    content: "";
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    /* padding: 1rem; */
  }

  .accordion.active:after {
    content: "";
  }

  .panel {
    position: absolute;
    top: 216px;
    left: 0;
    margin: 0 2rem;
  }

}