/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');:root {
--font-family: 'Kanit', sans-serif;
--brand-color: rgba(0,255,119);
--brand-color-80: rgba(0,255,119,.8);
--bg-brand-color: #EAE6E1;
--bg-color: #000000;
--tx-color: #ffffff;
--spacer: 4px;
}

/* NORMALIZE THE PAGE */
html,
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-family: var(--font-family);
background: #000000;
color: var(--tx-color);
}

/* INPUT */
button,
input,
select,
textarea,
label {
position: relative;
float: left;
border: none;
border-radius: 0;
outline: none;
-webkit-box-shadow: none;
box-shadow: none;
padding: 0;
margin: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-family: var(--font-family);
background: none;
}

/* H1,H2,H3,H4,H5,H6 */
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
font-size: unset;
font-weight: unset;
}
.swiper-button-next,
.swiper-button-prev {
color: var(--brand-color);
}

/* ELEMENT */
header, footer, div {
position: relative;
float: left;
}

/* SECTION */
section {
position: relative;
float: left;
width: 100%;
padding: 2.5% 0;
overflow: hidden;
}

.content {
width: calc(100% - 40px);
max-width: 1080px;
left: 50%;
transform: translateX(-50%);
}
.content.content-medium { 
max-width: 700px; 
}
.content.content-little { 
max-width: 500px; 
}
.content.content-small { 
max-width: 400px; 
}

/* TEXT */
.title {
font-size: 2em;
font-weight: bold;
}
.subtitle {
font-size: 1.5em;
}
.text {
font-size: 1em;
}
.colored,
a.colored,
a .colored{
color: var(--brand-color);
}
.selected
a.selected,
a .selected{
font-weight: bold;
}

/* BUTTON */
.btn-group,
.badge-group {
display: flex !important;
flex-wrap: wrap !important;
width: 100%;
gap: 10px;
}

.btn {
box-sizing: border-box;
padding: 10px;
background: #ffffff;
color: #000000;
border-radius: 5px;
font-size: 1em;
line-height: 1em;
transition: 0.3s;
}
.btn i {
position: relative;
float: right;
font-size: 0.8em;
transition: 0.3s;
margin-left: 5px;
}

/* .btn:hover {
padding-right: 5px;
}
.btn:hover i {
margin-left: 10px;
} */

/* POSITION */
.p-r {
position: relative;
float: left;
}
.p-f {
position: fixed;
float: left;
}
.p-a {
position: absolute;
float: left;
}

/* DISTANCE */
.m-0 {
margin: 0;
}
.mt-1 {
margin-top: 10px;
}
.mt-2 {
margin-top: 20px;
}
.mt-3 {
margin-top: 30px;
}
.p-0 {
padding: 0;
}
.w-25 {
width: 25%;
}
.w-50 {
width: 50%;
}
.w-75 {
width: 75%;
}
.w-100 {
width: 100%;
}

/* BACKGROUND IMAGE */
div.bg-img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background-size: cover;
background-color: #ccc;
background-position: center;
background-repeat: no-repeat;
transition: 1s;
}
div.bg-img-f {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-color: #ccc;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}

@media (max-width: 768px) {
.title {
font-size: 1.8em;
}
div.bg-img-f {
background-attachment: unset;
}
}
