@charset "utf-8";
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/kanit-v17-latin-300.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-300.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/kanit-v17-latin-300italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-300italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-300italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-300italic.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/kanit-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-regular.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/kanit-v17-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-italic.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/kanit-v17-latin-500.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-500.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/kanit-v17-latin-600.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-600.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-600.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-600.svg#Kanit') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap; 
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/kanit-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/kanit-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/kanit-v17-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/kanit-v17-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/kanit-v17-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/kanit-v17-latin-700.svg#Kanit') format('svg'); /* Legacy iOS */
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 300 1em/1.3em 'Kanit', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 920px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #3FA8D4 url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    height: 1368px;
}
h1 {
    margin: -2rem 0 0.5rem;
    font-size: 2.52em;
    line-height: 1;
}
h1 small {
    font-size: 0.5em;
    font-weight: 400;
    display: inline-block;
    margin-left: 0.25rem;
    position: relative;
    bottom: 0.25rem;
}
h1 span {
    font-size: 0.53em;
    font-weight: 400;
    line-height: 1.3;
    font-style: italic;
}
h2 {
    font-size: 1.75em;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h1, h2 {
    font-weight: 600;
}
strong, ul {
    font-weight: 500;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 2rem;
    list-style: none;
}
li {
    padding-left: 1.8rem;
    line-height: 1.2;
}
ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -1.3rem;
}
header {
    position: relative;
}
header a {
    position: absolute;
    bottom: 16%;
    right: 2%;
    width: 21%;
    height: 6%;
    z-index: 1;
}
article {
       padding: 0 1.625rem;
    margin: 5rem 0 18.5rem;
    position: relative;
}
article p {
    padding: 0 1rem 2.375rem 0;
}
.logo {
    position: absolute;
    top: 47%;
    right: 1rem;
}
.flex {
    width: 72%;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
}
.flex h2 {
    margin: 0 0 0.75rem 1rem;
}
.flex div {
    width: 45%;
}
.flex li {
    padding-left: 1.25rem;
}
.flex li::before {
    margin-left: -1.25rem;
}
.social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    position: absolute;
    left: 201px;
    bottom: 73px;
}
footer {
    padding: 1.6rem 1.625rem 1rem 18rem;
}
footer p {
    color: #000;
    padding-bottom: 1.125rem;
}
footer p:first-of-type {
    font-size: 1.4em;
    line-height: 1.22;
    text-align: justify;
}
footer p:last-of-type {
    margin-left: -0.5rem;
    font-size: 1.22em;
    line-height: 1.3;
}
@media only screen and (max-width: 919px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #3FA8D4;
    }
    article {
        padding: 1rem 1.625rem;
        margin: 0;
    }
    p{
        padding-bottom: 1rem !important;
    }
    br {
        display: none;
    }
    footer {
        background-color: #fff;
        padding: 1rem 1.625rem 0;
    }
    .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .social {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    footer p:first-of-type {
        text-align: left;
        font-size: 1.313em;
        line-height: 1.22;
    }
    footer p:last-of-type {
        margin: 0;
        text-align: center;
    }
    p span {
        display: inline-block;
    }
    .flex {
        width: auto;
    }
    h1{
        margin: 1rem 0;
    }
}
@media only screen and (max-width: 780px) {
    .flex {
        display: block;
    }
    .flex div {
        width: auto;
    }
    h1 {
        font-size: 2em;
        line-height: 1.3;
    }
}
@media only screen and (max-width: 480px) {
    article {
        padding: 1rem;
    }
    footer {
        padding: 1rem 1rem 0;
    }
    li {
        padding-left: 1.3rem;
    }
}