@font-face {
    font-family: "ComicSimple";
    src: url(../fonts/comic_simple.ff9243a.ttf) format("truetype");
    font-display: swap;
}
body,html {
    font-family: "ComicSimple", Arial, sans-serif;
    background-color: rgba(81, 146, 234);
}
.centerPart {
    width: 60%;
}
.title-logo{
    margin-top: -10px;
    width: 5px;
    height: 5px;
    visibility: hidden;
}
.footer__container{
    flex-direction: column; /* 子元素竖直排列 */

}
.leftPart {
    width: 20%;
}
.contentPart{
    display: flex;
    align-items: center;
}
.section-title {
    padding-top: 20px;
    padding-bottom: 10px;
    height: 40px;
    font-size: 1.2rem;
    margin: -10px 0 20px;
    color: #fffffe;
    font-weight: bold;
    font-style: italic;
}
.section-header{
    display: flex;
}
.section {
    padding: 10px;
}
a {
    color: inherit;
    text-decoration: none
}

.footer__popular {
    background: #fafafa;
    border-top: .0625rem solid #ebebeb;
    padding: 1.25rem 0;
    color: #2e2e2e
}

.footer__popular .footer__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .625rem
}

.footer__popular span {
    font-weight: 700
}

.footer__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: .625rem;
    -moz-column-gap: .625rem;
    column-gap: .625rem;
    row-gap: .3125rem
}

.footer__list li:not(:last-child) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: .625rem;
    -moz-column-gap: .625rem;
    column-gap: .625rem
}

.footer__list li:not(:last-child)::after {
    content: "";
    height: 1rem;
    border-right: .0625rem solid #ffff
}

.footer__link {
    white-space: nowrap;
    -webkit-transition: color .2s ease 0s;
    -o-transition: color .2s ease 0s;
    transition: color .2s ease 0s
}

.footer__main {
    color: #000
}

.footer__main .footer__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 6.25rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 1.875rem;
    -moz-column-gap: 1.875rem;
    column-gap: 1.875rem;
    row-gap: .9375rem
}

.footer__main .footer__list {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}
.textbox-container {
    padding: 10px;
    margin: 10px;
    background-color: #f0f0f0;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.textbox-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.textbox-description {
    font-size: 13px;
    color: #333;
}
@media (max-width: 768px) {
    .game-item, .strategy-game-item {
        flex: 1 1 100%;
    }

    .recommended-game {
        flex-direction: column;
    }

    .recommended-game img {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .footer__link{
        font-size: 12px;
    }
    .slider-arrows {
        display: none
    }
    .slider-arrows__arrow_prev {
        display: none
    }
    .footer__main .footer__container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
    .footer__main .footer__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
    .footer__copy {
        width: 100%;
        text-align: center
    }
    .game-page__cards {
        margin-top: 1.5625rem;
        gap: .6875rem;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-grid-columns: (minmax(5.625rem, 8.125rem))[3];
        grid-template-columns: repeat(3, minmax(5.625rem, 8.125rem))
    }
    .game-page__cards .card {
        height: auto;
        width: auto;
        padding-bottom: 100%
    }
    .screen {
        display: none
    }
    .screen__body {
        display: none
    }
    .mobileblock__play-button,
    .preview-screen__button {
        height: 2.125rem;
        min-width: 5.5rem
    }
    .control {
        display: none
    }
    .details-info {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr
    }
    .details-info__image-ibg {
        display: none
    }
    .table-game {
        -ms-grid-columns: (50%)[2];
        grid-template-columns: repeat(2, 50%);
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        row-gap: 1.25rem
    }
    .games-grid__items {
        gap: .6875rem
    }
    .mobileblock {
        display: block;
        width: 90vw;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 18px;
    }
    .centerPart {
        width: 100%;
    }
    .leftPart {
        width: 0%;
    }
}