:root {
    --yellow-dark: #F99312;
    --yellow-bg: #FCAA45;
    --yellow-font: #fec501;
    --common-font-color: white;
    --body-bg: #0073dd;
    --header-bg : #fc0;
    --dark-bg : #67d5ff;
}

*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

a {
    text-decoration: none;
    color : var(--common-font-color);
}

ul,li {
    list-style: none;
}

body {
    background-color: var(--body-bg);
    color: var(--common-font-color);
    font-size: 12px;
}

img {
    vertical-align: middle;
}

.flex {
    display: flex;
}

.header {
    background: var(--header-bg);
    height: 50px;
    width: 100%;
    display: flex;
}

.header a {
    display: inline-block;
}

.header .logo {
    margin-left: 50px;
    width: 145px;
}

.header .nav-link {
    height: 50px;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    line-height: 50px;
    padding: 0 8px;
    margin-left: 10px;
}

.header .nav-link:hover {
    background: var(--common-font-color);
    color : #2bafed;
}

.game-list {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(144px,1fr));
    padding: .5rem;
}

.game-item {
    margin: .4rem;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid #fff;
}

.game-item :hover {
    border-color: var(--header-bg);
}

.game-item img {
    width: 100%;
    height: 100%;
}

.game-item .title {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
    background: rgba(7,28,57,0.9);
    padding: .5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--yellow-font);
    text-shadow: 1px 1px 2px #000;
    transition: all .1s ease-in-out;
    visibility: hidden;
    opacity: .5
}

.game-item:hover .title {
    opacity: 1;
    visibility: visible
}

.footer {

}



/**** detail ****/

.bg {
    background: var(--dark-bg);
}
.detail {
    overflow: hidden;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    color: white;
}

.detail .game-info-left {
    height: 630px;
    width: 702px;
}

.detail .game-info-left  .game-info-column .box-das {
    width: 336px;
    height: 310px;
    margin-left: 10px;
}

.detail .game-info-left .game-info-column {
    display: flex;
}

.detail .game-info-left .game-info-column .game-desc, .detail .game-info-left .game-info-column .game-pic{

    padding: 0 10px;
    width: 336px;
    height: 300px;
    margin-left: 10px;
}

.game-pic {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.game-pic .play-text {
    font-size: 28px;
    font-weight: bold;
}
.game-pic img {
    width:280px;
    height: 250px;
}
.detail .game-info-right {
    height: 630px;
    width: 300px;
    margin-left: 10px;
}

.da-tips {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.mt-10 {
    margin-top: 10px;
}

.ml-10 {
    margin-left: 10px;
}

.relate-game {
    max-width: 1024px;
    margin: 20px auto;
    background: var(--dark-bg);
}


a.btn-play {
    display: block;
    height: 45px;
    border-radius: 0.3rem;
    background-color: #009cff;
    text-align: center;
    line-height: 45px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none !important;

    width: 200px;
}

a.btn-play:hover {
    background-color: #57c511;
}

.game-content-view {
    height: 168px;
    overflow: auto;
    margin: 10px;
}

.game-desc .title {
    margin-left: 10px;
}

.game-tag {
    font-size: 14px;
}

.game-desc-text {
    margin-top:10px;
}

/****play*****/
.play-box {
    min-width: 1220px;
    max-width: 1640px;
    margin:10px auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.left-da,.right-da {
    height: 630px;
}

.left-da {
    width:160px;
    margin-left: 10px;
    margin-right: 10px;
    margin-right: 100px;
}
.right-da {
    width: 300px;
    margin-right: 10px;
    margin-left: 100px;
}

.game-container {
    width: 680px;
    height: 650px;
    /*float:left;*/
    display: flex;
    flex-direction: column;
}

.game-frame{
    width: 100%;
    height: 600px;
}

.game-bottom {
    width: 100%;
    height: 50px;
}

@media screen and (max-width: 1359px) {
    .right-da {
        width: 160px;
    }
}

@media screen and (min-width: 1640px) {
    .left-da {
        width: 300px;
    }
}

@media screen and (min-width: 1440px) {
    .game-container {
        width: 760px;
    }
}

@media screen and (min-width: 1500px) {
    .game-container {
        width: 820px;
    }
}

.top-da {
    width:970px;
    height: 90px;
    margin:20px auto 50px auto;
}

.desc-container {
    width: 1024px;
    margin: 20px auto;
    background: var(--dark-bg);
    padding: 20px;
}
.game-bottom {
    display: flex;

}
.game-bottom .game-info {
    margin-left: 10px;
    line-height: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--common-font-color);
}

/***footer***/
.footer {
    background: white;
    padding: 20px;

}
.footer .site-description {
    color: #000;
    padding: 0px 30px;
    font-size: 14px;
}
.footer .site-meta {
    margin-top: 20px;
    color: #a9a9a9;
    text-align: center;
}
.footer .site-meta span{
    margin-left: 10px;
}

.footer .site-meta a{
    color: #a9a9a9;
    text-align: center;
}