.pageNotFound {
    width: 100%;
    height: 100vh;
}

.pageNotFound-content {
    margin-top: 20vh;
    margin-bottom: 20vh;
    align-items: center;
}

.pageNotFound .content-section-1 {
    min-width: 400px;
}

.pageNotFound .pageNotFound-content div {
    display: block;
}

.pageNotFound .content-section-1 .title {
    font-size: 100px;
    color: black;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 50px;
    margin-left: -4px;
}

.pageNotFound .content-section-1 .title.errorFontThailand {
    font-size: 90px;
    flex-direction: column;
    align-items: start;
    margin-top: 20px;
}

.pageNotFound .content-section-1 .title .errorFontChinese {
    font-size: 79px;
    font-weight: 600;
}

.pageNotFound .content-section-1 .description {
    font-size: 2rem;
    color: #868686;
    font-weight: 500;
}

.pageNotFound .content-section-1 .redirectHome {
    margin-top: 3rem;
}

.pageNotFound .content-section-1 .redirectHome a {
    font-size: 16px;
    color: #00BDFF;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline !important;
}

.pageNotFound .content-section-2 img {
    max-height: 400px;
}


/* large screen view */
@media (min-width: 2000px) {
    .pageNotFound .content-section-1 {
        margin-right: 0;
    }   
}

/* Mobile View */
@media (min-width: 320px) and (max-width: 1024px) {
    /* Page Not Found 404 */
    .pageNotFound-content {
        margin-top: 8vh;
        margin-bottom: 8vh;
        max-height: 500px;
    }

    .pageNotFound .content-section-1 {
        display: flex;
        flex-direction: column;
        text-align: center;
        min-width: 0px;
        padding: 0;  
        margin-right: 0; 
        order: 2;
    }

    .pageNotFound .content-section-1 .title {
        margin: 20px 0px;
        font-size: 71px;
        justify-content: center;
    }

    .pageNotFound .content-section-1 .title.errorFontThailand {
        align-items: center !important;
        font-size: 65px;
    }

    .pageNotFound .content-section-1 .title .errorFontChinese{
        font-size: 55px;
    }

    .pageNotFound .content-section-1 .description {
        font-size: 20px;
    }

    .pageNotFound .content-section-2 {
        display: flex !important;
        justify-content: center;
    }

    .pageNotFound .content-section-2 img{
        height: 200px;
        order: 1;
    }

}

/* Ipad view */
@media (min-width: 768px) and (max-width: 1024px) {
    .pageNotFound .pageNotFound-content .content-section-1,
    .pageNotFound .pageNotFound-content .content-section-2{
        max-width: 100%;
        flex: 0 0 100%;
    }

    .pageNotFound .content-section-2 img {
        height: 300px;
    }

    .pageNotFound .content-section-1 .title {
        font-size: 100px;
    }

    .pageNotFound .content-section-1 .title .errorFontChinese {
        font-size: 79px;
    }

    .pageNotFound .content-section-1 .description {
        font-size: 30px;
    }

    .pageNotFound .content-section-1 .redirectHome {
        margin-top: 20px;
    }

    .pageNotFound .content-section-1 .redirectHome a {
        font-size: 20px;
    }
}