:root {
    --alt-font: "Kanit", sans-serif;
    --primary-font: "Kanit", sans-serif;
}

.text-red-2 {
    color: #bd1c2c;
}

.text-red-2-hover:hover {
    color: #bd1c2c;
}

.text-blue-2 {
    color: #0672b9;
}

.text-orange-2 {
    color: #f87938;
}

.text-gray-2 {
    color: #575453;
}

.text-shadow-footer {
    text-shadow: 0 0 20px rgb(0 0 0 / 60%);
}

.bg-red-2 {
    background-color: #bd1c2c;
}

/* header */

.btn-lag img {
    width: 30px;
    filter: grayscale(100%);
}

.btn-lag.active img,
.btn-lag:hover img {
    filter: grayscale(0);
}


/* banner */

.header-banner {
    margin-top: -8%;
    position: relative;
    z-index: 9;
    padding: 30px;
    border-radius: 40px;
    background-color: #be1d2c;
}

.header-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 10px;
    background: linear-gradient(90deg, rgba(248, 147, 29, 1) 0%, rgba(240, 67, 35, 1) 100%);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.h-ml1 {
    background-color: #be1d2c;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 20px 0 20px 0;
}

.h-ml1 img {
    height: 60px;
}

.h-ml1.active {
    transform: scale(1);
    transform-origin: center;
    z-index: 10;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.h-ml1:hover {
    transform: scale(1);
    transform-origin: center;
    z-index: 10;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.h-fn {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 0;
}

/* home-about */

.btn-home-about {
    padding: 10px 20px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(190, 29, 44, 1) 0%, rgba(165, 16, 35, 1) 100%);
}

.btn-home-about:hover {
    color: rgba(165, 16, 35, 1);
    border: 1px solid rgba(165, 16, 35, 1);
    background: transparent;
}

/* home-blog */

.btn-blog {
    color: #000;
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
}

.counter,
.unit {
    display: inline-block;
}

.text-editer table,
.text-editer tbody,
.text-editer tr,
.text-editer td,
.text-editer th {
    border: 1px solid !important;
}

.text-editer ul li {
    list-style: inherit;
}

.text-editer p {
    margin-bottom: 0;
}

.text-editer h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    header .navbar-brand img {
        max-height: 50px;
    }

    header .header-top-bar {
        display: block;
        height: 40px;
    }

    .header-banner {
        padding: 15px;
        border-radius: 20px;
    }

    .header-banner::before {
        border-radius: 20px;
        padding: 5px;
    }

    .h-ml1 {
        padding: 10px 0 10px 0;
    }

    .h-ml1 img {
        height: 20px;
    }

    .h-fn {
        font-size: 10px;
        margin-top: 0px;
        line-height: 16px;
    }
    
}