* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面滚动 */
html {
    scroll-behavior: smooth;
}

body {
    background: url(../img/beijng.jpg) no-repeat fixed;
    background-size: 100vw 100vh;
}

ul,
ol,
li {
    list-style: none;
    /* 去点 */
}

a {
    text-decoration: none;
    /* 去下划线 */
}

input,
button,
img,
div {
    border-radius: 10px;
    border: none;
    /* 居中 */
    vertical-align: middle;
    cursor: pointer;
    transition: all .4s;
    /* 防止图片变形 */
    object-fit: cover;
}

/* 图片移动 */
.imgmove:hover {
    transform: translateX(6px);
}

/* 图片放大 */
.imgcur:hover {
    z-index: 999;
    box-shadow: 10px 10px 20px #d9d9d9,
        -10px -10px 20px #ffffff;
    transform: scale(1.2);
    /* 防止图片变形 */
    object-fit: cover;
}

.content {
    margin: auto;
    width: 1250px;
    /* height: 2000px;
    background-color: skyblue; */
}

/* 头部 header */
header {
    background-image: url(../img/banner\ \(2\).jpg);
    background-repeat: no-repeat;
    background-size: 100% 160px;
}

.header-left img {
    margin-left: 50px;
    width: 200px;
}

.header-right {
    position: relative;
    float: right;
    margin-right: 50px;
    margin-top: -40px;
}

.header-right button {
    background-color: rgba(194, 194, 194, 0.5);
    /* width: 30px;
    height: 20px; */
    margin-left: 66px;
}

.header-right button:hover {
    background-color: rgb(233, 233, 233);
}

.header-right button:hover>.header-right a {
    color: #ffffff;
}

.header-right a {
    border-radius: 10px;
    background: rgba(109, 44, 44, 0.5);
    margin-left: 30px;
}

.header-right .active {
    transform: translateX();
    position: absolute;
    bottom: -5px;
    left: 30px;


    /* 添加下划线 
    text-decoration: underline;*/
    text-decoration: none;
    height: 3px;
    width: 45px;
    background-color: #fff;
    /* border-bottom: 3px solid #fff; */
    /* #555换成链接的颜色 */
    display: inline-block;
    /* padding-bottom: 2px; */
    /*这里设置你要空的距离*/
}

