@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Battambang&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Odor+Mean+Chey&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Kaushan Script', cursive;
}
:root{
    --black: black;
    --red: red;
}
.header{
    width: 100%;
    background-color: var(--black);
}
.row-header{
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 0px auto;
    align-items: center;
    padding: 20px 0px;
}
.row-header img{
    height: 80px;
}
.menu-bar{
    width: 100%;
    background-color: var(--red)
}
.menu{
   
    width: 80%;
    margin-left: 10%;
}
.menu ul{
    list-style: none;
    display: flex;
    margin: 0px;
    padding: 0px;
}
.menu ul li a{
    padding: 15px 20px;
    font-size: 20px;
    color: white;
    text-decoration: none;
    display: block;
    opacity: 0.9;
    font-family: 'Odor Mean Chey', serif;
}
.menu ul li a:hover{
    opacity: 1;
}
.menu ul li:hover:first-child{
    background-color: rgb(151, 125, 125);
}

/* container */
.container{
    width: 100%;
    margin-top: 15px;
}
.content-1{
    width: 80%;
    height: 600px;
    display: flex;
    margin: 0px auto;
    justify-content: space-between;
}
.main-news{
    width: 70%;
    height: 100%; 
    background-color: cornflowerblue;
}
.main-news .top{
    width: 100%;
    height: 50%;
    display: flex;
}
.main-news .bottom{
    width: 100%;
    height: 50%;
    display: flex;
}
.main-news .col-left{
    width: 60%;
    height: 100%;  
    position: relative;
    transition: 0.5s;
}
.main-news .col-left img{
    width: 100%;
    height: 100% ;
    
}
.main-news .col-left h3{
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: white;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-top: 163px;
    /* padding-top: 110px; */
    font-family: 'Battambang', cursive;
    transition: 0.5s all;
}
.main-news .col-left:hover h3{
    color: red;
    padding-bottom: 70px;
    transition: all 0.5s;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5)00%, rgba(0,0,0,0.7)60%, black 100%) ;
}
.main-news .col-left .label{
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 25px;
    left: 0px;
    overflow: hidden;
}
.main-news .col-left .label p{
    color: white;
    padding-left: 15px;
    padding-top: 40px;
    font-size: 12px;
    font-family: 'Battambang', cursive;
}
.main-news .col-left:hover p{
    padding-top: 0px;
    transition: all 0.5s;
}
.main-news .col-left .date{
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0px;
}
.main-news .col-left .date p{
    color: white;
    font-size: 14px;
    padding-left: 15px;   
    font-family: 'Battambang', cursive; 
}
.main-news .col-left .conner{
    width: auto;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
    position: absolute;
    left: 0;
    padding: 10px 30px;
    z-index: 1;
    top: 10px;
    background-color: #FA5480;
}
.main-news .col-left .conner p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
}

/* Col-right */

.main-news .col-right{
    width: 40%;
    height: 100%; 
    position: relative;
}
.main-news .col-right img{
    width: 100%;
    height: 100%;
}

.main-news .col-right h3{
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: white;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-top: 163px;
    /* padding-top: 110px; */
    font-family: 'Battambang', cursive;
    transition: 0.5s all;
}
.main-news .col-right:hover h3{
    color: red;
    padding-bottom: 70px;
    transition: all 0.5s;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5)00%, rgba(0,0,0,0.7)60%, black 100%) ;
}
.main-news .col-right .label{
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 25px;
    left: 0px;
    overflow: hidden;
}
.main-news .col-right .label p{
    color: white;
    padding-left: 15px;
    padding-top: 40px;
    font-size: 12px;
    font-family: 'Battambang', cursive;
}
.main-news .col-right:hover p{
    padding-top: 0px;
    transition: all 0.5s;
}
.main-news .col-right .date{
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0px;
}
.main-news .col-right .date p{
    color: white;
    font-size: 14px;
    padding-left: 15px;   
    font-family: 'Battambang', cursive; 
}
.main-news .col-right .conner{
    width: auto;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
    position: absolute;
    left: 0;
    padding: 10px 30px;
    z-index: 1;
    top: 10px;
    background-color: #FA5480;
}
.main-news .col-right .conner p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
}

/* Main-ads */
.main-ads{
    width: 29%;
    height: 100%;
}
.main-ads img,iframe{
    width: 100%; 
    margin-bottom: 1%;
    height: 49%;
}

