/* thumbnail */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

.thumbnail {
    position: relative;
}

/* fade animation */
.hidden-botton {
    opacity: 0;
    transform: translateY(200px);
}

.fade-botton {
    opacity: 1;
    transition: opacity 1s, transform 1s;
    transform: translateY(0);
}

.hidden-left {
    opacity: 0;
    transform: translateX(-100px);
}

.fade-left {
    opacity: 1;
    transition: opacity 1s, transform 1s;
    transform: translateX(0);
}

/* hover nav */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    left: -50%;
}

#main .header .dropdown-item.active,
.dropdown-item:active {
    color: #f4f5f6 !important;
}

.contact-footer-h,
.private-h {
    text-align: start;
    font-size: 13px;
    line-height: normal;
}

.private-box-h {
    display: flex;
}

.policy-info-h {
    margin-left: 30px;
}

.contact-footer-h span,
.private-h a {
    margin-block: 4px;
    color: #f4f5f6;
}

.social-mb-h {
    padding-block: 16px;
    display: flex;
}

/* my btn */
.myBtn {
    width: 52px;
    height: 52px;
    border-radius: 100%;
    background: rgb(255, 255, 255, 0.5);
    position: fixed;
    z-index: 10;
    bottom: 160px;
    border: 0;
    right: 28px;
    cursor: pointer;
    padding-inline: 9px;
}

.myBtn:hover {
    background: #ffffff;
    box-shadow: 0px 4px 18px 0px #ff2121ab;
    transition: all 0.5s ease-in-out;
}

.hidden {
    display: none !important;
}

.contact-btn {
    bottom: 100px;
}

.line-btn:hover {
    box-shadow: 0px 4px 18px 0px rgb(49, 136, 49);
}

.zalo-btn:hover {
    box-shadow: 0px 4px 18px 0px rgb(97, 97, 224);
}

.contact-qr-block {
    width: 388px;
    position: fixed;
    z-index: 11;
    gap: 16px;
    bottom: 160px;
    right: 28px;
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-btn-pc {
        display: none;
    }
}

@media (min-width: 769px) {
    .contact-btn-mobile {
        display: none;
    }
}

#main .nav-item.active a.nav-link {
    color: #f73a3a;
    position: relative;
}

#main .header .dropdown-item.active {
    color: #f73a3a !important;
}

#main .nav-item.active a.nav-link::before {
    scale: 0.8;
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #f73a3a;
    border-radius: 50px;
}

.logo-footer-yopaz img {
    height: 63px;
    width: auto;
}

.main {
    overflow: hidden;
}

@media (max-width: 991px) {
    #main .nav-item.active a.nav-link::before {
        display: none;
    }

    .myBtn {
        right: 30px;
    }
}

/* TODO: refactor HEADER + FOOTER */
:root {
    --x: 32px;
    --y: 22px;
    --z: 18px;
}

.triangle-down {
    width: 0;
    height: 0;
    border-left: calc(var(--x)/2) solid transparent;
    border-right: calc(var(--x)/2) solid transparent;
    border-top: calc(var(--x)*0.866) solid #f6b324;
}

.header .logo {
    transform: scale(0.85) translateX(-7.5%);
}

.parallelogram {
    width: var(--x);
    height: calc(var(--x)*0.866/2);
    transform: skew(30deg);
    background: #543278;
}

.trapezoid {
    border-top: calc(var(--x)*0.866/2) solid #e74c39;
    border-left: calc(var(--x)/4) solid transparent;
    border-right: calc(var(--x)/4) solid transparent;
    height: 0;
    width: calc(var(--x)*1.5);
}

.header .logo b {
    font-size: 32px;
    color: #543278;
    font-weight: 800;
    letter-spacing: .03em;
    margin-left: 68px;
    line-height: 1.1;
    font-family: Montserrat,sans-serif;
}

.header .logo b span {
    color: #e74c39;
}

.header .logo p {
    font-size: 14px;
    margin-left: 68px;
    color: rgba(0,0,0,.8509803921568627);
    margin-bottom: 0;
    letter-spacing: .04rem;
    font-family: Gotham,sans-serif;
}

.box_logo {
    float: left;
    margin-left: 15px;
    text-align: center;
    position: relative;
}

