/*

Reflux Template

https://templatemo.com/tm-531-reflux

*/

@import url(fontawesome.css);
@import url("https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900");
body {
    font-family: 'Lato', sans-serif;
}

#page-wraper {
    background: url(../images/diwen.png) no-repeat center center fixed;
    background-color: white;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 1500px;
}

#page-story-wraper {
    background: url(../images/back1.jpg) no-repeat center center fixed;
    background-color: white;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 1500px;
}

/* Basic */

body {
    overflow-x: hidden;
}

input,
select,
textarea {
    outline: none;
}

a,
a:hover {
    text-decoration: none;
}

p {
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

h4 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.25px;
}

img {
    width: 100%;
    overflow: hidden;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul li {
    display: inline-block;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.clearfix {
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.container {
    margin: 0 auto;
}

.main-nav {
    text-align: center;
}

.main-nav li:last-child a {
    border-bottom: 2px solid #fff;
}

.main-nav li {
    display: block;
}

.main-nav li a {
    height: 70px;
    line-height: 70px;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: black;
    width: 100%;
    transition: all 0.5s;
    border-top: 2px solid #fff;
}

.main-nav li:hover a,
.main-nav li.active a {
    background: #fff;
    color: black;
}

/* Sidebar Menu */

.menu .image {
    margin-top: 60px;
}

.menu .image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    /*text-align: center;*/
    object-fit: cover;
}



.menu .author-content {
    color: black;
    margin: 40px 0px 60px 0px;
}

.menu .author-content h4 {
    margin-bottom: 0px;
    font-family: 'Roboto', sans-serif;
}




.menu .author-content span {
    font-size: 13px;
    font-style: italic;
    color: rgb(255, 92, 85);
}

.menu .social-network {
    margin-top: 60px;
}

.menu .social-network ul li {
    margin: 0 3px;
}

.menu .social-network ul li a {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: all 0.5s;
}

.menu .social-network ul li a:hover {
    background-color: #fff;
    color: rgb(255, 92, 85);
}

.menu .copyright-text {
    position: relative;
    margin-top: 60px;
}

.menu .copyright-text p {
    border-top: 1px solid rgba(250, 250, 250, 0.1);
    display: inline-block;
    width: 100%;
    padding-left: 130px;
    padding-right: 30px;
    padding-top: 30px;
    font-size: 13px;
}

.menu:before,
.menu:after {
    content: "";
    display: table;
}

.menu:after {
    clear: both;
}

.menu a {
    text-decoration: none;
    color: inherit;
}

.menu {
    text-align: center;

}

.menu::-webkit-scrollbar {
    display: none;
}

.menu {
    left: 10%;
  -webkit-transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
  -webkit-overflow-scrolling: touch;
  background-color: rgba(54,187,147,0.45);
  /*background-color: rgba(255, 191, 115, 1);*/
  box-sizing: border-box;
  height: 100vh;
  max-height: 100vh !important;
  max-width: 80vw !important;
  min-width: 45px !important;
  outline: none;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0;
  position: fixed !important;
  top: calc(8px);
  width: 20%;/*改变sidebar宽度*/
  will-change: transform;
  z-index: 9999 !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);/*加上sibebar阴影*/
  /*clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);*/
    border-radius: 1%;
}

.menu-toggle {
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  position: fixed;
  right: 25px;
  top: 25px;
}

#menu-toggle {
    z-index: 999;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    color: rgb(206,232,226);
    background-color: black;
    width: 60px;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}

.menu-close {
  cursor: pointer;
}

#menu-close {
    cursor: pointer;
    text-align: right;
    color: black;
    background-color: #fff;
    width: 100%;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}


/* Section */

.blogfather{
    background-color: rgba(208,231,227,0.4);
}

.workfather{
    background-color: rgba(208,231,227,0.4);
}

.myresultfather{
    background-color: rgba(208,231,227,0.4);
}

/*这一小段是member文件夹下的*/
.memwork{
    background-color: rgba(208,231,227,0.4);
}
.memresult{
    background-color: rgba(208,231,227,0.4);
}


