﻿* {
    margin: 0;
    padding: 0;
}
html, body{
    width: 100%;
    height: 100%;
}
body {
    background-image: url(./img/background.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.background {
    height: 100%;
    width: 100%;
    background-color: #333333a0;
}
.navigator {
    height: 80px;
    width: 100%;
    background-color: #242424a0;
}
.n1 {
    float: left;
    height: 80px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items:center;
    margin-right: 50px;
    background-color: rgba(250, 235, 215, 0.189);
    /* background-color: rgba(255, 238, 200, 0.189); */
    text-decoration: none;
    font-size: 35px;
    color: rgb(209, 158, 63);
    font-family: LiSu;
    /* background-color: rgb(215, 250, 215); */
}
/* .logo {
    background-color: rgba(250, 235, 215, 0.189);
} */
.n2 {
    float: left;
    height: 80px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items:center;
    color: aliceblue;
    font-size: 20px;
    margin-right: 20px;
    /* background-color: rgb(34, 27, 244); */
}
.n2 a {
    display: block;
    height: 80px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items:center;
    text-decoration: none;
    color: aliceblue;
    font-size: 20px;
}
.n2:hover {
    background-color: rgba(250, 235, 215, 0.5);
}
.n3 {
    float: left;
    height: 80px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: aliceblue;
    font-size: 10px;
    margin-left: 20px;
    /* background-color: rgb(34, 27, 244); */
}

.n3 a {
    display: block;
    height: 80px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: aliceblue;
    font-size: 15px;
}

.n3 a:hover {
    color: rgb(252, 148, 11);
}
.container {
    height: 80%;
    width: 100%;
    /* background-color: #0b79e1a0; */
    text-align: center;
}
.center {
    margin: auto;
    height: 100%;
    width: 1200px;
    /* background-color: #e1840ba0; */
}


.c1 {
    /* float: left; */
    height: 50%;
    width: 100%;
    margin-top: 50px;
    /* background-color: #19e10ba0; */
}
.c2 {
    /* float: left; */
    height: 50%;
    width: 100%;
    /* background-color: #e10b0ba0; */
}




@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,800);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

.sample1 {
    display: inline-block;
    font-family: 'Playfair Display', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    /* margin: 10px; */
    min-width: 230px;
    max-width: 315px;
    max-height: 220px;
    width: 100%;
    color: #000;
    text-align: right;
    font-size: 16px;
    background-color: #000;
    margin: 10px;
}

.sample1 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.sample1 img {
    height: 220px;
    width: 320px;
    /* max-width: 100%; */
    backface-visibility: hidden;
}

.sample1 figcaption {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 1;
    padding: 30px 0 30px 10px;
    background-color: #fff;
    width: 40%;
    -webkit-transform: translateX(150%);
    transform: translateX(150%);
}

.sample1 figcaption:before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 100%;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 120px 120px 120px 0;
    border-color: transparent #fff transparent transparent;
}

.sample1:after {
    position: absolute;
    bottom: 50%;
    right: 40%;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 120px 120px 0 120px;
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.sample1 h3,
.sample1 p {
    line-height: 1.5em;
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
    margin: 0;
}

.sample1 h3 {
    margin: 0 0 5px;
    line-height: 1.1em;
    font-weight: 900;
    font-size: 1.4em;
    opacity: 0.75;
}

.sample1 p {
    font-size: 0.8em;
}

.sample1 i {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 30px;
    font-size: 44px;
    color: #fff;
    opacity: 0;
}

.sample1 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.sample1:hover img,
.sample1.hover img {
    zoom: 1;
    filter: alpha(opacity=50);
    -webkit-opacity: 0.5;
    opacity: 0.5;
}

.sample1:hover:after,
.sample1.hover:after,
.sample1:hover figcaption,
.sample1.hover figcaption,
.sample1:hover i,
.sample1.hover i {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

/* 背景仅演示，请自行修改 */
html {
    height: 100%;
}

body {
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
    margin: 0;
    height: 100%;
}





@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

figure.sample2 {
    display: inline-block;
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 230px;
    max-width: 315px;
    width: 100%;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    background-color: #000000;
}

figure.sample2 *,
figure.sample2 *:before,
figure.sample2 *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
}

figure.sample2 img {
    height: 220px;
    width: 320px;
    backface-visibility: hidden;
    vertical-align: top;
    opacity: 0.9;
}

figure.sample2 .title {
    position: absolute;
    top: 58%;
    left: 25px;
    padding: 5px 10px 10px;
}

figure.sample2 .title:before,
figure.sample2 .title:after {
    height: 2px;
    width: 400px;
    position: absolute;
    content: '';
    background-color: #ffffff;
}

figure.sample2 .title:before {
    top: 0;
    left: 10px;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

figure.sample2 .title:after {
    bottom: 0;
    right: 10px;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

figure.sample2 .title div:before,
figure.sample2 .title div:after {
    width: 2px;
    height: 300px;
    position: absolute;
    content: '';
    background-color: #ffffff;
}

figure.sample2 .title div:before {
    top: 10px;
    right: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

figure.sample2 .title div:after {
    bottom: 10px;
    left: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

figure.sample2 h2,
figure.sample2 h4 {
    margin: 0;
    text-transform: uppercase;
}

figure.sample2 h2 {
    font-weight: 400;
}

figure.sample2 h4 {
    display: block;
    font-weight: 700;
    background-color: #ffffff;
    padding: 5px 10px;
    color: #000000;
}

figure.sample2 figcaption {
    position: absolute;
    bottom: 42%;
    left: 25px;
    text-align: left;
    opacity: 0;
    padding: 5px 60px 5px 10px;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 1.5px;
}

figure.sample2 figcaption p {
    margin: 0;
}

figure.sample2 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

figure.sample2:hover img,
figure.sample2.hover img {
    zoom: 1;
    filter: alpha(opacity=35);
    -webkit-opacity: 0.35;
    opacity: 0.35;
}

figure.sample2:hover .title:before,
figure.sample2.hover .title:before,
figure.sample2:hover .title:after,
figure.sample2.hover .title:after,
figure.sample2:hover .title div:before,
figure.sample2.hover .title div:before,
figure.sample2:hover .title div:after,
figure.sample2.hover .title div:after {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

figure.sample2:hover .title:before,
figure.sample2.hover .title:before,
figure.sample2:hover .title:after,
figure.sample2.hover .title:after {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.sample2:hover figcaption,
figure.sample2.hover figcaption {
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

/* 背景仅演示，请自行调整 */
html {
    height: 100%;
}

body {
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
    margin: 0;
    height: 100%;
}