/* content-2 */
.content-2{
    width: 80%;
    height: 850px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-top: 70px;
    margin-left: 10%;
    position: relative;
    border-top: 2px solid red;
    margin-bottom: 4%;
}
.content-2 .category{
    position: absolute; 
    left: 0;
    top: -55px;
    width: 130px;
    background-color: red;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-2 .category p{
    padding: 10px 20px;
    font-size: 18px ;
    color: white;
    font-family: 'Odor Mean Chey', serif;
}
.content-2 .news-top{
    width: 91.5%;
    height: 40%;
    margin-left: 5%;
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
}
.news-top .news-4{
    width: 35%;
    height: 100%;
}
.news-top .news-4 .box-img{
    width: 95%;
    height: 80%;
    background-color: black;
    
}
.news-top .box-img img{
    width: 100%;
    height: 100%;
    transition: 0.7s all;
    object-fit: cover; 
}
.news-top .box-img:hover img{
    transform: scale(0.97);
    transition: all 0.5s;
}
.news-top .news-4 h5 {
    width: 100%;
    height: 20%; 
    padding: 10px;
    font-family: 'Battambang', cursive; 
    font-weight: bold;
    font-size: 16px;
}
.news-bottom{
    width: 90%;
    height: 50%;
    margin-left: 5%;
    margin-top: 10px;
    display: flex;
    justify-content: space-between  ;
}
.news-bottom .news-left{
    width: 70%;
    height: 100%;
}

.news-bottom .news-right{
    width: 29%;
    height: 100%;  
}
.news-bottom .news-right img{
    width: 100%;

}
.box-top{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
}
.box-1{
    width: 24%;
    height: 100%;
}
.box-1 .box-1-top{
    width: 100%;
    height: 70%;
}
.box-1 .box-1-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: top; 
    transition: 0.4s all; 
}
.box-1 .box-1-top:hover img{
    transform: scale(0.97);
    transition: all 0.3s;
}
.box-1 .box-1-top p{
    width: 100%;
    height: 30%;
    font-family: 'Battambang', cursive; 
    font-size: 12px;
    margin-left: 2%;
}
.box-down{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
}

/* Content-3 */
.content-3{
    width: 80%;
    height: 450px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 10px;
    border-top: 2px solid rgb(247, 89, 168);
    padding-top: 1%;
    display: flex;
} 
.content-3 .category{
    position: absolute;
    left: 0;
    top: -59px;
    width: 130px;
    padding: 12px;
    background-color: rgb(247, 89, 168);
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-3 .category p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
    font-size: 18px ;
}
.content-3 .row{
    width: 90%;
    height: 95%;
    margin-left: 5%;
    display: flex;
}
.content-3 .col-text{
    width: 30.5%;
    height: 95%;
    background-color: black;
    
}
.content-3 .col-text .col-4{
    width: 100%;
    height: 70%;
    display: flex;
    transition: 0.4s all;
}
.content-3 .col-text .col-4 img{
    width: 33.33%;
    height: 100%;
    object-fit: cover;  
    object-position: top; 
}
.content-3 .col-text:hover .col-4 {
    transform: scale(0.97);
    transition: all 0.6s;
}
.content-3 .col-text .col-8{
    width: 100%;
    height: 32%;
    background-color:rgb(247, 89, 168);
}
.content-3 .col-text p{
    padding-top: 3%;
    font-family: 'Odor Mean Chey', serif;
    font-size: 20px;
    text-align: justify;
    color: white;
    margin-left: 2%;
    margin-right: 15%;
}
.content-3 .row .col-news{
    width: 76.77%;
    height: 100%;
    padding-left: 1%;
}
.content-3 .arrow-icon{
    width: 2%;
    color: rgb(247, 89, 168);
    font-size: 30px;
    align-self: center;
}
.content-3 .arrow-icon i{
    margin-left: 10px;
}

