@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: Helvetica Neue, PingFang SC, Microsoft YaHei, Helvetica, Arial, sans-serif;
    height: 100%;
    background-color: #121315;
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    text-decoration: underline;
}

ul,
li {
    list-style: none;
}

header,
footer {
    padding: 20px 12%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.header-left,
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-left img,
.footer-left img {
    height: 50px;
    width: auto;
}

.header-left span,
.footer-left span {
    font-size: 15px;
}

.header-right {
    margin: 10px 0;
    text-align: center;
}

.header-right div,
.box4 form>div {
    display: inline-block;
    border-radius: 30px;
    padding: 1px;
    margin: 10px;
    width: 140px;
    line-height: 40px;
    text-align: center;
    background-image: linear-gradient(146deg, rgba(249, 51, 52, 1), rgba(244, 68, 145, 1));
}

.header-right a,
.box4 button {
    border-radius: 30px;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #000;
}

section p {
    opacity: 0.8;
}

.box1 {
    padding: 7% 12%;
    background: url("./img/bg_1.png") 0 0 no-repeat;
    background-size: contain;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.box1-left {
    width: 45%;
    min-width: 280px;
}

.box1-left h2 {
    font-size: 4.2rem;
    vertical-align: middle;
    line-height: 6rem;
}

.box1-left img {
    vertical-align: middle;
    height: 50px;
    margin-left: 30px;
}

.box1-left p {
    font-size: 15px;
    margin-top: 1rem;
}

.box1>img {
    width: 45%;
    min-width: 280px;
    margin-right: 8%;
    margin-top: 30px;
}

.box2 {
    padding: 5% 12%;
    text-align: center;
}

.box2>img {
    margin-bottom: 20px;
}

.box2 p {
    line-height: 30px;
}

.box2>p {
    width: 80%;
    margin-left: 10%;
}

.box2 h2 {
    font-size: 3rem;
}

.box2-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 7% 0;
    background: url("./img/line2.png") 35% 0 no-repeat;
    margin-top: 30px;
}

.box2-content img {
    width: 28%;
    min-width: 250px;
}

.box2-content div {
    width: 45%;
    background: url("./img/frame_5.png") 0 0 no-repeat;
    background-size: 100% 100%;
    padding: 5% 30px;
    text-align: left;
    min-width: 260px;
}

.box2-info {
    background: url("./img/frame_6.png") 0 0 no-repeat;
    background-size: 100% 100%;
    width: 70%;
    margin-left: 15%;
    padding: 2% 0;
}

.box3,
.box4 {
    padding: 5% 12%;
}

.box3 h2 {
    margin-left: 15%;
    font-size: 2.2rem;
}

.box3 p,
.box4 p {
    line-height: 30px;
}

.box3>img {
    width: 50%;
    margin-left: 30%;
    min-width: 200px;
}

.box3>p,
.box4>p {
    font-size: 1.6rem;
    margin-bottom: 60px;
}

.box3-info {
    background: url("./img/frame_5.png") 0 0 no-repeat;
    background-size: 100% 100%;
    padding: 25px;
    display: inline-block;
    margin-right: 5%;
    margin-top: 40px;
    cursor: pointer;
    vertical-align: top;
}

.box3-info:hover {
    background: url("./img/Group\ 33.png") 0 0 no-repeat;
    background-size: 100% 100%;
}

.box3-info h3 {
    font-size: 1.5rem;
    line-height: 3rem;
}

.box3-info img {
    margin-top: 2rem;
}

.box3 .box3-info:nth-child(4) {
    width: 43%;
    min-width: 240px;
}

.box3 .box3-info:nth-child(5) {
    width: 35%;
    min-width: 240px;
}

.box3 .box3-info:nth-child(6) {
    width: 25%;
    min-width: 240px;
}

.box3 .box3-info:nth-child(7) {
    width: 54%;
    min-width: 240px;
}

.box4 {
    text-align: center;
}

.box4 h2 {
    font-size: 2.2rem;
    line-height: 3.5rem;
    margin-bottom: 10px;
}

.box4 input,
.box4 textarea {
    width: 50%;
    min-width: 250px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    color: #fff;
    background-color: #121315;
    margin-bottom: 30px;
    border: 1px solid #999;
    padding: 20px;
    font-size: 1.2rem;
}

.box4 form > div {
    width: 160px;
    height: 50px;
}

.box4 button {
    border: none;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
}

footer {
    padding: 3% 15%;
    background-color: #1C1E22;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-right a {
    text-decoration: underline;
    margin: 10px 30px;
}

@media screen and (max-width: 640px) {
    .box1-left h2 {
        font-size: 2.2rem;
        vertical-align: middle;
        line-height: 4rem;
    }

    .box2-content div {
        margin-top: 20px;
    }

    .box2-info {
        margin-left: 0;
        width: 95%;
        padding: 2% 20px;
    }

    .box4 input,
    .box4 textarea{
        display: inline-block;
        width: 90%;
    }

    .header-left,
    .footer-left {
        text-align: center;
        align-items: center;
    }
}