/* =========== 
    FONT 
===========*/
@font-face {
    font-family: "bloodcrowc";
    src: url("../font/bloodcrowc.ttf") format("truetype");
    font-weight: 600;
    /* normal */
    font-style: normal;
    font-display: swap;
}

.font-bloodcrowc {
    font-family: "bloodcrowc", sans-serif;
}

.shadowedDreamModal .modal-content {
    position: relative;
    width: 100%;
    padding: 30px;
    overflow: auto;
    background: url("../images/modal/mainBg.png") center / cover;
}

.shadowedDreamModalClose {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    padding: 0px;
    border: 0px solid transparent;
    background: transparent;
    opacity: .7;

    transition: all .5s;
}

.shadowedDreamModalClose:hover {
    filter: drop-shadow(1px 1px 10px #cded81);
    opacity: 1;
}

.shadowedDreamModalClose img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shadowedDreamModalTitle {
    font-size: 40px;
    line-height: 40px;
    font-family: "PSLTextSP", sans-serif;
    color: #cded81;
    filter: drop-shadow(1px 1px 5px #c3e96c) drop-shadow(1px 1px 10px #b6d371a2);
}

.shadowedDreamContentMainLayout_main {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0px auto;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.shadowedDreamContentMainLayout {
    position: relative;
    width: 1260px;
    height: 635px;
    filter: drop-shadow(0px 0px 10px #000) drop-shadow(0px 0px 20px #000);

    background: url("../images/modal/content_1.png") center / cover;
}

.shadowedDreamContent_npppTitle {
    position: relative;
    font-family: "bloodcrowc", sans-serif;
    color: #e8dbc0;
    font-size: 40px;
    text-shadow:
        2px 0 0 #000,
        -2px 0 0 #000,
        0 2px 0 #000,
        0 -2px 0 #000,
        1px 1px 5px #000;

    width: 100%;
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;

    transform: rotate(-3deg);
}

.shadowedDreamContent_detailLayout {
    width: 635px;
    height: 550px;
    padding: 20px 40px;
    transform: rotate(-3deg);

    display: flex;
    flex-direction: column;

    color: #2e2a1d;
    font-family: "PSLTextSP", sans-serif;
    font-size: 20px;
    line-height: 22px;
    text-shadow:
        2px 2px 5px #7e7e7e;
}

.sdModalItem {
    width: 100%;
    max-width: 120px;
    min-width: 120px;
}

.sdModalTitle_np {
    font-family: "bloodcrowc", sans-serif;
    font-size: 25px;
    color: #7e0b06;
}

.sdModalLevelPassMainLayout {
    position: relative;
    z-index: 3;
    width: 600px;
    height: 150px;
    overflow: auto;

    margin-right: auto;
    margin-left: 40px;
    margin-top: 20px;
    padding: 20px;

    background: #000;
    border: 1px solid #6a8e60;

    color: #e9e9e9;
    font-family: "PSLTextSP", sans-serif;
    font-size: 20px;
    line-height: 22px;
    text-shadow:
        2px 2px 5px #7e7e7e;
}

.sdModalLevelPassTite {
    font-family: "bloodcrowc", sans-serif;
    font-size: 25px;
    color: #6a8e60;
    text-shadow:
        2px 2px 5px #7e7e7e00;
    text-decoration: underline;
}

.sdModalBattlePassMainLayout {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 690px;
    height: 745px;
    padding-right: 100px;
    padding-left: 30px;

    background: url("../images/modal/content_2.png") top / cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    color: #663e2a;
    font-family: "PSLTextSP", sans-serif;
    font-size: 20px;
    line-height: 22px;
    font-weight: 700;
    /* text-shadow:
        2px 2px 10px #36352491; */
}

.sdModalBattlePassLogo {
    width: 100%;
    margin-bottom: 20px;
}

.sdModalBattlePassContent {
    position: relative;
    width: 100%;
    max-width: 450px;
    min-height: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sdModalBattlePassContentItem {
    position: absolute;
    top: -50px;
    left: -90px;
    width: 150px;
}

.sdModalBattlePassContent #title {
    color: #573626;
    font-family: "bloodcrowc", sans-serif;
    font-size: 40px;
    line-height: 30px;
    text-shadow:
        2px 2px 10px transparent;
}

.sdModalBattlePassNpcLayout {
    position: relative;
    width: 470px;
    height: 300px;
    padding: 50px 50px;

    background: url("../images/modal/content_3.png") center / cover;
    color: #332f20;

    display: flex;
}

.sdModalBattlePassNpcContent {
    width: 350px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    transform: rotate(5deg);
}

.sdModalBattlePassNpcItem {
    position: absolute;
    bottom: 20px;
    right: 40px;

    width: 150px;
}

/* ============
How to Play
============ */
.sdHowto_StepContentLayout h6 {
    font-size: 15px;
}

.shadowDreamHowtoContentMainLayout {
    width: 100%;
    height: 100vh;
    padding: 20px 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 30px;
}

.sdHowto_StepMainLayout {
    position: relative;
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.sdHowto_StepLayout {
    width: 400px;
    min-width: 400px;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sdHowto_Step {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    padding-bottom: 5px;
    border-radius: 50px;
    border: 1px solid #c4e96c83;
    box-shadow: 0px 0px 10px 5px #cced8196;

    background: #000;
    color: #cded81;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-size: 35px;
    line-height: 20px;
    font-family: "bloodcrowc", sans-serif;
}

.sdHowto_StepHr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1300px;
    height: 3px;
    border-radius: 50px;
    background: #cded81;
    box-shadow: 0px 0px 10px 5px #93aa5c80;
}

.sdHowto_StepContentLayout {
    width: 400px;
    min-width: 400px;
    min-height: 620px;
    border: 10px solid #160000;
    padding: 20px;
    background: #231504;
    color: #d0ef82;

    display: flex;
    flex-direction: column;
    align-items: center;

    /* font-family: "PSLTextSP", sans-serif; */
    font-family: "Mali", sans-serif;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

.sdHowto_StepContentTitleLayout {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    font-family: "bloodcrowc", "Mali", sans-serif;
    font-size: 40px;
    line-height: 40px;
    font-weight: 600;
    color: #ec1414;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sdHowto_StepContentTitleLayout span:lang(en) {
    font-size: 35px;
    line-height: 35px;
}

.sdHowto_StepContentTitleLayout span:lang(th) {
    font-size: 25px;
    line-height: 25px;
}

.sdHowto_StepContentItem {
    width: 100px;
    margin-bottom: 10px;
}

.sdHowto_StepContentDes {
    width: 100%;
    height: 100px;
    text-align: center;
}

.sdHowto_StepContentHr {
    width: 100%;
    height: 1px;
    padding: 1px 0px;
    border-radius: 50px;
    margin: 20px 0px;
    background: linear-gradient(90deg, rgba(12, 39, 69, 0.04) 0%, rgb(126, 16, 6) 50%, rgba(13, 83, 163, 0) 100%);
}

.sdHowto_StepContentResearchItem {
    width: 55px;
}

.sdHowto_StepContentResearchItemDes {
    width: 130px;
    display: flex;
    flex-direction: column;
}

/* ============
Responsive
============ */
@media (max-width: 1705.98px) {
    .sdHowto_StepMainLayout {
        gap: 10px;
    }

    .sdHowto_StepContentLayout {
        width: 350px;
        min-width: 350px;
        padding-top: 10px;
    }

    .sdHowto_StepLayout {
        width: 350px;
        min-width: 350px;
    }

    .sdHowto_StepContentTitleLayout span:lang(en) {
        font-size: 30px;
        line-height: 30px;
    }

    .sdHowto_StepContentTitleLayout span:lang(th) {
        font-size: 23px;
        line-height: 23px;
    }

    .sdHowto_StepHr {
        width: 1060px;
    }

    .shadowDreamHowtoContentMainLayout {
        padding: 20px 0px;
    }
}

@media (max-width: 1428.98px) {
    .sdHowto_StepMainLayout {
        gap: 10px;
    }

    .sdHowto_StepContentLayout {
        width: 300px;
        min-width: 300px;
        padding-top: 10px;
        min-height: 650px;
        height: 650px;
        overflow: auto;
    }

    .sdHowto_StepLayout {
        width: 300px;
        min-width: 300px;
    }

    .sdHowto_StepContentTitleLayout {
        height: 55px;
        min-height: 55px;
    }

    .sdHowto_StepContentDes {
        width: 100%;
        height: 130px;
        min-height: 130px;
        text-align: center;
    }

    .sdHowto_StepHr {
        width: 980px;
    }
}


@media (max-width: 1399.98px) {
    .sdModalBattlePassMainLayout {
        right: -45px;
    }
}

@media (max-width: 1230.98px) {
    .sdModalBattlePassMainLayout {
        right: -60px;
        width: 600px;
        height: 655px;
    }

    .shadowedDreamContentMainLayout {
        position: relative;
        width: 1110px;
    }

    .shadowedDreamContent_detailLayout {
        width: 576px;
        height: 550px;
        padding: 20px 35px 20px 20px;
    }

    .sdModalLevelPassMainLayout {
        margin-left: 0px;
    }

    .sdModalBattlePassContentItem {
        position: absolute;
        top: -50px;
        left: -50px;
        width: 120px;
    }
}

@media (max-width: 1199.98px) {
    .sdHowto_StepHr {
        width: 1110px;
        left: 65%;
    }

    .shadowDreamHowtoContentMainLayout {
        overflow: auto;
    }

    .sdHowto_StepMainLayout {
        justify-content: start;
    }

    .sdHowto_StepLayout {
        width: 350px;
        min-width: 350px;
    }

    .sdHowto_StepContentLayout {
        width: 350px;
        min-width: 350px;
        padding-top: 10px;
        min-height: 700px;
        height: 700px;
    }
}

@media (max-width: 1095.98px) {
    .sdModalBattlePassMainLayout {
        right: -120px;
    }

    .shadowedDreamContentMainLayout {
        width: 1000px;
    }

    .shadowedDreamContent_detailLayout {
        width: 526px;
    }

    .sdModalItem {
        width: 100%;
        max-width: 100px;
        min-width: 100px;
    }
}

@media (max-width: 991.98px) {
    .shadowedDreamContentMainLayout_main {
        height: auto;
    }


    .sdModalLevelPassMainLayout {
        position: relative;
        z-index: 3;
        width: 100%;
        height: fit-content;
    }

    .shadowedDreamContentMainLayout {
        width: 100%;
        height: fit-content;
        border-radius: 20px;
        background: url("../images/modal/content_1_2.png") center / cover;
    }

    .shadowedDreamContent_npppTitle {
        margin-bottom: 10px;
        transform: rotate(0deg);
    }

    .shadowedDreamContent_detailLayout {
        width: 100%;
        transform: rotate(0deg);
        padding: 30px;
        height: fit-content;
    }

    .sdModalBattlePassMainLayout {
        position: relative;
        top: 0px;
        right: 0px;

        width: 700px;
        height: 860px;
        margin-top: 30px;
        padding-right: 0px;
        padding-left: 0px;

        background: url("../images/modal/content_2_2.png") center / cover;
    }

    .sdModalBattlePassContent {
        width: 100%;
        max-width: 500px;
        min-height: 40px;
        padding: 0px 20px;
    }

    .sdModalBattlePassNpcLayout {
        position: relative;
        width: 520px;
        height: 315px;
        color: #332f20;
        display: flex;
        transform: rotate(-6deg);
    }

    .sdModalBattlePassNpcContent {
        transform: rotate(6deg);
    }

    .sdHowto_StepHr {
        display: none;
    }

    .sdHowto_StepContentLayout {
        min-height: auto;
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .sdModalBattlePassMainLayout {
        width: 600px;
    }
}

@media (max-width: 575.98px) {
    .sdModalBattlePassMainLayout {
        width: 100%;
    }

    .sdModalBattlePassNpcItem {
        position: relative;
        bottom: 0px;
        right: 0px;
        width: 180px;
    }

    .shadowedDreamContent_npppTitle {
        font-size: 35px;
        line-height: 40px;
        text-align: center;
    }

    .sdModalBattlePassMainLayout {
        width: 100%;
        height: fit-content;
    }

    .sdModalBattlePassNpcLayout {
        position: relative;
        width: 400px;
        height: fit-content;
        padding: 53px 40px;
        background: url("../images/modal/content_3_2s.png") center / cover;
        color: #332f20;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: rotate(0deg);
    }

    .sdModalBattlePassNpcContent {
        transform: rotate(0deg);
        width: 100%;
        height: fit-content;
    }

    .shadowedDreamModal .modal-content {
        padding: 30px 15px;
        padding-top: 65px;
    }

    .sdModalBattlePassContentItem {
        position: absolute;
        top: -30px;
        left: -20px;
        width: 70px;
    }


}

@media (max-width: 380.98px) {
    .sdModalBattlePassNpcLayout {
        position: relative;
        width: 320px;
        height: 440px;
        padding: 50px 12px;
    }

    .sdModalBattlePassNpcContent {
        padding: 0px;
        padding-top: 80px;

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}