@charset "UTF-8";
/* --------------------------------------------------
 Base
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&display=swap');

/* --- Variables --- */
:root {
    --bs-font-sans-serif: "IBM Plex Sans Thai", sans-serif;
    --primary-blue: #002366;
    --secondary-blue: #0957bc;
    --accent-yellow: #ffc107;
    --secondary-yellow: #fded00;
    --text-dark: #333;
    --text-muted: #6c757d;
}

body,
ol,
ul,
dl,
li,
dt,
dd,
table,
th,
td,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-family: var(--bs-font-sans-serif);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: #b0b4bb;
}

html::-webkit-scrollbar {
    background: #e6e8ec;
    width: 6px;
}

html::-webkit-scrollbar-thumb {
    background: #b0b4bb;
    border-radius: 6px;
}

body {
    background: #f3f3f3;
    min-width: 320px;
    line-height: 1.8;
    font-size: 100%;
    position: relative;
    overflow-x: hidden;
    animation: pageLoad 2s;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 90%;
        line-height: 1.8;
    }
}

@keyframes pageLoad {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.8;
}

dt,
dd {
    line-height: 2;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

input,
textarea {
    padding: 5px 8px;
}

select {
    font-family: var(--bs-font-sans-serif) !important;
    padding: 5px 8px;
}

ul {
    list-style: none;
}

ol {
    margin: 0px 0px 0px 21px;
}

ol>li {
    list-style: decimal outside;
    margin: 0px 0px 3%;
}

a {
    color: #FFF399;
    text-decoration: underline;
    outline: 0;
}

a:hover,
a:active {
    color: #FFF399;
    text-decoration: none;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

h1,
h2 {
    font-weight: 300;
    line-height: 1.2;
    font-size: calc(1.525rem + 3.3vw)
}

@media (min-width: 1200px) {

    h1,
    h2 {
        font-size: 4rem
    }
}

@media (max-width: 767px) {

    h1,
    h2 {
        font-size: calc(1rem + 3.3vw)
    }
}

/* --------------------------------------------------
 Header
-------------------------------------------------- */

#header {
    background-color: #0000;
    width: 100%;
    height: 60px;
    padding-inline: calc(.25rem * 40);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: calc(.25rem * 0);
    right: calc(.25rem * 0);
    z-index: 50;
    transition-property: all;
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

#header.start-nav {
    translate: none;
    rotate: none;
    scale: none;
    opacity: 1;
    transform: translate(0px, 0px);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

#header.fix-nav {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

#header .top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .logo a {
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: calc(.25rem * 10);
}

#header .logo img {
    width: 170px;
}

#header #login {
    display: flex;
    align-items: center;
    gap: calc(.25rem * 2);
}

#header #login form {
    display: flex;
    gap: 9px;
}

#header #login .relative {
    position: relative;
}

#header #login input {
    background-color: #fff;
    color: #000;
    height: 40px;
    width: 161px;
    border: none;
    border-radius: calc(8px + 4px);
    padding-inline: 16px;
}

#header #login .btn-login .elem {
    background: #fddd22;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    width: 108px;
    border: none;
    border-radius: calc(8px + 4px);
    cursor: pointer;
    appearance: button;
}

#header #login .btn-register .elem {
    background: #006eeb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    width: 108px;
    text-decoration: none;
    border: none;
    border-radius: calc(8px + 4px);
    cursor: pointer;
    appearance: button;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1000px) {
    #header {
        padding-inline: calc(.25rem * 20);
    }
}

@media screen and (max-width: 767px) {
    #header {
        padding-inline: calc(.25rem * 5);
    }

    #header #login .relative, #header #login .btn-login {
        display: none;
    }
}

/* --- Footer --- */
#footer {
    background: #01225b;
    color: #fff;
    padding: calc(.25rem * 8) 0;
}

#footer i {
    position: relative; 
}

#footer i::before {
    position: relative;
    z-index: 1;
}

#footer i::after {
    content: "";
    background-color: #fff;
    width: 80%;
    height: 80%;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    border-radius: 999px;
}

@media screen and (max-width: 767px) {
    #footer {
        padding: calc(.25rem * 4) 0;
    }
}