.section {
    color: #fff;
    width: 55%;
    right: 10%;
    left: 35%;
    position: relative;
    /*min-height: 100vh;*/

    /*border-bottom: 3px solid rgba(17, 17, 17, 0.25);!*每个框下面的边界*!*/
}


.section .aboutme{
    /*background-color: rgba(61, 160, 251,0.1);*/
    padding-bottom: 80px;
}

.section .myresult{
    /*background-color: rgba(61, 160, 251,0.1);*/
    padding-bottom: 80px;
}

.section .mywork{
    /*background-color: rgba(61, 160, 251,0.1);*/
    padding-bottom: 30px;
}

.section .myblog{
    /*background-color: rgba(61, 160, 251,0.1);*/
    padding-bottom: 80px;
}

/*这一小段是member文件夹下的*/
.section .mem-about{
    padding-bottom: 10px;
}
.section .mem-work{
    padding-bottom: 10px;
}



.section-heading {
    text-align: center;
    padding: 80px 45px;
    color: black;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: black;
    /*color:rgb(32,180,135);*/
}

.section-heading .line-dec {
    width: 60px;
    height: 3px;
    background-color: rgb(255, 92, 85);
    margin: 10px auto;
}

.section-heading span {
    margin-top: 15px;
    font-size: 16px;
    color: black;
    text-align: center;
    letter-spacing: 0.5px;
}


.section-heading p {

    color:  rgb(46, 171, 129);

}


/* Buttons */

.white-button a {
    display: inline-block;
    padding: 12px 20px;
    background-color: #fff;
    color: #a43f49;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.5s;
}

.white-button a:hover {
    background-color: #a43f49;
    color: #fff;
}

button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #a43f49;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.5s;
    border: none;
    outline: none;
    cursor: pointer;
}

button:hover {
    outline: none;
    background-color: #a43f49;
    color: #fff;
}


/* Left & Right Post */

.right-image-post {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid rgba(250, 250, 250, 0.1);
}

/*member*/
#fixed-div {
    position: fixed;
    width:80px;
    height:80px;
    bottom: 50%;
    right: 0;
    /*background-color: #ccc;*/
    padding: 3px;
    z-index: 100;
    border-radius: 5px;
}

#fixed-div img{
    border-radius: 5px;
}
#fixed-div:hover{
    box-shadow: 0 0 20px #fff;
}

/*.member-left-image img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    border-radius: 5px;*/
/*}*/

/*.member-left-image {*/
/*    width: 210px;*/
/*    height: 280px;*/
/*    overflow: hidden;*/
/*}*/




/*.member-grid-container {*/
/*    margin: 0 auto;*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    width: 70%;*/
/*    height: 70%;*/
/*}*/

/*.member-grid-item {*/
/*    position: relative;*/
/*    margin: 5px;*/
/*    flex-basis: 30%;*/
/*    height: 0;*/
/*    padding-bottom: 30%;*/
/*    !*flex-basis: 50%;*!*/
/*    !*height: 0;*!*/
/*    !*padding-bottom: 50%;*!*/
/*    !*background-color: pink;*!*/
/*    background-image:url("https://hexo-img.obs.cn-east-3.myhuaweicloud.com/img/202305081405513.jpg");*/
/*    background-size: cover;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    transition: transform 0.3s ease-out; !* 添加过渡效果 *!*/
/*}*/
/*.member-grid-item:hover{*/
/*    transform: translateY(-10px); !* 添加浮动效果 *!*/
/*}*/
/*!*.member-grid-item img {*!*/
/*!*    !*margin;*!*!*/
/*!*    width: 150px;*!*/
/*!*    height: 150px;*!*/
/*!*    object-fit: cover;*!*/
/*!*    border-radius: 5px;*!*/
/*!*}*!*/

/*.member-grid-item-caption{*/
/*    !*background-color: pink;*!*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    height: 40px;*/
/*    background-color: rgba(50,50,50, 0.85);*/
/*    text-align:center;*/
/*    line-height: 40px;*/
/*    !*border: pink 1px solid;*!*/
/*}*/

