.custom-card-footer {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.games-custom-card {
    cursor: pointer;
}

.games-custom-card-body {
    display: none;
}

.games-custom-card:hover .card-img {
    opacity: 0.7;
}

.games-custom-card:hover .custom-card-footer {
    opacity: 0.7;
}


.custom-games-btn1 {
    background: var(--theme-yellow);
    border-radius: 8px;
    opacity: 1;
    padding: 8px 10px;
    color: var(--theme-white);
    font-size: 13px;
    line-height: 18px;
}

.games-card-new-game-img {
    position: absolute;
    top: 0;
    left: 0;
}

.custom-games-btn2 {
    background: var(--theme-secondary-color);
    border-radius: 8px;
    padding: 8px 10px;
    opacity: 1;
    color: var(--theme-white);
    font-size: 13px;
    line-height: 18px;
}

.games-custom-card:hover .games-custom-card-body {
    opacity: 1;
    display: block;
}

.more-games-custom-btn {
    background: var(--theme-secondary-color);
    border-radius: 8px;
    padding: 10px 150px;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: var(--theme-yellow);
    border: 1px solid var(--theme-yellow);
}

.more-games-custom-btn:hover,
.more-games-custom-btn:focus,
.more-games-custom-btn:active {
    background: var(--theme-secondary-color);
    color: var(--theme-yellow);
    border: 1px solid var(--theme-yellow);
    opacity: 0.9;
}

.games-card-name-text {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: var(--theme-white);
}

.game-container {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    background: var(--theme-secondary-color);
    min-height: 400px;
    border-radius: 10px;
    padding: 15px;

}

.game-container .game-content {
    width: 100%;
    background-color: var(--theme-main-content);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 10 / 7;
    position: relative;
}

.game-container .game-content .game-image {
    width: 100%;
    object-fit: cover;
    display: flex;
    height: 100%;
}

.game-overlay {
    opacity: 0;
    transition: all 0.2s ease-in 0s;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.game-overlay-content {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    color: var(--theme-white);
    position: absolute;
    inset: 0px;
}

.game-overlay-wrap {
    display: flex;
    flex-flow: column wrap;
    max-width: 200px;
    gap: 8px;
}

.game-overlay-play-content {
    border: 0px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    font-family: Rubik;
    background: var(--theme-yellow);
    transition: background 0.3s ease 0s, color 0.3s ease 0s;
    color: var(--theme-primary-color);
    min-height: 40px;
    padding: 10px 24px;
    flex: 1 1 auto;
}

.gagame-overlay-button-span {
    position: relative;
}

.game-overlay-button-text {
    visibility: visible;
    opacity: 1;
}

.game-overlay-demo-content {
    border: 0px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    font-family: Rubik;
    transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
    background-color: var(--theme-primary-color);
    color: var(--theme-white);
    min-height: 40px;
    padding: 10px 24px;
    flex: 1 1 auto;
}

.game-overlay-demo-content:hover {
    color: var(--theme-yellow);
}

.game-overlay-play-content:hover {
    color: var(--theme-secondary-color);
}


span.demo {
    background: var(--theme-secondary-color);
    min-height: 20px;
    width: 60%;
    border-radius: 10px;

}

.skeleton.is-loading {
    min-height: 150px;
    background: var(--theme-secondary-color);
    border-radius: 10px;
    padding: 30px;
}

.skeleton.is-loading p {
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--theme-primary-color);
}

p.game_p {
    min-height: 150px !important;
}

.games_header_div {
    display: flex;
    gap: 16px;
    flex-direction: column;
    margin-bottom: 32px;
}

.games_header_top {
    display: flex;
    gap: 16px;
    flex-direction: row;
}

.provider-dropdown {
    flex: 1 1 0%;
}

.provider-selector {
    position: relative;
    box-sizing: border-box;
}

#provider-live-region,
span.a11yText {
    z-index: 9999;
    border: 0px;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    position: absolute;
    overflow: hidden;
    padding: 0px;
    white-space: nowrap;
}

.control-container {
    -webkit-box-align: center;
    align-items: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    min-height: 40px;
    position: relative;
    transition: all 100ms ease 0s;
    background-color: transparent;
    border-color: var(--theme-white);
    border-radius: 32px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
    outline: 0px !important;
}

.input-container {
    -webkit-box-align: center;
    align-items: center;
    display: grid;
    flex: 1 1 0%;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    padding: 2px 8px 2px 0px;
    box-sizing: border-box;
}

#provider-placeholder {
    grid-area: 1 / 1 / 2 / 3;
    color: var(--theme-white);
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1;
    margin: 0px;
}

.input {
    visibility: visible;
    flex: 1 1 auto;
    display: inline-grid;
    grid-area: 1 / 1 / 2 / 3;
    grid-template-columns: 0px min-content;
    margin: 0px;
    padding-bottom: 2px;
    padding-top: 2px;
    color: rgb(208, 208, 208);
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1;
}

.input input {
    color: inherit;
    background: 0px center;
    opacity: 1;
    width: 100%;
    grid-area: 1 / 2;
    font: inherit;
    min-width: 2px;
    border: 0px;
    margin: 0px;
    outline: 0px;
    padding: 0px;
}

.input input::after {
    content: attr(data-value) " ";
    visibility: hidden;
    white-space: pre;
    grid-area: 1 / 2;
    font: inherit;
    min-width: 2px;
    border: 0px;
    margin: 0px;
    outline: 0px;
    padding: 0px;
}

