/* banner */

.banner {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

h1,
h2,
h3,
.banner img,
p {
    margin-bottom: 20px;
    font-weight: 400;
}

.banner .left {
    max-width: 620px;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 18px;
}

p {
    font-size: 18px;
    color: #d3d3d3;
}

/* 全局item */
.item {
    padding: 10px;
}

/* download */
.download {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 50px 0;
}

.right {
    animation: showElement .5s ease-in-out forwards;
}

/* .star */
.star {
    display: flex;
    gap: 5px;
}

/* intro */
.intro {
    margin-bottom: 50px;
}

.intro .intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.intro .intro-grid h3 {
    text-align: center;
}

.intro .intro-grid p {
    color: #d3d3d3;
    margin-bottom: 28px;
}

.intro .intro-grid img {
    width: 40%;
    margin-bottom: 20px;
}

/* feedback */
.feedback {
    margin-bottom: 50px;
}

.grid-feedback {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* join-part */
.join-part {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.join-part a {
    margin: 20px 0;
}

/* .news */
.news {
    width: 100%;
    margin-bottom: 50px;
    padding: 10px;
}

.news h2 {
    margin-bottom: 20px;
}

.grid-news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-news .item {
    padding: 15px;
    background-color: #0068b6;
}

.grid-news h3 a {
    font-size: 18px;
}

.grid-news p {
    font-size: 14px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*设置对齐模式*/
    -webkit-line-clamp: 8;
    /*设置多行的行数*/

}

.grid-news .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.grid-news .time {
    font-size: 12px;
}
.grid-news a {
    font-size: 12px;
    color: #fff;
}

@keyframes showElement {
    start {
        display: block;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hideElement {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        display: none;
    }
}

@media (max-width: 850px) {
    .intro .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback .grid-feedback {
        grid-template-columns: repeat(2, 1fr);
    }

    .news .grid-news {
        grid-template-columns: repeat(2, 1fr);
    }

    img.right {
        animation: hideElement .5s ease-in-out forwards;
    }
}

@media (max-width: 600px) {
    .intro .intro-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .feedback .grid-feedback {
        grid-template-columns: repeat(1, 1fr);
    }

    .news .grid-news {
        grid-template-columns: repeat(1, 1fr);
    }
}