body {
    font-family: Arial, sans-serif;
    background-color: #2c1044;
    color: white;
    margin: 0;
    padding: 0;
}

.max header {
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_navigation.png");
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.max header img {
    width: 234px;
    height: auto;
}

#main_content {
}
.lunbo{

}

.max nav a {
    color: #FFFFFF;
    margin-left: 20px;
    text-decoration: none;
    font-size: 24px;
}
.max .game-categories {
    border-image: url(https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_variety.png) 0 30 0 30 fill stretch stretch;
    border-width: 30px;
    justify-content: space-around;
    margin: 10px 320px 10px 320px;
    color: #FFFFFF;
    font-size: 24px;
    display: flex;
}
.max .game-categories button {
    color: white;
    border: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    width: 220px;
    height: 54px;
    margin: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.max .game-categories button img {
    width: 40px;
    height: 40px;
}
.max .game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
    margin: 0 320px 0 320px;
}
.max .game-item {
    background-color: #800080;
    border-radius: 20px;
    overflow: hidden;
}
.max .game-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
.max .game-item img:hover {
    width: 120%;
    height: auto;
}
.max .game-item:hover img {
    transform: scale(1.1);
}

#description {
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_about_bj.jpg");
    margin-top: 50px;
    height: 530px;
}

#description_In {
    display: flex;
    justify-content: space-between;
    margin: 0 320px 0 320px;
}

#description h2 {
    margin-bottom: 25px;
}

#description .left {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 60%;
}

#description .left .p-item{
    display: flex;
    margin-left: 48px;
    margin-top: 10px;
}
#description .left .p-item img{
    width: 8px;
    height: 8px;
    margin: 5px;
}
#description .left .p-item p{
    width: 744px;
    height: 60px;
    font-size: 20px;
    margin: 0;
}

#description .right {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 30%;
}

#dragon1 {
    float: left;
    margin: 20px 120px 0 320px;
    height: 476px;
    width: 330px;
}

#contactData {
    display: flex;
    justify-content: space-between;
    margin: 20px 320px 0 320px;
}

#contactData h2 {
    color: #FFFFFF;
    font-size: 30px;
    margin-bottom: 10px;
    padding-left: 20px;
}

#contactData .left {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 50%;
}

#contactData .left img{
    width: 520px;
    height: auto;
}

#contactData .left p{
    margin-left: 130px;
    font-size: 28px;
}
#contactData .right {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 50%;
}

#contactData form {
    float: right;
    margin: 0 120px 0 320px;
}
#contactData form h2 {
    margin-left: 94px;
}
#contactData form input {
    width: 441px;
    height: 54px;
    padding: 10px;
    font-size: 24px;
    box-sizing: border-box;
    margin-top: 10px;
    color: black;
}
#contactData form textarea {
    width: 441px;
    height: 144px;
    padding: 10px;
    font-size: 24px;
    margin-top: 10px;
    box-sizing: border-box;
    color: black;
}

#contactData form button {
    background: url(https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_bottom.png);
    color: white;
    border: none;
    padding: 10px 10px;
    margin-left: 95px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 20px;
    width: 254px;
    height: 40px;
}

#footer {
    clear: both;
    background-color: black;
    color: white;
    font-size: 20px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.max .modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.max .modal-content {
    font-size: 48px;
    color: #FFFFFF;
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_window.png");
    background-size: cover;
    margin: 5% auto;
    border: 1px solid #888;
    width: 1263px;
    height: 684px;
    position: relative;
}

.max .close {
    position: fixed;
    padding-left: 1219px;
    font-size: 28px;
    font-weight: bold;
    z-index: 1002;
}

.max .close img {
    width: 40px;
    height: 40px;
}
.max .close:hover,
.max .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.max .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1000;
}


