@charset "UTF-8";

.introduce {
    width: 100%;
    align-self: center;
}

.content__intro_425 {
    display: none;
}

.content {
    display: flex;
    padding: 20px 10%;
}

.body__header {
    background: #ffffff;
    margin: 0;
    padding: 20px;
    border-radius: 10px;
}

.title {
    color: #4c5bd4;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
}

.content__intro {
    display: block;
    padding: 20px 0;
}

.content__intro_mbti {
    display: flex;
    padding: 20px 0;
}

.gr_tinhcach {
    display: block;
    justify-content: center;
    text-align: center;
}

.gr_tinhcach h4 {
    font-size: 20px;
    font-weight: 400;
    color: #474747;
    line-height: 26px;
    padding: 15px 0;
}

.gr_tinhcach span {
    font-size: 30px;
    line-height: 26px;
    font-weight: 600;
    color: #474747;
    padding: 5px 0;
}

.gr_tinhcach .btn {
    display: flex;
    margin: 0 17%;
    gap: 20px;
    padding: 10px 0;
    justify-content: center;
}

.gr_tinhcach .btn .btn_restart,
.gr_tinhcach .btn .btn_detail {
    width: 187px;
    height: 30px;
    padding: 8px 10px 8px 10px;
    border-radius: 10px;
    gap: 5px;
    display: flex;
    align-self: center;
    justify-content: center;
    border: none;
}