/* content-4 */
.content-4{
    width: 80%;
    height: 450px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 10px;
    border-top: 2px solid  rgb(56, 195, 120);
    padding-top: 1%;
    display: flex;
} 
.content-4 .category{
    position: absolute;
    left: 0;
    top: -59px;
    width: 130px;
    padding: 12px;
    background-color: rgb(56, 195, 120);
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-4 .category p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
    font-size: 18px ;
}
.content-4 .row{
    width: 90%;
    height: 95%;
    margin-left: 5%;
    display: flex;
}
.content-4 .col-text{
    width: 30.5%;
    height: 95%;
    background-color: black;
    
}
.content-4 .col-text .col-4{
    width: 100%;
    height: 70%;
    transition: 0.4s all;
}
.content-4 .col-text .col-4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
    /* object-position: fill; */
}
.content-4 .col-text:hover .col-4 {
    transform: scale(0.97);
    transition: all 0.6s;
}
.content-4 .col-text .col-8{
    width: 100%;
    height: 32%;
    background-color:rgb(56, 195, 120);
}
.content-4 .col-text p{
    padding-top: 3%;
    font-family: 'Odor Mean Chey', serif;
    font-size: 20px;
    text-align: justify;
    color: white;
    margin-left: 2%;
    margin-right: 15%;
}
.content-4 .row .col-news{
    width: 76.77%;
    height: 100%;
    padding-left: 1%;
}
.content-4 .arrow-icon{
    width: 2%;
    color: rgb(56, 195, 120);
    font-size: 30px;
    align-self: center;
}
.content-4 .arrow-icon i{
    margin-left: 10px;
}

/* content-5 */
.content-5{
    width: 80%;
    height: 450px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 10px;
    border-top: 2px solid#F9A62B;
    padding-top: 1%;
    display: flex;
} 
.content-5 .category{
    position: absolute;
    left: 0;
    top: -59px;
    width: 160px;
    padding: 12px;
    background-color: #F9A62B;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-5 .category p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
    font-size: 18px ;
}
.content-5 .row{
    width: 90%;
    height: 95%;
    margin-left: 5%;
    display: flex;
}
.content-5 .col-text{
    width: 30.5%;
    height: 95%;
    background-color: black;
    
}
.content-5 .col-text .col-4{
    width: 100%;
    height: 70%;
    transition: 0.4s all;
}
.content-5 .col-text .col-4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
}
.content-5 .col-text:hover .col-4 {
    transform: scale(0.97);
    transition: all 0.6s;
}
.content-5 .col-text .col-8{
    width: 100%;
    height: 32%;
    background-color:#F9A62B;
}
.content-5 .col-text p{
    padding-top: 3%;
    font-family: 'Odor Mean Chey', serif;
    font-size: 20px;
    text-align: justify;
    color: white;
    margin-left: 2%;
    margin-right: 15%;
}
.content-5 .row .col-news{
    width: 76.77%;
    height: 100%;
    padding-left: 1%;
}
.content-5 .arrow-icon{
    width: 2%;
    color: #F9A62B;
    font-size: 30px;
    align-self: center;
}
.content-5 .arrow-icon i{
    margin-left: 10px;
}

/* content-6 */
.content-6{
    width: 80%;
    height: 450px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 10px;
    border-top: 2px solid #4390F8;
    padding-top: 1%;
    display: flex;
} 
.content-6 .category{
    position: absolute;
    left: 0;
    top: -59px;
    width: 130px;
    padding: 12px;
    background-color: #4390F8;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-6 .category p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
    font-size: 18px ;
}
.content-6 .row{
    width: 90%;
    height: 95%;
    margin-left: 5%;
    display: flex;
}
.content-6 .col-text{
    width: 30.5%;
    height: 95%;
    background-color: black;
    
}
.content-6 .col-text .col-4{
    width: 100%;
    height: 70%;
    display: flex;
    transition: 0.4s all;
}
.content-6 .col-text .col-4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: top; 
}
.content-6 .col-text:hover .col-4 {
    transform: scale(0.97);
    transition: all 0.6s;
}
.content-6 .col-text .col-8{
    width: 100%;
    height: 32%;
    background-color:#4390F8;
}
.content-6 .col-text p{
    padding-top: 3%;
    font-family: 'Odor Mean Chey', serif;
    font-size: 20px;
    text-align: justify;
    color: white;
    margin-left: 2%;
    margin-right: 15%;
}
.content-6 .row .col-news{
    width: 76.77%;
    height: 100%;
    padding-left: 1%;
}
.content-6 .arrow-icon{
    width: 2%;
    color: #4390F8;
    font-size: 30px;
    align-self: center;
}
.content-6 .arrow-icon i{
    margin-left: 10px;
}

