@font-face 
{ 
    font-family: Kanit; 
    src: url('Kanit-Regular.ttf'); 
    font-display: swap;

} 
*, ::after, ::before {
    box-sizing: border-box;
  }

* {
    margin: 0;
    padding: 0;
    border: 0;
}

.img-fluid
{
    max-width: 100%;
    height: auto;
}
body
{
    font-family: 'Kanit', sans-serif;
    background-color: #e1e1e1;
    color:black;
    font-size: 16px;
}
h1
{
    color:#bb0000;
    font-weight: 700;
    font-size:2em;
}
h2{
    color:#bb0000;
    font-weight: 700;
    font-size: 1.7em;
}
li {
    list-style: none;
}

a {
    text-decoration: none;
    color:black;
}

.body-content
{
    max-width: 1140px;
    margin: 0 auto;
}

.bg-banner
{
    background-color: #2d2826;
}

.banner-content
{
    max-width: 1280px;
    margin: auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.nav-item {
    margin-left: 3rem;
}

.nav-link{
    font-size: 1.6rem;
    font-weight: 400;
}

.nav-link:hover{
    color: #482ff7;
}

header
{
    /* z-index: 50;
    top:0;
    width: 100%;
    position: fixed;    */
    /* background-image: linear-gradient(180deg,#1d1918 0,#2d2826 100%) !important; */
    /* background-color: #111;
    height: 120px; */
     box-shadow: 0 4px 12px 0 rgba(1,27,42,.14);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-sub
{
    display: block;
    background-color: white;
}

.header-content
{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;

    width: 100%;
    margin-right: auto;
    margin-left: auto;
    /* display: flex; */
    /* max-width: 1280px;
    --bs-gutter-x: 1.5rem;
    padding-top: calc(var(--bs-gutter-x)*.5);
    padding-right: calc(var(--bs-gutter-x)*.5);
    padding-left: calc(var(--bs-gutter-x)*.5);
    margin-right: auto;
    margin-left: auto;
    width: 100%; */
}
.header-buttons
{
    display: flex;
  gap: 15px;
  align-items: center;
  
}
.outline-buttons
{
    border: 1px solid #bb0000;
    background-color: #bb0000;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    min-width: 130px;
    font-weight: 600;
    font-size: 14px;
    color:white;
}
.header-logo
{
    max-width: 160px;
    height:auto;
}
.header-logo img
{
    width:100%;
    height:100%;
}
.register-button
{
    padding-top: 10px;
    background: linear-gradient(90deg,#07bec1,#5e98ff);
    color: rgb(252, 252, 252);
    border-radius: 32px;
    padding-inline-start: 16px;
    padding-inline-end: 16px;
    height:46px;
    text-decoration: none;
}


.header-space
{
    margin-top:62.29px;
}
.btm-margin
{
    margin-bottom: 30px;
}

.top-margin
{
    margin-top:50px;
}

/*temp1*/
.content
{
    width:100%;
    display: flex;
    flex-flow:row wrap;
    justify-content:center;
    align-content:center;
    align-items:center;
}
.item1
{
    order:1;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 100%;
    flex-basis: 400px;
    align-self:auto;  
}
.item2
{
    order:2;
    flex-grow: 1;
    flex-shrink: 0; 
    max-width: 100%;
    flex-basis: 568px;
    align-self:auto;
    padding-left: 20px;
    padding-right: 20px;
}

/*temp2*/
.content-col
{
    width:100%;
    display: flex;
    flex-flow:column;
    justify-content:center;
    align-content:center;
    align-items:center;
}
.item0-col
{
    
    margin-bottom: 20px;
    padding: 20px;
}
.itemstyle
{
    display: flex;
    flex-direction: column;
    
}
.item1-col
{
    
    order:1;
    flex:0 0 auto;
    max-width: 535px;
    align-self:auto;  
}

.item2-col
{
    order:2;
    max-width: 100%;
    flex:1 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.item-inside
{
    color:white;
    padding: 42px 20px;
  display: flex;
  gap: 20px;
  background: linear-gradient(180deg,#721f12 0%,#bb0000 100%);
  border-radius: 20px 20px 20px 20px;
}
/*Footer*/
footer
{
    width:100%;
    background-color: #2d2826;
}

.footer-section
{
    margin-right: auto;
    margin-left: auto;
    max-width: 1280px;

    display: flex;
    flex-flow:column;
    justify-content:center;
    align-content:center;
    align-items:center;
    padding-top: 50px;
    
}

.footer-content
{
    text-align: center;
}

.footer-text
{
    text-align: left;
}

.footer-payment2
{
    margin: auto;
}
.footer-payment
{
    display: flex;
    flex-direction: column;
}

.footer-logo
{
    max-width: 180px;
    height: auto;
}

.payment-img
{
    width: 50px;
    height:50px;
    margin-right:2%;
}
/*footer END*/

/* @media (min-width: 700px) 
{
    .banner
    {
        grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
    }

    .mySwiper2
    {
        top: 22%;
    }

} */


@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #40aad3;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
            padding-left:0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
}