﻿.home-about {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 70px;
    background-image: url(../../../Design/img/Layer13.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-right {
    float: right;
    width: 62%;
    margin-top: 45px;
    text-align: center;
}

.logo-about {
    display: flex;
    justify-content: center;
}

    .logo-about img {
        width: 30%;
    }

.about-title {
    text-align: center;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 24px;
    font-size: 35px;
    font-family: BS-r;
    color: #c19710;
    font-weight: normal; /* hoặc 400 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-descript {
    font-family: 'MonM';
    font-size: 18px;
    display: inline-block;
    padding: 0px 74px;
}

.button-more {
    padding: 8px 20px;
    background-color: #c19710;
    text-transform: uppercase;
    width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    color: #FFF;
    font-style: italic;
}

.button-more {
    display: inline-block;
    padding: 12px 24px;
    background-color: #c19710;
    color: #FFF;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .button-more:hover {
        background-color: var(--default-color-1);
        color: #fff;
        box-shadow: 0 6px 20px rgb(210 143 21 / 35%);
        transform: translateY(-2px);
    }


.button-about {
    display: flex;
    justify-content: center;
}

.about-image {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 43px;
}

.image-ab img {
    position: absolute;
    z-index: 999;
    height: 178px;
    width: 215px;
    border-radius: 20px;
}

.image-ab {
    position: relative;
    z-index: 2;
    background: cyan;
    height: 171px;
    width: 215px;
    border-radius: 20px;
    /* overflow: hidden; */ /* giúp cắt ::before theo vùng bo tròn */
}

.about-image .image-ab {
    border-radius: 12px; /* bo góc nhẹ nếu muốn */
}
.about-image .image-ab:nth-child(4){
    display:none;
}
    .about-image .image-ab img {
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        display: block;
    }

    .about-image .image-ab:hover img {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

.image-ab::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 105%;
    height: 110%;
    background: #FFD18B;
    border-radius: 20px;
    left: -5px;
    top: -5px;
}

@media (max-width:739px) {
    .about-right {
        float: unset;
        width: 100%;
    }

    .about-title {
        font-size: 25px;
        margin-bottom: 11px;
    }

    .about-descript {
        padding: 0;
        font-size: 12px;
    }

    .button-about {
    }

    .button-more {
        font-size: 10px;
    }

    .home-about {
        padding-bottom: 69px;
        background-size: unset;
        background-repeat: unset;
        background-position: right;
    }

    .image-ab {
        /* float: left; */
        width: 69%;
        /* height: 210px; */
    }

        .image-ab img {
            width: 100%;
            height: 100%;
            left: 2px;
        }

    .about-image {
        /* display: none; */
        /* float: left; */
        /* width: 100%; */
        /* height: 210px; */
    }

        .about-image .image-ab:nth-child(2) {
            display: none;
        }
.about-image .image-ab:nth-child(3) {
            display: none;
        }
        .about-image .image-ab:nth-child(1) {
            display: none;
        }
    .about-image .image-ab:nth-child(4){
    display:block;
}
}
