/******
****** Header ******
********/

.header_top {
    position: relative;
    width: 100%;
}

.header-top-content {
    display: flex;
    justify-content: space-between;

}

.search {
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.4rem;
    cursor: pointer;
}

.social {
    padding-top: 20px;
    display: flex;
    align-items: center;
}

.social-link {
    padding: 0 6px;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.header_logo {
    padding-top: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.header_top h3 {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 4rem;
    color: var(--primary-color);
    margin-bottom: 0;
    text-shadow: 1px 1px #ccc;
}

.header_bottom {
    border-bottom: 1px solid #eaeaea;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.navbar-item a {
    display: inline-block;
    font-weight: 500;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 20px;
}

.active a {
    color: var(--primary-color);
}

.navbar-item a:hover {
    color: var(--primary-color);
    transition: all 0.4s;
}


/******
****** Banner ******
********/

.banner-lg {
    position: relative;
}

.banner-sm {
    position: absolute;
    top: 0;
    right: 4%;
    width: 34%;
    height: 100%;
    background-color: rgba(235, 149, 0, 0.95);
    ;
    text-align: center;
}

.banner-title {
    margin: 8rem 0;
    color: #fff;
    text-transform: uppercase;
}

.banner-title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 1px 1px darkblue;
}

.banner-title h3 {
    font-size: 2.5rem;
    margin: 2rem 0;
}

.banner-line {
    width: 75%;
    height: 2px;
    background-color: #f2f2f2;
    margin: 2rem auto;
}

.banner-text-home {
    color: #fff;
    font-size: 2.4rem;
    margin: 10rem 6rem 0;
    letter-spacing: 1px;
    font-style: italic;
}

/***-----
-----Main---------
------**/

.introduce {
    position: relative;
    padding: 60px 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.introduce_left {
    padding-left: 2rem;
    padding-right: 0;
    display: flex;
    justify-content: center;
}

.introduce_right {
    margin-top: 5rem;
    padding: 0;
    padding: 0 5rem;
}

.introduce_imgs {
    position: relative;
}

.img-item {
    width: 34rem;
}

.img-item img {
    transition: .3s ease-in-out;
    cursor: pointer;
}

.img-item img:hover {
    transform: scale(1.05);
}



.img-item-style {
    position: relative;
}

.img-item-style img {
    position: absolute;
    top: -140px;
    left: 170px;
}

.img-item-end {
    position: relative;
    top: 62px;
    left: 0;
}

.introduce-title {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.introduce-title h2 {
    font-size: 3.8rem;
    font-weight: 400;
    text-shadow: 1px 1px #ccc;
}

.introduce-text {
    margin-top: 3rem;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 6rem;
    color: #000;
}

.introduce-text::first-letter {
    font-family: cursive;
    font-size: 11rem;
    color: teal;
    line-height: 1;
    float: left;
}

.introduce_img-mobile {
    display: none;
    width: 100%;
}

.introduce_img-mobile img {
    width: 38rem;
    padding: 0 10px;
}


.menu-main {
    width: 100%;

}

.box-menu-main {
    padding: 0 40px;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.menu-item {
    padding: 0;
    /* border-right: 1px solid #333; */
}


.menu-item a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin: auto;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 10%);
    position: relative;
    background: #fff;
    color: #111;
}

.menu-item img {
    width: 5rem;
    margin-top: 2rem;
}

.menu-item a {
    transition: all 0.5s;
}

.menu-item a:hover {
    transform: scale(1.03);
}

.menu-active {}

.menu-title {
    margin: 2.6rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.menu-text {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}

.courses {
    display: block;
    margin-top: 2rem;
    text-align: center;
}

.courses-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.courses-title h2 {
    font-size: 2rem;
    text-transform: uppercase;
    text-shadow: 1px 1px #ccc;
}


.line-3 {
    width: 8rem;
    height: 0.2rem;
    margin: 1.5rem 0;
}

.line-4 {
    width: 16rem;
    height: 0.2rem;
    background-color: var(--primary-color);
}

.courses h1 {
    font-size: 3.6rem;
    margin: 3rem 0;
    text-shadow: 1px 2px #ccc;
}

.courses-img-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    margin-top: 2rem;
}

.course-img-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.course-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-img-text {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    padding: 1rem 1.8rem;
    background-color: var(--primary-color);
    font-size: 2.4rem;
    color: #f1f1f1;
}

.course-img-text:hover {
    color: #fff;
    animation: scaleLink 0.5s ease-in-out;
}

@keyframes scaleLink {
    0% {
        transform: scale(1);
    }

    40%,
    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.video-main {
    padding-top: 40px;
}

.video-item {
    padding: 0 10px;
    text-align: start;
    padding-bottom: 40px;
}

.video-item-style {
    box-shadow: 0 8px 10px 0 rgb(0 0 0 / 10%);
    height: 350px;
    margin: 0 8px;
    padding: 0;
    margin-bottom: 50px;
}

.video-content {
    padding: 0 10px;
}

.video-item .image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.video-item a:hover img {
    transform: scale(1.1);
    transition: 1s ease;
}

.video-item .image .play-icon {
    position: absolute;
    top: 40%;
    left: 42%;
    width: 60px;
    display: none;
    opacity: 0.9;
}

.video-item a:hover .play-icon {
    display: block;
}

.video-item .title {
    padding: 6px 0;
    font-size: 18px;
    font-weight: 500;
}

.video-item .date {
    padding-top: 10px;
    font-size: 1.5rem;
    color: #888;
    font-style: italic;
}

.video-item-style .image {
    border-radius: 0;
}

.link-view-now .view-now {
    text-transform: uppercase;
    font-size: 1.3rem;
    border: 1px solid var(--primary-color);
    display: inline-block;
    padding: 6px 20px;
    margin-top: 14px;
    color: var(--primary-color);
}

.link-view-now .view-now:hover {
    color: #fff;
    background: var(--primary-color);
    transition: all 0.5s;
}

.link-view-now {
    text-align: center;
}

.link-view-now .view-now:hover svg {
    transform: translateX(5px);
    transition: 0.4s ease;
}

.title-video {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
}

.title-video svg {
    margin-right: 6px;
    border: 1px solid var(--primary-color);
}


.pagination {
    font-size: 16px;
}

.page-link {
    padding: 0.375rem 1.2rem;
    color: #000;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/*******
********** 
*******Footer *****
********/

.footer {
    position: relative;
    background-color: var(--primary-color);
}

.about-us {
    padding: 2rem 0;
}

.information {
    color: #f1f1f1;
}

.information h2 {
    text-transform: uppercase;
    font-size: 2.4rem;
}

.contact {
    margin: 2rem 0;
    font-size: 1.8rem;
    line-height: 3.2rem;
}

.contact a {
    color: #f1f1f1;
    text-decoration: underline;
}

.icon-contact {
    display: flex;
    gap: 20px;
}

.icon-contact li {
    position: relative;
}

.icon-contact li a{
    width: 3.6rem;
    height: 3.6rem;
    display: block;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
}

.icon-contact li a img{
    transition: .3s;
}

.icon-contact li a:hover img {
    transform: translateY(-2px);
}


/*--------------------------------------
------------ Page Giới thiệu -----------
----------------------------------*/

.banner-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-text {
    position: absolute;
    color: #f1f1f1;
    margin: 0;
    text-shadow: 2px 2px 20px #ccc;
    font-size: 5rem;
}

.intro {
    margin-top: 10rem;
}

.intro-info {
    padding: 3rem 0;
}

.intro-info h1 {
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 3rem;
    margin: 2rem 0;
}

.intro-info p {
    color: #111;
    font-size: 2rem;
    font-weight: 500;
}

.intro-list {
    position: relative;
}

.intro-item {
    padding-bottom: 2rem;
}

.intro-item h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 5rem 0;
}

.intro-item .row {
    margin: 2rem 0;
}

.intro-desc {
    font-size: 2rem;
    font-weight: 500;
    padding-left: 2rem;
}

.desc-action {
    text-transform: uppercase;
}


/*--------------------------------------
----------- Page Đào tạo ------------
----------------------------------*/

.train {
    position: relative;
}

.train-item-lg {
    margin-top: 10rem;
}

.train-list {
    margin-top: 3rem;
}

.train-title {
    display: flex;
    align-items: center;
    margin: 0 2rem;
}

.train-title svg {
    margin-right: 8px;
    color: rgb(122, 8, 8);
}

.train-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    /* font-family: cursive; */
}

.train-item-sm {
    margin-bottom: 2rem;
}

.train-item-sm a {
    display: block;
}

.train-item-sm a img:hover {
    transform: scale(1.04);
}

.train-item-sm a img {
    transition: .3s ease-in-out;
    height: 30rem;
    object-fit: cover;
}

.train-item-sm p {
    text-align: center;
    font-size: 2.2rem;
    color: #222;
    margin: 1rem;
    font-family: inherit;
}

.train-desc {
    padding: 10px 0;
    font-size: 2rem;
}

.rating {
    display: flex;
    justify-content: center;
}

.rating ul {
    display: flex;
}

.rating ul li {
    margin-right: 0.4rem;
}

.rating ul li svg {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.rating span {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.content {
    position: relative;
    padding: 0 2rem;
}

.content h1 {
    text-align: center;
    margin: 2rem 0;
    font-size: 4rem;
    font-weight: 700;
}

.content p {
    font-size: 2.2rem;
    color: #000;
    text-align: left;
    margin: 1rem 0;
}


/******* Viết hồi ký ******
***************************/

.memoir {
    position: relative;
    top: 4rem;
}

.intro-memoir-title {
    display: flex;
    font-size: 4rem;
    align-items: center;
}

.intro-memoir-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
}

.intro-memoir-content {
    margin: 4rem 0;
}

.intro-memoir-text {
    font-size: 3rem;
    text-align: justify;
    padding: 0 20rem 0 0;
}

.intro-memoir-text p::first-letter {
    font-family: cursive;
    font-size: 8rem;
    color: teal;
    line-height: 1;
    float: left;
    margin-right: 0.6rem;
}

.intro-memoir-text p::first-letter {
    margin-left: 4rem;
}

.intro-memoir-img {
    padding: 0 10rem;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    height: auto;
}

.memoir-top-content {
    margin-top: 4rem;
    position: relative;
}

.memoir-top-item h3 {
    text-align: center;
    font-size: 1.8rem;
    font-style: italic;
    color: #555;
    margin-top: 2rem;
}

.memoir-top-item span {
    color: teal;
}

.owl-nav {
    position: relative;
    top: -33rem;
    left: 0px;
    display: flex;
    justify-content: space-between;
    font-size: 8rem;
    margin-top: 0;
}

.owl-nav button:first-child {
    text-shadow: 2px 2px 4px #ccc;
}

.owl-nav button:last-child {
    text-shadow: -2px -2px 4px #ccc;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    color: #FFF;
    text-decoration: none;
}

.owl-carousel .owl-item img {
    height: 40rem;
}


.owl-theme .owl-nav {
    margin-top: 0;
}


/******* Page Bán hàng ******
*********/

.wrapper-title {
    padding: 20px 0;
}

.wrapper-title h2 {
    font-size: 3rem;
}


.sell-list {
    display: flex;
    /* justify-content: space-between; */
}

.sell-item {
    padding: 0 1rem;
    margin: 1rem 0;
    /* width: 50rem; */
}

.sell-item a {
    display: block;
    position: relative;
}

.sell-item a img {
    min-height: 26rem;
    transition: .3s;
}

.sell-item a:hover img {
    transform: scale(1.06);
}


.sell-text h3 {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.8rem;
    line-height: 3rem;
}

.sell-text h4 {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    color: teal;
}

.details {
    padding: 2rem;
    margin-bottom: 6rem;
}

.detail-text {
    padding-left: 3rem;
}

.detail-text h1 {
    font-size: 3rem;
}

.detail-text h3 {
    font-size: 2rem;
    font-style: italic;
    margin: 2rem 0;
}

.detail-text p {
    font-size: 2rem;
    margin: 3rem 0;
}

/* ******************************
**********Page tin tức **********
*********************************/

.news {
    position: relative;
    padding: 3rem 0;
}

.news-title {
    font-size: 4rem;
    font-weight: 500;
    text-align: center;
    padding: 20px 0 40px;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.news-desc {
    margin-top: 6px;
    font-size: 2rem;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-desc a {
    transition: .3s;
    display: block;
}

.news-desc a:hover {
    color: var(--primary-color);
}


.news .title {
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.news-info {
    display: inline-block;
    background: var(--primary-color);
    margin: 2rem 0;
    line-height: 8rem;
}


.news-img {
    display: block;
    height: calc(100% - 90px);
    position: relative;
    overflow: hidden;
}

.news-img img {
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.news-img:hover img {
    transform: scale(1.05);
}

.news-created_at {
    font-size: 1.6rem;
}

.news-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.news-details-img {
    max-width: 500px;
}


/*--------------------------------------
------------ Page Liên hệ -----------
----------------------------------*/

.page-contact {
    margin: 3rem;
    color: var(--primary-color);
}

.page-contact h2 {
    font-weight: 600;
    font-size: 2.4rem;
}

.page-contact h3 {
    font-size: 2rem;
    margin: 2rem 0;
    color: #222;
    line-height: 3rem;
}

.page-contact h3 span {
    color: teal;
    border: 1px solid teal;
    border-radius: 50%;
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.page-contact h3 a {
    color: #222;
    font-style: italic;
    text-decoration: underline;
}

.page-contact h3 a:hover {
    color: rgb(187, 9, 9);
}

.contact-content {
    position: relative;
    top: 6rem;
}

.contact-content .title {
    text-transform: uppercase;
    font-weight: 700;
    color: teal;
    text-shadow: 2px 2px #ccc;
    text-decoration: underline;
}

.contact-content {
    background-color: #f7f7f7;
    padding: 3rem 2rem;
}

.contact-infor {
    border-right: 1px solid #b89150;
}

.contact-customer {
    padding-left: 2rem;
}

.contact-customer h3 {
    margin: 3rem 0;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.box-contact {
    position: relative;
    font-size: 2rem;

}

.box-contact .row {
    margin: 1rem 0;
}

.box-contact label {
    font-weight: 500;
    text-align: end;
    padding-right: 1rem;
    margin-top: 1rem;
}

.box-contact input {
    border: none;
    outline: none;
    border-bottom: 1px solid teal;
    font-size: 1.6rem;
    height: 4rem;
    background-color: #f7f7f7;
    margin-bottom: 10px;
}

.box-contact input::placeholder {
    font-size: 14px;
}

.box-contact .submit-information {
    position: absolute;
    bottom: -6rem;
    right: 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.6rem 1.6rem;
    border-radius: 3rem;
    background-color: #087eec;
}

.sweet-alert h2 {
    padding-top: 10px;
}

#preloader {
    background: #fff url(../images/loader.gif) no-repeat center center;
    background-size: 20%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: none;

    /* display: flex; */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#preloader h3,
#preloader h4 {
    margin: 80px;
}


.map iframe {
    width: 100%;
}


.contact-now {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    height: 8.4rem;
    width: 8.4rem;
    background: #087eec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.contact-now::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -3px;
    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    animation: scale 4s ease-in-out infinite;
    background-color: rgba(25, 17, 139, 0.2);
    z-index: -1;
}

.contact-btn {
    position: absolute;
    top: 22%;
    left: 22%;
    color: #fff;
}

.contact-btn svg {
    font-size: 2.6rem;
    margin-left: 1rem;
    animation: tada2 2s ease-in-out infinite;
}

.contact-btn p {
    font-size: 1.6rem;
    font-weight: 500;
}



/******** Responsive ******/

.header_bottom-navbar-dropdown a {
    font-size: 3rem;
}

.header_bottom-navbar-dropdown {
    display: none;
    text-align: center;
}

.search-mobile {
    display: none;
}

.dropdown-menu {
    right: 0;
    left: 0rem;
}

.navbar-sm-active {
    top: 0;
    display: block;
    position: fixed;
    height: 100vh;
    width: 100vw;
    text-align: center;
    animation: animate1 0.3s ease-in;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.97)
}

.navbar-sm-active li {
    padding: 10px 0;
}

.navbar-sm-active li a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 26px;
}

.btn-close-mb {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    padding: 10px 20px;
}




/* ebook */

.ebook-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ebook-content {
    position: relative;
}

.ebook-main {
    position: relative;
    display: flex;
    gap: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
}


.ebook-image {
    display: block;
    max-width: 220px;
}

.ebook-info {
    width: calc(100% - 220px);
}

.ebook-name {
    font-size: 2rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.ebook-creator {
    font-size: 1.4rem;
    font-weight: 500;
    padding: 10px 0 4px;
}

.ebook-price-like {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ebook-price {
    color: rgb(199, 1, 1);
    font-size: 1.6rem;
    font-weight: 600;
}

.ebook-like {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
}

.ebook-like svg {
    width: 2rem;
    color: #000;
}

.ebook-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    transition: .3s;
    border: 1px solid transparent;
    margin-bottom: 16px;
}

.ebook-read:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.ebook-read svg {
    height: 18px;
    width: 18px;
    transform: translateY(1px);
}

.ebook-desc {
    font-weight: 300;
    font-size: 1.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 10px;
}

.ebook-details {
    font-weight: 500;
    font-size: 1.6rem;
    transition: .3s;
}


.product-content {
    display: flex;
    gap: 30px;
}

.product-img {
    width: 400px;
}

.product-information {
    width: calc(100% - 400px);
}


.product-title {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-star {
    display: flex;
    gap: 6px;
    color: orange;
    margin-bottom: 10px;
}

.product-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-info-item {
    font-size: 1.6rem;
}

.product-share {
    display: flex;
    gap: 10px;
    padding: 10px 0 20px;
}

.product-share .icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.product-desc {
    font-size: 1.8rem;
    padding-bottom: 10px;
}

.buy-ebook {
    padding: 10px 40px;
    cursor: pointer;
}

.read-ebook {
    padding: 10px 40px;
    background: #01854f;
    cursor: pointer;
    margin-right: 10px;
}

.read-ebook:hover {
    color: #01854f;
    border-color: #01854f;
}

.wrapper-comment {
    padding: 40px 0;
}

.wrapper-title-comment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.title-comment {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 6px 0;
}

.write-comment {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 600;
    padding: 6px 16px;
    background: #087eec;
    transition: .3s;
    border: 1px solid transparent;
    cursor: pointer;
}

.write-comment:hover {
    background: transparent;
    color: #087eec;
    border-color: #087eec;
}

.comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 600;
}

.comment-name img {
    width: 40px;
    border-radius: 50%;
}

.comment-main {
    margin-top: 10px;
    padding: 20px 10px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.comment-content {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.comment-text {
    padding: 10px 0;
    font-size: 1.5rem;
}


/* Modal comment */

.modal-comment {
    position: fixed;
    top: 0px;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    animation: showMenu 0.2s ease-in;
    transition: .3s;
}


.modal-comment::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.modal-comment.active {
    opacity: 1;
    visibility: visible;
}

.comment-body {
    position: absolute;
    width: 40%;
    right: 0;
    top: 0;
    background: #fff;
    height: 100vh;
    max-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all .3s cubic-bezier(.39, .575, .565, 1);
    padding: 50px 50px 20px;
}

.comment-body.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.btn-close-comment {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    display: inline-block;
    color: rgba(0, 0, 0, 0.7);
}

.btn-close-comment svg {
    width: 30px;
    height: 30px;
}

.comment-head-title {
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 40px;
}

/* Modal buy book */

.modal-buy {
    position: fixed;
    top: 0px;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    animation: showMenu 0.2s ease-in;
    transition: .3s;
}


.modal-buy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.modal-buy.active {
    opacity: 1;
    visibility: visible;
}

.buy-body {
    position: absolute;
    width: 40%;
    right: 0;
    top: 0;
    background: #fff;
    height: 100vh;
    max-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all .3s cubic-bezier(.39, .575, .565, 1);
    padding: 50px 50px 20px;
}

.buy-body.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.btn-close-buy {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    display: inline-block;
    color: rgba(0, 0, 0, 0.7);
}

.btn-close-buy svg {
    width: 30px;
    height: 30px;
}


.group-input {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.group-input input {
    width: 100%;
    height: 50px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 1.6rem;
    padding: 0 14px;
}

.group-input textarea {
    width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 1.6rem;
    padding: 14px;
}

.group-input input:focus,
.group-input textarea:focus {
    outline: none;
}

.comment-confirm {
    background: var(--primary-color);
    border: none;
    padding: 15px 60px;
    font-size: 1.6rem;
    color: #fff;
}


.wrapper-about {
    display: flex;
    gap: 20px;
}

.about-body {
    width: 75%;
    padding-right: 30px;
}

.about-images {
    width: 25%;
}

.line-images {
    margin: 40px 0;
    height: 2px;
    background-color: var(--primary-color);
}

.content-box {
    margin-bottom: 40px;
}

.content-news {
    font-size: large;
    margin-bottom: 20px;
}

.content-news img {
    max-width: 100%;
    object-fit: cover;
}

.content-img {
    margin-bottom: 20px;
}

.tab-social {}

.menu-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.container-news {
    display: flex;
}

.tab-social {
    width: 65px;
    margin-top: 40px;
}

.social-item button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    transition: .3s;
}

.social-item a:hover {
    background-color: var(--clr);
}


.social-item svg {
    fill: #777;
}

.social-item a:hover svg {
    fill: #fff;
}

.wrapper-about {
    width: calc(100% - 65px);
}

.row-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.col-news {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: 0 0 6px #ccc;
    padding-bottom: 20px;
}

.col-news-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
    display: block;
}

.col-news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-news-desc {
    padding: 10px 10px 6px;
    font-size: 1.4rem;
    color: #777;
     display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.col-news-name {
    padding: 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.col-news-created_at{
    padding: 0 10px;
    font-size: 1.4rem;
}