.home_header {
    display: flex;
    align-items: center;
    width: 100%;
    letter-spacing: 2px;
    font-size: 18px;
    color: #000;
    background-color: rgba(254, 201, 121, .8);
}

.mobile_home_header{
    display: none;
}

.home_header div {
    margin: 0 80px;
    cursor: pointer;
    padding: 5px;
}

.home_header div a {
    color: #000;
    text-decoration: none;
}

.home_header div a:hover {
    transition: .5s;
    color: white;
}

.home_header div:hover:not(:first-child) {
    transition: .5s;
    background-color: #777;
    border-radius: 5px;
}

/* news */
.news_item_wrap {
    width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9;
}

h1 {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    font-size: 26px;
    letter-spacing: 2px;
    font-weight: 500;
}

.news_detail_wrap {
    max-width: 960px;
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 20px 0 40px 0;
    /* justify-content: center; */
}

.card {
    width: 290px;
    margin: 10px;
    background-color: #fff;
    border: 1px solid #fff;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    border-radius: 10px;
}

.card img {
    width: 100%;
    vertical-align: middle;
    border-radius: 10px;
}

.card:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}

.card:hover .content {
    background-image: -webkit-gradient(linear, left bottom, left top, from(#d0ff34), to(#fcff35));
    background-image: linear-gradient(0deg, #d0ff34, #fcff35);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}


.card .content {
    padding: 20px;
    position: relative;
    padding: 20px;
    text-align: center;
    position: relative;
}

.card .content::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    border-top: 50px solid transparent;
    border-left: 140px solid #ffffff;
    border-right: 151px solid #ffffff;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.card:hover .content::before {
    content: "";
    border-left: 140px solid #fcff35;
    border-right: 151px solid #fcff35;
}

.card .content h2 {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.card .content P {
    line-height: 1.5;
    text-align: left;
    letter-spacing: 1px;
}

.card .content h2,
.card .content p {
    color: #444444;
}

.text_contents_limit {
    height: 50px;
    overflow: hidden;
}

/* footer */
.main_footer {
    background: linear-gradient(-270deg, #e6e9f0, #eef1f5);
}

.wrap {
    margin: 0 auto;
    display: flex;
    padding: 50px;
}

.footer_item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #000;
    margin-right: 1%;
    margin-left: 1%;
}

h4 {
    font-size: 20px;
    border-bottom: 1px dotted #000;
    font-weight: 700;
    padding-bottom: 10px;
    letter-spacing: 2px;
}

li {
    font-size: 16px;
    padding-top: 10px;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    padding: 10px 0;
    background-color: rgba(254, 201, 121, .8);
    color: #000;
}

.color {
    color: #000;
}

@media(max-width: 1200px){
    .home_header div{
        margin: 0 50px
    }
    .container{
        width: auto;
    }
    .wrap{
        width: auto;
    }
    .item{
        display: flex;
        justify-content: center;
    }
}

@media(max-width: 992px){
    .home_header div{
        margin: 0 40px
    }
    .news_detail_wrap {
        padding: 20px 0 40px 10%;
        justify-content: normal;
    }
}

@media(max-width: 768px){
    .owl-one .owl-item img{
        height: auto;
    }
    .mobile_carousel{
        height: auto !important;
    }
}

@media(max-width: 576px){
    .index_wrap{
        overflow: hidden;
    }
    .home_header{
        display: none;
    }
    .home_detail{
        width: 90%;
    }
    .wrap{
        flex-direction: column;
        padding: 20px;
    }
    .footer_item{
        margin-bottom: 40px;
    }
    .item:nth-of-type(odd){
        display: flex;
        flex-direction: column-reverse;
    }
    .item:nth-of-type(even){
        display: flex;
        flex-direction: column;
    }
    .item .pic{
        width: 90%;
    }
    .item:nth-of-type(odd) .text{
        margin-left: 0;
        margin-bottom: 10px;
    }
    .item:nth-of-type(even) .text{
        margin-right: 0;
        text-align: left;
        margin-bottom: 10px;
    }
    .item .text{
        box-sizing: border-box;
        width: 90%;
        padding: 20px;
        font-size: 16px;
    }
    .mobile_home_header{
        display: flex;
        z-index: 999;
        width: 100%;
    }
    .mobile_home_header_logo{
        margin: 10px;
        z-index: 100;
    }
    .bars{
        width: 50px;
        height: 50px;
        background-color: #000;
        margin-left: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    .bars span{
        width: 30px;
        height: 3px;
        background-color: #FFF;
        display: block;
        margin: 0 auto;
        margin: 4px 0;
    }
    .mobile_link{
        position: fixed;
        z-index: 500;
        width: 100%;
        text-align: center;
        display: none;
    }
    .mobile_link div{
        font-size: 18px;
        background-color: rgba(41, 41, 41, 0.9);
        border-bottom: 1px solid #d0d0d0;
    }
    .mobile_link div a{
        color: #FFF;
        display: block;
        padding: 50px;
        text-decoration: none;
    }
}