.recent-container {
    --cards: 4;
    --cardHeight: 200px;
    --cardTopPadding: 10em;
    --cardMargin: 20px;
    --cardWidth: calc(100% - 20px);

    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    align-items: stretch;
    padding: 10px 10px 10px 10px;
    text-align: center;
    text-wrap: wrap;
    border-radius: 15px;
    color: var(--maincolor);
    background-color: var(--backgroundcolor);
    box-shadow: 2px 2px  var(--accentcolor);
    scroll-behavior: smooth;
    overflow: hidden;
}

.recent-container .recent-container-heading {
    display: flex;
    flex-direction: row;
    flex-flow: row;
    justify-content: space-between;
    padding-right: 20px;
}

.recent-container .recent-container-arrow-container {
    display: flex;
    flex-direction: row;
    flex-flow: row;
    /* gap: 5px; */

}

.recent-container .recent-arrow {
    height: 10px;
    width: 10px;
    margin: 5px;
    border: 1px solid var(--maincolor);
    align-items: center;
    text-align: center;
    line-height: 12px;

    user-select: none; /* Disable text selection */
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none; /* For Firefox */
    -ms-user-select: none; /* For IE10+/Edge */
    cursor: pointer; /* Change cursor to pointer on hover */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    /* user-drag: none; */
}

.recent-container .recent-arrow:hover {
    cursor: pointer;
    filter: brightness(110%);
}



.recent-container .recent-card-container {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    height: 220px;
    padding: 0px 12px;
    box-sizing: border-box;
    list-style: none;
    gap: var(--cardMargin);
    scroll-snap-type: x mandatory;
    margin: 0;
    padding-right: calc(100% * var(--cardWidth)/2);
    padding-left: calc(100% * var(--cardWidth)/2);
}

.recent-container-title {
    font-size: 26px !important;
    /* line-height: 125%; */
    padding-left: 15px;
    padding-top: 10px;
}

.recent-container .recent-card-container::-webkit-scrollbar {
    background-color: var(--foregroundcolor);
    border-radius: 10px;
}

.recent-container .recent-card-container::-webkit-scrollbar-thumb  {
    background-color: var(--backgroundcolor);
    border-radius: 10px;
    border: 1px solid var(--maincolor);
}

.recent-container .recent-card-container::-webkit-scrollbar-track  {
    background-color: var(--foregroundcolor);
    border-radius: 10px;
    border: 1px solid var(--maincolor);
}