/*.img-container img {*/

/*}*/



.main-left-image img,
.right-text img{
    border-radius: 2px;
}

.right-image-post h4,
.left-image-post h4 {
    margin-top: 30px;
    color:black;
}

.right-image-post p,
.left-image-post p {
    margin-top: 20px;
    margin-left: 10px;
    color: black;
}

.right-image-post .white-button,
.left-image-post .white-button {
    margin-top: 30px;
}


/*result*/
.my-result .col-md-6 {
    padding-left: 5px;
    padding-right: 5px;

}

.result-item {
    margin-bottom: 10px;
    padding: 20px 20px 10px 20px;
    background-color: rgba(255, 255, 255, 0.6);
    /*background-color: rgba(32,180,135, 0.1);*/
    transition: all 0.5s;
    height: 150px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);

    /*color:black;*/
    /*clear:both;*/
}

.result-item:hover{
    background-color: #fff;
}

.result-item:hover p {
    color: #424649;
    /*font-weight: bold;*/
}

.result-item:hover span {
    color: rgb(255, 92, 85);
    font-weight: bold;
}

.result-item-context {
    width: 85%;
    float: right;
    text-align: left;
    color:black;
    /*background-color: #0ff;*/
}
/*.result-item-context.p{*/
/*    color:black;*/
/*}*/

.result-item .result-icon {
    width: 15%;
    height: 100%;
    max-height: 120px; /* 图片的最大高度不超过容器高度 */
    max-width: 80px; /* 图片的最大高度不超过容器高度 */
    /*display: inline-block;*/
    float: left;
    /*display: block;*/
    /*float: left;*/
    /*margin-bottom: 30px;*/
    margin-top: -5px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.5s;
    margin-left: -10px;
    /*margin-top: 20px;*/
    /*background-color: #f00;*/
}

.footfa{
    /*background-color: rgba(69, 192, 184, 0.15);*/
    background-color: rgb(255, 255, 255);
}
/*底部footer*/
.footer {
    color: black;
    width: 55%;
    right: 10%;
    left: 35%;
    font-size:15px;
    font-family: roboto,sans-serif;
    position: relative;
    /*min-height: 100vh;*/
    padding-bottom: 0px;
    border-bottom: 3px solid rgba(250, 250, 250, 0.25);

}

.footer-bottom{
    /*text-align: center;*/
    text-align: left;
    /*background-color: rgba(69, 192, 184, 0.15); !* 更改背景颜色 *!*/
    color: black; /* 更改文本颜色 */
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.left-content {
    float: left;
    padding-left: 10%;
}

.right-content {
    float: right;
    padding-right: 10%;
}

/* Services */

.my-services .col-md-6 {
    padding-left: 5px;
    padding-right: 5px;
}


.service-item {
    margin-bottom: 10px;
    padding: 50px 50px;
    background-color: rgba(32,180,135, 0.1);
    transition: all 0.5s;
    height: 280px;
    color:black;
    /*clear:both;*/
}

.service-item h4 {
    margin-top: 5px;
    transition: all 0.5s;
    color:black;
}

.service-item p {
    transition: all 0.5s;
    color:black;
}

.service-item:hover {
    background-color: rgba(192, 236, 223, 0.2);
}

.service-item:hover h4 {
    color: #1e1e1e;
}

.service-item:hover p {
    color: #4a4a4a;
}

.service-item-context{
    width: 80%;
    float: right;
    /*background-color: #0ff;*/
}

.service-item .service-icon {
    width: 100px;
    height: 100px;
    display: inline-block;
    /*display: block;*/
    /*float: left;*/
    margin-bottom: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.5s;
    margin-left: -10px;
        margin-top: 20px;

    /* background-color: #f00; */
}

.service-item .first-service-icon {
    /*float:left;*/
    /*display: inline-block;*/
    background-image: url(../images/first-white-icon.png);
}

.service-item:hover .first-service-icon {
    background-image: url(../images/first-main-icon.png);
}

.service-item .second-service-icon {
    background-image: url(../images/second-white-icon.png);
}

.service-item:hover .second-service-icon {
    background-image: url(../images/second-main-icon.png);
}

.service-item .third-service-icon {
    background-image: url(../images/third-white-icon.png);
}

.service-item:hover .third-service-icon {
    background-image: url(../images/third-main-icon.png);
}

.service-item .fourth-service-icon {
    background-image: url(../images/fourth-white-icon.png);
}

.service-item:hover .fourth-service-icon {
    background-image: url(../images/fourth-main-icon.png);
}

/* My Work */

section.my-work .section-heading {
    text-align: center;
    padding: 0px 15px 50px 0px; /*之前是80 45 50 45*/
    position: absolute; /*new*/
    top:10%; /*new*/
}

/*new*/
/*section.my-work .section-heading .line-dec {*/
/*    width: 60px;*/
/*    height: 3px;*/
/*    background-color: rgb(255, 92, 85);*/
/*    margin: 10px auto;*/
/*    transform: rotateZ(90deg); !*旋转90*!*/
/*    position: absolute;*/
/*    top:21%;*/
/*    left: 58%;*/
/*}*/

.isotope-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
    color:black;
}

