
.banner {
    width: 100%;
    height: 800px;
    background-image: url('../imgs/home_banner.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner .banner-font {
    color: #fff;
    text-align: center;
}

.banner-font .title {
    font-size: 4rem;
    margin-bottom: 10rem;
}

.banner-font .subtitle {
    font-size: 2rem;
}

.content {
    width: 90%;
    margin: auto;
    padding-bottom: 3%;
}


.services-container {
    display: flex;
    padding: 5rem 0 5rem 0;
    justify-content: space-between;

}

.content-header {
    text-align: center;
}

.content-header .title {
    font-size: 2rem;
    padding: 3rem 0 3rem 0;
}

.content-header .subtitle {
    font-size: 1rem;
}

.content-header .subtitle:last-child {
    padding: .6rem;
}


.text {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text .title {
    padding: 0rem;
}

.text .subtitle {
    margin-top: 1.5rem;
}

.img {
    width: 60%;
    height: 100%;
}

.img img {
    width: 100%;
    height: 100%;
}


.ad-container {
    height: 150px;
    background: black;
    padding: 3rem;
    color: #fff;
    display: flex;
    align-items: center;

}

.ad-container .title {
    font-size: 3rem;
}

.contact-container {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container .title {
    font-size: 2rem;
    font-weight: 100;
}



.case-container {
    width: 100%;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1%;
    margin: 5rem 0 6rem 0;
}

.case-container .img-container {
    height: 80%;
}


.case-container .case-item {
    color: #0d0d0d;

}

.case-container .case-item img {
    width: 100%;
    height: 100%;
}

.case-container .case-item .title {
    font-size: 1.3rem;
    margin: 10px 0 10px 0px;

}


/* 按纽 */

.btn {
    background-color: #0D0D0D;
    color: #fff;
    padding: 1rem;
    width: 40%;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
    margin: 1rem auto;
}

.btn:hover {
    cursor: pointer;
    background-color: rgba(75, 75, 75, 1);
}


/*
移动端
*/
@media screen and (max-width: 768px) {

    .case-container{
        display: block;
        height: auto;
        
    }
    .case-item{
        margin-bottom: 2rem;
    }
    .footer-container{
        font-size: 0.8rem;
    }
    .ad-container {
        padding: 1rem;
    }
    .ad-container .title {
        font-size: 1.3rem;
    }
    .ad-container .info{
        font-size: 0.8rem;
    }

    .text {
        display: block;
    }

    .text .container{
        width: 100%!important;;
    }

    .services-container{
        display: block;
    }

    .text .img{
        width: 100%;
        margin-top: 3rem;
    }


}