main {
    background-color: var(--background-color);
    color: var(--on-background-color);
  }

  .description-section {
    background-color: var(--sufrace-color);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .description-section2 {
    background-color: var(--sufrace-color-dp1);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .description-section3 {
    background-color: var(--sufrace-color-dp1);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .charts-section {
    background-color: var(--sufrace-color-dp1);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .todays-word-section {
    background-color: var(--sufrace-color-dp2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    height: 80px;
  }

  #reveal-word-button {
    background-color: var(--sufrace-color-dp4);
    margin: 15px 20px;
    position: absolute;
    transition: transform 0.5s ease;
    z-index: 100;
  }

  #word-text {
    margin: 20px 20px;
    position: absolute;
  }

  .moved {
    transform: translateX(100px);
}

  .label {
    background-color: var(--sufrace-color-dp2);
    width: 100%;
    padding: 10px 10px;
    text-align: center;
  }

  .woordle-table {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 5px;
    box-sizing: border-box;
    aspect-ratio: 1/1;
    margin: 10px 10px;
  }

  .woordle-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 5px;
  }

  .woordle-table-tile {
    background-color: var(--sufrace-color-dp2);
    border: 1px solid rgba(255, 255, 255, 0.37);
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    aspect-ratio: 1/1;
    max-width: 62px;
    width: 62px;
  }

  .woordle-table-tile-input {
    width: 90%;
    height: 90%;
    border: none !important;
    font-size: 42px;
    text-align: center;
    text-transform: uppercase;
    background: transparent;
    outline: none;
    color: var(--on-background-color);
    cursor: default;
  }

  .focused {
    border: 1px solid var(--primary-color);
  }

  .green {
    background-color: rgb(1, 158, 1);
  }

  .orange {
    background-color: rgb(235, 111, 10);
  }

  .gray {
    background-color: var(--sufrace-color-dp2);
  }

  .pointer {
    cursor: text;
  }

  .gen-btn {
    text-align: center;
    min-width: 120px;
    margin: 10px auto;
  }

  .alphabet-list-wrapper {
    margin: 10px 10px;
    position: relative;
  }

  .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    /* Adjust as necessary */
    z-index: 10;
    opacity: 0.7;
  }

  .left-arrow {
    left: 5px;
  }

  .right-arrow {
    right: 5px;
  }

  .alphabet-list {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    width: 340px;
    max-width: 340px;
    overflow-y: hidden;
  }

  .alphabet-list::-webkit-scrollbar {
    height: 4px;
  }

  .alphabet-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .alphabet-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
  }

  .letter-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    max-width: 45px;
    max-height: 45px;
    aspect-ratio: 1/1;
    background-color: var(--sufrace-color-dp2);
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.1);
    flex-basis: 0;
    position: relative;
  }

  .margin-left {
    margin-left: 20px;
  }

  .margin-right {
    margin-right: 27px;
  }

  .letter {
    margin-top: 2px;
    font-size: 18px;
    flex: 0;
  }

  .percentage {
    font-size: 12px;
    flex: 0;
    position: relative;
    bottom: 2px;
  }

  .dropdown-icon {
    position: absolute;
    right: 1px;
    top: 8px;
    color: #333333;
  }

  .more {
    font-size: 5px;
    margin: 2px auto 0px auto;
    flex: 0;
  }

  .word-list {
    columns: 3;
    width: 90%;
    column-gap: 5px;
    margin: 10px auto;
    padding: 0px 0px;
  }

  .word-list-item {
    width: 100%;
    background-color: var(--sufrace-color-dp2);
    margin-bottom: 5px;
  }

  .section {
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.67);
  }

  .word-list-chip {
    background-color: var(--sufrace-color-dp2);
    width: 100%;
    min-height: 35px;
  }

  html,
  body {
    position: relative;
    height: 100%;
  }

  .letter-chip {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: top;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  .letter-chip:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
  }

  .main-letter {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 5px;
  }

  .successive-letters span {
    margin-right: 5px;
  }

  .letter-tile-d {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    background-color: var(--sufrace-color-dp2);
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.1);
    flex-basis: 0;
    position: relative;
    z-index: 100;
  }

  .letter-tile-d:hover ul li {
    display: flex;
    flex-direction: column;
  }


  .dropdown {
    display: flex;
    flex-direction: column;
    position: relative;
    perspective: 1000px;
    z-index: 100;
  }

  .dropdown:hover li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  li>span {
    margin: 0 auto;
  }

  .dropdown_menu {
    position: absolute;
    top: 30px;
    left: -40px;
    min-width: 300px;
    perspective: 1000px;
    z-index: -1;
  }

  .dropdown_menu li {
    display: none;

    width: 45px;
    height: 45px;
    max-width: 45px;
    max-height: 45px;
    aspect-ratio: 1/1;
    background-color: var(--sufrace-color-dp2);
    /* Example color similar to Woordle */
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.1);
    flex-basis: 0;
    border-radius: 5px;
    margin-top: 5px;

    opacity: 0;
    z-index: 10000;
  }

  .dropdown_item-1 {
    transform-origin: top center;
    animation: rotateX 300ms 60ms ease-in-out forwards;
  }

  .dropdown_item-2 {
    transform-origin: top center;
    animation: rotateX 300ms 120ms ease-in-out forwards;
  }

  .dropdown_item-3 {
    transform-origin: top center;
    animation: rotateX 300ms 180ms ease-in-out forwards;
  }

  .dropdown_item-4 {
    transform-origin: top center;
    animation: rotateX 300ms 240ms ease-in-out forwards;
  }

  .dropdown_item-5 {
    transform-origin: top center;
    animation: rotateX 300ms 300ms ease-in-out forwards;
  }

  @keyframes rotateX {
    0% {
      opacity: 0;
      transform: rotateX(-90deg);
    }

    50% {
      transform: rotateX(-20deg);
    }

    100% {
      opacity: 1;
      transform: rotateX(0deg);
    }
  }

  #optimal-guesses {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px 10px;
  }