html{
    scroll-behavior: smooth;
}
a{
    text-decoration: none;
}

#main{
    background-color: rgb(254, 243, 232);
    height: auto;
    width: 100%;
}
/* ************************************************************************************* */

.backTop{
    width: 40px;
    height: 40px;
    background-color: rgb(229, 111, 35);
    border-radius: 10%;

    bottom: 30px;
    right: 30px;

    position: fixed;
    z-index: 1;

    text-align: center;
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;

    color: rgb(254, 243, 232);
}

.backTop:hover{
    cursor: pointer;
}


/* **************************************************** */
.articleInfo{
    width: 1080px;
    height: auto;
    margin: 3rem auto;
    
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
.articleInfo legend{
    
    color: rgb(238, 123, 29);
    font-size: 3.2rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
    font-weight: bolder;
}

.articleInfo fieldset{   
    min-width: 200px; 
    box-sizing: border-box;
    padding: 0 1.5rem;
    border-width: 3px;
    border-image: linear-gradient(to bottom,rgb(210,90,43), #ff8400 ,rgb(210,90,43)) 1;
}

.articleInfo p{
    font-size: 18px;
    line-height: 30px;
}

.articleInfo .imgBox{
    width: 100%;
    text-align: center;
}
.imgBox img{
    max-height: 640px;
}

.articleInfo:hover{
    box-shadow: 0 0 0.5rem rgba(200, 200, 200, 0.9);
    border-radius: 5px;

    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.25s;
    transition-timing-function: linear;
}

/* **************************************************** */
.articleHeader{
    font-size: 1.8rem;
    text-align: left;
    margin: 0 2rem;
    color: rgb(238, 123, 29);
}
.articleHeader hr{
    height: 2px;
    border: 0;
    background-color: rgb(238, 123, 29);
}
.articleHeader span{
    font-size: 1rem;
    padding-right: .5rem;
    color: rgb(110,76,77);
    border-right: 2px solid rgb(238, 123, 29);
}

.articleHeader span:nth-child(3){
    border: 0;
}

.articleFooter{
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    position: relative;
}


.articleBody{
    /* min-height: 800px; */
    margin: 1rem 0;
}

.articleBody p{
    text-indent: 4ch;
    color: rgb(95,93,93);

    margin: 2rem 0;
}

.shareIco{
    color: #ff8400;
    font-size: 2rem;

}
.shareIco:hover{
    cursor: pointer;
    transform: scale(1.2);
}
.articleFooter>a:last-child{
    position: relative;
}
.share-window{
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 250px;
    top: 0;
    right: 0;
    transform: translateX(100%) translateY(-30%);
    display: none;
}
.share-window:hover{
    display: block;
}
.articleFooter > .shareIco:first-child:hover + .share-window{
    display: block;
}

/* ********************************************************************** */
.article-swiper{
    width: 70%;
    height: 500px;
    
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
    --swiper-theme-color: #ff6600;
}

.swiper-slide1 {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.swiper-slide1 video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分享弹窗 */
.popup{
    width: 100%;
    height: 100%;
    background: rgb(254, 243, 232);
    color: rgb(95,93,93);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    padding: 20px 12px;
    border-radius: 1rem;
}
.popup>p{
    padding-bottom: 5px;
    border-bottom: #ff6600 1px solid;
    font-size: 1.5rem;
    font-weight: 600;
}
.popup p:not(:first-child){
    font-weight: 300;
}
.icons{
    display: flex;
    justify-content: space-around;
}
.popup .content{
    margin: 20px 0;
  }
  .popup .icons{
    margin: 15px 0;
  }
.content .icons a{
    height: 40px;
    width: 40px;
    font-size: 15px;
    line-height: 40px;
    text-decoration: none;
    border: 1px solid #ff6600;
    border-radius: 50%;
    text-align: center;
  }

  .field input{
    width: 65%;
    height: 30px;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 300;
    margin-right: 5px;
  }
  .field button{
    text-align: center;
    width: 25%;
    height: 36px;
    color: #fff;
    padding: 4px 10px;
    border-color: rgb(254, 243, 232);
    background: #ff6600;
    cursor: pointer;
  }

  /* 720p响应式 */
  @media screen and  (max-width: 720px){
    /* 回到顶部 */
    .backTop{
        width: 40px;
        height: 40px;
    }
    /* 分享弹窗 */
    .articleFooter{
        justify-content: start;
    }
    .share-window{
        top: 0;
        right: calc(100% - 25px);
    }

    /* 文章内容 */
    .articleInfo{
        width: 90%;
        box-sizing: border-box;
    }
    .articleInfo legend{
        font-size: 2rem;
    }
    .articleInfo fieldset{
        width: 100%;
    }
    /* 头部 */
    .articleHeader{
        display: flex;
        flex-direction: column;
    }
    .articleHeader span{
        border-right: 0;
        margin-bottom: 2px;
    }
    .articleBody p{
        font-size:small;
        line-height: 1.5;
    }
    /* 轮播 */
    .article-swiper{
        width: 100%;
        height: 300px;
    }
  }