.isotope-toolbar input[type="radio"] {
    display: none;
}

.isotope-toolbar span {
    text-transform: capitalize;
    display: inline-block;
    margin-right: 15px;
    padding-bottom: 3px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transform: ease-in-out 0.5s;
    cursor: pointer;
}

.isotope-toolbar input[type="radio"]:checked + span {
    color: rgb(32,180,135);
    border-bottom: 2px solid rgb(32,180,135);
}

.isotope-box {
    position: relative;
    width: 95%;
    left: 11%; /*调整照片左右位置*/
    margin-top: 20px;
}

.isotope-toolbar {
    text-align: center;
    margin: 10px;
    /*position: absolute;*/
    /*top: 20%;*/
}

.isotope-toolbar p {
    border-top: 1px solid #fff;
    padding-top: 15px;
}

.isotope-toolbar a {
    color: #fff;
}

.isotope-item {
    position: relative;
    width: 23%; /*一行放三个*/
    /*margin: 1%;*/
    /*border-bottom: 2px solid rgba(250,250,250,0.1);*/
    /*padding-bottom: 30px;*/
    margin-bottom: 40px;

}

.isotope-item img {
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%; 11111111*/
    height: auto; /*new*/
    border-radius: 5px;

}

.lazyload {
    background: #f7f7f7;
}

.lazyloading {
    background: #f7f7f7 url(//afarkas.github.io/lazysizes/assets/imgs/loader.gif) no-repeat center;
    min-height: 60px;
}

figure.snip1321 {
  /*overflow: hidden;*/ /*加上了阴影才把这个去掉的*/
  text-align: center;
   /*float:initial;*/
  -webkit-perspective: 50em;
  perspective: 50em;
  /*background-color: rgb(206,232,226);*/
  /* 3D视角 */
  /*  margin: 10px;*/
}

figure.snip1321 img{
    /*margin-left: 10px;*/
    /*float:left;*/
    /*width:29%; 1111111*/
    /*height: 130px; 111111111*/
    /*固定卡片里的图片大小*/
    /*overflow: hidden; 1111111*/

    /*new*/
    width: 96%;
    height: 150px;
    margin-top: 3px;
    object-fit: cover;
}

figure.snip1321 div.snip1321-card{
    /*background-color: rgba(100, 100, 100,0.3);*/
    position: relative;
    /*display: flex; 111111*/
    align-items: center;
    /*margin-left: 28%;*/
    border-radius: 8px;
    width: 90%;
    background-color: rgba(255, 255, 255,0.8);
    /* 300px */
    /* height: 58%; */
    /*padding-top: 2%; 1 */
    /*padding-left: 2px; 1*/
    /*padding-bottom: 2%; 1*/
    /*padding-right: 10%; 1*/
    font-size: 20px;
    font-weight: bold;
    overflow: hidden;
    /*new*/
    display: block;
    padding: 6px; /*图片和卡片的间距*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); /*卡片阴影*/
    /*margin-left: 12%;*/


}

