@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/sarabun-v17-latin-300.eot');
    src: url('../fonts/sarabun-v17-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/sarabun-v17-latin-300.woff2') format('woff2'), url('../fonts/sarabun-v17-latin-300.woff') format('woff'), url('../fonts/sarabun-v17-latin-300.ttf') format('truetype'), url('../fonts/sarabun-v17-latin-300.svg#Sarabun') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/sarabun-v17-latin-regular.eot');
    src: url('../fonts/sarabun-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/sarabun-v17-latin-regular.woff2') format('woff2'), url('../fonts/sarabun-v17-latin-regular.woff') format('woff'), url('../fonts/sarabun-v17-latin-regular.ttf') format('truetype'), url('../fonts/sarabun-v17-latin-regular.svg#Sarabun') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/sarabun-v17-latin-800.eot');
    src: url('../fonts/sarabun-v17-latin-800.eot?#iefix') format('embedded-opentype'), url('../fonts/sarabun-v17-latin-800.woff2') format('woff2'), url('../fonts/sarabun-v17-latin-800.woff') format('woff'), url('../fonts/sarabun-v17-latin-800.ttf') format('truetype'), url('../fonts/sarabun-v17-latin-800.svg#Sarabun') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #080808;
    font-family: 'Sarabun', "Arial", sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 300;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

strong,
h1,
h2 {
    font-weight: 800;
}

article p {
    padding-bottom: 1.5rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: .5rem 0 2.5rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: .5rem 0 1.5rem;
}

ul {
    list-style: none;
    padding: 0 0 1.5rem;
}

ul li {
    padding: 2px 0 2px 20px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #ff674e;
}

.image {
    margin: 0 0 2rem;
}

.button {
    display: flex;
    margin: 2rem 0 2.5rem;
}

.button a {
    padding: 8px 45px 10px;
    font-weight: 400;
    color: #fff;
    border-radius: 25px;
    transition: .2s;
    background: url("../images/arrow.png")center right 18px/auto no-repeat, #e30015;
}

.button a:hover {
    background-color: #cd010c;
}

header {
    display: flex;
    padding: 2rem;
}

article {
    padding: 0 2rem;
}

footer {
    padding: 5rem 2rem;
    background-color: #f3f3f4;
    display: flex;
    gap: 1rem 2rem;
}

footer>div {
    flex: 50%;
}

footer .left h2 {
    margin: 0 0 14px;
}

footer .left>p {
    font-size: 1rem;
    color: #6b6d72;
}

.social {
    margin: 3rem auto 0;
    width: fit-content;
}

.social p {
    text-align: center;
    color: #080808;
    font-size: 12px;
    margin-bottom: 1rem;
}

.social div {
    display: flex;
    justify-content: center;
    gap: .625rem;
}

.social div a {
    background-color: #e30015;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: .2s;
}

.social div a:hover {
    background-color: #cd010c;
}

.contact div {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.contact .big {
    font-size: 2rem;
}

.contact a {
    transition: .2s;
}

.contact a:hover {
    color: #e30015;
}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 50rem) {
    body {
        font-size: 1rem;
    }

    header,
    .button {
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

}

@media only screen and (max-width: 40rem) {
    header {
        padding: 1rem;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    h2 {
        margin: 0 0 1rem;
        font-size: 1.4rem;
    }

    .contact,
    .contact .big {
        font-size: 1.4rem;
    }

    .button {
        margin: 0.5rem 0 2rem;
    }
}