@font-face {
    font-family: 'Snell Roundhand';
    src: url('../font/SnellRoundhand-BoldScript.woff2') format('woff2'),
    url('../font/SnellRoundhand-BoldScript.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Times New Normal';
    src: url('../font/TimesNewNormal-Regular.woff2') format('woff2'),
    url('../font/TimesNewNormal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
    --lightcolor: #fbf2ec;
    --color-secondary: #b18868;
    --color-title: #362E10;
    --color-body: #7A7A7A;

    --color-grey: #696969;
    --color-lightgray: #f9f9f9;
    --color-white: #fff;
    --color-black: #696969;

    --rgba-color-black: rgba(20, 20, 19, 0.8);
    --linear-gradient: linear-gradient(#d4b59d, #b18868, #795d47);
    --button-background-position: bottom left;
    --button-background-size: 100% 125%;

    --font-family-title: 'Snell Roundhand', 'ibmplexsansthai';
    --font-family: 'Times New Normal', 'ibmplexsansthai';
}
::-moz-selection {
    background-color: var(--color-secondary);
    color: var(--color-white);
}
::selection {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-body);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: inherit;
    cursor: pointer;
    transition: all 0.6s;
}

.details_photo_info p {
    font-family: var(--font-family-title);
    color: var(--color-white);
    font-weight: lighter;
    text-transform: capitalize;
    font-size: 30px;
    margin: 0;
}
h1,h2,h3,h4 {
    font-family: var(--font-family);
    font-weight: lighter !important;
}
h1 {
    color: var(--color-white);
    font-weight: lighter;
    text-transform: capitalize;
    font-size: 34px;
    margin: 0;
}
select {
    -webkit-appearance: inherit;
    -moz-appearance: inherit;
    list-style: none;
}
button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    text-transform: inherit;
}
strong {
    font-weight: bold;
}
.container {
    padding: 0;
    position: relative;
}

/***************************/
/* HEADER */
/***************************/
.brand_logo {
    display: inline-block;
    width: 100%;
    height: fit-content;
    z-index: 1;
    text-align: center;
    position: absolute;

    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    border-radius: 50%;
    font-size: 18px;
    color: #000;
}
.brand_logo img {
    width: auto;
    height: 130px;
    padding: 15px 10px 12px;
    background: var(--color-white);
    box-shadow: 0 1px 7px 1px #dcdcdc;
    transition: all 0.5s;
    border-radius: 0 0 70px 70px;
}

/***************************/
/* SLIDERS */
/***************************/
.section_slideshow{
    position: relative;
    overflow: hidden;
}
.section_slideshow .photo_info{
    height: 100vh;
    overflow: hidden;
}
.section_slideshow .photo_info img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.section_slideshow .col-sm-6:hover .photo_info img {
    transform: scale(1.1);
}
.photo_info:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.section_slideshow .col-sm-6:hover .overlay-box .links-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateY(-70px);
    -ms-transform: translateY(-70px);
    -moz-transform: translateY(-70px);
    transform: translateY(-70px);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 1
}

.section_slideshow .col-sm-6:hover .overlay-box .links-box {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.section_slideshow .col-sm-6:hover .overlay-box .links-box .link {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: var(--color-white);
    margin: 0 3px;
    border-radius: 3px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease
}

.accommodation-block .inner-box .overlay-box .links-box .link i {
    font-size: 60px;
    display: block
}
.details_photo_info {
    width: 100%;
    height: fit-content;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    padding: 25px 100px;
    margin: auto;
    z-index: 2;
}
.overlay_photo {
    background: #0000003b;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.btn_roomtype {
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-white);
    padding: 0;
    margin: 0;
    transition: all 0.6s;
    color: var(--color-white);
    opacity: 0;
}
.section_slideshow .col-sm-6:hover .btn_roomtype {
    opacity: 1;
}

/***************************/
/* BOOK MOBILE */
/***************************/
.reservation_mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 90;
}
.reservation_mobile .col-xs-6{
    background: var(--color-primary);
    padding: 15px;
    text-align: center;
    color: #fff;
}
.reservation_mobile a:nth-child(1) .col-xs-6 {
    background: var(--color-secondary);
}

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

@media (max-width: 991px) {
    .reservation {
        display: none;
    }
    .reservation_mobile {
        display: block;
    }
}
@media (max-width: 820px) {
    .section_slideshow .col-sm-6 {
        width: 100%;
    }
    .section_slideshow .photo_info {
        height: 50vh;
    }
    .photo_info:before {
        background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 40%) 35%, rgb(0 0 0 / 0%) 100%);
    }
}

@media (max-width: 600px) {
    /*body, .section_slideshow {*/
    /*    overflow: scroll;*/
    /*}*/
    .brand_logo img {
        height: 110px;
    }
    .btn_roomtype {
        opacity: 1;
    }
    h1 {
        font-size: 26px;
    }
    .details_photo_info p {
        font-size: 20px;
    }
    .col-sm-6:nth-child(-n+3) .photo_info .details_photo_info {
        bottom: 100px;
        top: auto;
    }
}
@media (max-height: 600px) {
    /*body, .section_slideshow {*/
    /*    overflow: scroll;*/
    /*}*/
    body {
        width: 100%;
    }
    .brand_logo img {
        height: 100px;
    }
    .col-sm-6 {
        width: 100%;
    }
    .details_photo_info p {
        font-size: 18px;
    }
    h1 {
        font-size: 22px;
    }
    .section_slideshow .col-sm-6 {
        width: 50%;
        float: left;
    }
    .section_slideshow .photo_info {
        height: 100vh !important;
    }
    .btn_roomtype {
        opacity: 1;
    }
}

@media (max-width: 400px) {
    body {
        font-size: 12px !important;
    }
    h1 {
        font-size: 20px;
    }
    .details_photo_info p {
        font-size: 16px;
    }
}
@media (max-width: 375px) {
    .brand_logo img {
        height: 90px;
    }
}

@media (max-width: 360px) {
    .reservation_mobile .col-xs-6 {
        padding: 15px 10px;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 11px !important;
    }
    h1 {
        font-size: 18px;
    }
    .details_photo_info p {
        font-size: 14px;
    }
    .col-sm-6:nth-child(-n+3) .photo_info .details_photo_info {
        bottom: 70px;
    }

    .details_photo_info {
        padding: 0 30px;
    }
    .section_slideshow .col-sm-6 {
        width: 100%;
    }
    .section_slideshow .photo_info {
        height: 50vh !important;
    }
    .brand_logo img {
        height: 70px;
        padding: 8px 6px 8px;
    }
}
@media (max-height: 320px) {
    .brand_logo img {
        height: 70px;
        padding: 8px 6px 8px;
    }
    .details_photo_info {
        padding: 0 20px;
        bottom: 0;
        top: 0;
    }
    h1 {
        font-size: 20px;
    }
}