
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

label {
    display: inline-block;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
@include font-size(inherit);
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

body {
    font-family: sans-serif;
    background: #f0f0f0;
}

.tab-container {
    width: 100%;
    margin: 0 auto;
    padding: 5px 16px;
    background: #fff;
    text-align: center;
    min-height: 100vh;
    background: url("../img/main_bg.jpg?33");
    background-position: top center;
    position: relative;
    overflow: hidden;
}

.mySwiper img {
    width: 100%;
}
.mySwiper .swiper-button-prev {
    background: url("../img/arrow-pre.svg") 0 0 no-repeat;
    background-size: 100% 100%;
    opacity: .5;
    transition: opacity .15s ease;
}
.mySwiper .swiper-button-next {
    background: url("../img/arrow-next.svg") 0 0 no-repeat;
    background-size: 100% 100%;
    opacity: .5;
    transition: opacity .15s ease;
}
.mySwiper .swiper-button-next:after, .mySwiper .swiper-button-prev:after {
    display: none;
}

@media (min-width: 768px) {
    .tab-container {
        max-width: 520px;
    }
}

@media (max-width: 767px) {
    .title {
        width: 65%;
    }

    img.d-block {
        width: 100%;
    }
}

@media only screen and (max-width: 370px) {
    /* CSS áp dụng riêng cho iPhone 6 và các thiết bị có chiều rộng bằng hoặc nhỏ hơn */
    .button-group button {
        font-size: 12px !important;
        padding: 5px !important;
    }

    .logo {
        margin-top: 0px;
        width: 65%;
    }

    .contactz {
        width: 40px !important;
        height: 40px !important;
    }

    .selector img {
        width: 40px;
    }
}

input[name="tab-btn"] {
    display: none;
}

.tab-content {
    margin: 10px 0;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3 {
    display: block;
}
.w-100 {
    width: 100%;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    /* Giới hạn ngang */
    margin: 0 auto;
    padding-top: 56.25%;
    /* 16:9 */
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #09F;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-label-group {
    max-width: 640px;
    margin: 10px auto 0;
    display: flex;
    gap: 10px;
}

.tab-label-group label {
    flex: 1;
    cursor: pointer;
}

.tab-label-group label img {
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;

}

#tab1:checked ~ .tab-label-group label[for="tab1"] img,
#tab2:checked ~ .tab-label-group label[for="tab2"] img,
#tab3:checked ~ .tab-label-group label[for="tab3"] img {
    filter: none;
}

.button-group {
    margin-top: 10px;
    text-align: center;
}

.button-group a {
    display: block;
    margin: 0 auto 12px;
}

.button-group button {
    display: block;
    margin: 0 auto 12px;
}

.button-group button:last-child {
    margin-bottom: 0;
}

.button-group button {
    padding: 13px 16px;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s;
    width: 90%;
    background: #1D567D;
    border-radius: 30.4656px;
    border: solid #fff 2px;
}

.button-group button:hover {
    background: #FFEE00 !important;
}

.logo {
    margin-top: 0px;

}

.title {
    margin-top: 0px;
}

.device-requirements {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.device-requirements .req-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 9px;
}

.device-requirements .req-item img {
    width: 20px;
    height: auto;
}

.homebtn {
    position: absolute;
    left: 15px;
    top: 20px;
}

.contactz {
    position: absolute;
    left: 15px;
    bottom: 20px;
    padding: 5px;
    background: #fff;
    border-radius: 99px;
    width: 52px;
    height: 52px;
}

.contactz img {
    width: 100%
}

.selector {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 90px;
    height: 90px;
    margin-top: -70px;
    margin-left: -70px;
    z-index: 999;
}

.selector,
.selector button {
    background: none;
}

.selector button {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;

    border-radius: 50%;
    border: 0;
    color: white;
    font-size: 12px;
    cursor: pointer;

    transition: all .1s;
}

.selector button:hover {
}

.selector button:focus {
    outline: none;
}

.selector ul {
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
}

.selector li {
    position: absolute;
    width: 0;
    height: 100%;
    margin: 0 50%;
    -webkit-transform: rotate(-360deg);
    transition: all 0.8s ease-in-out;
}

.selector li input {
    display: none;
}

.selector li input + label {
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 0;
    height: 0;
    line-height: 1px;
    margin-left: 0;

    border-radius: 50%;
    text-align: center;
    font-size: 1px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.8s ease-in-out, color 0.1s, background 0.1s;
}

.selector li input + label:hover {
}

.selector li input:checked + label {

    color: white;
}

.selector li input:checked + label:hover {
}

.selector.open li input + label {
    width: 50px;
    height: 50px;
    margin-left: -40px;

    font-size: 14px;
}

.selector button img {
    transition: transform 0.3s ease-in-out;
}

.selector.open button img {
    transform: rotate(45deg);
}

.selector::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background-color: #04143FD9;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: scale(0.5);
    z-index: 0;
}

.selector.open::before {
    opacity: 1;
    transform: scale(1);
}

.logo,
.title {
    display: block;
    /* Hiển thị mỗi ảnh trên một dòng riêng */
    margin: 0 auto;
    /* Căn giữa */
    max-width: 100%;
    width: 74%;
    /* Đảm bảo ảnh không vượt quá chiều rộng màn hình */
}