@font-face {
    font-family: 'MyFont';
    src: url('../../fonts/SOV_KhongMaan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Noto Sans Thai', sans-serif;
}

body {
    top: 0 !important;
}


.header-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #165c54, #8bfe78, #165c54) 1;
}

.footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 15px;
}

.header-section::before,
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
}

.header-section::before {
    background-image: url("/image/home/Header-BG.jpg");
}

.footer::before {
    background-image: url("/image/home/Footer-BG.png");
}

.header-container {
    display: flex;
    justify-content: space-between;
    padding: 18px;
    color: #fff;
    align-items: center;
}

.header-text-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

img.header-logo {
    width: 150px;
}

.header-title-th {
    font-size: 50px;
    font-weight: 900;
}

.header-box-contact {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: -10px;
}

.header-text-eservice {
    font-size: 26px;
}

.header-img-eservice img {
    width: 60%;
}

.header-text-right {
    text-align: center;
}

.header-box-login {
    display: flex;
    gap: 11px;
}

.header-login-title img {
    width: 180px;
}

.text-login {
    font-size: 14px;
}

.header-register-title img {
    width: 210px;
}

.footer-name {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #fff;
}

.footer-contact-one,
.footer-contact-two {
    display: flex;
    align-items: center;
}

.footer-contact-one img,
.footer-contact-two img {
    z-index: 2;
    width: 40px;
}

.text-footer-one,
.text-footer-two {
    padding: 5px 15px;
    background: #ffffff8a;
    border-radius: 25px;
    margin-left: -13px;
    color: black;
}

.header-logout-title img {
    width: 200px;
}

.header-box-logout {
    display: flex;
    gap: 11px;
    justify-content: center;
}