@font-face{
    font-family: Kanit-Bold;
    src: url(/wp-content/themes/nguyenntu/assets/fonts/Kanit-Bold.ttf);
}
@font-face{
    font-family: Kanit-Regular;
    src: url(/wp-content/themes/nguyenntu/assets/fonts/Kanit-Regular.ttf);
}
@font-face{
    font-family: Kanit-ExtraLight;
    src: url(/wp-content/themes/nguyenntu/assets/fonts/Kanit-ExtraLight.ttf);
}
@font-face{
    font-family: Kanit-Black;
    src: url(/wp-content/themes/nguyenntu/assets/fonts/Kanit-Black.ttf);
}
html {
    margin-top: 0 !important;
}
body {
    padding: 0;
    margin: 0;
    font-family: Kanit-Regular, sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #020617, #0f172a)
}
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-thumb {
    background-color: #9d9d9d;
    border: 2px solid #9d9d9d;
    border-radius: 10px;
}
.container {
    padding: 0 30px;
}
.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo_main img {
    width: 80px;
    border-radius: 999px;
    border: solid 2px #ffffff38;
}
.header__top {
    height: 80px;
    padding: 10px 30px;
}
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    background: #FFF;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all .375s;
}

.main-nav.is-open {
    opacity: 1;
    z-index: 100;
    visibility: visible;
}

