.notes-scrollable {
  overflow-y: visible;
}
.process-notes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 100%;
}
.horizontal-notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  height: 100%;
}
.note {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  padding: 35px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.vertical-note-1 {
  background-color: #ffffff;
  color: #333;
}
.vertical-note-2 {
  background-color: #d23939;
  color: #ffffff;
}
.vertical-note-3 {
  background-color: #575757;
  color: #ffffff;
}
.horizontal-note-4 {
  background-color: #2e0965;
  color: #ffffff;
}
.horizontal-note-5 {
  background-color: #c7c7c7;
  color: #333;
}
.note:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.note h3 {
  font-family: "Poppins-Black";
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.note p {
  font-size: 1.1rem;
  font-family: "Poppins-Light" !important;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media screen and (max-width: 768px) {
  .note {
    border: 0px solid;
  }
  :root {
    --cards: 5;
    /* --cardHeight: 50vh; */
    --cardTopPadding: 1.5em;
    --cardMargin: 2vw;
  }

  .mobile-content {
    padding: 10px !important;
  }

  .container {
    margin: 0 auto;
  }

  #cards {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--cards), var(--cardHeight));
    gap: var(--cardMargin);
    padding-bottom: calc(var(--cards) * var(--cardTopPadding));
    margin-bottom: var(--cardMargin);
  }

  #card1 {
    --index: 1;
  }
  #card2 {
    --index: 2;
  }
  #card3 {
    --index: 3;
  }
  #card4 {
    --index: 4;
  }
  #card5 {
    --index: 5;
  }

  .card {
    position: sticky;
    top: 0;
    padding-top: calc(var(--index) * var(--cardTopPadding));
  }

  #card1 .card-body {
    background-color: #ffffff;
    color: #333;
  }
  #card2 .card-body {
    background-color: #d23939;
    color: #ffffff;
  }
  #card3 .card-body {
    background-color: #575757;
    color: #ffffff;
  }
  #card4 .card-body {
    background-color: #2e0965;
    color: #ffffff;
  }
  #card5 .card-body {
    background-color: #c7c7c7;
    color: #333;
  }

  .card-body {
    box-sizing: border-box;
    /* padding: 30px; */
    border-radius: 20px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    /* height: var(--cardHeight); */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
  }

  h2 {
    font-size: 2.5em;
  }
}
