@media screen and (min-width: 768px) {
    .bg_site {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: fill;
        display: block;
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        background-position: top center; /* Căn giữa background */
        background-size: 100% 100%;         /* Giữ kích thước phủ kín */
        background-repeat: no-repeat;
        background-attachment: fixed;
        z-index: 0;
        background-color: #2D2011;
    }

    .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .bg-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .background-image.active {
        opacity: 1;
    }

    .title-group-name {
        position: relative;
        height: 30px;
        width: auto;
    }

    .group-name {
        opacity: 0;
        position: absolute;
        bottom: 0px;
        left: 0px;
        opacity: 0;
        transition: opacity 1s ease-out, opacity 0.3s ease-in;
        overflow: hidden;
    }

    .group-team {
        opacity: 0;
        transition: opacity 1s ease-out, opacity 0.3s ease-in;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .group-name.active,
    .group-team.active {
        opacity: 1;
    }

    .group-team-logo {
        position: relative;
        min-height: 84px;
        height: 100%;
    }

    .filter-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg,
                rgba(23, 23, 23, 0) 0%,
                rgba(23.38, 23.38, 23.38, 0.2) 100%);
    }

    .logo-group-partner {
        display: none !important;
        transition: 1s ease;
    }

    .logo-group-partner.active {
        display: flex !important;
        transition: 1s ease;
    }

    .container {
        max-width: 1320px;
    }

    .videoBox::before {
        z-index: 0;
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .bg-video {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        padding: 0px;
    }

    .filter-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .w-20 {
        width: 20%;
    }

    .w-40 {
        width: 40%;
    }

    .w-55 {
        width: 55%;
    }

    .w-45 {
        width: 45%;
    }

    .w-60 {
        width: 60%;
    }

    .w-65 {
        width: 65%;
    }

    .w-75 {
        width: 75%;
    }

    .w-78 {
        width: 78%;
    }

    .w-80 {
        width: 80%;
    }

    .group-team {

        top: 2px;
    }

    .fw-bold-600 {
        font-weight: 600;
    }

    .flags-icon {
        width: 15%;
    }

    .logo {
        width: 10%;
    }

    .btn-join {
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        cursor: pointer;
        z-index: 99999;
        max-width: 292px;
        width: 100%;
    }

    .btn-join-01 {
        margin-left: 58px;
    }

    .image-logo {
        width: 160px;
    }

    .btn-join-02 .image-logo,
    .btn-join-03 .image-logo,
    .btn-join-04 .image-logo {
        width: 160px;
    }

    .image-logo.brazil-logo {
        padding: 7px;
    }

    .text-country {
        bottom: -48%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 32px;
        width: 100%;
        line-height: 1.2;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 99999999;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
    }

    #myModal01 .modal-content {
        background-color: unset;
        border: unset;
        background-image: url("../assets/images/popup-tieng-brazil.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        position: relative;
        margin: auto;
        padding: 30px;
        width: 600px;
        height: 350px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #myModal02 .modal-content {
        background-color: unset;
        border: unset;
        background-image: url("../assets/images/popup-tieng-han-2.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        position: relative;
        margin: auto;
        padding: 30px;
        width: 600px;
        height: 350px;

        /* Add css */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Footer Group Team */

    .wp-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        max-width: 500px;
    }

    .wp-footer img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .wp-footer-team {
        max-width: 440px;
        width: 100%;
        display: flex;
    }

    .wp-footer-team .ft-logo-ty {
        width: 71%;
        margin-right: 27px;
        position: relative;
    }

    .wp-footer-team .ft-logo-ty::before {
        content: "";
        position: absolute;
        top: 0px;
        right: -27px;
        width: 1px;
        height: 95px;
        background-color: #fff;

    }

    .wp-footer-team .ft-sign-ds {
        width: 19%;
        margin-left: 27px;
    }

    .wp-footer-ds-sign {
        max-width: 520px;
    }

    .wp-footer-ds-sign .ft-text {
        color: #fff;
        font-size: 24px;
        line-height: 0.5;
        padding-top: 3px;
    }

}

@keyframes move {
    0% {
        opacity: .9;
    }

    10% {
        transform: translate3d(4px, 0, 0);
    }

    70% {
        transform: scale(1);
        box-shadow: #ffffff 0 0 0 1px;
    }

    80% {
        transform: translate3d(2px, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: #ffffff 0 0 0 2px;
        opacity: 1;
    }
}

.ambassador-title {
    font-size: 1.5rem;
}

@media screen and (max-width: 1440px) and (min-width: 768px) {
    .btn-join {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {

    .container {
        max-width: 1000px;
    }

    .btn-join-01 {
        margin-left: 35px;
    }

    .image-logo {
        width: 120px !important;
    }

    .btn-join .position-absolute {
        font-size: 28px !important;
    }

    .ambassador-title {
        font-size: 1.2rem;
    }

    .logo {
        width: 160px;
    }

    .group-team-logo {
        min-height: 6.1vw;
    }

    .wp-footer {
        max-width: 990px;
    }

    .wp-footer-ds-sign .ft-text {
        font-size: 24px;
        padding-top: 0px;
    }

    .wp-footer {
        padding: 0px 3px;
    }

    .wp-footer-team {
        max-width: 340px;
    }

    .wp-footer-team .ft-logo-ty::before {
        height: 75%;
    }
}

@media screen and (max-width: 1000px) {
    .wp-footer-ds-sign .ft-text {
        font-size: 14px;
    }

    .wp-footer {
        width: 70%;
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
    .ambassador-title {
        font-size: 1rem;
    }

    .wp-footer {
        gap: 30px !important;
    }
}

@media screen and (max-width: 990px) and (min-width: 768px) {
    .btn-join .position-absolute {
        font-size: 20px !important;
    }

    .btn-join-01 {
        margin-left: 20px !important;
    }

    .image-logo,
    .btn-join-02 .image-logo,
    .btn-join-03 .image-logo,
    .btn-join-04 .image-logo {
        width: 128px !important;
    }
}

@media screen and (max-width: 880px) and (min-width: 768px) {
    .image-logo {
        width: 61%;
    }
}

@media screen and (max-width: 940px) and (min-width: 768px) {
    .wp-footer-team {
        max-width: 45%;
    }

    .wp-footer-team .ft-logo-ty::before {
        height: 82%;
    }
}