*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: myfirst;
    src: url(/css/font/narak.ttf);
}

* {
    font-family: myfirst;
}


body {
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

header {
    display: flex;
    margin: auto;
    background-color: #fff;
    width: 100%;
    height: 20vh;
    position: sticky;
    top: 0;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.10);
}

header .header_logo {
    height: 100%;
    width: 10%;
    margin-left: 0rem;
}

.searchform {
    margin-left: 12.5cm;
    margin-top: 1cm;
}

.pofil_e {
    width: 25;
    margin: 8px 0;
    border-radius: 50px;
    padding: 12px 20px;
    display: inline-block;
    border: 2px solid #848484;
    box-sizing: border-box;
    text-align: center;

}

.pofil_en {
    margin-left: 10cm;
    margin-top: 1cm;
}

button[type=submit_01] {
    width: 25;
    margin: 8px 0;
    border-radius: 10px;
    padding: 12px 20px;
    display: inline-block;
    border: 2px solid #ffffff;
    background-color: coral;
    box-sizing: border-box;
    text-align: center;
}

input[type=text_01] {
    width: 70%;
    margin: 8px 0;
    border-radius: 10px;
    padding: 12px 20px;
    display: inline-block;
    border: 1px solid #848484;
    box-sizing: border-box;
    text-align: center;
}



.dropbtn {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: solid 3px #979797;
    border-radius: 100%;
    cursor: pointer;
}


.dropdown {
    margin-top: 1.3cm;
    margin-left: 0.1cm;
    display: inline-block;
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}


.dropdown-content a:hover {
    background-color: #f1f1f1
}


.dropdown:hover .dropdown-content {
    display: block;
}


.dropdown:hover .dropbtn {
    background-color: #e8e6e3;
}

.mix {
    margin: 0% 8% 5% 8%;
}

.container {

    display: flex;

    /*ต้องแก้นะ*/
    max-width: 1250px;
    min-height: 500px;
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
}

.gallery {
    margin-top: 1%;
    width: 100%;
    height: 50vh;
    max-width: 1600px;
    max-height: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.gallery-image {
    width: 30%;
    height: calc(50% - 20px);
    min-width: 300px;
    min-height: 200px;
    margin: 10px;
    overflow: hidden;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

/* popup */


.flexbox {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-between;

}

.item1 {
    display: block;
    box-sizing: border-box;
}

.container1 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
    width: 72%;
    height: 100%;

}

.item2 {
    display: block;
    box-sizing: border-box;
}

.container2 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
    width: 27%;
}

.item3 {
    display: block;
    box-sizing: border-box;
    display: flex;
}

.flex3 {
    display: flex;
    flex-direction: column;
}



.container3 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    height: 100%;
    width: 72%;
    margin-bottom: 10px;
    margin-top: -8%;
}

.box3 {
    min-height: 250px;
    width: 250px;
    border-radius: 20px;
    background-size: cover;
    background-image: url(https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_1200/https://usefulmaps.in.th/wp-content/uploads/2019/09/1Why-Create-GoogleMaps-Listing-TH-1.jpg);
    background-position: 60% 20%;
}

.flex3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Add this line */
}




.item4 {
    display: block;
    box-sizing: border-box;
}

.container4 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    width: 72%;
    height: 100%;
    margin-bottom: 10px;
    margin-top: -10.5%;
}

.gridmenu {
    box-sizing: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    max-width: 100%;
}

.boxmenu {
    max-height: 100%;
    max-width: 100%;
    margin: 20px 20px 5px 17px;
    background-size: cover;
}

.namemenu {
    margin: 0px 20px 10px 17px;
    font-size: 18px;
}

.menurating {
    background-size: cover;
}

.viewall {
    background-color: #FF9967;
    color: #fff;
    width: 100%;
    height: 100%;
    padding: 3px 3px 3px 3px;
    border-radius: 10%;
    margin-left: auto;

}



.between {
    display: flex;
    justify-content: space-between;
}

.item5 {
    display: block;
    box-sizing: border-box;
    border-radius: 20px;

    min-height: 300px;
    width: 100%;

}

.img4 {
    background-size: cover;
    min-height: 180px;
    min-width: 180px;
    width: 100%;
    height: 100%;
}

.container5 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
    width: 27%;
    height: 360px;
    background-size: cover;
    height: 100%;

}

.item6 {
    display: block;
    box-sizing: border-box;
}

.container6 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
    height: 100%;
    width: 72%;
}

.box-review {
    display: flex;
}

.box-review2 {
    display: flex;
    margin: auto;
}

.Column {
    display: flex;
    flex-direction: column;
}

.reviewtag {
    color: #FF9967;

}

.profile-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    /* Optional: Add a border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Optional: Add a box shadow */
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    margin-bottom: 5px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 1.5em;
    justify-content: space-around;
    padding: 0 .2em;
    text-align: center;
    width: 5em;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
}

.star-rating :checked~label {
    color: #f90;
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: #fc0;
}

/* explanation */

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item7 {
    display: block;
    box-sizing: border-box;
}

.detail {
    color: #979797;
}

.container7 {
    display: flex;
    border: 2px solid #D9D9D9;
    /*ต้องแก้นะ*/
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 10px;
    width: 27%;
    min-height: 300px;
    height: 100%;
}

input[type="checkbox"] {
    display: none;
}


input[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    display: inline-block;
    font-size: 16px;
}

input[type="checkbox"]+label:before {
    content: "\1F5A4";
    top: -11px;
    left: -8px;
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 3px;
    display: block;
    position: absolute;
    transition: .5s ease;
}



input[type="checkbox"]:checked+label:before {
    border: 1px solid transparent;
    background-color: transparent;
}

input[type="checkbox"]:checked+label:after {
    content: '\1F49B';
    font-size: 18px;
    position: absolute;
    top: -1px;
    left: 1px;
    color: gold;
    transition: .5s ease;
}




.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.box-input {
    width: 300px;
    height: 50px;
    /* Set the desired width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

a {
    text-decoration: none;
}

.container {
    margin-top: 15px;
}



.comment-box {
    display: inline-block;
    border: 1px solid #000;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    background-color: #fff;
}

.comment-list {
    margin-right: 2px;
    margin-top: 20px;
    word-wrap: break-word;
    width: 28%;
}

.rating-box {
    font-size: 25px;
    cursor: pointer;
}

.rating-box span {
    color: #ccc;
    transition: color 0.2s;
}

.rating-box span.selected {
    color: #ffbf00;
}



.rating-box span {
    margin-right: 3px;
    /* เพิ่ม margin ระหว่างดาวตามต้องการ */
}