.snip1321-card-right{
    /*display: initial;*/
    /*width:100%;*/
    /*height: 100%;*/
    margin: 10px;
}/*XXX的名字+简介*/

.snip1321-description{
    margin-top:5%;
    font-size: 16px;
    color: rgb(46, 171, 129);
}/*XXX的简介*/

.snip1321-name{
    font-size: 18px;
}

figure.snip1321 p{
    color:#fff;
    padding-top: 10%;
    padding-bottom: 10%;
    transition: all 0.5s;
}

figure.snip1321 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

figure.snip1321 figcaption {
    /*top:auto;*/
    top: 50%;
    left: 15%;
    position: absolute;
    opacity: 0;
    /*opacity: 1;*/
    z-index: 1;
    /*padding:10px;*/
}
figure.snip1321 h4 {
  margin-top: 10px;
  margin-bottom: 5px;
  color: #232323;
}
figure.snip1321 span {
    font-size: 14px;
    font-style: italic;
    display: block;
    color: #7a7a7a;
}

figure.snip1321 i {
  position: relative!important;
  font-size: 18px;
  background-color: rgb(255, 92, 85);
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  color: #fff;
}
figure.snip1321:after {
  background-color: rgba(54,187,147,0.2);
  width:82%;
  position: absolute;
  border-radius: 5px;
  content: "";
  display: block;

  top: 10px;
  left: 4%;
  right: 20px;
  bottom: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0;
}
figure.snip1321 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}
figure.snip1321:hover figcaption,
figure.snip1321.hover figcaption {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1321:hover:after,
figure.snip1321.hover:after {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0.9;
}


/* Contact Me */

section.contact-me {
    border-bottom: none;
}

#contact input {
    background-color: rgba(250,250,250,0.1);
    border: 1px solid rgba(250,250,250,1);
    border-radius: 0px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    width: 100%;
    padding-left: 15px;
}

#contact input:focus {
    outline: none;
    box-shadow: none;
}

#contact textarea {
    background-color: rgba(250,250,250,0.1);
    border: 1px solid rgba(250,250,250,1);
    border-radius: 0px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 14px;
    height: 180px;
    max-height: 220px;
    line-height: 40px;
    width: 100%;
    padding-left: 15px;
}

#contact textarea:focus {
    outline: none;
    box-shadow: none;
}

#contact {
    text-align: center;
}

@media screen and (max-width: 1680px) {
    .menu {
        left: 5%;
    }

    .section {
        color: #fff;
        width: 70%;
        /*right: 5%;*/
        left: 28%;/*改变主体内容的位置*/
    }
}

@media screen and (max-width: 1680px) and (min-width: 846px) {
    .menu .social-network ul li a {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .menu .social-network ul li {
        margin: 0;
    }

    .menu .image {
        margin-top: 60px;
    }


}

@media screen and (max-width: 1280px) {
    .menu {
        left: 0%;
    }

    .right-image-post h4,
    .left-image-post h4 {
        margin-top: 0px;
    }

    .right-image-post p,
    .left-image-post p {
        margin-top: 15px;
    }

    .right-image-post .white-button,
    .left-image-post .white-button {
        margin-top: 25px;
    }


}

.menu .container {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1280px) and (min-width: 846px) {
    .menu {
        width: 25%;
    }
    .snip1321-name{
        font-size: 13px;
    }
}

#menu-toggle,
#menu-close {
    display: none;
}

