/* ========== Extra Extra Large ≥1400px ========== */
@media (max-width: 1400px) {}

/* ========== Extra Large ≥1200px ========== */
@media (max-width: 1200px) {}

/* ========== Large ≥992px ========== */
@media (max-width: 992px) {
    .modalEnchantNewTableContent .title {
        width: 150px;
        min-width: 150px;
        font-size: 14px;
        line-height: 16px;
    }

    .modalEnchantNewTableContent .detail {
        font-size: 13px;
        line-height: 18px;
    }
}

/* ========== Medium ≥768px ========== */
@media (max-width: 768px) {
    .headerMainLayout {
        width: 100%;
        min-height: 1300px;
        padding: 50px 20px;
    }

    .headerDetailLayout {
        position: relative;
        padding: 20px 20px;
    }

    .headerLogoTitle {
        max-width: 600px;
        margin-bottom: 60px;
    }

    .questTableContentLayout {
        width: 100%;
    }

    .quesTopicLayout {
        width: 100%;
        padding: 10px 20px;
    }

    .questMainLayout,
    .subQuestMainLayout,
    .dailyQuestMainLayout {
        padding: 100px 20px 0px 20px;
    }

    .questTableContent {
        width: 100%;
        min-height: 30px;
        padding: 10px 20px;
    }

    .questObject {
        height: 500px;
        min-height: 500px;
    }

    .subQuestMainLayout .questObject img {
        object-fit: cover !important;
    }

    .newItemContentLayout {
        padding: 50px 20px;
    }

    .btnPrimary {
        width: 250px;
        height: 100%;
        min-height: 65px;
        padding: 10px;
        font-size: 15px;
        line-height: 16px;
    }

    .ticketTitle_2 {
        font-size: 45px;
        line-height: 50px;
    }

    .ticketTitle_1 {
        font-size: 50px;
        line-height: 50px;
        font-weight: 700;
    }

    .memoriaDungeonContentLayout {
        padding: 50px 20px;
    }

    .buttonBackMainLayout {
        top: 120px;
    }

}

/* ========== Small ≥576px ========== */
@media (max-width: 576px) {
    .headerMainLayout {
        width: 100%;
        min-height: 1000px;
        padding: 50px 20px;
    }

    .headerDetailLayout {
        gap: 10px;
        font-size: 14px;
        line-height: 20px;
        min-height: fit-content;
    }

    .btnTag {
        min-height: 60px;
        font-size: 25px;
        line-height: 17px;
    }

    .questTableContentLayout {
        height: fit-content;
        padding: 10px 0px;
    }

    .questTableContent {
        width: 100%;
        min-height: fit-content;
        padding: 10px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .quesTopicLayout {
        width: 100%;
        min-height: fit-content;
        padding: 10px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .questTableTopic {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    .questTableContentLayout.secondary {
        height: fit-content;
    }

    .questTableContentLayout.secondary .questTableContent .questTableDes {
        align-items: center;
    }

    .questIcon {
        width: 25px;
    }

    .questTableContent {
        font-size: 13px;
        line-height: 16px;
    }

    .questObject.secondary {
        height: 200px;
        min-height: 200px;
    }

    .questObjectBg.subQuest {
        height: 200px;
    }

    .subQuestContent {
        padding-top: 60px;
    }

    .dailyQuestContent {
        padding-top: 100px;
    }

    .questMainLayout,
    .subQuestMainLayout,
    .dailyQuestMainLayout {
        padding: 50px 20px 0px 20px;
    }

    .questObject {
        height: 300px;
        min-height: 300px;
    }

    .newItemTitle {
        max-width: 150px;
    }

    .newItemTopicItemLayout {
        font-size: 12px;
        line-height: 17px;
    }

    .newItemTopicItem {
        width: 80px;
        min-width: 80px;
    }

    .newItemTopicItemLayout {
        height: fit-content;
    }

    .itemTicketTableMainLayout {
        min-width: auto;
    }

    .newItemTicketMainLayout {
        padding: 20px 15px;
        padding-top: 200px;
        margin-top: 30px;
        height: 100%;
        padding-bottom: 40px;
    }

    .itemTicketTableHeader {
        font-size: 15px;
        line-height: 15px;
    }

    .ticketObject {
        width: 400px;
        top: -30px;
    }

    .ticketTitle_2 {
        position: relative;
        top: 0px;

        font-size: 40px;
        line-height: 45px;
    }

    .itemTicketObject {
        margin: 30px 0px;
        margin-top: 30px;
    }

    .modalContentLayout {
        padding: 20px;
        padding-bottom: 20px;
    }

    .modalContentLayout {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .modalContentDetail {
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .modalEnchantNewTableContent {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .modalEnchantNewTableContent .detail {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .modalEnchantNewTableContentMain hr {
        margin: 15px 0px;
    }

    .modalHeader {
        font-size: 20px;
        line-height: 20px;
        text-align: center;
    }

    .btn-primary {
        width: 150px;
        height: 49px;
        padding: 10px 20px 10px;
        font-size: 22px;
        line-height: 22px;
    }
}

@media (max-width: 500px) {

    .buttonBackMainLayout {
        top: 110px;
    }
}

@media (max-width: 380px) {
    .newItemTopicItemLayout {
        flex-direction: column;
        text-align: center;
    }

    .ticketObject {
        width: 300px;
        top: -15px;
    }

    .ticketTitle_1 {
        font-size: 38px;
        line-height: 38px;
        font-weight: 700;
    }

    .ticketTitle_2 {
        position: relative;
        top: 0px;
        font-size: 35px;
        line-height: 35px;
    }

    .modalHeader {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px 10px;
    }

    .modalHeader button {
        position: relative;
        top: 0px;
        transform: translateY(0%);
        right: 0px;
    }
}

@media (max-width: 308px) {

    .ticketObject {
        width: 220px;
        top: 40px;
    }
}

@media (max-width: 260px) {
    .btnTag {
        min-height: 60px;
        font-size: 18px;
        line-height: 15px;
    }
}