/* 页面初始化---------------------------------------------------------------- */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?xf6esv');
    src:  url('../fonts/icomoon.eot?xf6esv#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?xf6esv') format('truetype'),
      url('../fonts/icomoon.woff?xf6esv') format('woff'),
      url('../fonts/icomoon.svg?xf6esv#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 清除默认内外边距 */
* {
    margin: 0;
    padding: 0;
}
/* 修改链接默认格式 */
a {
    color: black;
    text-decoration: none;
}
/* 设置版心宽度 */
.w {
    width: 1200px;
}
/* 水平居中 */
.jz {
    margin: 0 auto;
}
/* 灰色背景 */
.bggray {
    background-color: #e8eaed;
}
/* 浮动 */
.fl {
    float: left;
}
.fr {
    float: right;
}
/* 消除浮动带来的影响 */
.clearfix:before,.clearfix:after {
	content:"";
	display:table;
}
.clearfix:after {
	clear:both;
}

/* 页面顶部-------------------------------- */
.head {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: black;
}
.logo {
    position: absolute;
    top: 0px;
    left: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    color: white;
}
.nav {
    text-align: center;
}
.nav li {
    display: inline-block;
    height: 60px;
    line-height: 60px;
}
.nav li a {
    color: white;
    margin: 0 40px;
}
.login {
    position: absolute;
    top: 0px;
    right: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    color: rgb(239, 234, 234);
}
.login li {
    display: inline;
    list-style: none;
}
.login a {
    color: white;
}
.login li:first-of-type {
    font-family: 'icomoon';
    margin-right: 30px;
    vertical-align: middle;
}

/* 首页大图-------------------------------- */
.b1 {
    margin: 0 auto;
    padding: 40px 0;
}
.b1 .i1 {
    width: 1200px;
    height: 320px;
    
}
.b1 .i1 img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* 热门(地点/标签)-------------------------------- */
.hot1 {
    margin-bottom: 20px;
}
.hot1 span {
    font-size: 28px;
    font-weight: bold;
}
.hot1 a {
    font-family: 'icomoon';
    vertical-align: middle;
    color: #1088f2;
    line-height: 36.8px;
}
.hot2 a {
    /* 行内元素转换为块元素 */
    display: block;
    float: left;
    color: black;
}
.hot2 img {
    width: 180px;
    height: 120px;
    margin-right: 24px;
    border-radius: 5px;
}
.hot2 .end {
    margin-right: 0;
}
.hot2 a div {
    margin: 8px 0;
}

/* 热门标签 */
.label {
    margin: 0 auto;
    padding: 20px 0;
}

/* 精选 */
.jx {
    margin: 0 auto;
    text-align: center;
    height: 60px;
}
.jx span {
    line-height: 60px;
    font-size: 15px;
    font-weight: bold;
    padding: 18px 0;
    border-bottom: 3px solid #1088f2;
}

/* 精选图片 */
.chosen .ctitle {
    height: 70px;
}
.ctitle span {
    line-height: 70px;
    font-size: 18px;
    font-weight: bold;  
}
.ctitle a {
    float: right;
    line-height: 70px;
    font-size: 14px;
    color: #1088f2;
}
.ccard .card {
    float: left;
    margin-right: 20px;
}
.ccard .end {
    margin-right: 0; 
}
.chosen .pic {
    width: 285px;
    height: 190px;
    vertical-align: bottom;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.chosen .author {
    width: 255px;
    background-color: white;
    font-size: 13px;
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.author div:nth-of-type(1) {
    padding-bottom: 8px;
    border-bottom: rgb(225, 221, 221) 1px solid;
}
.author div:nth-of-type(1) h4 {
    margin-bottom: 8px;
}
.author p {
    font-family: 'icomoon';
    vertical-align: middle;
}
.author div:nth-of-type(1) p {
    margin-bottom: 8px;
}
.author div:nth-of-type(1) a {
    color: #1088f2;
}
.author div:nth-of-type(2) {
    padding: 8px 0;
}
.author div:nth-of-type(2) img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    border-radius: 12px;
}
.author div:nth-of-type(2) span {
    line-height: 24px;
    font-size: 13px;
    margin-left: 5px;
}

/* 视频 */
.nature video {
    object-fit: fill;
    vertical-align: bottom;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* 网站底部-------------------------------- */
footer {
    width: 100%;
    height: 50px;
    background-color: black;
}
footer div {
    text-align: center;
    height: 40px;
}
footer li {
    display: inline-block;
    line-height: 40px;
    margin: 0 12px;
    font-size: 12px;
}
footer a {
    color: rgb(154, 153, 153);
}


/* 返回和播放音乐按钮-------------------------------- */
.btn div {
    position: fixed;
    left: 50%;
    margin-left: 650px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-family: 'icomoon';
    background-color: rgba(31, 31, 31, 0.0);
    border-radius: 25px;
    border: 2px skyblue solid;
}

#totop {
    bottom: 140px;
    font-size: 24px;
}

#music {
    bottom: 80px;
    font-size: 20px;
}