.bb_1 {
    margin-top: 0;
}

.bb_0 {
    display: inline-block;
    position: absolute;
}

.bb_2 {
    transform: rotate(60deg);
    margin-top: calc(var(--x)*0.866);
    margin-left: calc(var(--x)*0.866*-0.72);
}

.bb_3 {
    transform: rotate(-60deg);
    margin-top: calc(var(--x)*0.97425);
    margin-left: calc(var(--x)*0.3125);
}

.header .logo a {
    text-decoration: none;
}

.bbtop {
    position: fixed !important;
    box-shadow: 0 1px 4px rgba(51, 51, 51, 0.27);
    z-index: 99999 !important;
}

.logo-yopaz {
    width: 190px;
}

.header .menu {
    padding: 0;
}

#main .menu-mb {
    padding-left: 32px;
    padding-right: 0;
}

.nav-contact {
    height: 68px;
    padding: 14px 20px;
    margin-left: 20px;
    background-color: #e74c39;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.header .language-pc a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #161317;
    font-family: "Kozuka-Gothic-Pr6N", sans-serif;
}

.header .langvi {
    font-family: "HelveticaNeue", sans-serif !important;
}

.header .dropdown-menu-custom {
    text-align: center;
}

.header {
    z-index: 100;
    width: 100%;
    background-color: #ffffff;
}

.nav-link:focus-visible {
    box-shadow: unset;
}

.nav-contact-font {
    color: #ffffff;
    margin-left: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    text-decoration: none;
    font-family: "Kozuka-Gothic-Pr6N", sans-serif;
}

#main a.nav-link {
    color: #161317;
    font-size: 16px;
    font-weight: 500;
    font-family: "Kozuka-Gothic-Pr6N", sans-serif;
    line-height: 23px;
    letter-spacing: 0em;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}

#main a.nav-link:hover {
    color: #e74c39;
}

#main .dropdown-item.active,
.dropdown-item:active {
    background-color: unset;
}

.nav-content {
    margin: 0 auto;
    text-transform: uppercase;
}

.footer .footer-first {
    overflow: hidden;
    position: relative;
}

.footer .footer-first:hover .slogan {
    scale: 1.05;
    filter: blur(4px);
    transition: all 0.5s ease-out;
}

.btn-footer i {
    font-size: 28px;
    color: #f4f5f6;
    margin-right: 10px;
}

.slogan.lazy-image {
    background-image: url("https://cdn.yopaz.com/assets/images/home/footer.jpg");
}

