:root {
    /* Colors */
    --theme-color: #FF3131;
    --secondary-color: #2A1F1B;
    --text-color: #2A1F1B;
    --light-text: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #c9a227;
}

body {
    font-family: "Quicksand", sans-serif;
    color: #2A1F1B;
    background-color: #F6EFE4;
    font-size: 18px;
    font-weight: 500;
}

p {
    color: var(--text-color);
}

a {
    color: var(--theme-color);
    text-decoration: none;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-top: 0;
    /* margin-bottom: 20px; */
    /* line-height: 1.4; */
    font-weight: 500;
    color: var(--text-color);
    /* letter-spacing: -0.01em; */
    /* font-family: Poppins, sans-serif; */
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
.h1:last-child,
.h2:last-child,
.h3:last-child,
.h4:last-child,
.h5:last-child,
.h6:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: var(--theme-color);
    align-items: center;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    transition-duration: .15s;
    transition-property: color, background-color;
    transition-timing-function: linear;
    vertical-align: initial;
    font-size: 18px;
    line-height: 1rem;
    min-height: 2.8rem;
    padding: 0 1rem;
}

.btn-green {
    background-color: #8BC34A;
}

.btn-color {
    background-color: var(--secondary-color);
}

.btn-primary:hover {
    /* padding: 12px 20px; */
    background: var(--theme-color);
    border-radius: 0;
    border-color: var(--theme-color);
    /* width: 15%; */
    /* width: 100%; */
}

.bg-nav {
    background-color: var(--secondary-color) !important;
}

a.navbar-brand img {
    width: 190px;
}

.navbar ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar .navbar-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 34px 12px 3px !important;
    font-size: 18px;
    color: rgb(255, 255, 255);
    white-space: nowrap;
    transition: 0.3s;
    font-weight: 600;
    /* font-family: "Spectral", serif; */
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}


/* .navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #fff;
} */

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 30px;
    top: calc(100% + 30px);
    margin: 0px;
    padding: 10px 0px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: rgb(255, 255, 255);
    box-shadow: rgba(127, 137, 161, 0.25) 0px 0px 30px;
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: rgb(235, 72, 93);
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0px;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0px;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }
    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title p {
    font-weight: 700;
}

