@font-face {
    font-family: Poppins-SemiBold;
    src: url(../Fonts/Poppins-SemiBold.ttf);
}

@font-face {
    font-family: Poppins-Regular;
    src: url(../Fonts/Poppins-Regular.ttf);
}

.skeleton {
    color: #f2f2f2;
    background-color: #f2f2f2;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    margin-top: 5px;
    pointer-events: none;
}

.skeleton-image{
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    background-color: #e3e3e3;
}

a{
    color: unset;
}

a:hover{
    text-decoration: none;
    color: unset;
}

.image-headline-thumbnail{
    position: relative;
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
}

.image-headline-thumbnail img{
    height: 50vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(50%);
    border-radius: 25px;
    transition: all 0.5s ease;
}

.image-headline-thumbnail:hover img{
    transform: scale(1.2);
}

.category-header{
    color: #1e70ac;
    font-size: 24pt;
    font-family: 'Museo700';
}

.category-header span{
    cursor: pointer;
}

.category-header span:hover{
    color: orange;
}

.category-header a:hover{
    color: orange;
}

.no-result{
    font-size: 20pt;
    font-family: 'Museo300';
}

.category-name{
    cursor: pointer;
}

.background-top-container{
    position: relative;
    min-height: 315px;
}

.background-contact-us{
    position: absolute;
    width: 100%;
    top: -100px;
    right: 0px;
}

.background-contact-us img{
    width: 65%;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 470px;
    object-fit: cover;
    object-position: bottom;
}

.background-top-blog-text{
    position: absolute;
    top: 25%;
    right: 15%;
    z-index: 1;
}

.background-top-blog-text h1{
    color: white;
}

.blog-container{
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    column-gap: 50px;
}