.slogan {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 540px;
    background-image: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-footer {
    position: relative;
    z-index: 1;
}

.content-footer {
    padding-top: 152px;
    padding-bottom: 174px;
}

.content-style {
    text-align: center;
}

.font-1 {
    margin-bottom: 24px;
    line-height: 35px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
}

.font-2 {
    margin-bottom: 40px;
    font-size: 37px;
    font-weight: 600;
    color: #ffffff;
    line-height: 43px;
}

.btn-footer {
    font-size: 24px;
    font-weight: 600;
    line-height: 25px;
    display: flex;
    width: 320px;
    height: 72px;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    border: 3px solid #ffffff;
    margin: 0 auto;
    text-decoration: none;
}

.btn-footer:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.btn-custom:hover,
.footer .btn-footer:hover {
    box-shadow: 0px 4px 18px 0px #ff2121ab;
    background: #e74c39;
    border: 0;
}

.information {
    color: #ffffff;
    margin: 66px 156px 24px 158px;
}

.information .row-content {
    justify-content: space-between;
}

.footer {
    background-color: #161317;
    padding-bottom: 60px;
}

.address {
    display: flex;
    margin-bottom: 8px;
}

.address span {
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
}

.contact-footer .type-address {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.address svg {
    margin-top: 3px;
}

.phone-number {
    margin-right: 20px;
    border-right: 1px solid white;
    padding-right: 20px;
    margin-left: 8px;
}

.contact-footer {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
    padding: 20px 0;
}

.feedback {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.private {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
}

.private-box {
    justify-content: end;
    text-align: right;
    display: flex;
}

.content-footer-b .group-contact:first-child {
    border-bottom: 1px dashed #bdbdbd;
}

.content-footer-b .group-contact:first-child .contact-left {
    margin: 24px 10px 24px 0;
    height: auto;
    width: 25px;
    background-color: #e74c39;
    align-items: center;
    justify-content: center;
    display: flex;
}

.content-footer-b .group-contact:nth-child(2) .contact-left {
    margin: 24px 10px 24px 0;
    height: auto;
    width: 25px;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    display: flex;
}

.content-footer-b .group-contact {
    display: flex;
}

.private .company {
    margin-bottom: 0;
    margin-top: 12px;
    text-align: right;
}

.private p {
    margin-bottom: 0;
}

.language-mb,
.language-mb-h {
    display: none;
}

.letter-mb {
    display: none;
    cursor: pointer;
}

.private-box a {
    color: #ffffff;
}

.policy {
    margin-bottom: 8px;
}

.social-mb {
    display: none;
}

.social img {
    width: 40px;
    height: 40px;
}

.information .content-footer {
    margin-top: 20px;
}

.icon-menu .navbar-toggler {
    border: none;
}

.icon-menu {
    display: flex;
    align-items: center;
}

.header .dropdown-menu[data-bs-popper] {
    left: -50%;
}

.navbar-toggler:focus:focus,
.accordion-button:focus {
    box-shadow: none !important;
}

.logo-social {
    display: flex;
    justify-content: end;
}

.footer .policy {
    border-right: 1px solid;
    padding-right: 12px;
    margin-right: 12px;
}

.footer .mail-footer .mail-mb {
    margin-left: 8px;
}

.footer .info-contact {
    display: flex;
}

.social {
    display: flex;
    align-items: end;
    margin-bottom: 20px;
}

.max-height-100vh {
    max-height: 100vh;
}

@media (max-width: 1770px) {
    .information {
        color: #ffffff;
        margin: 66px 126px 24px 128px;
    }
}

@media (max-width: 1600px) {
    .col-footer-custom {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1500px) {
    .information {
        color: #ffffff;
        margin: 66px 50px 24px 50px;
    }
}

@media (max-width: 1366px) {
    .content-footer {
        padding-top: 100px;
        padding-bottom: 134px;
    }

    .information {
        margin: 20px;
    }

    .footer {
        padding-bottom: 20px;
    }

    .btn-footer {
        font-size: 20px;
    }

    .font-1 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .font-2 {
        font-size: 28px;
    }

    #main a.nav-link {
        font-size: 14px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .header .language-pc a,
    .nav-contact-font {
        font-size: 14px;
    }
}

@media (max-width: 1440px) {
    #main a.nav-link {
        padding-left: 15px;
        padding-right: 15px;
    }

    .information {
        color: #ffffff;
        margin: 66px 20px 24px 20px;
    }
}

@media (max-width: 1280px) {
    .nav-contact-font {
        display: none;
    }

    .nav-contact {
        width: 59px;
    }

    #main .menu-mb {
        padding-left: 0;
    }

    .font-1 {
        line-height: 32px;
        font-size: 20px;
        font-weight: 600;
    }

    .btn-footer {
        font-size: 20px;
        font-weight: 600;
        line-height: 25px;
        width: 280px;
        height: 62px;
    }
}

@media (max-width: 1024px) {
    .header .logo img {
        width: 190px;
    }
}

@media (max-width: 991px) {
    .footer .info-contact {
        display: block;
    }

    .phone-number {
        border-right: 0;
    }

    .company-h {
        font-family: "HelveticaNeue", sans-serif;
        margin-top: 8px;
    }

    .header .logo {
        transform: scale(0.65) translateX(-17.5%);
        max-height: 52px;
    }

    .slogan {
        height: 516px;
    }

    .navbar-collapse {
        width: 100%;
        z-index: 100;
        top: 52px;
        position: fixed;
        min-height: 100vh;
        overflow: auto;
    }

    #main a.nav-link {
        text-align: start;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 600;
        line-height: 23px;
        color: #f4f5f6;
        font-family: "Hiragino", sans-serif;
    }

    .nav-custom {
        background: #161317 !important;
    }

    .header .dropdown-menu-custom {
        border: none;
        padding: 6px 0px 0px 9px;
        background: #161317;
        text-align: start;
        box-shadow: none;
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    .header .dropdown-menu-custom a {
        color: #f4f5f6 !important;
    }

    .header .nav-item .show:first-child {
        border-top: none;
        padding-bottom: 0 !important;
    }

    #main .language-pc {
        display: none;
    }

    .language-mb {
        display: flex;
        justify-content: start;
        margin: 16px 20px 20px;
    }

    .language-mb-h {
        display: flex;
        padding-top: 24px;
        padding-bottom: 59px;
        margin-inline: 24px;
    }

    .language-mb .language-pc a {
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: 0em;
        text-align: left;
        color: #f4f5f6;
        font-family: "Hiragino", sans-serif;
    }

    .language-mb .language-pc .active {
        color: #161317;
    }

    .border-line {
        margin: 0px 20px;
        border: 1px solid #bdbdbd;
    }

    #main a.nav-link:hover {
        color: #bdbdbd;
    }

    .nav-contact {
        height: 52px;
        padding: 15px 17px;
        margin-left: 0px;
        width: 52px;
    }

    .logo-yopaz {
        width: 126px;
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .content-footer {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .logo-social {
        justify-content: center;
        margin-bottom: 16px;
    }

    .slogan {
        height: 358px;
    }

    .information .row-content {
        display: block !important;
    }

    .footer .private-box {
        display: flex;
        order: 0;
        justify-content: center;
    }

    .private .company,
    .private-box {
        text-align: center;
    }

    .content-footer-b .group-contact:nth-child(2) {
        border-bottom: 1px dashed #bdbdbd;
    }

    .footer .social {
        justify-content: center;
        margin-top: 20px;
    }

    .footer .private {
        display: grid;
    }

    .footer .certificate {
        order: 1;
    }

    .footer .company {
        order: 2;
    }
}

@media (max-width: 576px) {
    .address span,
    .phone-number,
    .mail-footer,
    .private-box,
    .company {
        font-size: 12px;
        font-weight: 300;
        line-height: 17px;
    }

    .phone-number {
        margin-right: unset;
    }

    .slogan {
        height: 242px;
    }

    .content-footer {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .font-2 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
        line-height: 19px;
        margin-inline: 12px;
    }

    .font-1 {
        font-size: 12px;
        font-weight: 700;
        line-height: 17px;
        margin-bottom: 8px;
    }

    .btn-footer {
        font-size: 14px;
        font-weight: 700;
        line-height: 15px;
        width: 149px;
        height: 44px;
    }

    .btn-footer i {
        font-size: 18px;
    }

    .information .private {
        width: 351px;
        margin: 0px 20px;
    }

    .social,
    .information .content-footer {
        margin-top: 16px;
    }

    .content-footer {
        display: flex;
        justify-content: center;
    }

    .social img {
        width: 34px;
        height: 34px;
    }

    .footer .policy {
        padding-right: 30px;
        margin-right: 20px;
    }

    .logo-social img:first-child {
        margin-right: 8px !important;
    }

    .footer {
        padding-bottom: 24px;
    }

    .information {
        margin: 24px 12px;
    }

    .footer .policy-info {
        padding-left: 12px;
    }

    .footer .logo-social {
        margin-top: 12px;
    }
}

@media (max-width: 450px) {
    .slogan {
        height: 202px;
    }

    .logo-footer-yopaz img {
        height: 33px;
        width: auto;
    }

    .content-footer {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

@media (max-width: 375px) {
    .slogan {
        height: 192px;
    }

    .logo-yopaz {
        width: 120px;
    }
}

/* style.css */
.swal2-popup .swal2-styled.swal2-confirm {
    background-color: #f73a3a !important;
    color: #fff;
}

/* certificate */
.certificate {
    width: 400px;
    padding-block: 20px;
}

.certificate .list-cert {
    display: flex;
    overflow: hidden;
    gap: 12px;
}

.certificate .img-cert {
    height: 90px;
    width: 90px;
}

.certificate .item-cert {
    display: flex;
    justify-content: end;
}

@media (max-width: 991px) {
    .certificate .img-cert {
        height: 60px;
        width: 60px;
    }

    .certificate {
        width: 325px;
    }
}

@media (max-width: 768px) {
    .certificate .item-cert {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .certificate {
        padding-inline: 20px;
    }


    .certificate .list-cert {
        justify-content: center;
        gap: 16px;
    }
}

