/* 总布局 */
* {
    padding: 0;
    margin: 0;
}
ul li {
    list-style: none;
}
button:hover {
    outline: 0;
    border: 1px #ddd solid;
    color: rgb(26, 11, 240);
}
body {
    background-color: #57C085;
}

/* 总容器 */
#main {
    width: 99%;
    height: 99vh;
    margin: .1rem auto;
}

/*上半部区域*/
#leftItem {
    height: 24%;
    background: #EDF8F2;
}

/* 左边头部 */
#leftTitle {
    line-height: 1.5rem;
    color: #27AE61;
    display: flex;           /* 启用弹性布局 */
    justify-content: center; /* 子元素水平居中 */
}

/* 左边或上半部本站说明内容 */
#information {
    padding: 0.2rem 0;
    font-size: 0.6rem;
    margin: 0.15rem 0.25rem;
}
#information p {
    padding: 0.1rem;
}

/* 右边或下半部区域 */
#rightItem {
    background: #fff;
    float: left;
    position: relative;
    box-sizing: border-box;
    font-size: 0.9rem;
    width: 100%;
    height: 76%;
    /*perspective: 700px;     // 3D旋转的透视效果*/
}

/* 右边或下半部的提示信息 */
#info {
    width: 100%;
    height: 1.4rem;
    line-height: 1.4rem;
    background-color: #F2F2F2;
    font-family: "宋体";
    text-indent: 0.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}


/* 下半部中部的主体 */
/*主体父盒子*/
#father {
    perspective: 28rem;
    /*perspective: 1400px;*/
}
/*主体盒子*/
section {
    position: relative;
    width: 6rem;
    height: 4rem;
    margin: 3rem auto;
    /*width: 300px;*/
    /*height: 200px;*/
    /*margin: 150px auto;*/
    transform-style: preserve-3d;
    /* 添加动画效果 */
    animation: rotate 10s linear infinite;
    background: url(./roundHorse-photo/0.jpg)no-repeat;
    background-size: 100% 100%;
}
section:hover {
    /* 鼠标放上去的时候，暂停 */
    animation-play-state: paused;
}
@keyframes rotate {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}
section div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
section div:nth-child(1) {
    background: url(./roundHorse-photo/1.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(0deg) translateZ(7rem);
    /*transform:  rotateY(0deg) translateZ(350px);*/
}
section div:nth-child(2) {
    background: url(./roundHorse-photo/2.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(60deg) translateZ(7rem);
    /*transform: rotateY(60deg) translateZ(350px);*/
}
section div:nth-child(3) {
    background: url(./roundHorse-photo/3.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(120deg) translateZ(7rem);
    /*transform: rotateY(120deg) translateZ(350px);*/
}
section div:nth-child(4) {
    background: url(./roundHorse-photo/4.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(180deg) translateZ(7rem);
    /*transform: rotateY(180deg) translateZ(350px);*/
}
section div:nth-child(5) {
    background: url(./roundHorse-photo/5.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(240deg) translateZ(7rem);
    /*transform: rotateY(240deg) translateZ(350px);*/
}
section div:nth-child(6) {
    background: url(./roundHorse-photo/6.jpg)no-repeat;
    background-size: 100% 100%;
    transform: rotateY(300deg) translateZ(7rem);
    /*transform: rotateY(300deg) translateZ(350px);*/
}

/*隐藏“最简化窗口”按钮*/
#main-body-right {
    display: none;
}
