@charset "UTF-8";

:root {
    --text-main: #484848;
    --text-light: #848892;
    --color-heading: #002642;
    --color-primary-1: #8e0101;
    /* --color-primary-2: #835845; */
    --color-primary-2: #907053;
    --color-primary-3: #1e8267;
    --color-primary-4: #de5ca2;
    --color-primary-5: #86a0b6;
    --color-primary-6: #99337f;
    --color-primary-7: #18a7b5;
    /* --color-primary-8: #668c25; */
    --color-primary-8: #165307;
    --color-primary-9: #ff8051;
    --color-primary-10: #dd6673;
    --color-primary-11: #d58675;
    --color-primary-12: #b19a56;

    --color-primary-1-rgb: 142, 1, 1;
    --color-primary-2-rgb: 144, 112, 83;
    /* --color-primary-2-rgb: 131, 88, 69; */
    --color-primary-3-rgb: 30, 130, 103;
    --color-primary-4-rgb: 222, 92, 162;
    --color-primary-5-rgb: 134, 160, 182;
    --color-primary-6-rgb: 153, 51, 127;
    --color-primary-7-rgb: 24, 167, 181;
    /* --color-primary-8-rgb: 102, 140, 37; */
    --color-primary-8-rgb: 22, 83, 7;
    --color-primary-9-rgb: 255, 128, 81;
    --color-primary-10-rgb: 221, 102, 115;
    --color-primary-11-rgb: 213, 134, 117;
    --color-primary-12-rgb: 177, 154, 86;
}

body {
    font-family: "Inter", "Roboto", "Muli";
    background-color: #fff;
    font-size: 16px;
    font-size: 1rem;
    overflow-x: hidden;
}

p {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.8;
}

