.home {
    display            : flex;
    flex-direction     : column;
    /* Xếp dọc */
    align-items        : flex-start;
    /* Căn trái */
    justify-content    : flex-start;
    /* Căn trên */
    background-image   : url("../image/background.png");
    background-repeat  : no-repeat;
    background-size    : cover;
    background-position: center;
    padding-top        : 40rem;
    /* Giữ để tránh header cố định */
    padding-left       : 2rem;
    /* Thêm padding trái để căn chỉnh */
}

.home .content {
    max-width     : 800px;
    padding-left  : 4rem;
    padding-bottom: 25rem;
    /* Giới hạn chiều rộng nội dung */
}

.home .content h3 {
    font-size  : 6rem;
    color      : #333;
    white-space: nowrap;
}

.home .content span {
    font-size     : 3.5rem;
    color         : #b94360;
    padding       : 1rem 0;
    line-height   : 1.5;
    white-space   : nowrap;
    text-transform: capitalize;
}

.home .content p {
    max-width  : 800px;
    width      : 100%;
    font-size  : 2rem;
    color      : #333;
    padding    : 1rem 0;
    line-height: 1.5;
    white-space: normal;
    text-align : justify;
}

.home .content a:hover {
    background-color: #b94360;
}

@media (max-width: 991px) {
    header {
        padding: 2rem;
    }

    section {
        padding: 2rem;
    }

    .home {
        padding            : 2rem;
        padding-top        : 12rem;
        background-position: center;
        flex-direction     : column;
        align-items        : flex-start;
        /* Căn trái trên thiết bị nhỏ */
    }

    .home .content {
        max-width: 100%;
        padding  : 2rem;
    }

    .home .content h3 {
        font-size  : 4rem;
        white-space: normal;
    }

    .home .content span {
        font-size  : 2.8rem;
        white-space: normal;
    }

    .home .content p {
        font-size  : 1.8rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    header .fa-bars {
        display: block;
    }

    header .navbar {
        position  : absolute;
        top       : 100%;
        left      : 0;
        right     : 0;
        background: #eee;
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
        clip-path : polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header #toggler:checked~.navbar {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .navbar a {
        margin    : 1.5rem;
        padding   : 1.5rem;
        background: #fff;
        border    : 0.1rem solid rgba(0, 0, 0, 0.1);
        display   : block;
    }

    .home .content h3 {
        font-size: 3.6rem;
    }

    .home .content span {
        font-size: 2.3rem;
    }

    .home .content p {
        font-size: 1.6rem;
    }
}

@media (max-width: 450px) {
    .heading {
        font-size: 3rem;
    }

    header {
        padding: 2rem;
    }

    .home .content h3 {
        font-size: 2.8rem;
    }

    .home .content span {
        font-size: 1.8rem;
    }

    .home .content p {
        font-size: 1.4rem;
    }
}