.h-img {
    width: 148px;
    height: 72px;
}

header {
    background-color: #040506;
    height: 84px;
}

.center {
    display: inline-block;
    width: 1200px;
    height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo{
    width: 204px;
    height: 51px;
}

.h-img {
    position: relative;
    margin-right: 100px;
}

.h-text {
    /* margin-right: -440px; */
}

.h-text>ul {
    display: flex;
    align-items: center;
}

.h-text>ul>li {
    list-style-type: none;
    margin-left: 34px;
}

.h-text>ul>li>a {
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    color: white;
    line-height: 91px;
    width: 96px;
    height: 91px;
    cursor: pointer;
}

.h-text>ul>li.cur a {
    color: white;
}

.h-text>ul>li>a:hover {
    color: #fb923c;
}

.h-text>ul .login{
    width: 89px;
    height: 41px;
    background: url(../images/7py/login-btn.png);
    background-size: 100% 100%;
    border: none;
}

.h-text>ul .register{
    width: 89px;
    height: 41px;
    background: url(../images/7py/reg-btn.png);
    background-size: 100% 100%;
    border: none;
}

/* 定义按钮初始样式 */
.h-text>ul .register,.h-text>ul .login {
    transition: transform 0.3s ease; /* 添加过渡效果，让变化更平滑 */
}

/* 定义鼠标悬停时的样式 */
.h-text>ul .register:hover,.h-text>ul .login:hover {
    transform: scale(0.95); /* 鼠标悬停时缩小到原大小的 95% */
}
