*,
::before,
::after {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box
}

body,
html {
    padding: 0;
    margin: 0;
    color: #002b50;
    font-family: arial, sans-serif
}

body {
    background: #29053a
}

img {
    max-width: 100%;
    height: auto;
}

header {
    width: 100%;
    height: auto;
    background: #FFF;
    padding: 5px 0;
}

.sub-header {
    width: 100%;
    height: 100%;
}

header a {
    text-decoration: none;
    color: #370a9b;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

header a h1 {
    font-size: 20px;
    line-height: normal;
    margin: 0;
    font-weight: 900;
}

footer {
    width: 100%;
    height: 100%;
    background: #FFF;
    text-align: center;
    clear: both;
    padding: 20px 15px;
}

footer .sub-footer p {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: normal;
    margin: 0;
    padding: 0;
    padding-bottom: 10px;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 30px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-menu a {
    text-decoration: none;
    color: #370a9b;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    text-align: center;
    text-transform: capitalize;
}

.main_contain {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.game-box {
    overflow: hidden;
    text-align: center;
    position: relative;
    border-radius: 10px;
    margin: 5px 5px 10px 5px;
    aspect-ratio: 1 / 1;
    float: left;
}

.game-box a .game-title {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto;
    color: #035193;
    font-weight: 700;
    background-color: #fc0;
    padding: 5px 0 5px 0;
    font-size: 14px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    line-height: 22px;
    transition: all 0.3s linear;
    transform: translateY(100%);
    margin: 0;
}

.game-box a:hover .game-title {
    transform: translateY(0);
    transition: all 0.3s linear;
    bottom: 0;
}

.game-box a {
    color: #f5f500;
    text-decoration: none;
    transition: all 0.3s linear;
}

.game-box a img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border: #fff 2px solid;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: all 0.3s linear;
}

.game-box a:hover img {
    border: #fc0 2px solid;
}

.home_page_content {
    clear: both;
    max-width: 100%;
    height: auto;
    padding: 40px 15px 20px;
}

.container p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #FFFFFF;
    padding: 0;
    margin-bottom: 15px;
}

.single-games-page{
    max-width: 100%;
    width: 100%;
    padding: 15px 5px;
    margin: 0 auto;
}

.main_code_iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.GameDiv_OpareateDiv {
    width: 100%;
    padding: 5px 10px 5px 10px;
    margin-bottom: 5px;
    background-color: #0050A4;
    color: #fff;
    height: auto;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.GameDiv_OpareateDiv h3 {
    margin: 0;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
}

.GameOpareateDiv {
    margin: 0;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: fit-content;
}


.GameOpareateDiv img {
    cursor: pointer;
}

.iframe_code {
    margin-bottom: 0px;
    background-color: #0050a4;
    border-radius: 10px;
    padding: 5px;
    gap: 10px 0px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 75.25%;
}

.iframe_code iframe {
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .footer-menu {
        gap: 5px 20px;
    }
}


@media (max-width:375px) {
    .games {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}