.x-panel-container {
    width: 100%;
    /* Or a specific fixed width for the viewport */
    /* height: 300px; */
    /* Example height */
    overflow: hidden;
    /* Hides panels outside the view */
    position: relative;
    /* border: 1px solid #ccc; */
}

.x-panel-wrapper {
    display: flex;
    height: 100%;
    /* This transition makes the sliding smooth */
    transition: transform 0.5s ease-in-out;
    padding-top: 15px;
}

.x-panel {
    /* Each panel takes 1/3 of the container width to show 3 at a time */
    flex-basis: 33.33%;
    flex-shrink: 0;
    /* Prevents shrinking as more panels are added */
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-size: 1.2em;
}

#x-menu-go-next {
    margin-left: auto;
    float: right;
}

#x-menu-go-back {
    margin-right: auto;
    float: left;
}

#x-swipe-items-msg {
    text-align: center;
    font-size: 45px;
    margin: 0 auto;
    padding-top: 10px;
}

.x-menu-top {
    list-style: none;
}

.x-header-menu {
    position: relative;
    z-index: 5;
    margin: 0 auto -10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 0;
    text-align: center
}

.x-header-menu>ul {
    display: block !important;
    font-size: 0
}

.x-header-menu>ul.mobile {
    display: none !important
}

.x-header-menu>ul>li {
    display: inline-block;
    border-left: 1px solid #ddd;
    padding: 0 15px;
    vertical-align: middle
}

.x-header-menu>ul>li:first-child {
    border-left: 0
}

.x-header-menu>ul>li>a {
    display: block;
    padding: 5px 10px;
    line-height: 20px;
    font-size: 17px;
    color: #555;
    cursor: pointer
}

.x-header-menu>ul>li>a:hover,
.x-header-menu>ul>li>a:focus {
    color: #404040
}

.x-container {
    padding-right: 35px;
    padding-left: 25px;
    margin-right: auto;
    margin-left: auto;
}

.navbar-title-item {
    max-height: 28px;
    margin: 10px 10px auto 10px;
    min-width: 120px;
    display: inline-block;
}

input.navbar-title-item {
    background-color: white;
}

#show_groups {
    margin-bottom: 10px;
}

.group-selector {
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 8px;
    color: white;
    padding: 5px 10px;
    display: inline-block;
}

.card {
    display: inline-table;
    /* border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 8px; */
    overflow: hidden;
    max-width: 400px;
    min-width: 345px;
    padding: 5px;
}

.card img {
    width: 100%;
    object-fit: cover;
}

.card-container {
    width: 100vw;
    padding: 0 5px 0 5px;
    min-height: 650px;
    overflow-x: hidden;
    float: left;
}

.card-content {
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0px !important;
    text-align: center;
}

.card-summary {
    font-size: 0.9em;
    color: #555;
}

.card-hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* Optional: for a smooth transition */
}

.card-back,
.card-next {
    display: none;
}

.card-visible {
    opacity: 1;
}

#card-the-end {
    background-color: #f6f6f6;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    max-width: 400px;
    min-width: 350px;
    border: 1px solid #444;
    padding: 5px;
    margin: 15px;
    background-image: url('/images/AceOfSpades.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
}

.span-holder {
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow: hidden;
    padding: 6px !important;
    float: left;
    width: 35px !important;
    height: 35px !important;
    text-align: center;
}

#scroll_more,
.scroll_more {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: white;
    text-align: center;
    padding: 10px 0;
    height: 35px;
}

.go-wrapper {
    display: inline-block;
    padding: 10px;
    border: 2px solid rgba(128, 128, 128);
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
    text-decoration: none;
    color: inherit;
    line-height: 1;
    margin-top: -400px;
    z-index: 900;
    position: relative;
}

.go-wrapper:hover {
    border-color: rgba(0, 0, 0, 0.8);
    background-color: rgba(128, 128, 128);
    color:white;
    cursor: pointer;
}