.section-title h2 {
    margin: 15px 0 0;
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.bg-theme1 {
    background-color: var(--secondary-color);
}

.bg-theme {
    background-color: var(--theme-color);
}

.pb-50 {
    padding-bottom: 50px;
}

.pt-50 {
    padding-top: 50px;
}


/* Home Menu */

.menubox_item.menubox_left {
    text-align: left;
}

.menubox_item {
    position: relative;
    height: 100%;
}

.menubox_item:before {
    background: #111;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff0), to(#000));
    background: -o-linear-gradient(top, #fff0 0, #ff3a39 100%);
    background: linear-gradient(185deg, #ffffff00 33%, #ff3a39 100%);
    content: '';
    display: block;
    width: 100%;
    height: 250px;
    max-height: 100%;
    bottom: 0;
    position: absolute;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

.menubox_item a {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    left: 0;
    top: 0;
}

.menubox_item .menubox_image img {
    width: 100%;
}

.menubox_item img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    min-height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
}

.menubox_item .menubox_content {
    position: absolute;
    padding: 15px;
    z-index: 1;
    bottom: 0;
    left: 0;
}

.menubox_item .menubox_content .menubox_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.about-box {
    /* margin: 75px 0 52px; */
    overflow: hidden;
    display: flex;
    border-radius: 35px;
    background-color: var(--secondary-color);
    padding: 30px 30px 35px;
    position: relative;
}

.about-box .icon-bg {
    position: absolute;
    right: -50px;
    top: -50px;
    z-index: 1;
}

.about-box .content {
    z-index: 2;
    padding: 51px 5px 0 33px;
    width: 80%;
}

.location {
    background-size: cover;
    background-position: center center;
    position: relative;
    padding: 127px 15px 133px;
    z-index: 1;
}

.location:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6);
}

.event-image {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* height: 606px; */
    position: relative;
    gap: 15px;
}

.event .shape {
    position: absolute;
    top: 0;
    right: 0;
    background: #7ec455;
    width: 39.5%;
    height: 100%;
}


/* footer */

.footer .footer-logo img {
    width: 198px;
}

.footer .border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .line {
    background-color: rgb(255, 255, 255);
    opacity: 0.149;
    position: relative;
    width: calc((100% - 198px) / 2);
    height: 1px;
}

.footer .footer-link {
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    padding-left: 0;
}

.mt-35 {
    margin-top: 35px;
}

.footer .footer-link li {
    margin: 0 25px;
}

.footer .footer-link li a {
    font-size: 16px;
    /* font-family: "Kanit", sans-serif; */
    /* font-weight: 500; */
    color: #fff;
}

.footer .footer-link li a:hover {
    color: #f5a81c;
}

.footer .list li {
    margin-bottom: 5px;
}

.footer .list li.mb-10 {
    margin-bottom: 10px;
}

.footer .list li:last-child {
    margin-bottom: 0;
}

.footer .list li span {
    color: #fff;
}

.footer .list li span span {
    color: #fff;
}

.footer .list li span span.color-main {
    color: #f5a81c;
}

.footer .call {
    font-size: 30px;
    letter-spacing: 0.2px;
    /* font-family: "Kanit", sans-serif; */
    font-weight: 600;
    color: #fff;
}

.footer .tf-button:hover {
    background-color: #fff;
    color: #0c0c0c;
}

.footer .footer-social {
    margin-top: 50px;
    position: relative;
}

.footer .footer-social .social {
    z-index: 2;
    background-color: var(--theme-color);
    border-radius: 25px;
    padding: 5px 40px;
    height: 50px;
}

.footer .footer-social .social li {
    margin: 0 12px;
    width: 16px;
    /* height: 16px; */
}

.footer .footer-social .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-social .social li a:hover {
    transform: scale(1.2);
}

.footer .footer-social .social li a svg {
    width: 16px;
}

.footer .footer-social .social li a svg path {
    fill: #fff;
}

.footer .footer-social .social li a i {
    font-size: 16px;
    color: #fff;
}

.footer .footer-social::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--theme-color);
    /* your theme color */
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background-color: var(--theme-color);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

ul {
    padding-left: 0;
}

@media only screen and (max-width: 767px) {
    .event-image {
        /* flex-wrap: wrap;
        height: auto; */
        margin-left: 0;
        margin-right: 0;
    }
    .shape {
        display: none;
    }
    .section-title h2 {
        margin: 15px 0 0;
        font-size: 28px;
    }
    .image img {
        z-index: 2;
        position: relative;
    }
    .about-box .content {
        z-index: 2;
        padding: 48px 5px 0 0;
        width: 100%;
        position: relative;
    }
    .mobilewidth {
        width: 100%;
    }
    .menubox_item img {
        min-height: 162px;
    }
    .menubox_item .menubox_content .menubox_title {
        font-size: 20px;
    }
    .mobileorder {
        background: var(--theme-color);
        align-items: center;
        border: none;
        border-radius: 2px;
        cursor: pointer;
        display: inline-flex;
        font-weight: 700;
        justify-content: center;
        transition-duration: .15s;
        transition-property: color, background-color;
        transition-timing-function: linear;
        vertical-align: initial;
        font-size: 16px;
        line-height: unset;
        min-height: 2.2rem;
        padding: 0 8px;
    }
    a.navbar-brand img {
        width: 100px;
    }
    .about-box {
        padding: 15px 15px 20px;
        position: relative;
    }
    .location {
        padding: 47px 15px 53px;
        z-index: 1;
    }
    .footer .footer-link li {
        margin: 0 14px;
    }
}