* {
    margin: 0;
    padding: 0;
    font-family: 'microsoft YaHei';
    letter-spacing: 2px;
}

::-webkit-scrollbar {width: 8px; height: 8px; background-color: transparent;}
::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0); border-radius: 4px; background-color: transparent;}
::-webkit-scrollbar-thumb {border-radius: 4px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0); background-color: rgba(85, 85, 85, 0.6);}
::-webkit-scrollbar-thumb:hover {background-color: rgba(85, 85, 85, 1);}

.no-scroll {
    overflow: hidden;
}

canvas {
    background-color: #000;
    opacity: .9;
    overflow: hidden;
    width: 100%;
}

.logo-small {
    width: 20px;
    height: 20px;
    margin: -5px 5px auto 5px;
}

.logo-normal {
    width: 48px;
    height: 48px;
    margin: 0 10px;
}

.navbar-brand {
    white-space: normal !important;
}

.jstext {
    text-align: center;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 40px;
}

.title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin: 30px;
}

.subtitle {
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    margin-top: -30px;
}

.p {
    font-size: 16px;
    font-weight: 400;
    margin: 20px;
    padding: 20px;
}

.navbar a {
    border-bottom: 0px solid;
    border-radius: 50%;
}

.navbar a:hover {
    color: red;
    transition: all 2s;
    border-bottom: 1px solid;
    border-radius: 10px;
}

#contactBtn {
    border-radius: 10px;
    color: white;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    background: rgba(194, 3, 3, 0.92);
    box-shadow: 0 0 5px #666;
    padding: 5px 16px;
    border: 2px solid white;
    margin: 0 3vw;
}


#products i,
#intro i {
    color: red;
    font-size: 70px
}

#intro {
    padding: 50px;
}

#about {
    background-color: rgba(128, 128, 128, 0.443);
}

#contact {
    background-image: url(../images/bg.jpg);
    color: white;
}

/*===========================
         products css
===========================*/
.product-item {
    position: relative;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    overflow-y: auto;
}
.product-item:hover {
    background-color: #f0f3fa;
}
.product-item.copy {
    transition: all .5s cubic-bezier(0, 1, .95, 1.05);
    position: fixed;
    cursor: auto;
}
.product-item .close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff !important;
    font-size: 24px !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .6);
    transition: .2s;
}
.product-item .close::before {
    position: absolute;
    top: 4px;
    left: 8px;
}
.product-item .close:hover {
    background-color: rgba(0, 0, 0, .9);
}
.product-icon {
    position: relative !important;
    margin: 10px auto;
    transform: scale(.5);
    transform-origin: 50% 50%;
}
.product-item .detail {
    display: none;
}
.sectitle {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    margin-top: 20px;
}
.btn-demo {
    display: inline-block;
    border-radius: 10px;
    color: white;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    background: rgba(194, 3, 3, 0.92);
    box-shadow: 0 0 5px #666;
    padding: 10px 20px;
    border: 2px solid white;
    margin: 2vw 3vw;
}
.btn-demo i {
    color: white !important;
    font-size: 24px !important;
}
.btn-demo:hover {
    color: white;
}

.product-item.copy.active {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10;
}
.product-item.active .close {
    display: block;
}
.product-item.active .info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2% 20px 0 20px;
    background-color: #fff;
}
.product-item.active .shortinfo {
    max-width: 600px; 
    margin: 0 auto;
}
.product-item.active .detail {
    display: block;
    overflow-y: auto;
    margin: 20px auto;
    border-top: 2px solid #eee;
    padding: 40px;
}
.product-item.active .detail p {
    text-align: left;
    margin: 0;
    padding: 20px 0;
}
.product-item.active .detail .tip {
    text-align: left;
    margin-top: -10px;
    padding: 0;
    font-size: 14px;
}
.product-item.active img {
    margin: 20px auto;
    max-width: 100%;
    border: 1px solid #333;
}

/*===========================
         Projects css
===========================*/
.single_portfolio {
    position: relative;
    width: 25%;
}

.single_portfolio a {
    text-decoration: none;
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single_portfolio {
        width: 50%;
    }
    .btn-demo {
        display: none;
    }
}

@media (max-width: 767px) {
    .single_portfolio {
        width: 100%;
    }
    .btn-demo {
        display: none;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .single_portfolio {
        width: 50%;
    }
    .btn-demo {
        display: none;
    }
}

.single_portfolio img {
    width: 100%;
}

.single_portfolio::before {
    position: absolute;
    content: '';
    /*  top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background-color: rgba(232, 78, 78, 0.9);
    opacity: 0;
    transition: all 0.3s ease-out 0s;
}

.single_portfolio .portfolio_content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.single_portfolio .portfolio_content .meta {
    padding: 0;
}

.single_portfolio .portfolio_content .meta li {
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease-out 0s;
    opacity: 0;
    list-style: none;
}

.single_portfolio .portfolio_content .meta li a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 26px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: all 0.3s ease-out 0s;
}

.single_portfolio .portfolio_content .meta li a:hover {
    background-color: #fff;
    color: #E84E4E;
}

/* .single_portfolio .portfolio_content .meta li:first-child {
    transform: translateX(-100%);
}

.single_portfolio .portfolio_content .meta li:last-child {
    transform: translateX(100%);
} */

.single_portfolio .portfolio_content .portfolio_title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-top: 25px;
    transform: translateY(100%);
    transition: all 0.3s ease-out 0s;
    opacity: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .single_portfolio .portfolio_content .portfolio_title {
        font-size: 20px;

    }
}

@media (max-width: 767px) {
    .single_portfolio .portfolio_content .portfolio_title {
        font-size: 20px;

    }
}

.single_portfolio:hover::before {
    opacity: 1;

}

.single_portfolio:hover .portfolio_content .meta li {
    transform: translateX(0);
    transition-delay: 0.2s;
    opacity: 1;

}

.single_portfolio:hover .portfolio_content .portfolio_title {
    transform: translateX(0);
    transition-delay: 0.2s;
    opacity: 1;
}

/*===========================
    FOOTER css 
===========================*/

.footer_area {
    background-color: #232323;
    padding-top: 15px;
    padding-bottom: 30px;
    color: #fff;
}

.footer_area a {
    width: 50px;
    height: 50px;
}

.amap-logo {
    display: none !important;
}
.amap-copyright {
    display: none !important;
}