@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Regular.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Medium.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Bold.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Heavy.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Semibold.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFProDisplay-Light.woff2') format('woff2'),
        url('../fonts/SFProDisplay-Light.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}



body {
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 400;
    font-style: normal;
}


@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        transform: translateX(0) ;
    }
}

@keyframes slideLeft {
    to {
        transform: translateX(0) ;
    }
}
@keyframes slideRight2 {
    to {
        right: 0;
            opacity: 1;
    }
}

@keyframes slideLeft2 {
    to {
        left: 0;
            opacity: 1;
    }
}

@keyframes slideRightBounce {
    0% {
        transform: translateX(100%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translateX(0) scale(1.05);
        opacity: 1;
    }

    70% {
        transform: translateX(0) scale(0.9);
    }

    85% {
        transform: translateX(0) scale(0.95);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}
@keyframes slideLeftBounce {
    0% {
        transform: translateX(-80%);
        opacity: 0.4;
    }

    50% {
        transform: translateX(0);
        transform: translateX(0); /* dòng này bị lặp */
        opacity: 1;
    }

    85% {
        transform: translateX(0);
        transform: translateX(-10%); /* chỉ cần 1 dòng */
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
