/* Project screen */

@media screen and (max-width: 520px) {
    .project-page-section {
        padding: 10px !important;
        padding-top: 20px !important;
    }

    .project-page-section .section-title-gradient {
        margin-bottom: 15px !important;
        font-size: 18px !important;
        text-transform: uppercase;
    }

    .project-page-section p {
        font-size: 16px !important;
        margin-bottom: 0px !important;
        /* text-align: start; */
    }

    .project-page-section .text-center {
        margin-bottom: 15px !important;
    }

    .custom-project-tabs .ant-tabs-nav {
        margin-bottom: 0px !important;
    }

    .slider-viewport {
        padding: 30px 40px;
        padding-bottom: 10px !important;
    }

    .project-slider-container {
        padding: 30px 30px 10px 30px;
    }

    /* hide card next/back btn */
    .project-slider-container {
        overflow: hidden;
    }

    /*--------------- swiper dots-------------- */
    .swiper-pagination {
        margin-top: 15px;
        position: relative !important;
    }

    .swiper-pagination-bullet {
        background: white !important;
        /* inactive dots */
        opacity: 0.6;
        height: 6px !important;
        width: 6px !important;
    }

    /* ------------------ */
    .slider-viewport {
        overflow: hidden;
        touch-action: pan-y;
    }

    .slider-track {
        transition: transform 0.4s ease;
    }

    .nav-btn {
        display: none;
        /* hide arrows on mobile */
    }

    /* preview modal */

    .modal-image-wrapper {
        height: 55vh;
    }

    .modal-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .image-preview-modal {
        width: 95% !important;
        /* max-width: 95vw !important; */
    }

    .image-preview-modal .ant-modal-content {
        padding: 0;
    }

    .modal-nav-btn.prev {
        left: 5px;
    }

    .modal-nav-btn.next {
        right: 5px;
    }

    .modal-nav-btn {
        width: 35px;
        height: 35px;
    }

    .image-preview-modal .ant-modal-close {
        width: 30px;
        height: 30px;
    }
}