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

body{
    min-width: 600px;
}
.bodyBox{
    text-align: center;
}
/*导航栏*/
*{
    margin: 0;
    padding: 0;
}
.headlan{
    display: inline-flex;
    width: 1300px;      /* 1300 = 900 + 200 + 200 chosenpage自动实现居中*/
    height: 52px;
    line-height: 52px;
    background-color: white;

    /*position: fixed;*/
    transition: background-color 0.3s; /* 添加背景颜色过渡效果 */
    z-index: 3;     /*放着在第三版那里被双图层给挡住*/

}
.headlan.scrolled{
    background-color: rgba(194, 202, 245, 0.5); /* 滚动后的背景颜色 */
}
/*心理学科的名字*/
.subjectSeal{
    display: inline-flex;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 7px;
    margin-left: -39px;
    background-image: url("../img/小海豹.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.subject{
    float: left;
    width: 200px;
    font-size: 21px;
    font-family: MyFont, Arial, sans-serif;
    color: #666666;
    /*margin-left: 3%;*/
}

/*跳转的页面*/
.chosenpage{
    display: inline-block;
    width: 800px;
    justify-content: center;
}
.choose{
    /*盒子的大小为宽52px，高16px（39-12*2）*/
    display: inline-block;
    margin: 0 9px;
    width: 110px;
    height: 32px;  /*这个和line-height保持一致可以实现文本在其所在的最内层盒子的中心，直接撑起这个盒子的高度*/
    line-height: 32px;
    border-radius: 19px;

    text-decoration: none;
    /*text-align: center;*/
    color: #5b5b5c;
    font-size: 12px; /*小于盒子高度就好*/

}
.searchBox{
    display: inline-block;
    width: 200px;
}
.glass{
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 12px;
    background-image: url("../img/Search.png");
    background-repeat: no-repeat;
    background-size: contain;
}
#searchTabel{
    display: inline-block;
    width: 132px;
    height: 26px;
    border-radius: 13px;
    border: 1px solid #a2b7e0;

    text-align: center;
    outline: none; /* 移除默认的点击时的外边框 */
    transition: border-color 0.3s;
}

/*特别效果区域*/
.choose:hover{
    background-color: #8683bb;  /*导航栏页面被靠近的颜色改变*/
}
#searchTabel:focus{
    border: 2px solid #3498db; /* 点击时的边框颜色 */
}

/*主体部分的内容*/
.mainContent{
    display: inline-flex;   /*要实现居中首先需要最外层设置text-align然后这里设置inline-flex*/
    width: 1443px;
    height: 900px;
    background: linear-gradient(to bottom, #c8d3f9, #c5d5f7, #b9def1);
}
.infoAndButton{
    display: inline-block;
    width: 290px;
    height: 600px;
    margin-top: 49px;
    margin-left: 100px;
}
.admin_mainInfo{
    display: inline-block;
    width: 270px;
    height: 430px;
    background: linear-gradient(to bottom, #b3bce8, #b0c5e3, #add1df);
    border-radius: 40px;
    box-shadow: inset 0 0 49px 5px white;
}
.headFig{
    display: inline-flex;
    width: 110px;
    height: 110px;
    margin-top: 3em;
    background-image: url("../img/我的头像.png");
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 40px;
}
.changeButton{
    background-image: url("../img/personalChangeFig.png");
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}
.admin_name{
    width: 130px;
    height: 4em;
    margin: 1em 3.3em;
    line-height: 49px;
    background-image: url("../img/名字的背景.png");
    background-repeat: no-repeat;
    background-size: contain;
    font-family: MyFont, Arial, sans-serif;
    color: #7573b3;
    font-size: 21px;
}
.changeNickName{
    display: inline-flex;
    width: 2.1em;
    height: 2.1em;
    position: absolute;
    top: 296px;
    margin-left: -126px;
}
.admin_MBTI{
    width: 130px;
    height: 30px;
    margin: -1em 3.3em;
    font-family: MyFont, Arial, sans-serif;
    color: #7573b3;
    font-size: 21px;
}
.changeMbti{
    display: inline-flex;
    width: 2.1em;
    height: 2.1em;
    position: absolute;
    top: 366px;
    margin-left: -126px;
}
.admin_selfNote{
    width: 190px;
    margin: 3em 3em;
    font-family: MyFont, Arial, sans-serif;
    color: #7573b3;
    font-size: 16px;
}
.changeInstruction{
    width: 2.1em;
    height: 2.1em;
    position: absolute;
    top: 426px;
    margin-left: -126px;
}
.exitLogIn{
    display: block;
    width: 220px;
    height: 49px;
    margin-top: 35px;
    margin-left: 36px;
    border-radius: 27px;
    border: none;
    background-color: #9897cc;
    cursor: pointer;

    font-size: 21px;
    letter-spacing: 3px;
    color: white;
    font-family: MyFont, Arial, sans-serif;
}






.admin_pageInfo{
    display: inline-block;
    width: 160px;
    height: 210px;
    background-color: white;
    margin-top: 49px;
    margin-left: 40px;
    border-radius: 30px;
}


.sealFig{
    position: absolute;
    width: 2em;
    height: 2em;
    top: 123px;
    margin-left: 7px;
    background-image: url("../img/小海豹.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.text_baseInfo{
    display: inline-block;
    width: 90px;
    height: 40px;
    margin: 15px 35px;
    line-height: 40px;
    color: #5b5b5c;
}
.trainAchievement{
    display: block;
    width: 90px;
    height: 40px;
    margin: auto 35px;
    line-height: 40px;
    color: #5b5b5c;
}
.myActivation{
    display: block;
    width: 90px;
    height: 40px;
    margin: 15px 35px;
    line-height: 40px;
    color: #5b5b5c;
}

.admin_setInfo{
    display: inline-block;
    width: 700px;
    height: 560px;
    background-color: white;
    margin-top: 33px;
    margin-left: 49px;
    border-radius: 40px;
    font-family: MyFont, Arial, sans-serif;
}
.content-link{
    text-decoration: none;
}
/*导航栏登录字样*/
.loginBox{
    display: inline-block;
    margin-left: 16px;
    background-color: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    color: #5b5b5c;
}

/*基本信息每一条信息盒子*/
.div-container {
    display: block;
    margin-top: 40px;
}
/*基本信息每一条信息标签*/
.div-label {
    display: inline-block;
    width: 100px;
    height: 49px;
    line-height: 49px;
    margin-right: 30px;
    border-radius: 49px;
    background: linear-gradient(to bottom, #a6abde, #9bb8dd);
    color: white;
}
/*基本信息每一条信息输入框*/
.input-field {
    display: inline-block;
    width: 400px;
    height: 49px;
    border: 1px solid #b6b6ed;
    font-family: MyFont, Arial, sans-serif;
    font-size: 21px;
    text-align: center;
}




/*容纳表格的盒子*/
.table-container {
    display: inline-flex;
    overflow: auto;
    margin-top: 12px;
    height: 390px;
    font-size: 21px;
    letter-spacing: 3px;
    font-family: AppleGothic, serif;
    color: #5374c9;
}
/*每一个单元格*/
.table-container td {
    text-align: center;
    width: 200px;
    height: 4em;
}


.controlBaseInfo{
    display: none;
}
.controlActivation{
    display: none;
}
.controlAchievement{
    display: none;
}


/*进度条*/
#progressBar {
    border: 3px solid #7573b3;
    padding: 2px 4px;
    display: inline-flex;
    width: 570px;
    margin-left: 49px;
    height: 20px;
    margin-top: 49px;
}
#currentProgress {
    width: 430px;
    height: 16px;
    margin-top: 2px;
    background-color: #7573b3;
    text-align: end;
}
#progressPercent {
    display: inline-flex;
    position: absolute;
    width: 49px;
    height: 20px;
    top: 100px;
    margin-left: 279px;
    font-size: 25px;
    color: #5b5b5c;
}

/*小海豹*/
#seal {
    top: 233px;
}