.min header {
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_navigation.png");
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.min header .logo {
    margin-left: 100px;
}
.min header .logo img {
    width: 210px;
    height: auto;
}
.min header .menu {
    margin-right: 20px;
}
.min header .menu img{
    width: 31px;
    height: auto;
}

.min_lunbo{
    margin-top: 86px;
}


.min .min_nav_modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.min .min_nav_content {
    font-size: 48px;
    color: #FFFFFF;
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_navigation.png");
    background-size: cover;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

.min .min_nav_item {
    margin-top: 50px;
    font-size: 20px;
}

.min .min_nav_content .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.min .min_nav_content .close {
    position: absolute;
    font-size: 28px;
    right: 24px;
    top: 24px;
    font-weight: bold;
    z-index: 1002;
}

.min .min_nav_content .close:hover,
.min .min_nav_content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.min .min_ModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1000;
}

.min .game-categories {
    border-image: url(https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_variety.png) 0 30 0 30 fill stretch stretch;
    border-width: 15px;
    justify-content: space-around;
    margin: 10px 16px 10px 16px;
    color: #FFFFFF;
    font-size: 12px;
    display: flex;
}

.min .game-categories button {
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 220px;
    height: 35px;
    margin: 7px 0 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.min .game-categories button img {
    width: 16px;
    height: 16px;
}
.min .game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(114px, 1fr));
    grid-gap: 10px;
    margin: 0 16px 0 16px;
}
.min .game-item {
    background-color: #800080;
    border-radius: 10px;
    overflow: hidden;
}
.min .game-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
.min .game-item img:hover {
    width: 120%;
    height: auto;
}
.min .game-item:hover img {
    transform: scale(1.1);
}


#min_description {
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_about_bj.jpg");
    margin-top: 30px;
    height: 498px;
}

#min_description h3 {
    padding-top: 5px;
    font-size: 24px;
    text-align: center;
}


#min_description .p-item{
    display: flex;
    margin: 5px 16px 0 16px;
}
#min_description .p-item img{
    width: 8px;
    height: 8px;
    margin: 5px;
}
#min_description .p-item p{
    width: 100%;
    height: 55px;
    font-size: 12px;
    margin: 0;
}

#min_description .img-item{
    display: flex;
    justify-content: center;
    align-items: center;
}

#min_description .img-item img {
    width: 135px;
    height: auto;
}


#min_contactData {
    margin: 5px 16px 0 16px;
    margin-bottom: 30px;
}

#min_contactData h2 {
    color: #FFFFFF;
    font-size: 24px;
    padding-top: 5px;
    text-align: center;
}
#min_contactData form {
    text-align: center;
}
#min_contactData form input {
    width: 248px;
    height: 38px;
    padding: 10px;
    font-size: 12px;
    box-sizing: border-box;
    margin-top: 10px;
    color: black;
}
#min_contactData form textarea {
    width: 248px;
    height: 122px;
    padding: 10px;
    font-size: 12px;
    margin-top: 10px;
    box-sizing: border-box;
    color: black;
}

#min_contactData form button {
    background: url(https://d1801i3w31q7ec.cloudfront.net/titangame/images/shu/titan_variety_bottom.png);
    background-size: cover;
    color: white;
    border: none;
    padding: 1px 1px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 208px;
    height: 56px;
}

#min_contactData .img_item {
    display: flex;
    justify-content: center;
    align-items: center;
}

#min_contactData .img_item img {
    width: 246px;
    height: auto;
}

#min_contactData .p_item p {
    text-align: center;
    font-size: 12px;
    padding-top: 1px;
}

#min_footer {
    clear: both;
    background-color: black;
    color: white;
    font-size: 12px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.min .open_modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.min .open_modal .modal-content {
    font-size: 16px;
    color: #FFFFFF;
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_window.png");
    background-size: cover;
    margin: 1% auto;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    position: relative;
}

.min .open_modal .close {
    position: fixed;
    padding-top: 1%;
    padding-left: 82%;
    font-size: 16px;
    font-weight: bold;
    z-index: 1002;
}

.min .open_modal .close img{
    width: 40px;
    height: 40px;
}

.min .open_modal .close:hover,
.min .open_modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.min .open_modal_s {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.min .open_modal_s .modal-content_s {
    font-size: 16px;
    color: #FFFFFF;
    background: url("https://d1801i3w31q7ec.cloudfront.net/titangame/images/titan_window.png");
    background-size: cover;
    border: 1px solid #888;
    position: absolute;
}

.min .open_modal_s .close {
    position: fixed;
    padding-top: 1%;
    padding-left: 20%;
    font-size: 16px;
    font-weight: bold;
    z-index: 1002;
}

.min .open_modal_s .close img{
    width: 40px;
    height: 40px;
}

.min .open_modal_s .close:hover,
.min .open_modal_s .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}