/* content-7 */
.content-7{
    width: 80%;
    height: 450px;
    box-shadow: 2px 2px 8px rgba(62, 61, 61, 0.262);
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 10px;
    border-top: 2px solid #555555;
    padding-top: 1%;
    display: flex;
} 
.content-7 .category{
    position: absolute;
    left: 0;
    top: -59px;
    width: 130px;
    padding: 12px;
    background-color: #555555;
    clip-path: polygon(0% 0%, 80% 0, 99% 100%, 100% 100%, 0% 100%);
}
.content-7 .category p{
    color: white;
    font-family: 'Odor Mean Chey', serif;
    font-size: 18px ;
}
.content-7 .row{
    width: 90%;
    height: 95%;
    margin-left: 5%;
    display: flex;
}
.content-7 .col-text{
    width: 30.5%;
    height: 95%;
    background-color: black;
    
}
.content-7 .col-text .col-4{
    width: 100%;
    height: 70%;
    display: flex;
    transition: 0.4s all;
}
.content-7 .col-text .col-4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
}
.content-7 .col-text:hover .col-4 {
    transform: scale(0.97);
    transition: all 0.6s;
}
.content-7 .col-text .col-8{
    width: 100%;
    height: 32%;
    background-color:#555555;
}
.content-7 .col-text p{
    padding-top: 3%;
    font-family: 'Odor Mean Chey', serif;
    font-size: 20px;
    text-align: justify;
    color: white;
    margin-left: 2%;
    margin-right: 15%;
}
.content-7 .row .col-news{
    width: 76.77%;
    height: 100%;
    padding-left: 1%;
}
.content-7 .arrow-icon{
    width: 2%;
    color: #555555;
    font-size: 30px;
    align-self: center;
}
.content-7 .arrow-icon i{
    margin-left: 10px;
}

.footer{
    width: 100%;
    height: 350px;
    background-color: black;
}
.footer .row-footer{
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10%;
}

/* footer */
.footer .footer-left{
    width: 29%;
    height: 80%;
}
.footer .footer-left .address{
    margin-left: 3%;
    margin-top: 2%;
} 
.footer .footer-left .address h2{
    font-size: 16px;
    line-height: 2.3;
    color: white;
    opacity: 0.8;
    font-family: 'Odor Mean Chey', serif;
    
}
.footer .footer-left .address p{
    font-size: 16px;
    color: white;
    opacity: 0.7;
    line-height: 1.5;
    font-family: 'Battambang', cursive; 
}

.footer .footer-middle{
    width: 38%;
    height: 80%;
}
.footer .footer-middle .other-web{
    margin-left: 2%;
    margin-top: 2%;
}
.footer .footer-middle .other-web h1{
    font-size: 22px;
    color: white;
    opacity: 0.7;
    font-family: 'Kdam Thmor Pro', sans-serif;
}
.footer .footer-middle .other-web p{
    font-family: 'Battambang', cursive; 
    font-size: 16px;
    color: white;
    opacity: 0.7;
}
.footer .footer-middle .other-web p strong{
    font-family: 'Battambang', cursive; 
}
.footer .footer-middle .other-web h2{
    font-size: 16px;
    line-height: 2.3;
    color: white;
    opacity: 0.7;
    font-family: 'Odor Mean Chey', serif;
}
.footer .footer-middle .logo{
    margin-top: 2%;
    width: 95%;
    display: flex;
    justify-content: space-between;
}
.footer .footer-middle img{
    width: 40px;
    height: 40px;
}


.footer .footer-right{
    width: 29%;
    height: 80%;
}
.footer .footer-right .socail{
    margin-left: 3%;
    margin-top: 2%;
}
.footer .footer-right h1{
    font-size: 22px;
    color: white;
    opacity: 0.7;
    font-family: 'Kdam Thmor Pro', sans-serif;
}
.footer .footer-right .social-media{
    font-size: 30px;
    color: white;
    opacity: 0.7;
    margin-bottom: 25px;
}
.footer .footer-right .contact{
    margin-left: 3%;
}
.footer .footer-right .contact h2{
    line-height: 1.1;
    font-size: 16px;
    color: white;
    opacity: 0.9;
    font-family: 'Odor Mean Chey', serif;
}
.footer .footer-right .contact p{
    font-family: 'Battambang', cursive; 
    font-size: 16px;
    color: white;
    opacity: 0.7;
}