@media (max-width: 767px) {
    body,
    p {
        font-size: 14px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-family: "Inter", "Roboto", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

ul {
    padding-left: 0;
    margin: 0;
}

a {
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.music-play {
    position: fixed;
    left: 4px;
    bottom: 4px;
    z-index: 9999;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.5s;
    transform-origin: center;
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
}

.music-play > span {
    background-color: var(--color-primary-1);
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
    color: white;
    z-index: 1;
    right: 30%;
    top: 52%;
    transform: translate(100%, -50%);
    border-radius: 0 999px 999px 0;
    padding: 4px 20px 4px 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

/* show */
.music-play.show > span {
    opacity: 1;
}

.music-play img {
    /* opacity: 0.7; */
    position: relative;
    z-index: 2;
    max-width: 60px;
    animation: spin 6s linear infinite;
    animation-play-state: paused;
}

.music-play.play img {
    animation-play-state: running;
}

.music-play:hover {
    opacity: 0.9;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#scroll {
    height: 120px;
}
.only-sp {
    display: none !important;
}
@media (max-width: 767px) {
    .only-pc {
        display: none !important;
    }
    .only-sp {
        display: block !important;
    }
    #scroll {
        height: 60px;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: #fffaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.heart-pulse {
    position: relative;
    width: 120px;
    height: 140px;
}

.heart-pulse .h {
    position: absolute;
    transform: translate(-50%, 0) scale(0.8);
    opacity: 0;
    animation: heartFloat 1.6s linear infinite;
    filter: drop-shadow(0 6px 14px rgba(214, 86, 121, 0.18));
    color: transparent;
    font-size: 0;
    /* background: var(--color-primary-1); */
    position: absolute;
    border-radius: 4px;
}

.heart-pulse .h svg {
    fill: var(--color-primary-1);
}

/* .heart-pulse .h::before,
.heart-pulse .h::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-primary-1);
    border-radius: 50%;
} */

/* .heart-pulse .h::before {
    left: -50%;
    top: 0;
}

.heart-pulse .h::after {
    top: -50%;
    left: 0;
} */

.heart-pulse .h1 {
    top: 10%;
    left: 30%;
    width: 36px;
    height: 36px;
    animation-delay: 0.25s;
}

.heart-pulse .h2 {
    top: 48%;
    left: 75%;
    width: 28px;
    height: 28px;
    animation-delay: 0.5s;
}

.heart-pulse .h3 {
    top: -30%;
    left: 75%;
    width: 46px;
    height: 46px;
    animation-delay: 0;
}

.page-wrapper.color2 .heart-pulse .h svg {
    fill: var(--color-primary-2);
}
.page-wrapper.color3 .heart-pulse .h svg {
    fill: var(--color-primary-3);
}
.page-wrapper.color4 .heart-pulse .h svg {
    fill: var(--color-primary-4);
}
.page-wrapper.color5 .heart-pulse .h svg {
    fill: var(--color-primary-5);
}
.page-wrapper.color6 .heart-pulse .h svg {
    fill: var(--color-primary-6);
}
.page-wrapper.color7 .heart-pulse .h svg {
    fill: var(--color-primary-7);
}
.page-wrapper.color8 .heart-pulse .h svg {
    fill: var(--color-primary-8);
}
.page-wrapper.color9 .heart-pulse .h svg {
    fill: var(--color-primary-9);
}
.page-wrapper.color10 .heart-pulse .h svg {
    fill: var(--color-primary-10);
}
.page-wrapper.color11 .heart-pulse .h svg {
    fill: var(--color-primary-11);
}
.page-wrapper.color12 .heart-pulse .h svg {
    fill: var(--color-primary-12);
}

/* Switch color */
.color-switcher-wrap .color-switcher-item {
    position: fixed;
    left: -171px;
    top: 112px;
    width: 170px;
    box-shadow: 0px 0px 3.1px 3.9px rgba(28, 31, 86, 0.04);
    background: #fff;
    z-index: 99;
    transition: all 0.3s;
    padding: 15px;
    padding-bottom: 10px;
    text-align: center;
    border-bottom-right-radius: 20px;
    z-index: 99999;
    padding-top: 10px;
}
.color-switcher-wrap .color-switcher-item.color-switcher-open {
    left: 0px;
}
.color-switcher-wrap .color-switcher-item .color-toggle-btn {
    position: absolute;
    right: -50px;
    top: 0px;
    width: 50px;
    height: 50px;
    line-height: 62px;
    background: #fff;
    box-shadow: 0px 0px 6.1px 3.9px rgba(28, 31, 86, 0.06);
    text-align: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.color-switcher-wrap .color-switcher-item .color-toggle-btn i {
    font-size: 24px;
    color: var(--color-primary-1);
    -webkit-animation-name: rotate;
    animation-name: rotate;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}
.color-switcher-wrap .color-switcher-item ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.color-switcher-wrap .color-switcher-item ul li.btn {
    width: auto;
    height: 30px;
    background: var(--color-primary-1);
    margin-bottom: 10px;
    position: relative;
    flex-basis: 25%;
    margin: 5px;
    border: transparent;
}
.page-wrapper.color2 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn2 {
    background: var(--color-primary-2);
}
.page-wrapper.color3 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn3 {
    background: var(--color-primary-3);
}
.page-wrapper.color4 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn4 {
    background: var(--color-primary-4);
}
.page-wrapper.color5 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn5 {
    background: var(--color-primary-5);
}
.page-wrapper.color6 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn6 {
    background: var(--color-primary-6);
}
.page-wrapper.color7 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn7 {
    background: var(--color-primary-7);
}
.page-wrapper.color8 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn8 {
    background: var(--color-primary-8);
}
.page-wrapper.color9 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn9 {
    background: var(--color-primary-9);
}
.page-wrapper.color10 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn10 {
    background: var(--color-primary-10);
}
.page-wrapper.color11 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn11 {
    background: var(--color-primary-11);
}
.page-wrapper.color12 .music-play > span,
.color-switcher-wrap .color-switcher-item ul li.btn.btn12 {
    background: var(--color-primary-12);
}
.page-wrapper.color1
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn1:before,
.page-wrapper.color2
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn2:before,
.page-wrapper.color3
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn3:before,
.page-wrapper.color4
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn4:before,
.page-wrapper.color5
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn5:before,
.page-wrapper.color6
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn6:before,
.page-wrapper.color7
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn7:before,
.page-wrapper.color8
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn8:before,
.page-wrapper.color9
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn9:before,
.page-wrapper.color10
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn10:before,
.page-wrapper.color11
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn11:before,
.page-wrapper.color12
    .color-switcher-wrap
    .color-switcher-item
    ul
    li.btn12:before {
    /* position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    content: "";
    transform: translate(-50%, -50%);
    font-family: "themify"; */

    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    color: #fff;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0ZGRkZGRiIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOSAxNi4xN2wtMy41OS0zLjU4TDMgMTRsNiA2IDEyLTEyLTEuNDEtMS40MXoiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: center 10%;
    background-size: initial;
    bottom: 0;
}

.color-switcher-wrap .color-switcher-item .color-toggle-btn::after,
.color-switcher-wrap .color-switcher-item .color-toggle-btn::before {
    content: "";
    display: block;
    height: 100%;
    width: 8px;
    left: 0;
    background-color: #fff;
    position: absolute;
}

.color-switcher-wrap .color-switcher-item .color-toggle-btn::after {
    height: 200%;
    top: 0;
    width: 12px;
    left: -12px;
}

#falling-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

/* Footer */
.tcs-site-footer .tcs-lower-footer .copyright {
    display: inline-block;
    font-size: 15px;
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-light);
    font-style: italic;
}

.tcs-site-footer .tcs-lower-footer .copyright a:not(.icon) {
    color: var(--color-primary-1);
    text-decoration: none;
    font-weight: 500;
}

.tcs-site-footer .tcs-lower-footer .copyright {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcs-site-footer .tcs-lower-footer .copyright a.icon {
    margin-left: 8px;
}

.tcs-site-footer .tcs-lower-footer .copyright .icon {
    font-size: 24px;
    color: #1876de;
    background: none;
    border: none;
    display: flex;
}

.tcs-site-footer .tcs-lower-footer .copyright .icon > img {
    width: 24px;
    height: 24px;
}

#zaloModal .modal-dialog .modal-content {
    max-width: 360px;
}

#zaloModal .modal-dialog {
    justify-content: center;
}

.form-control:focus {
    border-color: rgba(var(--color-primary-1-rgb), 0.25);
    box-shadow: 0 0 2px 3px rgba(var(--color-primary-1-rgb), 0.15);
}

#toast-container > div {
    opacity: 0.9 !important;
}

/* Animation */
@keyframes heartFloat {
    0% {
        transform: translate(-50%, 10px) scale(0.85);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -10px) scale(1.05);
        opacity: 0.85;
    }
    65% {
        transform: translate(-50%, -35px) scale(0.95);
        opacity: 0.25;
    }
    100% {
        transform: translate(-50%, -50px) scale(0.9);
        opacity: 0;
    }
}

@keyframes btn-wiggle {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(-2deg);
    }
    30% {
        transform: rotate(2deg);
    }
    45% {
        transform: rotate(-1.5deg);
    }
    60% {
        transform: rotate(1.5deg);
    }
    75% {
        transform: rotate(-1deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes btn-shake {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-2px);
    }
    20% {
        transform: translateX(2px);
    }
    30% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    50% {
        transform: translateX(-1px);
    }
    60% {
        transform: translateX(1px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes btn-love {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.03) rotate(-1deg);
    }
    50% {
        transform: scale(1.03) rotate(1deg);
    }
    75% {
        transform: scale(1.02) rotate(-0.5deg);
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
