@import "../variables.scss";

#explore-container {
  display: flex;
  max-width: 100%;
  width: 75rem;
  gap: 1rem;
  .courses-section {
    display: flex;
    flex-direction: column;
    width: 50rem;
    max-width: 100%;
    gap: 0.5em;
    flex: 1 1;

    &__explore-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      height: 3rem;

      div {
        height: 100%;
      }

      .courses-container {
        padding: 0.5rem;
      }

      // align-items: center;
    }
  }

  .filter-section {
    margin-top: 3.4rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .schedule-section {
    margin-top: 2rem;
    flex: 1 1;
    flex-direction: column;
    gap: 1rem;
  }
}

.courses-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0.75em;
  margin: 0.5em 0;
}

.text-badge.explore {
  background: var(--colour-neutral-1100) 100%;
  color: var(--colour-sosy-green-500);
  width: fit-content;
}

@include viewport(mobile) {
  #explore-container {
    flex-direction: column-reverse;
  }

  .filter-section {
    margin-top: 0;
  }
}
