/* Thiết lập CSS cho máy tính */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
}

#body {
    background: url("../img/bg.png");
    background-position: center top;
    background-size: 105%;
    position: relative;
}

.nutback {
    position: absolute;
    top: 30px;
    left: 30px;
}

.nutback button {
    background: none;
    border: none;
    cursor: pointer;
}

.nutback img {

    width: 40px;
}

.header-wrapper {
    width: 1450px;
    margin: 0 auto;
    text-align: center;
}

.logo {

    width: 650px;
    margin: 0 auto;
    padding-top: 20px;
}

.logo img {
    width: 100%;
}

.tieude {
    width: 1000px;
    margin: auto;
}

.tieude img {
    width: 100%;
}


#container {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

/* Button màu cam */
.btn-orange {
    display: inline-block;
    background: linear-gradient(45deg, #ff7b00, #ff5500);
    /* Gradient cam */
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    min-width: 160px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hiệu ứng hover */
.btn-orange:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}


.banner {
    width: 33%;

    float: left;
}

.center {
    position: absolute;
}

.banner img {
    margin: 20px;
    width: calc(100% - 20px);
    float: left;
}

.banner img:hover {
    cursor: pointer;
    scale: 1.02;
    transition: all .125s ease-in-out;


}

.b25 {
    width: 25% !important;
    opacity: 0;
}

/* Style cho popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-popup-btn {
    position: absolute;
    top: -20px;
    right: -17px;
    background: black;
    border: 0;
    color: #fff;
    padding: 10px 13px;
    border-radius: 69px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

/* Style cho popup content */
#popup-1 .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    width: 1450px;
    position: relative;


}

#popup-2 .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    width: 540px;
    position: relative;
}

.popup-content img {
    width: 100%;

}
/* Thêm một số style cơ bản khác nếu muốn */

.hdpc {
    display: none;
}

.clear {
    clear: both;
}


@media (min-width: 1921px) {}

/* Thiết lập CSS cho máy tính 1920 */

@media (max-width: 1920px) and (min-width: 1282px) {}

/* Thiết lập CSS cho tablet */
@media (max-width: 1281px) {
    .header-wrapper {
        width: 1154px;
    }
    .tieude {
        width: 90%;
    }

    .logo {
        width: 90%;
    }

    .logo img {
        width: 40%;
    }

    #container {
        width: 1154px;
    }

    .banner img {
        width: 100%;
    }

}

@media (max-width: 1154px) {


    .tieude {
        width: 90%;
    }

    .logo {
        width: 90%;
    }

    .logo img {
        width: 30%;
    }

    #container {
        width: 90%;
    }


}



@media (max-width: 1025px) {



    .tieude {
        width: 90%;
    }

    .logo {
        width: 90%;
    }

    .logo img {
        width: 40%;
    }

    #container {
        width: 90%;
    }

    .banner img {
        width: 100%;
    }



}

@media (max-width: 914px) {
    header {
        width: 100%;
        height: 780px;
    }

}

@media (max-width: 821px) {
    #popup-1 .popup-content {
        width: 86%;
        padding: 10px;
        height: 86%;

    }

    #popup-1 .popup-content .anh {

        overflow: auto;
        width: 100%;
        height: 100%;
    }



    #popup-2 .popup-content {
        width: 74%;
        padding: 10px;
    }

    .header-wrapper {
        width: 100%;



    }

    .form-content {
        width: 100%;
    }

    .tieude {
        width: 90%;
    }

    .logo {
        width: 90%;
    }

    .logo img {
        width: 40%;
    }

    #container {
        width: 90%;
    }

    .banner img {
        width: 100%;
    }



}

/* Thiết lập CSS cho điện thoại di động */
@media (max-width: 769px) {

    .header-wrapper {
        width: 100%;



    }

    .form-content {
        width: 100%;
    }

    .tieude {
        width: 90%;
    }

    .logo {
        width: 90%;
    }

    .logo img {
        width: 90%;
    }

    #container {
        width: 90%;
    }

    .banner {
        width: 100%;

    }

    .banner img {
        width: 45%;
        margin: 20px auto;
    }

    .hdmb {
        display: none;
    }

    .hdpc {
        display: inherit;
    }

    .nutback {

        top: 10px !important;
        left: 10px !important;
    }

    .nutback img {

        width: 25px !important;
    }

    .btn-orange {
        width: 90%;
    }

}

@media (max-width: 541px) {

    header {
        height: 550px;

    }

}

/******* Iphone 11 pro x */
@media (max-width: 431px) {

    header {
        height: 500px;
    }

}

@media (max-width: 428px) {}


@media (max-width: 415px) {

    header {
        height: 490px !important
    }
}

/******* Iphone x */
@media (max-width: 391px) {

    header {
        height: 470px !important;
    }

}

@media (max-width: 375px) {}

@media (max-width: 361px) {
    header {
        height: 450px !important;
    }

}