/*
Font Family
=========================== */

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


:root {
    --primary: #ffeeee;
    --secondary: #e46868;
    --light: #F4F6F8;
    --dark: #040F28;
}

/* Typography 
=========================== */
html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden !important;
}

body {
    color: #000;
    background: #fff;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 16px;
    line-height: normal;
}

a {
    color: #e46868;
    text-decoration: none;
    outline: 0;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -khtml-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a:focus {
    outline: 0;
}

a:hover {
    color: #e46868;
    text-decoration: none;
}

a.link {
    color: #e46868;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    /* margin: 0 0 15px 0; */
    font-size: 40px;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-weight: 600;
    line-height: 52px;
    text-transform: capitalize;
}

h2 {
    font-size: 36px;
    line-height: 48px;
}

h3 {
    font-size: 30px;
    line-height: 36px;
}

h4 {
    font-size: 24px;
    line-height: 30px;
}

h5 {
    font-size: 20px;
    line-height: 24px;
}

h6 {
    font-size: 18px;
    line-height: 18px;
}

p {
    font-size: 16px;
    margin-top: 0;
}

.text-en {
    font-family: "Proza Libre", sans-serif;
}

.text-title {
    font-size: 35px;
    line-height: normal;
}

.text-subtitle {
    font-size: 25px;
    line-height: normal;
}

.text-haeddetail {
    font-size: 20px;
    line-height: normal;
}

.text-detailtitle {
    font-size: 18px;
    line-height: normal;
}

.text-detail {
    font-size: 16px;
    line-height: normal;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-success {
    color: #16c60c !important;
}

.section {
    position: relative;
    padding: 100px 0;
    box-shadow: 0px 20px 20px 0px rgb(0 0 0 / 1%) !important;
}

.subsection {
    position: relative;
    padding: 30px 0;
}

@media (max-width: 1024px) {
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 50px 0;
    }

    .subsection {
        position: relative;
        padding: 15px 0;
    }

    .text-title {
        font-size: 30px;
    }

    .text-subtitle {
        font-size: 20px;
    }

    .text-haeddetail {
        font-size: 18px;
    }

    .text-detailtitle {
        font-size: 16px;
    }

}

@media (max-width : 768px) {
    .text-title {
        font-size: 28px;
    }
}

@media (max-width : 480px) {
    h1, h2, h3, h4, h5, h6 {
        font-weight: 600;
    }

    .section {
        padding: 30px 0;
    }

    .subsection {
        position: relative;
        padding: 10px 0;
    }

    .text-title {
        font-size: 20px;
    }
}

@media (max-width : 390px) {
    body {
        font-size: 15px;
    }

    p {
        font-size: 15px;
    }

    .section {
        padding: 25px 0;
    }

    .subsection {
        position: relative;
        padding: 10px 0;
    }

    .text-title {
        font-size: 18px;
    }

    .text-subtitle {
        font-size: 17px;
    }

    .text-haeddetail {
        font-size: 16px;
    }

    .text-detail {
        font-size: 15px;
    }
}