.blog-search-bar{
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.blog-search-bar input[type=text]{
    border-radius: 5px;
    border: 0px solid;
    box-shadow: 0px 2px 2px 0px #888888, 0px -1px 3px 0px #888888;
    padding: 10px 10px;
    width: 100%;
    background-color: #FAFAFA;
}

.blog-search-bar i{
    padding: 6px 10px;
    color: black;
    border: none;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 8px;
}

.blog-categories{
    font-size: 18pt;
}

.blog-categories h1{
    font-size: 26pt;
    margin-bottom: 20px;
}

.blog-categories-item{
    position: relative;
    margin-bottom: 30px;
    height: 70px;
    text-align: center;
    color: white;
    font-family: "Poppins-SemiBold";
    background-size: cover;
    cursor: pointer;
}

.blog-categories-item img{
    filter: brightness(70%);
    object-fit: cover;
    border-radius: 25px;
    width: 100%;
    height: 70px;
}

.blog-categories-item span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.blog-top-posts-header{
    font-size: 26pt;
    margin-bottom: 20px;
}

.blog-top-posts-content{
    background-color: #F3FCFF;
    padding: 10px;
    border-radius: 20px;
}

.blog-top-posts-item{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
}

.top-posts-number{
    font-size: 25pt;
    font-family: Museo700;
    color: #216DAA;
}

.top-posts-item-content{
    width: 80%;
}

.title-top-posts{
    color: #4D4E50;
    font-family: "Poppins-SemiBold";
    max-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.title-top-posts:hover{
    color: orange;
}

.description-top-posts{
    font-family: "Poppins-Regular";
    max-height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-headline{
    position: absolute;
    top: 10%;
    left: 5%;
    width: 50%;
}

.blog-headline .headline-category{
    color: #eee;
    font-size: 18pt;
    font-family: "Poppins-Regular";
}

.blog-headline h1{
    font-size: 30pt;
    font-family: "Poppins-SemiBold";
    color: #eee;
    cursor: pointer;
}

.blog-headline h1:hover{
    color: orange;
}

.blog-headline .headline-description{
    color: #eee;
    font-size: 18pt;
    font-family: "Poppins-Regular";
}

.category-name:hover {
    color: orange;
}

.blog-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 60px;
    row-gap: 50px;
    justify-items: stretch;
}

.blog-grid-image{
    overflow: hidden;
    border-radius: 20px;
}

.blog-grid-image img{
    border-radius: 20px;
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.5s ease;
}

.blog-grid-image img:hover{
    transform: scale(1.2);
}

.blog-grid-category{
    font-family: "Poppins-Regular";
    font-size: 16pt;
}

.blog-grid-header{
    font-family: "Poppins-SemiBold";
    font-size: 22pt;
    height: 85px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-grid-header:hover{
    color: orange;
}

.blog-grid-header.skeleton{
    color: #e0e0e0;
    background-color: #e0e0e0;
}

.blog-grid-header.skeleton:hover{
    color: #e0e0e0;
}

.blog-grid-description{
    font-family: "Poppins-Regular";
    font-size: 16pt;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-grid-category span{
    cursor: pointer;
}

.blog-grid-category span:hover{
    color: orange;
}

.blog-grid-category span.skeleton:hover{
    color: #f2f2f2;
}

.halaman {
    margin-top: 20px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.halaman-item {
    padding: 20px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.halaman-item.active {
    color: white;
    background-color: #355B9F;
    border-radius: 5px;
}

@media (max-width: 1680px){
    .blog-grid-header{
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .blog-headline .headline-category,
    .blog-headline .headline-description{
        font-size: 16pt;
    }
    .blog-headline h1{
        font-size: 26pt;
    }
    .blog-grid-header{
        font-size: 18pt;
        height: 70px;
    }
    .blog-grid-category,
    .blog-grid-description{
        font-size: 14pt;
    }
    .blog-grid-image img {
        height: 270px;
    }
    .skeleton-image{
        height: 270px;
    }
    .blog-categories-item{
        height: 60px;
    }
    .blog-categories-item img{
        height: 60px;
    }
    .blog-categories-item span{
        font-size: 15pt;
    }
    .blog-headline {
        position: absolute;
        top: 5%;
        left: 5%;
        width: 50%;
    }
}

@media (max-width: 1440px) {
    .background-top-blog-text h1{
        font-size: 35pt;
    }
    .blog-headline{
        top: 25%;
    }
    .blog-grid-header{
        font-size: 16pt;
        height: 60px;
    }
    .blog-grid-category,
    .blog-grid-description{
        font-size: 12pt;
    }
    .blog-grid-image img, .skeleton-image {
        height: 240px;
    }
    .blog-categories-item{
        height: 60px;
    }
    .blog-categories-item img{
        height: 60px;
    }
    .blog-categories-item span{
        font-size: 15pt;
    }
}

@media (max-width: 1366px){
    .image-headline-thumbnail{
        margin-bottom: 40px;
    }
    .blog-headline .headline-category, 
    .blog-headline .headline-description{
        font-size: 14pt;
    }
    .blog-headline h1 {
        font-size: 22pt;
    }
    .blog-categories-item img {
        height: 55px;
    }
    .blog-categories-item{
        height: 55px;
    }
    .blog-categories {
        font-size: 15pt;
    }
    .blog-grid-header{
        height: unset;
    }
    .background-contact-us img {
        height: 420px;
    }
    .background-top-container {
        min-height: 275px;
    }
    .background-top-blog-text {
        top: 25%;
        right: 15%;
    }
    .blog-grid-image img, .skeleton-image {
        height: 215px;
    }
    .blog-grid-header{
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .blog-headline {
        top: 10%;
    }
    .blog-categories-item span {
        font-size: 13pt;
    }
}

@media (max-width: 1100px){
    .blog-headline {
        top: 13%;
    }

    .blog-headline h1 {
        font-size: 16pt;
    }

    .blog-headline .headline-category, .blog-headline .headline-description {
        font-size: 12pt;
    }

    .blog-grid {
        column-gap: 30px;
    }
}

@media (max-width: 1024px){
    .background-contact-us img {
        height: 360px;
    }
    .background-contact-us {
        top: -115px;
    }
    .background-top-blog-text {
        top: 20%;
        right: 10%;
    }
    .background-top-container {
        min-height: 210px;
    }
    .blog-grid-image img, .skeleton-image {
        height: 175px;
    }
}

@media (max-width: 1024px) and (min-height: 1366px){
    .background-top-blog-text {
        top: 12%;
        right: 10%;
    }
    .image-headline-thumbnail img {
        height: 30vh;
    }
}

@media (max-width: 768px){
    .blog-container{
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .blog-categories-item img{
        width: 100%;
    }

    .blog-grid{
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        margin-bottom: 40px;
    }
    .background-contact-us img{
        object-fit: fill;
    }
    .background-top-blog-text h1 {
        font-size: 27pt;
    }
}

@media (max-width: 480px){
    .blog-headline {
        position: absolute;
        top: 20%;
        left: 5%;
        cursor: pointer;
        width: 90%;
    }
    .blog-headline .headline-category{
        font-size: 12pt;
    }
    .blog-headline h1{
        font-size: 20pt;
    }
    .blog-headline .headline-description{
        font-size: 12pt;
    }
    /* Belum fix */
    .image-headline-thumbnail img{
        height: 55vh;
    }
    .background-contact-us img{
        width: 100%;
        height: 420px;
    }
    .background-top-container {
        min-height: 265px;
    }
    .blog-grid-category, .blog-grid-description{
        font-size: 12pt;
    }
    .blog-grid-header{
        font-size: 16pt;
        height: unset;
    }
    .background-top-blog-text h1 {
        font-size: 28pt;
    }
    .background-top-blog-text {
        top: 25%;
    }
    .background-contact-us img{
        object-fit: cover;
    }
    .blog-grid-header{
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .description-top-posts{
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}