body.drawer-open {
    overflow: hidden;
}

body {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.home-slider .swiper-pagination {
    background: #0000003d;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    bottom: 0;
}
.home-slider .swiper-pagination {
    background: #0000003d;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    bottom: 0;
}
@media screen and (max-width: 640px) {
    .home-slider .swiper-pagination {
        padding: 0.5rem !important;
    }
    .swiper-pagination-custom-item-homeNews {
        width: 4px;
        height: 4px;
    }
}

/* Define keyframes for the animation */
@keyframes dotWidth {
    from {
        width: 6px;
        border-radius: 50%;
    }

    to {
        width: 50px;
        border-radius: 50px;
    }
}

.swiper-pagination-custom-item-homeNews {
    width: 6px;
    height: 6px;
    background-color: #c2dbc9;
    display: inline-block;
    border-radius: 50%;
    opacity: 50%;
    margin-right: 5px;
    cursor: pointer;
}

.swiper-pagination-custom-item-homeNews.active {
    background-color: #c2dbc9;
    opacity: 100%;
    width: 50px;
    border-radius: 50px;
    animation: dotWidth 0.3s ease;
    /* Apply the animation */
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideOutToTop {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

#menu-drawer {
    animation: slideInFromTop 0.3s ease-in-out forwards;
}

#menu-drawer.menu-drawer-hidden {
    animation: slideOutToTop 0.3s ease-in-out forwards;
}

.hidden-item-bg {
    background-color: #3b6346;
}

.hidden-item-bg p {
    color: #a2c8ad;
}

.hidden-item-bg h1 {
    color: #ffffff;
}

/* CSS for grid items and hidden items */
.grid-item,
#grid-container {
    transition: opacity 0.3s ease;
    /* Add transition for opacity */
}

.hidden-item-bg {
    background-color: #3b6346;
    /* Add a different background color for items inside hidden-items-container */
}

.fade-out {
    opacity: 0;
    /* Set opacity to 0 for fade-out effect */
}

.fade-in {
    animation: fadeInAnimation 0.3s ease;
    /* Define fade-in animation */
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* @layer components { */
.outline-btn {
    background-color: transparent;
    border: 1px solid #264027;
    border-radius: 12px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    transition: background-color 0.3s ease;
}

.outline-btn:hover {
    background-color: #264027;
}

.filled-btn {
    background-color: #152319;
    border-radius: 12px;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 16px;
    padding-bottom: 16px;
    transition: background-color 0.3s ease;
}

.filled-btn:hover {
    background-color: #4e845d;
}

.menu-link {
    color: white;
    font-size: 16px;
}

.menu-link a {
    position: relative;
}

.menu-link-active a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    /* Adjust this value to control the distance between the line and the text */
    width: 161px;
    /* Adjust this value to control the width of the underline */
    height: 1px;
    /* Adjust this value to control the thickness of the underline */
    background-color: white;
    /* Adjust this value to set the color of the underline */
    z-index: -1;
    /* Move the line behind the text */
    left: 50%;
    transform: translateX(-50%);
}

.pgy-ctg > li {
    color: black;
    font-weight: 400;
    cursor: pointer;
}

/* Target the container with the scrollbar */
.container-with-scrollbar::-webkit-scrollbar {
    width: 8px;
    /* Set the width of the scrollbar */
    height: 8px;
    /* Set the height of the scrollbar */
}

/* Track */
.container-with-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color of the scrollbar track */
}

/* Handle */
.container-with-scrollbar::-webkit-scrollbar-thumb {
    background: #4caf50;
    /* Color of the scrollbar handle */
    border-radius: 4px;
    /* Rounded corners of the scrollbar handle */
}
