/* @font-face {
    font-family: "PP Neue Montreal Book";
    src: url("../font/PPNeueMontreal/PPNeueMontreal-Book.woff2") format("woff2"), url("../font/PPNeueMontreal/PPNeueMontreal-Book.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("../font/PPNeueMontreal/PPNeueMontreal-Bold.woff2") format("woff2"), url("../font/PPNeueMontreal/PPNeueMontreal-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("../font/PPNeueMontreal/PPNeueMontreal-Italic.woff2") format("woff2"), url("../font/PPNeueMontreal/PPNeueMontreal-Italic.woff") format("woff");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("../font/PPNeueMontreal/PPNeueMontreal-Medium.woff2") format("woff2"), url("../font/PPNeueMontreal/PPNeueMontreal-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("../font/PPNeueMontreal/PPNeueMontreal-Thin.woff2") format("woff2"), url("../font/PPNeueMontreal/PPNeueMontreal-Thin.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("PPNeueMontreal-SemiBolditalic.woff2") format("woff2"), url("PPNeueMontreal-SemiBolditalic.woff") format("woff");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
} */
@import url("https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body {
    font-family: "Funnel Sans", sans-serif;
    /* font-family: "Play", sans-serif; font 2 */
    --color-primary: #694aff;
    --color-secondary: #f15612;
    --color-gray: #454545;
    /*-------SPACING-------*/
    --sp-4: 0.25rem;
    --sp-8: 0.5rem;
    --sp-12: 0.75rem;
    --sp-16: 1rem;
    --sp-20: 1.25rem;
    --sp-24: 1.5rem;
    --sp-32: 2rem;
    --sp-36: 2.25rem;
    --sp-40: 2.5rem;
    --sp-48: 3rem;
    --sp-64: 4rem;
    --sp-98: 6.125rem;
    --sp-100: 6.25rem;
    --sp-160: 10rem;

    /*-------FONT SIZE-------*/
    --fs-12: 0.75rem;
    --fs-14: 0.875rem;
    --fs-16: 1rem;
    --fs-20: 1.25rem;
    --fs-26: 1.625rem;
    --fs-34: 2.125rem;
    --fs-48: 3rem;
    --fs-60: 3.75rem;

    /*-------RADIUS-------*/
    --radius-4: 0.25rem;
    --radius-8: 0.5rem;
    --radius-12: 0.75rem;
    --radius-16: 1rem;
    --radius-20: 1.25rem;
    --radius-24: 1.5rem;
    --radius-32: 2rem;

    /*-------SHADOW-------*/

    /*-------LINE-HEIGHT-------*/
    --line-height-16: 1rem;
    --line-height-20: 1.25rem;
    --line-height-22: 1.375rem;
    --line-height-24: 1.5rem;
    --line-height-32: 2rem;
    --line-height-40: 2.5rem;
    --line-height-52: 3.25rem;

    /*-------LETTER SPACING-------*/
    --letter-spacing-34: 0.0053125rem;
    --letter-spacing-20: 0.001875rem;
    --letter-spacing-18: 0.0016875rem;
    --letter-spacing-16: 0.0125rem;
    --letter-spacing-14: 0.00875rem;
    --letter-spacing-16: 0.005rem;
    --letter-spacing-12: 0.025rem;

    font-weight: normal;
    scroll-behavior: smooth;
}
header {
    transition: 0.5s;
    position: fixed;
    z-index: 999;
    top: 0;
    background: #fff;
    width: 100%;
}
header.scroll-up {
    border-bottom: 1px solid #f5f5f5;
}
header.scroll-up .header-logo img {
    width: 80px;
}
header.scroll-down {
    transform: translateY(-100px);
}
header.active {
    background-color: var(--color-primary);
}
.header-logo img {
    width: 120px;
    transition: 0.5s;
}
header.active .header-logo img {
    filter: brightness(0) invert(1);
}

