﻿body {
    margin: 0;
    padding: 0;
}

.header {
    min-width: 1200px;
    height: 60px;
    background-color: #007a3f;
}

.container {
    display: flex;
    position: relative;
    width: 1200px;
    margin: auto;
}

.back {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #e4e7e6;
    text-decoration: none;
}

.header ul,
.main ul {
    padding: 0;
    display: flex;
    flex-direction: row;
    margin: 10px auto 0;
}

.header li,
.main li {
    list-style: none;
}

.main {
    overflow: hidden;
    width: 100%;
    height: 800px;
    background-image: url(../img/banner-zy.png);
    background-repeat: no-repeat;
    background-size: auto 350px;
    background-position: top center;
    display: flex;
    min-width: 1200px;
}

.main ul {
    margin: 270px auto;
}

.main a {
    margin: 20px;
    padding: 80px 30px;
    display: block;
    width: 600px;
    height: 440px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .5);
    box-sizing: border-box;
    box-shadow: 5px 5px 10px rgba(0, 122, 63, .3);
    text-decoration: none;
    animation: all .5s calc();
}

.main a:hover {
    background: rgba(150, 211, 181, .6);
}

.main a span {
    height: 100px;
    line-height: 100px;
    box-sizing: border-box;
    display: block;
    margin: 30px auto;
    text-align: center;
    color: #007a3f;
    font-size: 40px;
    border-radius: 20px;
    box-shadow: 5px 10px 10px rgba(0, 122, 63, .2);
}

.main a:hover span {
    background-color: #017a3f;
    color: #fff;
}

.main a:hover .icon {
    background-color: #98c6b0;
}

.icon {
    display: block;
    margin: 60px auto;
    width: 70px;
    height: 70px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #d2e4db;
    border-radius: 50px;
    box-shadow: 3px 3px 10px rgba(0, 122, 63, .2);
}

.icon-left {
    background-image: url(../img/left.svg);
}

.icon-right {
    background-image: url(../img/right.svg);
}