.gr_tinhcach .btn .btn_restart {
    background: linear-gradient(89.89deg, #4aa7ff 2.34%, #75bcff 99.87%);
    color: #ffffff;
}

.gr_tinhcach .btn .btn_detail {
    background: linear-gradient(90deg, #4c5bd4 2.83%, rgba(105, 119, 237, 0.79) 95.75%);
    color: #ffffff;
}

.content__intro>p {
    font-size: 16px;
    line-height: 26px;
}

.content__intro_mbti>p {
    font-size: 16px;
    line-height: 26px;
}

.btn_khampha {
    display: flex;
    text-align: center;
    width: 311px;
    padding: 10px 20px 10px 20px;
    border-radius: 15px;
    border: none;
    background: #4c5bd4;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    margin: 0 auto;
}

.btn_khamphami {
    display: flex;
    text-align: center;
    padding: 10px 20px 10px 20px;
    border-radius: 15px;
    border: none;
    background: #4c5bd4;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    margin: 0 auto;
}

.btn_khampha>img {
    margin-right: 5px;
}

.noidung {
    background: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    height: auto;
    display: block;
}

.noidung img {
    width: 100%;
    height: auto;
}

.noidung_mi img {
    width: 100%;
    height: auto;
}

.tieude {
    margin: 20px 0;
    font-size: 22px;
    font-weight: 700;
    color: #474747;
}

.noidung__children {
    font-size: 16px;
    line-height: 22px;
}

.grid {
    width: 100%;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.mi {
    margin: 0px;
}

.gridmi {
    width: 100%;
    display: block;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 20px;
    padding: 1px;
}

.gridmi .footer_mi {
    margin: 20px;
    border: 1px solid #a0a0a0;
}

.gridmi .children_content {
    border: 1px solid #a0a0a0;
    padding: 10px;
}

.grid_contentMI {
    display: flex;
    padding: 0;
    height: auto;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
    border: 1px solid #a0a0a0;
}

.grid_contentMI .grid_imageMI>img {
    width: 100%;
}

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

.content__contentmi .grid_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #474747;
}

.content__contentmi .grid_content_sub {
    height: auto;
}

.content__contentmi .grid_content_sub .text {
    height: auto;
}

.grid_content {
    background: #ffffff;
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    height: auto;
    display: flex;
    width: 100%;
    gap: 5px;
}

.grid_image>img {
    border-radius: 50%;
}

.label {
    margin: 20px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 46px;
}

.labelmi {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.content__content .grid_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #474747;
}

.grid_content_sub {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    max-width: 325px;
    overflow: hidden;
    height: 152px;
}

.grid_content_sub .text {
    text-overflow: ellipsis;
    height: 100%;
    /* Sử dụng chiều cao 100% của vùng chứa */
    overflow: hidden;
    /* Ẩn nội dung vượt quá chiều cao */
    white-space: normal;
    /* Cho phép chữ xuống dòng */
}

.grid_content:hover .grid_title {
    color: #4c5bd4;
}

.tieude_sub {
    margin: 20px 0;
    font-size: 19px;
    font-weight: 700;
    color: #474747;
}

@media (max-width: 1440px) {
    .noidung>img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1366px) {
    .noidung>img {
        width: 100%;
        height: auto;
    }

    .introduce {
        width: 100%;
        padding: 100px 60px;
    }

    .content {
        width: 100%;
        display: flex;
        padding: 0;
    }

    .body__header {
        background: #ffffff;
        margin: 0px;
        padding: 20px;
        border-radius: 10px;
        height: auto;
    }

    .title {
        color: #4c5bd4;
        font-weight: 700;
        margin-bottom: 45px;
        font-size: 22px;
        line-height: 26px;
    }

    .content__intro {
        display: block;
        padding: 20px 0;
    }

    .content__intro_mbti {
        display: flex;
        padding: 20px 0;
    }
}

@media (max-width: 1024px) and (min-width: 767.9px) {
    .introduce {
        width: 100%;
        padding: 100px 30px;
        align-self: center;
        justify-content: center;
    }

    .content {
        width: 100%;
        display: flex;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    .noidung>img {
        width: 100%;
        height: auto;
    }

    .grid {
        width: 964px;
    }

    .grid_content {
        width: 467px;
        gap: 0;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .introduce {
        width: 100%;
        padding: 20px 10px;
        align-self: center;
        margin-top: 64px;
    }

    .noidung>img {
        width: 100%;
        height: auto;
    }

    .content {
        width: 100%;
        display: block;
        padding: 0;
    }

    .body {
        width: 100%;
        margin: 0px;
    }

    .grid {
        width: 100%;
        gap: 10px;
    }

    .grid_content {
        width: 100%;
        gap: 5px;
    }
}

@media (min-width: 300px) and (max-width: 426px) {
    .introduce {
        width: 100%;
    }

    .content {
        width: 100%;
    }

    .body {
        width: 100%;
        margin: 0;
    }

    .content__intro {
        display: none;
    }

    .content__intro_mbti {
        display: none;
    }

    .noidung>img {
        width: 100%;
        height: auto;
    }

    .content__intro_425 {
        display: block;
    }

    .content__intro_425 .img {
        display: flex;
        margin: 0;
    }

    .content__intro_425 .img img {
        width: 250px;
        height: 240px;
    }

    .grid {
        width: 100%;
        display: block;
        margin: 0;
    }

    .grid_content {
        width: 100%;
        margin: 10px 0px;
    }

    .gr_tinhcach h4 {
        font-size: 18px;
    }

    .gr_tinhcach span {
        font-size: 22px;
    }

    .gr_tinhcach .btn {
        display: block;
    }

    .gr_tinhcach .btn_restart {
        margin: 10px 0;
    }

    .btn_khampha {
        display: flex;
        text-align: center;
        width: 260px;
        padding: 10px 0px 10px 5px;
        border-radius: 15px;
        border: none;
        background: #4c5bd4;
        font-size: 15px;
        font-weight: 500;
        color: #ffffff;
        cursor: pointer;
        margin: 0 auto;
    }

    .label {
        margin: 0px;
        font-size: 20px;
        font-weight: 700;
    }
}

.btnllxem {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.btnllxem button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    padding: 5px;
    color: #acacac;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.btnllxem .btnll:hover {
    background-color: #d3d3d3;
}

.btnllxem .btnxemct:hover {
    background-color: #d3d3d3;
}