:root {
    --btn-danger: #fe0000;
}
body {
    height: 100vh;
    font-family: "Arabica", "Kanit", sans-serif !important;
    background-image: url("img/background.png");
    background-size: cover;
    word-break: break-word;
}

a {
    color: #000 !important;
    text-decoration: none !important;
}
/* form mobile */
.bg-form-mobile {
    background: #005a55;
    margin: 6px auto;
    width: 100%;
    color: #fff;
}
.on-mobile {
    display: none;
}
::placeholder {
    text-align: center;
    color: #fff !important;
}
.form-user,
.form-pass {
    color: #fff !important;
    border: none;
    border-radius: 10px !important;
    padding-left: 30px;
    background-image: linear-gradient(180deg, #006c66, #00a397);
}
.btn-login {
    border-radius: 1.5em !important;
    border: none;
    background-color: #ffce00 !important;
    color: #000 !important;
}
.btn-login:hover {
    background-color: #000 !important;
    color: #ffce00 !important;
    border: 2px solid #ffce00;
}
.btn-register {
    color: #fff !important;
    border-radius: 10px !important;
    background-color: #333;
    background-image: linear-gradient(180deg, #006c66, #00a397);
}
.btn-register:hover {
    color: #000 !important;
    border: 1px solid #000;
    background-image: linear-gradient(180deg, #fff, #fff);
}
@media (max-width: 992px) {
    .on-mobile {
        display: block;
    }
    .mobile-collap-button {
        flex-direction: column;
        align-content: center;
        text-align: center;
        margin-top: 1em;
    }
    .bg-btn {
        margin-top: 1em;
    }
    .nav-link {
        text-align: center;
    }
}

/* navbar */
@media only screen and (max-width: 992px) {
    .nav-item .nav-link {
        background: #333333 !important;
        color: #fff !important;
    }
    .nav-item .nav-link:hover {
        background-color: #000 !important;
    }
}
.nav-item .nav-link {
    background-size: 6em;
    color: #000;
    font-size: 1.2em;
}
.nav-item .nav-link:hover {
    color: #fff !important;
    background-color: #000;
}
.nav-item .nav-link:hover:after {
    right: 0;
    left: 0;
    height: 100%;
}
.nav-item a {
    color: #000 !important;
}

.nav-bg {
    background-color: #005a55;
    z-index: 999;
}
.bg-nav-sub {
    background: linear-gradient(#805c33, #e9ca8e, #613d17);
}
.nav-link {
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%;
}

.logo {
    cursor: pointer;
    z-index: 999;
    transition: 0.3s ease-in-out;
}
.logo:hover {
    transform: scale(1.02);
}

/* Mobile Nav */
svg {
    height: 80px;
    position: absolute;
    width: 60px;
}
.plates {
    display: flex;
    flex-wrap: wrap;
    max-height: 160px;
    width: 640px;
}
@media (max-width: 640px) {
    .plates {
        width: 320px;
    }
}
.plate {
    height: 80px;
    width: 80px;
    cursor: pointer;
}
.burger {
    filter: url(#gooeyness);
}
.x {
    transform: scale(0);
    transition: transform 400ms;
}
.line {
    fill: none;
    stroke: #fff;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms, transform 500ms 200ms;
}
.x .line {
    stroke-width: 5.5px;
}

.plate4 .x {
    transition: transform 400ms;
}
.plate4 .line {
    transform-origin: 50%;
    transition: transform 400ms 100ms;
}
.active.plate4 .line {
    transition: transform 400ms;
}
.active.plate4 .line1 {
    transform: translateX(18px) translateY(-3px) rotate(-45deg) scale(0.7);
}
.active.plate4 .line2 {
    transform: translateX(-18px) translateY(-3px) rotate(45deg) scale(0.7);
}
.active.plate4 .line3 {
    transform: translateY(0px) rotate(45deg) scale(0.7);
}
.active.plate4 .line4 {
    transform: translateY(0px) rotate(-45deg) scale(0.7);
}
.active.plate4 .line5 {
    transform: translateX(18px) translateY(3px) rotate(45deg) scale(0.7);
}
.active.plate4 .line6 {
    transform: translateX(-18px) translateY(3px) rotate(-45deg) scale(0.7);
}
.active.plate4 .x {
    transition: transform 400ms 100ms;
    transform: scale(1);
}

/*  */
.nav-bg {
    background-color: #01292d;
}
.border-nab {
    content: "";
    background-image: linear-gradient(0deg, #eba536, #f3c17e, #e5ab66, #cf882a, #d98923) !important;
}
.btn-menu {
    padding: 0.5em;
    background: #fff;
    border-radius: 0.5em;
}
.btn-menu:hover {
    background: #f1f1f1;
}

/* content */
.bg-content {
    background: #fff;
    border-radius: 0.5em;
}
@media (max-width: 800px) {
    .banner-overlay {
        height: 500px !important;
    }
    .on-mobile-popup-login {
        display: block;
    }
    .on-mobile-popup {
        display: none !important;
    }
}
.on-mobile-popup {
    display: block;
}
.on-mobile-popup-login {
    display: none;
}
.text-indent-1 {
    text-indent: 2em;
}
#side_login {
    position: fixed;
    padding: 0.5em;
    border-radius: 1em;
    background: none;
    width: auto;
    z-index: 999;
}
.btn_close {
    float: right;
    margin-right: 10px;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    top: 10px;
    right: 5px;
}
.sport-pos {
    position: relative;
    height: 80px;
}
.img-pos {
    position: absolute;
    left: 30%;
    top: -75%;
}
.img-pos1 {
    position: absolute;
    left: 0%;
    top: -35%;
}

/* footer */
.btn-footer {
    display: block;
    background-color: #fff;
    /* color: #fff; */
    border-radius: 15px;
    margin: 0.5em;
    padding: 0.5em;
}
.btn-footer1 {
    display: block;
    background-image: linear-gradient(180deg, #d94100, #7e1c00) !important;
    color: #fff !important;
    border-radius: 15px;
    margin: 0.5em;
    padding: 0.5em;
}
.bg-footer {
    background-size: cover;
    background-image: url("img/bg-footer.png");
    padding-top: 14.375em;
}
.copyright {
    color: #fff;
}

/* footer nav sticky  */
.nav-footer {
    display: none;
}

.fas,
.fab {
    font-size: 2rem;
    color: #eba536 !important;
    /* background-image: linear-gradient(0deg, #eba536, #f3c17e, #e5ab66, #cf882a, #d98923) !important; */
}
.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-image: linear-gradient(to top, #006c66, #00a397);
        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;
    }
}

/* viewall */
.box-article {
    background-color: #000;
    padding: 3em;
}

.article_link a {
    font-size: 2em;
    color: #000 !important;
    background-color: #fff;
    text-decoration: none !important;
}

.article_link a:hover {
    text-shadow: 0 0 5px #17b2a6, 0 0 10px #67ccc5, 0 0 15px #015659, 0 0 75px rgb(116 209 202),
        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: #000 !important;
    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: #000;
}

.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;
    background-color: #fff;
}

.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 !important;
    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: #fe0000;
    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);
}
