/*---------------------------
----------------------------
------Responsive ----------
-------------------------------*/

/* ------PC-----------*/


@media (min-width: 992px) and (max-width:1200px) {

    .banner-sm {
        right: 4rem;
    }

    .banner-title {
        margin: 4rem 0;
    }

    .banner-text-home {
        margin: 3rem;
        font-size: 2rem;
    }

    .introduce_left {
        justify-content: start;
    }

    .information h2 {
        font-size: 2.3rem;
    }

    .news-desc h2 {
        font-size: 2.4rem;
    }

    .news-desc a {
        font-size: 1.7rem;
        width: 14rem;
    }

    .train-item-sm a img {
        height: 22rem;
    }

    .page-contact {
        margin: 0;
        margin-top: 3rem;
    }

    .banner-title h2 {
        font-size: 2.8rem;
    }

    .banner-title h3 {
        font-size: 2rem;
    }

    .menu-item a {}

    .menu-item img {
        width: 4rem;
    }

    .menu-title {
        margin: 1.6rem 0;
        font-size: 1.8rem;
    }

    .menu-text {
        margin-top: 1.4rem;
        font-size: 1.6rem;
    }

}

/* ------Tablet -----------*/

@media (min-width: 768px) and (max-width:992px) {

    .banner-sm {}

    .banner-title {
        margin: 3rem 0;
    }

    .banner-title h2 {
        font-size: 2rem;
    }

    .banner-title h3 {
        font-size: 1.6rem;
        margin: 1rem 0;
    }

    .banner-text-home {
        font-size: 1.8rem;
        margin: 2rem 2rem 0;
    }

    .introduce_left {
        padding-left: 0;
    }

    .introduce_imgs {
        flex-wrap: nowrap;
    }

    .img-item {
        margin: 0.4rem;
    }

    .img-item-style {
        margin-right: 0;
    }

    .introduce-title {
        margin: 4rem;
    }

    .introduce_right {
        padding-right: 2rem;
    }

    .introduce-text {
        margin-left: 2rem;
    }

    .menu-main {
        display: table;
    }

    .menu-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-img-text {
        padding: 0.8rem;
        font-size: 1.8rem;
    }

    .about-us {
        text-align: center;
    }

    .icon-contact {
        justify-content: center;
    }

    .intro-desc {
        margin-top: 2rem;
    }

    .train-item-sm {
        margin-bottom: 2rem;
    }

    .intro-memoir-text {
        margin-top: 2rem;
    }

    .owl-theme .owl-nav {
        line-height: 22rem;
    }

    .news-desc {
        display: flex;
        justify-content: space-between;
        padding: 2rem;
    }

    .news-info {
        height: 7rem;
        line-height: 7rem;
    }

    .news-list li {
        font-size: 2rem;
        width: 20rem;
    }

    .train-item-sm a img {
        transition: .3s ease-in-out;
        height: auto;
    }

    .contact-infor {
        border: none;
        border-bottom: 1px solid var(--primary-color);
        margin-bottom: 4rem;
        padding-bottom: 2rem;
    }

    .box-contact button {
        bottom: -7.8rem;
        right: 50%;
    }

    .wrapper-about{
        flex-direction: column;
    }

    .about-body, .about-images{
        width: 100%;
    }


}

