@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap" rel="stylesheet');
* {
    font-family: "Noto Sans Thai", sans-serif;
    font-optical-sizing: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.box-section-home {
    margin-top: -7%;
}

#content {
    margin-top: 100px;
}

.section {
    scroll-margin-top: 100px;
}

#contact {
    background-color: #1554a3;
    /* min-height: 40vh; */
}

#detail {
    background-color: #1554a3;
    color: #ffffff;
}

#card-product {
    border: none;
}

.custom-font {
    font-size: 100px;
    font-weight: bold;
}

.bdr {
    border-radius: 50px;
}


/* button */

.button-18 {
    position: relative;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    background-color: #1554a3;
    text-decoration: none;
}

.default-btn,
.hover-btn {
    background-color: #1554a3;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hover-btn {
    position: absolute;
    inset: 0;
    background-color: hsl(215, 100%, 40%);
    transform: translate(0%, 100%);
    justify-content: center;
    justify-content: center;
}

.default-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100%;
    width: 100%; */
}

.default-btn span {
    color: hsl(0, 0%, 100%);
}

.hover-btn span {
    color: white;
}

.button-18:hover .default-btn {
    transform: translate(0%, -100%);
}

.button-18:hover .hover-btn {
    transform: translate(0%, 0%);
}


/* button */


/* line button */

.line-button {
    position: fixed;
    bottom: 20px;
    right: 0;
    width: 60px;
    transition: width 0.3s ease;
    z-index: 1500;
}

.line-button:hover {
    width: 150px;
}


/* line button */


/* nav */

.nav-link {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #007bff;
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}


/* nav */


/* gallery */

#lightboxOverlay {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
}

#lightbox {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%);
}


/* gallery */