/* Yellow band effect */
.main-nav::before {
   content: '';
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: -15px;
   background: linear-gradient(135deg, #020617, #0f172a);
   transform-origin: 0 0;
   transform: skew(-14deg) translateX(-120%);
   transition: all .275s .1s;
}

.main-nav.is-open::before {
    transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.main-nav ul {
    display: inline-flex;
    flex-direction: column;
    height: 93%; /* Should be 100%, but we have a notice message :D */
    align-items: flex-end;
    justify-content: center;
    transform: translateX(-18%) skew(-16deg);
}

.main-nav li {
    display: block;
    margin: .5rem 0;
    text-align: right;
    transform: skew(16deg);
}

.main-nav a {
    opacity: 0;
    transform: translateY(-10px);
}

.main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
}
.main-nav li:nth-child(1) a {
    transition: all 275ms 175ms
}
.main-nav li:nth-child(2) a {
    transition: all 275ms 225ms
}
.main-nav li:nth-child(3) a {
    transition: all 275ms 275ms
}
.main-nav li:nth-child(4) a {
    transition: all 275ms 325ms
}
.main-nav li:nth-child(5) a {
    transition: all 275ms 375ms
}


.main-nav ul,
.main-nav li {
    list-style: none;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 7px 0;
    color: #fff;
    font-size: 1.4em;
    text-decoration: none;
    font-weight: bold;
}

.open-main-nav {
    position: absolute;
    top: 20px;
    padding-top: 15px;
    right: 35px;
    z-index: 1000;
    background: none;
    border: 0;
    cursor: pointer;
    background: #fff;
    height: 60px;
    width: 60px;
    border-radius: 5px;
}
.open-main-nav:focus {
    outline: none;
}
.burger {
    position: relative;
    display: block;
    width: 28px;
    height: 4px;
    margin: 0 auto;
    background: #000;
    transform: skew(5deg);
    transition: all .275s;
}

.burger:after,
.burger:before {
    content: '';
    display: block;
    height: 100%;
    background: #000;
    transition: all .275s;
}

.burger:after {
    transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.burger:before {
    transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */
.is-open .burger {
    transform: skew(5deg) translateY(-8px) rotate(-45deg);
}

.is-open .burger:before {
    transform: translateY(0px) skew(-10deg) rotate(75deg);
}

.is-open .burger:after {
    transform: translateY(-12px) translateX(10px) skew(-20deg);
    opacity: 0;
}
.burger-text {
    display: block;
    font-size: .675rem;
    letter-spacing: .05em;
    margin-top: .5em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: #000;
}
.main-nav a {
    position: relative;
}
.main-nav a:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition: all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    content: '';
}
.main-nav ul li a:hover:after{
    width: 100%;
}
#footer {
    background: #0d1326;
    border-top: solid 1px #393939;
}
.content-footer {
    padding: 30px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-family: Kanit-ExtraLight;
}
.title {
    text-align: center;
    margin-bottom: 80px;
}
.content__home {
    padding: 100px 0 150px;
}
.title span {
    color:#eaeaea;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.title h1 b {
    font-family: Kanit-Black;
}
.title h1 {
    font-weight: 100;
    text-transform: uppercase;
    font-size: 40px;
    margin: 15px 0 0;
    line-height: 1;
    font-family: Kanit-ExtraLight;
    color: #fff;
}
.theme-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.box-theme-image ,.box-theme-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
}
.box-theme-image img {
    object-fit: cover;
    border-radius: 8px;
}
.box-theme-text h3 {
    text-align: center;
    margin-bottom: 0;
}
.box-theme-text h3 {
    text-decoration: inherit;
    color: #fff;
    text-transform: uppercase;
}
.layout-themes {
    position: relative;
    display: block;
}
.links-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    transition: .3s;
    z-index: 1;
}
.links-inner-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    transition: .3s;
}
.links-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.links-inner-wrap a {
    position: relative;
    top: -100px;
    filter: alpha(opacity=0);
    transition: all .6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
}
.links-inner-wrap a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: .3s;
    padding: 22px 22px 22px 22px;
}
.links-inner-wrap a span svg {
    transition: .3s;
    width: 20px;
    height: 20px;
}
.gallery-grid-links-icon {
    transition-delay: .1s !important;
}
.layout-themes:hover .links-wrap {
    background-color: #262c3180;
}
.layout-themes:hover .links-inner-wrap a {
    top: 0;
}
.layout-themes:hover .links-inner-wrap a span {
    opacity: 1;
}
.layout-themes span {
    background: #000;
}
.layout-themes span svg {
    fill: #000;
}
.layout-themes span {
    background: #fff;
}
.layout-cols {
    box-sizing: border-box;
    width: calc(25% - 19px);
    box-shadow: rgb(0 0 0 / 8%) 0px 3px 12px;
}
.list-theme {
    -webkit-box-shadow: 0 0 28px 0 rgba(0, 0, 0, .08);
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, .08);
    padding: 0;
}
.links-inner-wrap a span:hover {
    background: #000000;
}
.links-inner-wrap a span:hover svg {
    fill: #fff;
}
.price {
    text-align: center;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    display: inline-block;
    position: relative;
}
.box-theme-text {
    text-align: center;
}
.price:before {
    content: '';
    background: #ffffff;
    width: 80%;
    height: 10px;
    position: absolute;
    opacity: 0.2;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
}
.theme-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.theme-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.theme-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.theme-popup.active .theme-popup-overlay {
    opacity: 1;
}
.theme-popup-content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 32px));
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    padding: 32px;
    border-radius: 8px;

    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.theme-popup.active .theme-popup-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.theme-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;

    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f2f4f7;
    color: #111827;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;

    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.theme-popup-close:hover {
    background: #111827;
    color: #fff;
    transform: rotate(90deg);
}
.theme-popup-close:focus {
    outline: none;
}
.theme-popup-close:focus-visible {
    outline: 2px solid #0b4bd8;
    outline-offset: 3px;
}
.theme-popup-left img {
    border: solid 1px #f4f4f4;
    border-radius: 10px;
    box-shadow: 0px 0px 6px 3px #0000000d;
}
.theme-popup-right h2 {
    text-transform: uppercase;
    border-bottom: dashed 1px #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.theme-popup-price {
    color: red;
    font-size: 38px;
    line-height: 1;
}
.theme-popup-right>p {
    background: #f6f6f6;
    padding: 10px;
    border-radius: 10px;
    font-size: 15px;
}
.btn-contact a {
    text-decoration: inherit;
    background: #000000;
    color: #fff;
    border-radius: 7px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    display: block;
    height: 45px;
    line-height: 45px;
    transition: all .2s;
    border: solid 1px transparent;
}
.btn-contact {
    width: 100%;
    display: block;
    position: relative;
}
.theme-popup-right {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}
.btn-contact a:hover {
    color: #000;
    background: transparent;
    border: solid 1px;
}
.note-popup {
    text-align: center;
    margin-top: 20px;
    line-height: 1.2;
    font-size: 13px;
}
.note-popup a {
    color: red;
}
@media (min-width: 992px){
    .bank img {
        width: 400px;
    }
    .list-theme {
        width: 85%;
        margin: 0 auto;
    }
}
@media (max-width: 849px){
    .logo_main img {
        width: 60px;
    }
    .open-main-nav {
        right: 20px;
        width: 45px;
        height: 45px;
        top: 25px;
    }
    .burger {
        width: 30px;
    }
    .content__home {
        padding: 70px 0;
    }
}
@media (max-width: 578px){
    .bank img {
        width: 100%;
    }
    .theme-item {
        grid-template-columns: 1fr;
    }
    .layout-themes {
        width: 100%;
        overflow: hidden;
    }
    .box-theme-image {
        width: 100%;
        height: 420px;
        overflow: hidden;
        border-radius: 6px;
    }

    .box-theme-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: top center;
    }

    .box-theme-text {
        margin-top: 16px;
        text-align: center;
    }

    .box-theme-text h3 {
        margin: 0 0 8px;
        font-size: 18px;
        line-height: 1.35;
    }

    .box-theme-text .price,
    .price {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
    }
    .theme-popup {
        align-items: flex-start;
        padding: 16px;
        overflow-y: auto;
    }

    .theme-popup-content {
        width: 100%;
        max-width: 420px;
        min-height: auto;
        max-height: calc(100vh - 32px);
        overflow-y: auto;

        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 18px 24px;
        margin: auto 0;
        border-radius: 8px;
    }

    .theme-popup-left {
        display: flex;
        justify-content: center;
    }

    .theme-popup-left img {
        width: min(200px, 100%);
        max-width: 100%;
        height: auto;
        display: block;
    }
    .theme-popup-right h2 {
        font-size: 20px;
        line-height: 1.35;
        margin: 0 0 10px;
    }

    .theme-popup-price {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .theme-popup-right p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .theme-popup-contact,
    .btn-contact a {
        width: 100%;
        min-height: 44px;
    }

    .note-popup {
        font-size: 11px;
        line-height: 1.2;
        margin-top: 14px;
    }

    .theme-popup-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 24px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
}