* {
    margin: 0;
    padding: 0;
    /* 设置自动内减 */
    box-sizing: border-box;
    /* 设置所有文本标签的样式为none */
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    height: 100%;
    background-color: #000;
    background-image: url('../image/about.jpg');
    background-size: cover;
}

/* --------------------头部导航栏-------------------- */
.box-head {
    display: flex;
    height: 80px;
    margin: 10px 10px;
    padding: 0 20px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    align-items: center;
}

.userFM {
    width: 15%;
}

.userFM img {
    vertical-align: middle;
    border-radius: 50%;
    width: 60px;
}

.userFM span {
    padding: 0 5px;
    font-weight: 600;
}

/* 搜索 */
.box-head .search {
    width: 35%;
}

.box-head .search .search-box {
    padding: 0 15px;
    width: 360px;
    height: 40px;
    font-size: 15px;
    border-radius: 10px;
    background-color: rgba(250, 250, 250, 0.2);
    border: 2px solid #ccc;
    outline: none;
    color: white;
    /* 光标颜色 */
    caret-color: white;
}

.box-head .search .search-box:hover {
    background-color: rgba(250, 250, 250, 0.4);
}

.box-head .search .search-btn {
    width: 80px;
    height: 40px;
    color: #fff;
    border-radius: 10px;
    background-color: rgba(250, 250, 250, 0.4);
    border: 2px solid #ccc;
}

.box-head .search .search-btn:hover {
    background-color: rgba(250, 250, 250, 0.6);
}

/* 导航栏 */
.nav {
    width: 50%;
    line-height: 80px;
    text-align: right;
}

.nav a {
    display: inline-block;
    width: 100px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-left: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .2s;
}

.nav .nav-login {
    background-color: rgba(0, 162, 255, 0.5);
}

.nav-head {
    border-bottom: 4px solid #ff00c8;
}

.nav a:hover {
    transform: scale(.9);
    box-shadow: 1px 2px 10px 5px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.4);
}

.nav .nav-login:hover {
    transform: scale(.9);
    box-shadow: 1px 2px 10px 5px rgba(1, 145, 255, 0.5);
    background-color: rgba(0, 145, 255, 0.5);
}

/* --------------------关于作者-------------------- */
.about {
    height: 85vh;
    margin: 0 10px;
    border-radius: 20px;
    background-color: #ffffff55;
    border: 2px solid #ff00c8;
    overflow: hidden;
}

/* ----------左边---------- */
.about-left {
    float: left;
    width: 20%;
    height: 100%;
    background-color: #f6f8fe;
}

.about-head {
    background-color: #f6f8fe;
}

.about-head-img {
    height: 120px;
    background-image: url('../image/DH.png');
    background-size: 300px 120px;
}

.about-head-user {
    width: 60px;
    height: 60px;
    margin: -40px auto 0;
    border-radius: 10px;
    background-image: url('../image/user.jpg');
    background-size: cover;
}

.about-head p {
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}

.about-head hr {
    width: 200px;
    border: none;
    height: 1px;
    margin: auto;
    background-color: #ff00c8;
}

.about-body {
    padding: 10px 0;
    text-align: center;
}

.about-body a {
    display: inline-block;
    width: 100%;
    line-height: 50px;
    margin: 5px 0;
    color: #000;
}

.about-body a:hover {
    background-color: rgb(195, 195, 195);
}


/* ----------右边---------- */
.about-right {
    float: right;
    width: 80%;
    height: 100%;
    overflow: auto;
    /* 设置页面平滑滚动 */
    scroll-behavior: smooth;
    background-color: #fff;
}