.header-right a {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* banner */
.banner {
    margin-top: 30px;
}

.slider {
    position: relative;
    width: 720px;
    height: 450px;
}

.slider-wrapper img {
    /* 防止图片变形 */
    object-fit: cover;
    width: 720px;
    height: 450px;
}

.slider-indicator {
    /* 居中 */
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
}

.slider-indicator li {
    float: left;
    margin-left: 10px;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 50%;
}

.slider-indicator .active {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
}

.toggle {
    position: absolute;
    top: 50%;
}

.toggle button {
    transition: all .4s;
    background: rgba(255, 255, 255, .5);
    opacity: .5;
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.toggle button:hover {
    background: rgba(255, 255, 255, 1);
    /* border: 1px #292929 solid; */
}

.toggle .prev {
    position: absolute;
    left: 30px;
}

.toggle .next {
    position: absolute;
    left: 650px;
}

/* .banner img {
    margin: auto;
    height: 600px;
    animation: move 15s ease-in-out;
}

@keyframes move {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-1000px);
    }
    50% {
        transform: translateX(-2100px);
    }
    75% {
        transform: translateX(-1000px);
    }
    100% {
        transform: translateX(0);
    }
} */

.banner-left {
    float: left;
}

.banner-right {
    float: right;
    /* display: flex; */
}

.banner-right h1 {
    /* float: left; */
    margin-top: 30px;
    width: 500px;
    height: 0px;
    font-size: 25px;
    color: #555;
    font-weight: 500;
}

.brightImg img {
    width: 150px;
}

.brightImg {
    float: left;
    margin-left: 30px;
}

.brightImg:nth-child(1) {
    margin-left: 0;
}

/* 可惜部分 */
.kexi {
    margin-top: 30px;
}

.kexi-left {
    float: left;
    width: 35%;
}

.kexi-text {
    margin-right: 20px;
    font-size: 24px;
    color: #555;
}

.kexi-text .kexi-title {
    text-align: center;
    font-weight: 800;
}

.kexi-right {
    float: right;
    width: 65%;
}


.kexi-text li {
    position: relative;
}

.kexi-text li::before {
    position: absolute;
    content: '';
    left: -15px;
    top: 15px;
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
}

.kexi-img {
    float: left;
}

.kexi-right img {
    margin-top: 20px;
    width: 392px;
}

.kexi-right img:nth-child(1),
.kexi-right img:nth-child(2) {
    margin-top: 0;
}

.kexi-right img:nth-child(2),
.kexi-right img:nth-child(4) {
    margin-left: 20px;
}

/* 内容部分 */
.content-img {
    margin-top: 30px;
}

.admire {
    display: flex;
    justify-content: left;
    align-items: end;
    margin-bottom: 20px;
}

.admire h1 {
    float: left;
    color: #ae061f;
}

.admire img {
    margin-bottom: -10px;
    width: 100px;
}

/* 响应 */
.containerer {
    width: 1300px;
    margin: 0 auto;
    position: relative;
}

.containerer img {
    position: absolute;
    transition: 0.3s;
}

/* 头像部分 */
.loveheader {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    margin: 30px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 350px;
    height: 350px;
    /* background-color: #fff; */
}

.front,
.back {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    /* 决定主轴的方向 从上到下 */
    flex-direction: column;
    /* 子元素之前、之间、之后都留有空白空间，且空间自行分配,项目之间的间隔比项目与边框的间隔大一倍 */
    justify-content: space-around;
    align-items: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 1s;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    color: #fff;
}

.card .front {
    /* background-color: aqua; */
    z-index: 100;
}

.card p {
    transform: translateZ(50px);
}

.card img {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.card .back {
    /* background-color: aquamarine; */
    transform: rotateY(180deg);
}

.card:hover .front {
    transform: rotateY(-180deg);
}

.card:hover .back {
    transform: rotateY(0deg);
}

.avatar-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.avatar-header img {
    width: 150px;
    float: left;
    margin: 30px;
}

/* Q版部分 */
.edQ-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.edQ-img img {
    width: 300px;
}

/* 表情 */
.yound-left {
    width: 60%;
    float: left;
}

.yound-right {
    padding-left: 20px;
    width: 40%;
    float: right;
}

.yound-left-img img {
    margin-top: 20px;
    margin-left: 20px;
    width: 362px;
    height: 220px;
}

.yound-left-img img:nth-child(1),
.yound-left-img img:nth-child(2) {
    margin-top: 0;
}

.yound-left-img img:nth-child(1),
.yound-left-img img:nth-child(3), 
.yound-left-img img:nth-child(5), 
.yound-left-img img:nth-child(7) 
{
    margin-left: 0;
}

.yound-right-img img {
    width: 100%;
    height: 463px;
}

.yound-right-img img:nth-child(2) {
    margin-top: 20px;
}

/* 爱是什么 */
.wherelove {
    margin-top: 30px;
}

.wherelove-ltft {
    width: 35%;
    float: left;
}

.wherelove-ltft img {
    width: 100%;
}

.wherelove-right {
    width: 65%;
    float: right;
}

.where-right-img img {
    margin-top: 20px;
    margin-left: 20px;
    float: left;
    width: 248px;
    height: 380px;
}

.where-right-img img:nth-child(1),
.where-right-img img:nth-child(2),
.where-right-img img:nth-child(3) {
    margin-top: 0;
}

.where-right-img img:nth-child(1),
.where-right-img img:nth-child(5s) {
    margin-left: 0;
}

/* 雅雅 */

.swiper {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px !important;
    height: 400px !important;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* footer部分 */
.footer {
    margin-top: 30px;
}

.footer img {
    width: 100%;
}

/* 电梯导航 */
.elevator {
    opacity: 0;
    transition: all .4s;
    position: fixed;
    bottom: 240px;
    right: 100px;
    width: 45px;
    border: #ae061f 2px solid;
    background-color: #f3f3f3;
}

.elevator-img {
    position: absolute;
    top: 60px;
    left: 38px;
}

.elevator-img img {
    width: 100px;
}

.elevator-list li {
    border: 1px solid #ae061f;
    width: 100%;
    height: 45px;

}

.elevator .active {
    color: #ae061f;
}

.elevator-list li a {
    color: #555;
    margin: auto;
    text-align: center;
    display: block;

}

/* 返回顶部 */
.backTop {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    font-size: 16px;
}