@font-face {
    font-family: K2D;
    src: url(src/Fonts/K2D/K2D-Regular.ttf);
}

@font-face {
    font-family: Mali;
    src: url(src/Fonts/Mali/Mali-Regular.ttf);
}

@font-face {
    font-family: Prompt;
    src: url(src/Fonts/Prompt/Prompt-Regular.ttf);
}

@font-face {
    font-family: IBM;
    src: url(src/Fonts/IBM_Plex_Sans_Thai_Looped/IBMPlexSansThaiLooped-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    font-weight: 400;
    font-family: IBM;
    line-height: 1.6;
}


a {
    text-decoration: none;
    background-color: transparent;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

header .header-container .header-groups,
header .header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

header .header-container {
    position: fixed;
    width: 100%;
    justify-content: space-between;
    background-color: rgb(0, 0, 187);
    font-weight: 700 !important;
    padding: 8px 22px;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
}

header .header-container .header-groups .header-title a {
    font-size: 1.3rem;
    font-family: Prompt;
    background-image: linear-gradient(#fff2b3, #ffc000);
    color: transparent;
    background-clip: text;
}

header .header-container .header-groups .main-nav {
    display: flex;
    flex-wrap: wrap;
}

header .header-container .header-groups .main-nav a li.nav-items {
    padding: 0.625rem 1rem;
    margin: 0 5px;
    color: white;
    font-family: Mali;
}

header .header-container .header-groups .main-nav a li.nav-items:hover {
    -webkit-text-stroke: 3px #ffc000;
    paint-order: stroke fill;
}

header .header-container .header-groups .hamburger-menu {
    font-size: 1.3rem;
    display: none;
    color: white;
}

header .banner-container {
    padding-top: 60px;
    width: 100%;
    height: 100%;
}

header .banner-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section {
    padding-top: 2rem !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container h1 {
    padding-left: 1rem;
    color: rgb(0, 0, 187);
}

.container h3 {
    color: rgb(0, 0, 187);
    padding-top: 0.5rem;
}

.container span, .container strong {
    color: rgb(0, 0, 187);
}

.container .preview img {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 80%;
}

.container ol li::marker {
    color: rgb(0, 0, 187);
}

footer {
    background-color: rgb(45, 45, 255);
    text-align: center;
    padding: 0.625rem 1rem;
}

footer p {
    color: white;
}

@media only screen and (max-width:768px) {

    .header-container {
        height: 60px;
    }

    .main-nav {
        position: absolute;
        flex-direction: column;
        right: 0;
        top: -500%;
        z-index: 2;
        width: 100%;
        text-align: center;
        opacity: 0;
        background-image: linear-gradient(rgb(0, 0, 187), rgb(45, 45, 255));
        transition: 0.5s ease-in-out;
    }

    .main-nav.active {
        top: 100%;
        opacity: 1;
    }

    .hamburger-menu {
        display: block !important;
        transition: 0.5s ease-in-out;
    }

    .hamburger-menu.active {
        transform: rotate(-90deg);
    }
}

@media only screen and (max-width:425px) {

    .header-title a {
        font-size: 1.2rem !important;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .container li {
        font-size: 0.9rem;
    }
}