.about-right .about-img {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.about-right .about-img .img-list {
    display: flex;
    width: 100%;
    position: relative;
    left: 0;
}

.about-right .about-img img {
    width: 100%;
    height: 100%;
}

.about-right .about-author {
    position: relative;
    text-align: center;
    margin: -20px 0 0;
}

.about-right .about-author p {
    display: inline-block;
    width: 150px;
    line-height: 40px;
    color: #fff;
    border-radius: 10px;
    background-image: linear-gradient(to bottom right, rgb(142, 159, 255), rgb(173, 132, 226));
}

/* 作者数据 */
.about-right-title {
    font-size: 20px;
    margin: 50px 50px 20px;
    font-family: '楷体';
}

.author-data {
    height: 500px;
    margin: 40px;
}

.author-data-left {
    float: left;
    width: 30%;
    height: 100%;
    border-right: 2px dashed #ccc;
}

.author-data-img {
    width: 150px;
    height: 150px;
    margin: auto;
    border-radius: 20px;
    background-image: url('../image/user.jpg');
    background-size: cover;
}

.author-data-left a {
    display: inline-block;
    color: #fff;
    width: 150px;
    line-height: 40px;
    border-radius: 10px;
    margin: 40px 0;
    background-color: #ff3ca4;
    transition: .2s;
}

.author-data-left a:hover {
    transform: scale(.9);
    background-color: #ff6bba;
}

.author-data-right {
    float: right;
    width: 70%;
    height: 100%;
    padding: 0 80px;
}

.author-data-right p {
    padding: 10px 40px;
    font-family: '宋体';
    text-shadow: 5px 5px 10px #545454;
    border-bottom: 2px dashed #ccc;
}

/* 作者介绍 */
.author-introduce {
    margin: 40px 60px;
    border-radius: 10px;
    background-color: #efefef;
    border: 1px solid #000;
    padding: 50px 40px 100px;
    box-shadow: 0px 0px 400px 5px #00bfff inset;
}

.author-introduce p {
    padding: 10px 40px;
    font-family: '宋体';
    text-indent: 2em;
    text-shadow: 5px 5px 10px #545454;
    border-bottom: 2px dashed #ccc;
}

/* 作者技能 */
.author-skill {
    margin: 40px 80px;
    padding: 20px;
    border-radius: 10px;
    background-color: #eee;
}

.author-skill-box {
    display: flex;
    justify-content: center;
}

.author-skill li {
    float: left;
    width: 150px;
    height: 200px;
    margin: 10px;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 1px 1px 10px rgba(118, 118, 118, 0.5);
    transition: .2s;
}

.author-skill li:hover {
    transform: scale(.9);
    box-shadow: 1px 1px 10px 5px rgba(118, 118, 118, 0.5);
}

.author-skill img {
    width: 100px;
    height: 150px;
}

.author-skill p {
    font-size: 20px;
    text-align: center;
}

/* 每日必做 */
.author-daily {
    margin: 40px 80px;
    border-radius: 10px;
    background-color: #aaffff;
    box-shadow: 0px 0px 400px 5px #cccfff inset;
}

.author-daily-box {
    text-align: center;
}

.author-daily-box p {
    display: inline-block;
    line-height: 20px;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
}

/* 个人博客与仓库 */
.author-blog {
    margin: 40px 80px;
    border-radius: 10px;
    background-color: rgb(224, 255, 255);
}

.author-blog-box ul {
    display: flex;
    justify-content: center;
}

.author-blog a {
    display: inline-block;
    overflow: hidden;
    width: 200px;
    margin: 10px;
    padding: 20px 0;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 1px 1px 10px rgba(118, 118, 118, 0.5);
    transition: .2s;
}

.author-blog a:hover {
    transform: scale(.9);
    box-shadow: 1px 1px 10px 5px rgba(118, 118, 118, 0.5);
}

.author-blog img {
    width: 200px;
    height: 100px;
}

.author-blog p {
    color: #000;
    font-size: 18px;
    font-weight: 800;
}

/* --------------------侧边滚动条-------------------- */
/* 设置滚动条的宽度和背景色 */
::-webkit-scrollbar {
    width: 0px;
    margin-bottom: 20px;
    background-color: #27486a;
}

/* 设置滚动条的滑块颜色和形状 */
::-webkit-scrollbar-thumb {
    background-color: #041028;
    border-radius: 10px;
}