@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html{
  scroll-behavior: smooth;
}

a {
  list-style: none;
  text-decoration: none;
  cursor: pointer;
}

/* ========== custom scrollbar ========== */
::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(207, 207, 207);
  border-radius: 10px;
  transition: 0.3s all ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #696969;
  cursor: grab;
}

/* Utility class for hiding scrollbar */
.hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.button {
  border-radius: 0.75rem;
  display: flex;
  padding: 1rem 3rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  outline: none;
  border: none;
  color: var(--Neutral-Black, #1a1a1a);
  text-align: center;
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.005rem;
  cursor: pointer;
  transition: .3s all ease-in-out;
}

.button p {
  flex-shrink: 0;
}

/* =============== custom classnames ============== */

.yellowBtn {
  background: var(--Gold-Gradient-Light,
      linear-gradient(90deg, #f9c935 0%, #ffda57 81.88%));
}


.yellow_button_long {
  padding: 1rem 6rem;
  background: var(--Gold-Gradient-Light,
      linear-gradient(90deg, #f9c935 0%, #ffda57 81.88%));
}

/* ---------- width restrictions ------------ */

.section_container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.section_fixed_width {
  max-width: 1440px;
  width: 100vw;
}

.section_heading {
  color: var(--Neutral-Black, #1a1a1a);
  text-align: center;
  font-family: Inter;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.025rem;
}

.section_paragraph {
  color: var(--Neutral-Dark-Grey, #4f4f4f);
  text-align: center;
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.01rem;
  align-self: stretch;
}

.section_spacing {
  padding: 7.5rem 12.5rem;
}

.bg-grey {
  background: #fafafa;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .section_spacing {
    padding: 5rem 1rem;
  }
  .button {
    width: 100%;
    z-index: 2;
  }

  /* Study Tools Section specific padding */
  .study-tools-section__spacing {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 0rem;
  }
  /* ------------------------------ */

  /* Course Category Section */
  .course_category__mobile-spacing {
    padding: 2.5rem 1rem;
  }

  /* Footer Styles */
  .more-padding {
    padding-bottom: 0px;
  }

  .websiteFooter {
    padding: 1.5rem 1.5rem 15px;
    margin-top: 1rem;
  }
}
