* {
    margin: 0;
    padding: 0;
}

body {
    width: 900px;
    margin: 0 auto;
    font-family: "微软雅黑";
    /* background-color: #5ac4f6; */
    background: url(../img/DiaryAndLog-bgc.png) no-repeat center center fixed;
    /* background: linear-gradient(to right, #acecea, #f3d9e4); */
    background-size: 100% 100%;
}

li {
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}

/* 头部背景色：#6de4d0  日记篇色：#f5f5f5 搜索框色：#f5ce45 */

/* 头部样式开始 */

.header {
    width: 900px;
    height: 250px;
    margin-top: 50px;
    border-radius: 20px 20px 0 0;
    /* background-color: #6de4d0; */
    background: url(../update-img/lb2.jpg) no-repeat center center;

}

/* 头部上方开始 */
.header-top {
    position: relative;
    /* 相对定位 */
    box-sizing: border-box;
    width: 100%;
    height: 150px;
    /* border-bottom: 2px solid #ccc; */

    /* background-color: red; */
}

.header-Myname {
    position: absolute;
    right: 150px;
    top: 80px;
    /* background-color:orange; */
}

.header-h3 {
    width: 500px;
    margin: 0 auto;
    text-align: right;
}

.header-name {
    float: right;
}

.header-myimg {
    position: absolute;
    right: 40px;
    top: 60px;
    width: 80px;
    height: 80px;
    /* border-radius: 50%; */
    /* background-color: yellow; */
}

.header-myimg img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

/* 头部上方结束 */

/* 头部下方开始 */
.header-bottom {
    position: relative;
    width: 100%;
    height: 100px;
    /* background-color: blue; */
}

.header-nav {
    position: absolute;
    left: 0;
    bottom: 0;
}

.header-nav li {
    float: left;
    width: 100px;
    /* height: 50px;
    line-height: 50px; */
    text-align: center;
    cursor: pointer;
}

.header-search {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* 头部下方结束 */


/* 头部样式结束 */


/* section样式开始 */

.section {
    width: 900px;
    min-height: 500px;
    height: auto;
    margin-bottom: 15px;
    background-color: #fff;
}

.section-child {
    width: 800px;
    height: 250px;
    margin: 0 auto;
    /*距离section顶部的距离*/
    margin-top: 10px;
    border-radius: 20px;
    background-color: #f5f5f5;
}

.section-title-top ul {
    width: 800px;
    height: 200px;
}

/*日记的标题样式*/
.section-title-top ul h3 {
    margin-left: 25px;
    line-height: 50px;
    border-bottom: 1px solid #ccc;
}

.section-title-top ul li {
    /*每个字的之间的距离*/
    margin-right: 20px;
    line-height: 25px;
}

.section-title-bottom {
    width: 800px;
    height: 50px;
}

.section-title-bottom ul {
    width: 800px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

/*li之间的间距*/
.section-title-bottom ul li {
    margin-right: 30px;
    float: left;
}

/*第一个li左边距*/
.section-title-bottom ul li:nth-child(1) {
    margin-left: 30px;
}

/*section 结束*/


/* footer样式开始 */

.footer {
    width: 900px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    color: #fff;
    border-radius: 0 0 20px 20px;
    background-color: #000;
}

.footer a {
    color: blue;
}

/* footer样式结束 */