@font-face {
    font-family: GameFont; /* 自定义字体的名称 */
    src: url('../otherThing/方正像素12.TTF') format('truetype'); /* 字体文件的路径和格式 */
}

body {
}
body{
    height: 100%;
    padding: 0;
    margin: 0;
    background-image: url("../img/游戏页面背景.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    font-family: GameFont, Arial, sans-serif; /* 应用自定义字体 */
}
.menuBar{
    width: 1100px;
    height: 40px;
    margin: 30px auto;     /*用这个就不要用absolute position*/
    text-align: center;
    background-color: rgba(207, 228, 251, 0.6);
    border-radius: 20px;
}
.menuBlock{
    display: inline-block;
    width: 10%;         /*盒子用px，内容用%就不会修改行高导致内容跑*/
    margin: 0 5%;
    line-height: 40px;
    text-decoration: none;
    transition: border-color 0.6s ease-in;
    cursor: pointer;

    font-size: 21px;
    color: #999999;
}
.menuBlock:hover{
    border-bottom: 3px solid #7673bd;
}
.textTitle{
    width: 1100px;      /* 不设置width就会随着屏幕放大缩小而移动 */
    margin: 7% auto;
    font-size: 90px;
    color: white;
    text-shadow: 6px 6px 12px #6e4bda; /* 设置文本的阴影效果，颜色为黄色 */
}
.btnGame{
    display: block;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    height: 90px;
    border-radius: 45px;

    border: none;
    font-size: 29px;
    font-weight: bolder;
    color: white;
    font-family: GameFont, Arial, sans-serif; /* 应用自定义字体 */
    background-image: url("../img/游戏页面的按钮背景.png");
    background-repeat: no-repeat;
    background-size: cover;
    letter-spacing: 2px;
    text-shadow: 0 0 12px #38b7c7;
}
.startGame{
    margin-top: 12%;
}




.achievementContent{
    display: none;      /* 默认 */
    width: 78%;
    height: 75%;
    margin: 1% 11%;
    background-image: url("../img/GameAchievementBackground.png");
    background-size: contain;
    position: fixed;
    border-radius: 3%;
    opacity: 0;
    transition: opacity 0.5s ease; /* 过渡时间为0.5秒 */
}


.headRow{
    display: inline-block;
    width: 100%;
    height: 12%;
    background-color: #e0bc70;
}
.headRow .allAchi{
    display: inline-block;
    width: 15%;
    height: 9%;
    margin: 0.75% 0;
    position: absolute;
    left: 3%;
    background-color: #bfa05d;
    border-radius: 49px;
    cursor: pointer;
}
.hat{
    display: inline-block;
    width: 21%;
    height: 100%;
    background-image: url("../img/GameHat.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
    top: 6%;
}
.textAchi1{
    display: inline-block;
    position: absolute;
    left: 36%;
    top: 26%;
    font-size: 21px;
    color: white;
    font-weight: bolder;
}
.headRow .yetAchi{
    display: inline-block;
    width: 12%;
    height: 9%;
    margin: 0.75% 0;
    position: absolute;
    left: 21%;
    background-color: #eecfa9;
    border-radius: 49px;
    cursor: pointer;
}
.textAchi2{
    display: inline-block;
    position: absolute;
    left: 29%;
    top: 26%;
    font-size: 21px;
    color: white;
    font-weight: bolder;
}
.headRow .notAchi{
    display: inline-block;
    width: 12%;
    height: 9%;
    margin: 0.75% 0;
    position: absolute;
    left: 38%;
    background-color: #eecfa9;
    cursor: pointer;
    border-radius: 49px;
}
.textAchi3{
    display: inline-block;
    position: absolute;
    left: 29%;
    top: 26%;
    font-size: 21px;
    color: white;
    font-weight: bolder;
}
.headRow .crossExit{
    color: white;
    font-size: 300%;
    position: absolute;
    top: 2%;
    right: 3%;
    cursor: pointer;
}

.allContentBox{

}
.allBox1{
    position: absolute;
    top: 18%;
    left: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#e9c394, #f4e3cd);
    border-radius: 25px;
}
.allFig1{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameAll1.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.allText1{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 49px;
    top: 32%;
    left: 45%;
    font-weight: bolder;
    color: white;
    text-shadow: 5px 3px #deac7e;
}
.allBox2{
    position: absolute;
    top: 18%;
    right: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#e9c394, #f4e3cd);
    border-radius: 25px;
}
.allFig2{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameAll2.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.allText2{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 49px;
    top: 32%;
    left: 45%;
    font-weight: bolder;
    color: white;
    text-shadow: 5px 3px #deac7e;
}
.allBox3{
    position: absolute;
    top: 60%;
    left: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#e9c394, #f4e3cd);
    border-radius: 25px;
}
.allFig3{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameAll3.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.allText3{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 39px;
    top: 32%;
    left: 45%;
    font-weight: bolder;
    color: white;
    text-shadow: 5px 3px #deac7e;
}
.allBox4{
    position: absolute;
    top: 60%;
    right: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#e9c394, #f4e3cd);
    border-radius: 25px;
}
.allFig4{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameAll4.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.allText4{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 29px;
    top: 36%;
    left: 45%;
    font-weight: bolder;
    color: white;
    text-shadow: 5px 3px #deac7e;
}

.yetContentBox{
    display: none;

}

.notContentBox{
    display: none;

}
.notBox1{
    position: absolute;
    top: 18%;
    left: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#d9d9d9, white, #d9d9d9);
    border-radius: 25px;
}
.notFig1{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameNotyet1.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.notText1{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 49px;
    top: 32%;
    left: 45%;
    font-weight: bolder;
    color: white; /* 文本颜色 */
    -webkit-text-stroke: 2px #cecccc;
}

.notBox2{
    position: absolute;
    top: 18%;
    right: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#d9d9d9, white, #d9d9d9);
    border-radius: 25px;
}
.notFig2{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameNotyet2.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.notText2{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 33px;
    top: 36%;
    left: 45%;
    font-weight: bolder;
    color: white; /* 文本颜色 */
    -webkit-text-stroke: 2px #cecccc;
}
.notBox3{
    position: absolute;
    top: 60%;
    left: 6%;
    width: 38%;
    height: 32%;
    background: linear-gradient(#d9d9d9, white, #d9d9d9);
    border-radius: 25px;
}
.notFig3{
    display: inline-block;
    width: 49%;
    height: 90%;
    background-image: url("../img/GameNotyet3.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
}
.notText3{
    display: inline-block;
    width: 49%;
    position: absolute;
    font-size: 39px;
    top: 29%;
    left: 45%;
    font-weight: bolder;
    color: white; /* 文本颜色 */
    -webkit-text-stroke: 2px #cecccc;
}