@media screen and (max-width: 1024px) {
    #menu-toggle,
    #menu-close {
        display: inline-block;
    }

    .menu {
        width: 320px;
        -webkit-transform: translateX(-100%) !important;
        transform: translateX(-100%) !important;
        transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1), -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
        font-family: roboto,sans-serif;
    }

    .menu .image {
        margin-top: 40px;
    }

    .menu .image img {
        width: 120px;
        height: 120px;
        object-fit: cover;
    }


    .menu .author-content {
        margin: 20px 0px 40px 0px;
        /*font-family: roboto,sans-serif;*/
    }

    .menu .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu.open {
        display: inline-block;
        -webkit-transform: translateX(0) !important;
                transform: translateX(0) !important;
    }

    .responsive-nav {
        display: inline-block;
    }
    .section {
        width: 94%;
        right: 3%;
        left: 3%;
    }


    .isotope-item {
        width: 40%;
        margin: 3%;
    }
    .left-image-post img {
        margin-bottom: 30px;
    }
    .right-image-post img {
        margin-top: 30px;
    }
    .isotope-item {
        border-bottom: none;
        text-align: center;
    }
    .isotope-toolbar {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 570px) and (min-width: 500px){
    .snip1321-name{
        font-size: 13px;
    }
}

@media screen and (max-width: 500px) {
    .isotope-item {
        width: 90%;
        margin: 3%;
    }


}

#content{
    font-family: Arial, sans-serif;
    line-height: 2;
    margin-left: 30%;
    color: #fff;
    height: fit-content;
    padding: 30px;
    padding-top: 80px;
    max-width: 1200px;
    padding-left: 60px;

}

#content img{
    width:auto;
    max-width: 65%;
}

#content h1, h2, h3, h4, h5, h6 a {
    color: #b85b5b;
    /*font-size:30px;*/
}
#content h1{
    font-size: larger;
    text-align: center;
}
/* 自定义高亮样式 */

.hljs {
    position: relative;
    color: #000;
    padding: 4px;
    overflow-x: auto;
    border-radius: 5px;
    /*background-color: rgba(250, 250, 250, 0.1);*/
    font-size: 16px;
}

#content pre{
    background-color: #afaaaa4a;
    overflow-y: hidden;
    overflow-x: auto;
}


.card-title,.card-text{
    color: black;
}

.card{
    margin-inline: 0.5rem;
    margin-top: 5rem;
}


.card-body{
    height: 170px;
}

.card-img-top {
    height: 250px;
}

