* {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
}

.dropdown a {
    color: #565656;
    text-decoration: none;
}

.navb a {
    color: #565656;
    text-decoration: none;
}

.navb a:hover,
.dropdown a:hover,
.dropdown-menu a:hover {
    color: #ff4d4d;
}

.dropdown-menu a:hover {
    background-color: #ffffff9a;
}

/*--------------header---------------*/
.but-a a {
    background-color: #ff9b9b;
    color: white;
}

.text-mainhead h1 span {
    color: #ff9b9b;
}

.con-main2 {
    margin-top: 6rem;
}

.con-main3 {
    margin-top: 6rem;
}

.card-body a {
    text-decoration: none;
    color: rgb(83, 83, 83);
}

.card-body a:hover {
    color: #FF5959;
}

.card-body h5 {
    font-weight: bold;
    color: #FF5959;
}

.card-footer {
    text-decoration: none;
}

.card-footer:hover {
    color: #FF5959;
}

.con-port a {
    color: black;
    text-decoration: none;
}

.con-port a h5 {
    color: #FF5959;
    font-weight: bold;
}

.con-port a:hover {
    color: black;
}

@media screen and (max-width: 767px) {
    .text-mainhead {
        padding-top: 3rem;
    }
}

/* ------------------------- */
.swiper-slide .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
}

.swiper-slide img {
    object-fit: cover;
    height: 196px;
}

.swiper-slide .card {
    border-color: var(--bs-primary-border-subtle);
}

.swiper-button-next,
.swiper-button-prev {

    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}


/*---------footer-----------*/
.footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer,
.footer-text {
    color: #FF5959;
    background-color: #ff4d4d1e;
}