.header-top {
    display: flex;
    align-items: center;
    padding: 12px 0;
}
.header-link {
    margin-left: auto;
    transition: 0.5s;
}
header.active .header-link {
    opacity: 0;
    visibility: hidden;
}
.header-link li {
    display: inline-block;
    margin-left: var(--sp-64);
}
.header-link li a {
    color: var(--color-gray);
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}
.header-link li a::before {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, #c2b7f5 0%, transparent 60%);
    transition: 0.3s;
}
.header-link li a:hover {
    color: var(--color-primary);
}
.header-link li a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
.header-button {
    background-color: #f5f3ff;
    border-radius: 50px;
    padding: 8px 0;
    width: 170px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    display: flex;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    margin-left: var(--sp-40);
}

.header-button span {
    display: inline-block;
    perspective: 600px;
}

.header-button .letter {
    display: inline-block;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

.header-button .flip {
    transform: rotateX(180deg);
}
.header-frame {
    margin-left: var(--sp-20);
}
.header-toggle {
    cursor: pointer;
}

.header-toggle span {
    font-size: var(--fs-16);
    color: var(--color-primary);
    font-weight: 500;
    transition: 0.5s;
}
.header-toggle.active span {
    color: #fff;
}
.header-toggle__btn {
    width: 50px;
    display: inline-block;
    margin-left: var(--sp-8);
}
.header-toggle__btn::before,
.header-toggle__btn::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: 0.5s;
}
.header-toggle__btn::before {
    margin-bottom: var(--sp-8);
}
.header-toggle.active .header-toggle__btn::before {
    transform: rotate(10deg) translateY(5px);
    background-color: #fff;
}
.header-toggle.active .header-toggle__btn::after {
    transform: rotate(-10deg) translateY(-5px);
    background-color: #fff;
}
.header-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: var(--sp-40) var(--sp-98);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #fff;
    overflow: hidden;
    pointer-events: none;
    z-index: 99999;
}
.header-menu::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 0;
    background-color: var(--color-primary);
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s;
}
.header-menu.active {
    pointer-events: visible;
}
.header-menu.active::before {
    height: 100%;
}
.header-menu__infor,
.header-menu__social {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.header-menu.active.active .header-menu__infor,
.header-menu.active.active .header-menu__social {
    opacity: 1;
    pointer-events: visible;
    transform: translateY(0);
    transition: 0.5s;
    transition-delay: 0.5s;
}
.header-menu__infor p {
    font-size: var(--sp-18);
}
.header-menu__infor div {
    margin-top: var(--sp-8);
    display: flex;
    gap: var(--sp-8);
}
.header-menu__infor div span {
    font-size: var(--fs-34);
    font-weight: 600;
}
.header-menu__infor div img {
    cursor: pointer;
}
.header-menu__social {
    display: flex;
    gap: var(--sp-16);
}
.header-menu__social a {
    transition: 0.5s;
    font-size: 18px;
}
.header-menu__social a:hover {
    transform: translateY(-10px);
}
.header-menu__social img {
    width: 26px;
}
.header-menu__right li {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
}
.header-menu.active .header-menu__right li {
    transition: 0.5s;
    opacity: 1;
    pointer-events: visible;
    transform: translateX(0);
}
.header-menu.active .header-menu__right li:first-child {
    transition-delay: 0.5s;
}
.header-menu.active .header-menu__right li:nth-child(2) {
    transition-delay: 0.7s;
}
.header-menu.active .header-menu__right li:nth-child(3) {
    transition-delay: 0.9s;
}
.header-menu.active .header-menu__right li:nth-child(4) {
    transition-delay: 1.1s;
}
.header-menu__right li a {
    overflow: hidden;
    position: relative;
    width: 300px;
    height: 50px;
    display: block;
    margin-top: var(--sp-24);
    text-align: right;
}
.header-menu__right li a span {
    display: block;
    transition: top 0.5s;
    font-size: var(--fs-34);
    font-weight: 300;
}
.header-menu__right li a span img {
    display: inline-block;
}
.header-menu__right li a span:first-child {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.header-menu__right li a span:last-child {
    position: absolute;
    width: 100%;
    top: 150%;
    left: 0;
    transform: translateY(-50%);
}

.header-menu__right li a:hover span:first-child {
    top: -100%;
}

.header-menu__right li a:hover span:last-child {
    top: 50%;
}
@media (max-width: 1259px) {
    .header-link li {
        margin-left: 32px;
    }
}
@media (max-width: 991px) {
    .header-logo {
        margin-right: auto;
    }
    .header-link {
        display: none;
    }
    .header-menu {
        flex-direction: column-reverse;
        gap: var(--sp-32);
        padding: 0px var(--sp-16) 30px;
    }
    .header-menu__infor p {
        text-align: right;
    }
    .header-menu__infor div {
        gap: 0;
    }
}
@media (max-width: 575px) {
    .header-toggle span {
        display: none;
    }
    .header-logo img {
        width: 100px;
    }
    .header-button {
        font-size: 14px;
    }
    .header-menu__right li a {
        margin-top: 12px;
    }
    .header-menu__right li a span {
        font-size: 24px;
    }
}
.about {
    padding: 130px 0 0;
}
.about_title {
    font-size: 64px;
    font-weight: 400;
    color: rgb(0 0 0 / 74%);
}
.about_title img {
    width: 65px;
    display: inline-block;
}
.about_subtitle {
    color: #888;
}
.about_text {
    font-size: 20px;
    color: #3c3c3ce0;
    margin-top: 20px;
    font-weight: 3;
}
.about_text span {
    font-weight: 600;
    color: #000;
}
.about_time {
    font-size: 18px;
    text-align: right;
}
.about_time span {
    color: #595959;
}
.about_music_text {
    margin-top: 35px;
    font-weight: 300;
}
.about_music {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.about_music i {
    font-size: 17px;
    color: #fff;
    background: #34cc99;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
}
.about_social {
    display: flex;
    align-items: center;
    gap: 29px;
    margin-top: 40px;
}
.about_social a {
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    color: #185cff;
    border: 1px solid;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}
.about_social a:first-child {
    border-color: #185cff;
    rotate: -10deg;
}
.about_social a:nth-child(2) {
    border-color: #0882bd;
    color: #0882bd;
    rotate: 10deg;
}
.about_social a:nth-child(3) {
    border-color: #f00879;
    color: #f00879;
    rotate: -18deg;
}
.about_social a:hover {
    transform: translateY(-10px);
}
.waves {
    display: flex;
    align-items: center;
    height: 40px;
    gap: 3px;
}
.wave {
    width: 5px;
    height: 30px;
    background: #34cc99;
    margin: 0 1px;
    border-radius: 3px;
}
.playing .wave {
    animation: waveAnim 1s infinite ease-in-out;
}
.playing .wave:nth-child(1) {
    animation-delay: 0s;
}
.playing .wave:nth-child(2) {
    animation-delay: 0.2s;
}
.playing .wave:nth-child(3) {
    animation-delay: 0.4s;
}
.playing .wave:nth-child(4) {
    animation-delay: 0.6s;
}
.playing .wave:nth-child(5) {
    animation-delay: 0.8s;
}
.playing .wave:nth-child(6) {
    animation-delay: 1s;
}
.playing .wave:nth-child(7) {
    animation-delay: 1.2s;
}
.playing .wave:nth-child(8) {
    animation-delay: 1.4s;
}
.playing .wave:nth-child(9) {
    animation-delay: 1.6s;
}
.playing .wave:nth-child(10) {
    animation-delay: 1.8s;
}
.playing .wave:nth-child(11) {
    animation-delay: 2s;
}
.playing .wave:nth-child(12) {
    animation-delay: 2.2s;
}
.playing .wave:nth-child(13) {
    animation-delay: 2.4s;
}
.playing .wave:nth-child(14) {
    animation-delay: 2.6s;
}
.playing .wave:nth-child(15) {
    animation-delay: 2.8s;
}
@keyframes waveAnim {
    0%,
    100% {
        height: 20px;
    }
    50% {
        height: 40px;
    }
}
@media (max-width: 1259px) {
    .about_title {
        font-size: 36px;
    }
}
@media (max-width: 991px) {
    .about_text {
        font-size: 18px;
    }
    .about_time {
        display: none;
    }
    .about_title img {
        display: none;
    }
}
@media (max-width: 575px) {
    .about {
        padding: 65px 0 0;
    }
}
.scrolling-bar {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-bottom: 50px;
}

.scrolling-wrapper {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
}

.scrolling-container:hover .scrolling-wrapper {
    animation-play-state: paused;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0px;
}

.scrolling-text span {
    margin-right: 50px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.why {
    margin: 120px 0;
}
.why_title {
    text-align: center;
    font-size: 62px;
    font-weight: 400;
    margin-bottom: 8px;
}
.why_desc {
    text-align: center;
    font-weight: 300;
    font-size: 20px;
}
@media (max-width: 991px) {
    .why {
        margin: 60px 0;
    }
}
@media (max-width: 575px) {
    .why_title {
        font-size: 36px;
    }
    .why_desc {
        font-size: 16px;
    }
}
#creative-lab {
    height: 250px;
    position: relative;
    overflow: hidden;
}
#creative-lab canvas {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: scale(1.008);
}
.footer {
    background-color: #6c4fff;
    color: white;
    padding: 60px 20px 0;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    margin-bottom: 60px;
}

.footer-contact span {
    display: inline-block;
    margin-right: 80px;
}

.footer-social a {
    margin-left: 80px;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #dcdcdc;
}

.footer-middle {
    text-align: center;
    margin-bottom: 60px;
}

.footer-middle h3 {
    font-size: 48px;
    font-weight: 300;
    color: rgb(255 255 255 / 50%);
}
.footer-middle h3 span {
    /* font-weight: bold; */
    color: #fff;
}
.footer-middle p {
    font-weight: 300;
    font-size: 21px;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-name {
    font-size: 200px;
    font-weight: bold;
    color: white;
    text-align: center;
    letter-spacing: 20px;
    text-transform: uppercase;
}
@media (max-width: 991px) {
    .footer-top {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-contact {
        margin-bottom: 20px;
    }
    .footer-contact span {
        margin: 0 32px;
    }
    .footer-social a {
        margin: 0 32px;
    }
    .footer-name {
        font-size: 120px;
    }
}
@media (max-width: 575px) {
    .footer-middle h3 {
        font-size: 32px;
    }
    .footer-middle p {
        font-size: 18px;
    }
    .footer-middle {
        margin-top: 52px;
    }
    .footer-name {
        font-size: 100px;
        line-height: 100px;
    }
}
@media (max-width: 420px) {
    .footer-social a {
        margin: 0 16px;
    }
    .footer-name {
        font-size: 58px;
        line-height: 80px;
    }
}
/* Wrapper theo chuột */
.cursor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    background: var(--color-primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: 0.2s;
}
.cursor-wrapper.active {
    transform: scale(2);
    opacity: 0.2;
}
/* Wrapper chính */
.work {
    padding: 60px 0;
}

/* Tiêu đề */
.work-title {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}
.work-meme {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}
.work-meme img {
    width: 100px;
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
}
.work-meme:hover img {
    transform: translateX(0px);
    opacity: 1;
}
.work-title_sub {
    font-size: 18px;
    margin-bottom: 10px;
}

.work-title_heading {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
    width: 50%;
}

/* Hộp dự án */

.work-container {
    padding: 52px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #f1f1f1;
}
.work-box:not(:last-child) {
    margin-bottom: 20px;
}
.work-box .row {
    align-items: center;
}
.work-box:nth-child(even) .row {
    flex-direction: row-reverse;
}

.work-box_col-text {
    padding-right: 30px;
}

.work-box_col-image {
    text-align: center;
}

/* Hình ảnh */
.work-box_image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Nội dung mô tả */
.work-box_label {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 300;
}

.work-box_name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.work-box_desc {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

/* Thẻ tag */
.work-box_tags {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.work-box_tag {
    background-color: #f8f8f8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ddd;
}
@media (max-width: 991px) {
    .work-title {
        display: block;
    }
    .work-meme {
        display: block;
    }
    .work-title_heading {
        width: 100%;
    }
    .work-meme img {
        display: none;
    }
    .work-box:not(:last-child) {
        margin-bottom: 30px;
    }
    .work-box .row {
        flex-direction: column-reverse !important;
    }
    .work-box_image {
        margin-bottom: 12px;
    }
}
@media (max-width: 575px) {
    .work-container {
        padding: 20px;
    }
}