.card-title {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-md-6 {
    max-width: 100%;
}

.carousel-item {
    height: 400px;
}

.carousel-item h2{
    margin-top:5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 50px;
    margin-left: 140px;
    margin-right: 140px;
}

/*my-story*/


/*section.my-story .section-heading {*/
/*    text-align: center;*/
/*    padding: 20px 15px;*/
/*    color: black;*/
/*}*/

.main{
	width: 100%;
	height: 100%;
	perspective: 800px;
    position: relative;
}
.cubeBox{
	width: 200px;
	height: 200px;
    /*max-width: 200px;*/
	position: absolute;
	top: 45%;
	left: 50%;
	margin: -100px 0 0 -100px;
	transform-style: preserve-3d;
}
/*.bg{*/
/*	width: 100%;*/
/*	height: 100%;*/
/*	object-fit: fill;*/
/*}*/



.cube{
	width: 100px;
	height: 100px;
    /*max-width: 100px;*/
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -50px;
	transform-style: preserve-3d;
	transform: rotateX(-10deg) rotateY(45deg);
	animation: move 4s linear infinite ;
}

.cube li {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 1s ease;

}
.cube li video{
	width: 100%;
	height: 100%;
}
.cube li:nth-child(1){
	transform: rotateX(0deg) translateZ(50px);
}
.cube li:nth-child(2){
	transform: rotateX(180deg) translateZ(50px);
}
.cube li:nth-child(3){
	transform: rotateX(-90deg) translateZ(50px);
}
.cube li:nth-child(4){
	transform: rotateX(90deg) translateZ(50px);
}

.cube li:nth-child(5){
	transform: rotateY(-90deg) translateZ(50px);
}
.cube li:nth-child(6){
	transform: rotateY(90deg) translateZ(50px);
}

.bigCube{
	width: 200px;
	height: 200px;
	margin: -100px 0 0 -100px;
}

.bigCube li:nth-child(1){
	transform: rotateX(0deg) translateZ(100px);
}
.bigCube li:nth-child(2){

	transform: rotateX(180deg) translateZ(100px);
}
.bigCube li:nth-child(3){
	transform: rotateX(-90deg) translateZ(100px);
}
.bigCube li:nth-child(4){
	transform: rotateX(90deg) translateZ(100px);
}
.bigCube li:nth-child(5){
	transform: rotateY(-90deg) translateZ(100px);
}
.bigCube li:nth-child(6){
	transform: rotateY(90deg) translateZ(100px);
}
/* .bigCube li:nth-child(1){
	transform: rotateX(360deg) translateZ(100px);
}
.bigCube li:nth-child(2){
	transform: rotateX(-180deg) translateZ(100px);
}
.bigCube li:nth-child(3){
	transform: rotateX(90deg) translateZ(100px);
}
.bigCube li:nth-child(4){
	transform: rotateX(-90deg) translateZ(100px);
}
.bigCube li:nth-child(5){
	transform: rotateY(90deg) translateZ(100px);
}
.bigCube li:nth-child(6){
	transform: rotateY(-90deg) translateZ(100px);
} */



@keyframes move{
	0%{
		transform: rotateX(-13deg) rotateY(0deg);
	}
	100%{
		transform: rotateX(-13deg) rotateY(360deg);
	}
}


.cubeBox:hover .bigCube li:nth-child(1){
	transform: rotateX(0deg) translateZ(200px);
}
.cubeBox:hover .bigCube li:nth-child(2){
	transform: rotateX(180deg) translateZ(200px);
}
.cubeBox:hover .bigCube li:nth-child(3){
	transform: rotateX(-90deg) translateZ(200px);
}
.cubeBox:hover .bigCube li:nth-child(4){
	transform: rotateX(90deg) translateZ(200px);
}
.cubeBox:hover .bigCube li:nth-child(5){
	transform: rotateY(-90deg) translateZ(200px);
}
.cubeBox:hover .bigCube li:nth-child(6){
	transform: rotateY(90deg) translateZ(200px);
}

.cube img{
	width: 100px;
	height: 100px;
}

.bigCube .bigCubeImg{
	width: 200px;
	height: 200px;
}

/*照片墙*/

section.phwall .section-heading {
    text-align: center;
    padding: 50px 15px 0px 15px; /*之前是80 45 50 45*/
}

section.phwall .section-heading .line-dec{

    width: 60px;
    height: 3px;
    background-color: rgb(255, 92, 85);
    margin: 10px auto;
    margin-bottom: 20px;
}

.phwall{
    overflow: hidden;
    position: relative;

}

.image-container {
    position: relative;
    width: 30%;
    float: left; /* 或 display: inline-block; */
    box-sizing: border-box; /* 保证盒模型的宽度包含内边距和边框 */
    margin-right: 10px;
    margin-bottom: 20px;
    left: 5%;
}

/* 清除浮动 */
.phwall::after {
    content: "";
    display: table;
    clear: both;
}

.image-container img {
    position: relative;
    padding: 14px 20px  14px ;
    /*background: rgb(208,231,227);*/
    background-image: url(../images/piccoat.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /*border:1px solid #ddd;*/
	transition:1s;
    width:100%;
    margin: 5px;
}

.image-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.image-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 20%;
    background: rgba(0, 0, 0, 0.5); /* 设置黑色半透明阴影 */
    width: 90%;
    height: 30%;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s;
}

.image-container:hover .image-text {
    opacity: 1;
    z-index: 10;

}
.image-container:hover img{
	transform:rotate(0deg);
	transform:scale(1.2);
	box-shadow:10px 10px 15px #ccc;
	}
.image-container:hover::before {
    opacity: 1;
}


/*.phwall img:first-child {*/
/*    left: -8%;*/
/*	transform:rotate(-5deg)*/
/*}*/

.pic1{
    left: -8%;
	transform:rotate(-5deg)
	}

.pic2{
    /*left:1%;*/
	transform:rotate(-20deg)
	}
.pic3{
    left:8%;
	transform:rotate(5deg)
	}
.pic4{
    left: -5%;
	transform:rotate(-10deg)
	}
.pic5{
    /*left:2%;*/
	transform:rotate(-10deg)
	}
.pic6{
    left:5%;
	transform: rotate(10deg);
}