/*容纳不同内容的框图*/
#target-box {
    display: block;
    padding-top: 30px;
}


.achievement1{
    display: inline-block;
    width: 150px;
    height: 230px;
    position: absolute;
    top: 8em;
    margin-left: -230px;
}
.achievementFig1{
    width: 150px;
    height: 170px;
    background-image: url("../img/reward1.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.achievementTitle1{
    display: inline-block;
    width: 160px;
    height: 34px;
    border-radius: 18px;
    background-color: #e9d6bb;
    padding-top: 15px;
    font-size: 15px;
    color: #302d26;
}

.achievement2{
    display: inline-block;
    width: 150px;
    height: 230px;
    position: absolute;
    top: 8em;
    margin-left: 100px;
}
.achievementFig2{
    width: 150px;
    height: 170px;
    background-image: url("../img/reward2.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.achievementTitle2{
    display: inline-block;
    width: 160px;
    height: 34px;
    border-radius: 18px;
    background-color: #e9d6bb;
    padding-top: 15px;
    font-size: 15px;
    color: #302d26;
}

.achievement3{
    display: inline-block;
    width: 150px;
    height: 230px;
    position: absolute;
    top: 420px;
    margin-left: -230px;
}
.achievementFig3{
    width: 150px;
    height: 170px;
    background-image: url("../img/reward3.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.achievementTitle3{
    display: inline-block;
    width: 160px;
    height: 34px;
    border-radius: 18px;
    background-color: #e9d6bb;
    padding-top: 15px;
    font-size: 15px;
    color: #302d26;
}

.achievement4{
    display: inline-block;
    width: 150px;
    height: 230px;
    position: absolute;
    top: 420px;
    margin-left: 100px;
}
.achievementFig4{
    width: 150px;
    height: 170px;
    background-image: url("../img/reward4.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.achievementTitle4{
    display: inline-block;
    width: 160px;
    height: 34px;
    border-radius: 18px;
    background-color: #e9d6bb;
    padding-top: 15px;
    font-size: 15px;
    color: #302d26;
}

/*AI*/
.AIBox{
    text-align: center;
    position: fixed;
    top: 12%;
    right: 26%;
    width: 48%;
    height: 81%;
    background-color: rgba(162, 183, 224, 0.49);
    opacity: 0;
    transition: opacity 0.5s ease; /* 过渡时间为0.5秒 */
    z-index: 3;
    border-radius: 3%;
}
.click2WakeAI{
    width: 100px;
    height: 100px;
    position: fixed;
    top: 39%;
    right: 9%;
    cursor: pointer;
    background-image: url("../img/小海豹.png");
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    z-index: 3;
}



.inputTitle{
    margin-left: -69%;
    font-size: 21px;
}
#chatData{
    width: 96%;
}
#send{
    width: 9%;
    margin-left: -87%;
    font-size: 21px;
    margin-top: 1%;
    margin-bottom: 1%;
}
#content{
    width: 93%;
    margin: 0 2%;
    height: 366px;
    background-color: white;
    padding: 1.5%;
}
#count{
    margin-left: 2%;
    text-align: left;
}