@media (max-width: 1200px) {
    .intro-memoir-text {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .introduce_left {
        display: none;
    }

    .introduce_img-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .introduce_right {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .box-menu-main {
        padding: 0;
    }

    .menu-item a {
        border-radius: 0;
        width: auto;
        height: 22rem;
        box-shadow: 0 0 8px 0 rgb(0 0 0 / 10%);
    }

    .menu-item img {
        width: 3.5rem;
        margin-top: 2rem;
    }

    .intro-memoir-text {
        padding: 0 10rem;
    }

    .contact-content {
        padding-bottom: 10rem;
    }

    .header_bottom,
    .header_top h3 {
        display: none;
    }

    .header_top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #eaeaea;
        padding: 0 3vw;
    }

    .ebook-body {
        grid-template-columns: repeat(1, 1fr);
    }

    .box-search {
        display: block;
    }

    .nav_mobile {
        display: flex;
    }

    .header_logo {
        padding: 10px 0;
    }

    .product-content {
        flex-direction: column;
    }

    .product-information {
        width: 100%;
    }


}

@media (max-width: 768px) {
    .introduce_img-mobile {
        display: block;
        text-align: center;
    }

    .introduce_img-mobile img:first-child {
        margin-bottom: 2rem;
    }

    .intro-memoir-text {
        padding: 0;
    }

    .intro-memoir-img {
        padding: 0;
    }

    .nav_mobile-list {
        width: 100%;
    }

    .buy-body,
    .comment-body {
        width: 100%;
    }
}


/* ------Mobile -----------*/

@media (min-width:576px) and (max-width:768px) {

    .introduce-title {
        margin: 4rem;
    }

    .introduce_right {
        padding-right: 2rem;
    }

    .introduce-text {
        margin-left: 2rem;
        font-size: 2rem;
    }

    .menu-main {
        display: table;
    }

    .menu-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .information h2 {
        font-size: 2.2rem;
    }

    .banner-title {
        margin: 2rem 0;
    }

    .banner-title h2 {
        font-size: 2rem;
    }

    .banner-title h3 {
        font-size: 1.6rem;
        margin: 1rem 0;
    }

    .banner-line {
        margin: 0 auto;
    }

    .banner-text-home {
        margin: 2rem 1rem;
        font-size: 1.6rem;
    }

    .course-img-text {
        padding: 0.8rem;
        font-size: 1.8rem;
    }

    .intro-desc {
        margin-top: 2rem;
    }

    .train-item-sm {
        margin-bottom: 2rem;
    }

    .intro-memoir-text {
        margin-top: 2rem;
    }

    .news-desc {
        display: flex;
        justify-content: space-between;
        padding: 2rem;
    }

    .news-info {
        height: 6rem;
        width: 100%;
        line-height: 6rem;
    }

    .news-list {
        font-size: 1.8rem;
    }

    .news-list li {
        width: 20rem;
    }

    .train-item-sm a img {
        transition: .3s ease-in-out;
        height: auto;
    }

    .desc-text {
        font-size: 1.8rem;
    }

    .desc-action {
        font-size: 1.8rem;
    }

    .contact-infor {
        border: none;
        border-bottom: 1px solid var(--primary-color);
        margin-bottom: 4rem;
        padding-bottom: 2rem;
    }

    .box-contact button {
        bottom: -7.8rem;
        right: 40%;
    }

    .wrapper-about{
        flex-direction: column;
    }

    .about-body, .about-images{
        width: 100%;
    }

    .row-news{
        grid-template-columns: repeat(2,1fr);
    }
}

/* ------Mobile -----------*/

@media (max-width:576px) {



    .introduce_right {
        margin-top: 0;
    }


    .input-search {
        top: 4.4rem;
        right: -50rem;
        height: 5rem;
        width: 26rem;
        font-size: 1.6rem;
    }

    .input-search #submit {
        padding: 0.2rem 0.8rem;
        font-size: 1.4rem;
    }

    .banner-sm {
        display: none;
    }

    .introduce_imgs {
        display: none;
    }

    .introduce-title {
        margin: 1rem;
    }

    .introduce-title h2 {
        font-size: 2.4rem;
    }

    .introduce_right {
        padding: 0 2rem;
    }

    .introduce-text {
        font-size: 16px;
        line-height: 1.6;
        text-align: justify;
    }

    .introduce-text::first-letter {
        font-family: cursive;
        font-size: 7rem;
        color: teal;
        line-height: 1;
        float: left;
    }

    .menu-main {
        display: block;
        height: auto;
        margin-top: 6rem;
    }

    .menu-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .menu-item a {
        height: 18rem;
    }

    .menu-item a img {
        width: 3rem;
        margin-top: 2rem;
        height: 3rem;
    }

    .menu-item .menu-title {
        font-size: 1.6rem;
        margin: 0;
    }

    .menu-item .menu-text {
        font-size: 14px;
    }

    .courses-title {
        display: none;
    }

    .courses h1 {
        font-size: 2.6rem;
        margin: 1rem 0;
    }

    .information h2 {
        font-size: 2.2rem;
    }

    .banner-title {
        margin: 1rem 0;
    }

    .banner-title h2 {
        font-size: 1.6rem;
    }

    .banner-title h3 {
        font-size: 1.2rem;
        margin: 0.4rem 0;
    }

    .banner-text-home {
        font-size: 1.2rem;
        margin: 0.2rem;
    }

    .banner-text {
        font-size: 3rem;
    }

    .banner-line {
        margin: 0 auto;
    }

    .courses-img-list {
        display: block;
    }

    .course-img-item {
        margin: 2rem 0;
    }

    .course-img-text {
        padding: 0.8rem;
        font-size: 1.8rem;
    }

    .intro-desc {
        margin-top: 2rem;
    }

    .train-item-sm {
        margin-bottom: 2rem;
    }

    .intro-memoir-text {
        margin-top: 2rem;
        font-size: 2.2rem;
    }

    .news-desc {
        padding: 2rem;
    }

    .news-info {
        height: 6rem;
        width: 100%;
        line-height: 6rem;
    }

    .news-list {
        font-size: 1.6rem;
    }

    .news-list li {
        width: 18rem;
    }

    .train-item-sm a img {
        transition: .3s ease-in-out;
        height: auto;
    }

    .memoir-top-item {
        width: 30rem;
        margin: auto;
    }


    .desc-text {
        font-size: 1.8rem;
    }

    .desc-action {
        font-size: 1.8rem;
    }

    .sell-lg h2 {
        font-size: 2.6rem;
    }

    .news-desc {
        position: relative;
    }

    .news-desc a {
        position: absolute;
        top: 5rem;
        right: 2rem;
        font-size: 1.4rem;
        width: 10rem;
    }

    .contact-now {
        right: 1rem;
        bottom: 1rem;
        width: 6rem;
        height: 6rem;
    }

    .contact-btn svg {
        font-size: 1.6rem;
    }

    .contact-btn p {
        font-size: 1rem;
    }

    .contact-now::after {
        width: 6.2rem;
        height: 6.2rem;
        top: 0;
        right: 0;
    }

    .contact-infor {
        border: none;
        border-bottom: 1px solid var(--primary-color);
        margin-bottom: 4rem;
        padding-bottom: 2rem;
    }

    .box-contact button {
        bottom: -7.8rem;
        right: 30%;
    }

    .box-contact label {
        font-size: 1.6rem;
    }

    .box-contact input {
        font-size: 1.4rem;
    }


    .train-title h2 {
        font-size: 2rem;
        color: var(--primary-color);
    }


    .line-1,
    .line-2,
    .line-3,
    .line-4 {
        display: none;
    }

    .introduce {
        padding: 30px 0 0;
    }


    .ebook-main {
        padding: 10px;
        gap: 15px;
    }

    .ebook-image {
        width: 150px;
    }

    .ebook-info {
        width: calc(100% - 150px);
    }

    .section {
        padding: 30px 0;
    }

    .ebook-name {
        font-size: 1.6rem;
    }

    .product-img {
        width: 100%;
    }

    .product-info {
        grid-template-columns: repeat(1, 1fr);
    }

    .wrapper-about{
        flex-direction: column;
    }

    .about-body, .about-images{
        width: 100%;
        padding-right: 0;
    }

    .row-news{
        grid-template-columns: repeat(1,1fr);
    }

    .container-news{
        flex-direction: column;
    }

    .menu-social{
        flex-direction: row;
    }

    .tab-social{
        margin-top: 0;
        width: 100%;
    }

    .wrapper-about{
        width: 100%;
    }
}


@media (min-width:450px) and (max-width:768px) {
    .video-item-style {
        height: 460px;
    }
}

@media (max-width: 400px) {}