* {
    margin: 0;
    padding: 0;
}

html,body {
    background: url("../img/bg.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 0;
}

::selection {
	color: #fff;
	background-color: RGB(0,0,0,0.5);
}

::-moz-selection {
	color: #fff;
	background-color: RGB(0,0,0,0.5);
}

a {
    color: #fff;
    text-decoration: none;
    outline: none;
}

p {
    padding: 0 0 1rem 0;
    font-size: 1.2rem;
    text-shadow: #000 0.1rem 0.1rem 0.2rem;
}

.bg {
    background-color: RGB(0,0,0,0.1);
    z-index: 1;
}

.container {
    height: 100vh;
    color: #fff;
    font-family: zcool xiaowei, serif;
    flex-direction: column;
    display: flex;
}

.header {
    text-align: center;
    padding: 7rem 0 0 0;
    flex: 0 0 auto;
    z-index: 3;
}

.header img{
    width: 80%;
    height: 20rem;
}

.main {
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    flex: 1 0 auto;
    z-index: 3;
}

.footer {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    padding: 0 0 0.8rem 0;
    flex: 0 0 auto;
    z-index: 3;
}

.yun1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/yun1.jpg) repeat-x 0px 0px;
    background-size: cover;
    animation: yun1 6000s linear infinite;
    opacity: 0.5;
    z-index: 2;
}

@keyframes yun1 {
    from { background-position: 0 0; }
    to { background-position: 4000% 0; }
}

.yun2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/yun2.jpg) repeat-x 0px 0px;
    background-size: cover;
    animation: yun2 8000s linear infinite;
    opacity: 0.5;
    z-index: 2;
}

@keyframes yun2 {
    from { background-position: 0 0; }
    to { background-position: 30000% 0; }
}

@media(min-width:768px) {
p {
    padding: 0 0 1rem 0;
    font-size: 2rem;
}

.header {
    padding: 6rem 0 0 0;
}

.header img{
    width: 35%;
    height: 100%;
}

.footer {
    font-size: 1rem;
    padding: 0 0 1rem 0;
}
}