.indicator-container {
    -webkit-box-align: center;
    align-items: center;
    align-self: stretch;
    display: flex;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    transition: color 150ms ease 0s;
    color: rgb(80, 80, 80);
    padding: 0px;
    box-sizing: border-box;

}

.indicator-container i.arrow-icon {
    border: none;
    background: none;
    backface-visibility: hidden;
    color: inherit;
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    width: auto;
    font-size: inherit;
    transition: color 0.3s ease 0s;
}

.indicator-container i.arrow-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: bottom;
    color: var(--theme-white) !important;
}

.game-dropdown {
    flex: 1 1 0%;
}

#game-dropdown {
    position: relative;
    box-sizing: border-box;
}

#game-live-region {
    z-index: 9999;
    border: 0px;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    position: absolute;
    overflow: hidden;
    padding: 0px;
    white-space: nowrap;
}

#game-placeholder {
    grid-area: 1 / 1 / 2 / 3;
    color: var(--theme-white);
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1;
    margin: 0px;
}


#game-search {
    width: 100%;
    border: 1px solid var(--theme-white);
    outline: none;
    border-radius: 32px;
    background-color: transparent;
    color: var(--theme-white);
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    font-family: inherit;
    transition: color 0.3s ease 0s, borderColor 0.3s ease 0s;
    height: 40px;
    padding: 12px 16px;
}

#game-searchForm {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

i.search-icon {
    color: rgb(255, 255, 255);
    cursor: pointer;
}

i.search-icon svg {
    vertical-align: bottom;
    color: currentcolor;
}




#game-searchForm input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 1em;
    width: 1em;
    border-radius: 50em;
    background: url(../../images/games/times.svg) no-repeat 50% 50%;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
    margin-right: 30px;
}

#game-searchForm input[type="search"]:focus::-webkit-search-cancel-button {
    opacity: .3;
    pointer-events: all;
}

#game-searchForm input[type="search"]::-webkit-search-cancel-button {
    filter: invert(1);
}

.close_button {
    color: var(--theme-white);
    font-size: 24px;
}

.canvas_games {

    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
}

.category_list {
    display: flex;
    flex-direction: column;
}

.category_list_item {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    color: var(--theme-white);
    min-height: 40px;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px 16px;
    transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
    background-color: var(--theme-primary-color);
    -webkit-box-pack: start;
    justify-content: start;
    width: 100%;
    margin-bottom: 8px;
    height: auto;
}


.category_list_item input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.category_list_item label {
    position: relative;
    cursor: pointer;
    width: 100%;
    color: var(--theme-yellow);
}

.category_list_item input[type="checkbox"]+label+i {
    opacity: 0;
    width: 20px;
    height: 20px;
    padding: 5px;
    background: var(--theme-yellow);
    border-radius: 10px;
    color: var(--theme-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category_list_item input[type="checkbox"]:checked+label+i {
    opacity: 1;
}

.category_list_item input[type="checkbox"]:checked+label {
    color: var(--theme-yellow);
    font-weight: 600;
}

.canvas_footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    padding: 24px 32px;
    background-color: var(--theme-secondary-color);
    width: 100%;
    box-shadow: rgba(18, 18, 18, 0.6) 0px -8px 16px 0px;

}

button.canvas_footer_button {
    border: 0px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    background: var(--theme-yellow);
    transition: background 0.3s ease 0s, color 0.3s ease 0s;
    color: var(--theme-primary-color);
    min-height: 40px;
    padding: 10px 24px;
    width: 100%;
}

.provider_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.provider_content {
    margin-bottom: 8px;
    margin-right: 8px;
    height: auto;
}

.provider_item {
    border-radius: 8px;
    background-color: var(--theme-white);
    border: 1px solid transparent;
    transition: border-color 0.3s ease 0s, background-color 0.3s ease 0s;
    display: flex;
    cursor: pointer;
    padding: 8px 16px;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden;
}

img.provider_logo {
    height: 28px;
    width: auto;
    max-width: 100%;
}




.provider_content input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.provider_content label {
    position: relative;
    cursor: pointer;
    width: 100%;
}

.provider_content input[type="checkbox"]:checked+label {
    border: 3px solid var(--theme-yellow);
}

.provider_content input[type="checkbox"]:checked+label::after {
    content: "\2714";
    font-family: Arial, sans-serif;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    color: var(--theme-yellow);
    display: flex;
    align-items: center;
    background: var(--theme-primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50px;
    justify-content: center;
}

.provider_content input[type="checkbox"]:checked+label::before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--theme-yellow);
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.errorImageContent {
    display: none;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: 100%;
    background: var(--theme-secondary-color);
    padding: 10px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}

.GameName {
    font-size: 16px;
    color: var(--theme-white);
}

.not-found {
    padding: 30px;
    min-height: 200px;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 50%;
    border: 3px dashed var(--theme-yellow);
    position: absolute;
    font-weight: 600;
    font-size: 24px;
    left: 25%;
    color: var(--theme-yellow);
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.filter-div {
    background: var(--theme-secondary-color);
    padding: 10px;
    border-radius: 10px;
}

h5.filter-title-text {
    color: var(--theme-yellow);
    padding: 10px;
}

form#canvas_games_form {
    display: grid;
    gap: 10px;
}

#provider_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.GameContentMain {
    border: 1px solid var(--theme-yellow);
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(0px);
    height: min-content;
}

.game-container .game-content .game-image {
    object-fit: fill !important;
    margin: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
}

.GameNamesProvider {
    padding: 10px;
}

.GameNameProv {
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-white);
}

.GameProvider {
    font-size: 12px;
    color: var(--theme-yellow);
}