:root {
    --btn-danger: #fe0000;
}
a {
    color: #fff !important;
    text-decoration: none !important;
}
p {
    word-break: break-word;
}
body {
    font-family: "Kanit", "Nunito", sans-serif !important;
    background-color: #323150 !important;
    color: #fff !important;
}
.btn-danger {
    background-color: var(--btn-danger) !important;
    border-color: var(--btn-danger) !important;
}
.text-danger {
    color: var(--btn-danger) !important;
}
.form-control,
.btn {
    border-radius: 0% !important;
}
/* tap menu */
.nav-link::before {
    transform: scaleX(0);
    transform-origin: bottom right;
}
.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-link::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0 0 0 0;
    background: var(--btn-danger);
    z-index: -1;
    transition: transform 0.3s ease;
}
.nav-link {
    position: relative;
}

/* content */
.bg-darker {
    background: #282840 !important;
}
.bg-content1 {
    background: #1e202f;
}
.bg-content2 {
    background: #181818;
}
.text-indent-1 {
    text-indent: 2em;
}

/* footer */
footer {
    background: #282840;
}
.logo-footer {
    width: 40%;
}
@media (max-width: 992px) {
    .logo-footer {
        width: 100%;
    }
}

/* footer nav sticky  */
.nav-footer {
    display: none;
}
.logo-sticky {
    margin-top: -1rem;
    margin-left: -1rem;
}
.img-nav-sticky {
    width: 130%;
}

@media only screen and (max-width: 800px) {
    .nav-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #73737396;
        left: 0;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        height: 70px;
        box-shadow: 0px -3px 18px 0px #00000096;
        backdrop-filter: blur(5px);
    }
    .nav-footer-col4 {
        width: 25%;
        float: left;
        text-align: center;
    }
    .col4-bottom {
        font-size: 14px;
        color: #fff;
        letter-spacing: 1px;
        font-weight: 300;
    }
    .nav-footer {
        display: block;
    }
}

/* form mobile */
.on-mobile {
    display: none;
}
@media (max-width: 992px) {
    .on-mobile {
        display: block;
    }
}

/* viewall */
.box-article {
    background-color: #000;
    padding: 3em;
}
.article_link a {
    font-size: 2em;
    color: #fff !important;
    text-decoration: none !important;
}
.article_link a:hover {
    text-shadow: 0 0 5px #e281b8, 0 0 10px #e50381, 0 0 15px #a728ff, 0 0 75px rgb(173 4 4),
        2px 2px 2px rgb(158 214 255);
}
.news-articles {
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 23px;
    color: #000;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.news-articles-h2 {
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 23px;
    color: #fff;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.news-articles-h2:hover {
    color: #8d8d8d;
}
.news-articles-p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.box-articles {
    color: #fff;
}

.container-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.cards {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: clamp(20rem, calc(20rem + 2vw), 22rem);
    overflow: hidden;
    box-shadow: 0 0.1rem 1rem rgba(255, 255, 255, 0.75);
    transition: 1s box-shadow;
    border-radius: 0.5em;
}
.cards:hover {
    box-shadow: 0 0.1rem 1.2rem rgba(255, 255, 255, 1);
    transition: 0.3s ease-in-out;
}

.cards img {
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
}

.cards:hover img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
}

a.cards {
    color: #666 !important;
}

a.cards:hover {
    cursor: pointer;
    text-decoration: none !important;
}

.card__image_show {
    width: auto !important;
    object-fit: cover;
}
.card__image {
    width: auto !important;
    height: 13.75em;
    object-fit: contain;
}

.card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag {
    align-self: flex-start;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    font-size: 0.75rem;
}

.tag + .tag {
    margin-left: 0.5em;
}

.tag-red {
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    transition: 0.5s;
}
.tag-red:hover {
    background: #fff;
    border: 1px solid #000;
    color: #000;
}
.link-tag {
    align-self: flex-start;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    font-size: 0.75rem;
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    transition: 0.5s;
    text-decoration: none;
}

.link-tag:hover {
    background: #fff;
    border: 1px solid #000;
    color: #000;
}

.card__body h4 {
    font-size: 1.5rem;
    text-transform: capitalize;
}

.card__footer {
    display: flex;
    padding: 1rem;
    margin-top: auto;
}

/* pagi */
.pagination .active {
    font-size: 20px;
    color: #fff;
    border-bottom: 2px solid #fff;
}

.pagination a {
    font-size: 15px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 15px 5px;
    transition: transform 0.3s;
}

.pagination a:hover {
    color: #d1d1d1;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
