.ms--images {
    position: relative;
    overflow: hidden;
}

.ms--images.ms-container--horizontal {
    width: 100%;
    height: 400px;
    max-width: 100%;
}

.ms--images.ms-container--horizontal .ms-track {
    left: calc(50% - 350px);
}

.ms--images.ms-container--horizontal .ms-slide {
    display: inline-flex;
}

.ms--images .ms-track {
    display: flex;
    position: absolute;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ms--images .ms-slide {
    align-items: center;
    justify-content: center;
    width: 700px;
    height: 400px;
    user-select: none;
}

.ms--images {
    left: calc(50% - 280px);
}

.ms--images.ms-container--horizontal .ms-track {
    left: -70px;
}

/* .ms--images .ms-slide:nth-child(1) .ms-slide__image {
    background-image: url('../assets/images/projects/lyffix.jpg');
} */
/* 
.ms--images .ms-slide:nth-child(2) .ms-slide__image {
    background-image: url('../assets/images/projects/grademarker.jpg');
}

.ms--images .ms-slide:nth-child(3) .ms-slide__image {
    background-image: url('../assets/images/projects/matrimonial.jpg');
}

.ms--images .ms-slide:nth-child(4) .ms-slide__image {
    background-image: url('../assets/images/projects/phonics.jpg');
}
.ms--images .ms-slide:nth-child(5) .ms-slide__image {
    background-image: url('../assets/images/projects/e-mahabhumi.jpg');
} */
.ms--images .ms-slide__image-container {
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.ms--images .ms-slide__image {
    width: 100%;
    height: 100%;
    max-width: 720px;
    background-size: contain;
    background-position: center;
}

.ms--numbers {
    position: relative;
    overflow: hidden;
}

.ms--numbers.ms-container--horizontal {
    width: 240px;
    height: 240px;
    max-width: 100%;
}

.ms--numbers.ms-container--horizontal .ms-track {
    left: calc(50% - 120px);
}

.ms--numbers.ms-container--horizontal .ms-slide {
    display: inline-flex;
}

.ms--numbers .ms-track {
    display: flex;
    position: absolute;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ms--numbers .ms-slide {
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    user-select: none;
}

.ms--numbers {
    position: absolute;
    left: calc(50% - 380px);
    top: calc(50% - 300px);
    z-index: -1;
    pointer-events: none;
}

/* Slide Number */
.ms--numbers .ms-slide {
    font-size: 9em;
    font-weight: 900;
    color: rgba(47, 43, 43, 0.2);
}
/* Slide Title */
.ms--titles {
    position: relative;
    overflow: hidden;
    color: #dc4540;
}

.ms--titles.ms-container--vertical {
    width: 400px;
    height: 170px;
    max-height: 100%;
}

.ms--titles.ms-container--vertical .ms-track {
    flex-direction: column;
    top: calc(50% - 85px);
}

.ms--titles.ms-container--vertical.ms-container--reverse .ms-track {
    flex-direction: column-reverse;
    top: auto;
    bottom: calc(50% - 85px);
}

.ms--titles.ms-container--vertical .ms-slide {
    display: flex;
}

.ms--titles .ms-track {
    display: flex;
    position: absolute;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ms--titles .ms-slide {
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 170px;
    user-select: none;
}

.ms--titles {
    position: absolute;
    left: calc(50% - 420px);
    top: calc(50% - 85px);
    z-index: 1;
    pointer-events: none;
}

.ms--titles .ms-track {
    white-space: normal;
}

.ms--titles .ms-slide {
    font-size: 3.3em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.605);
}

.ms--titles .ms-slide h3 {
    margin: 0;
    color: #404040;
}

.ms--links {
    position: relative;
    overflow: hidden;
    display: none;
}

.ms--links.ms-container--vertical {
    width: 120px;
    height: 60px;
    max-height: 100%;
}

.ms--links.ms-container--vertical .ms-track {
    flex-direction: column;
    top: calc(50% - 30px);
}

.ms--links.ms-container--vertical .ms-slide {
    display: flex;
}

.ms--links .ms-track {
    display: flex;
    position: absolute;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ms--links .ms-slide {
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    user-select: none;
}

.ms--links {
    position: absolute;
    left: calc(50% - 420px);
    top: calc(50% + 105px);
    z-index: 1;
}

.ms--links .ms-track {
    white-space: normal;
}

.ms--links .ms-slide__link {
    font-weight: 600;
    padding: 5px 0 8px;
    border-bottom: 2px solid rgb(154, 154, 154);
    cursor: pointer;
}

.pagination {
    display: flex;
    position: absolute;
    left: calc(50% - 420px);
    top: calc(100%);
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

.pagination__button {
    display: inline-block;
    position: relative;
    width: 36px;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
}

.pagination__button:before,
.pagination__button:after {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 1px);
    width: 100%;
    box-shadow: 0 1px 0 #0b0d14;
}

.pagination__button:before {
    height: 2px;
    background-color: #6a3836;
}

.pagination__button:after {
    height: 3px;
    background-color: #38ACEC;
    opacity: 0;
    transition: 0.5s opacity;
}

.pagination__item--active .pagination__button:after {
    opacity: 1;
}

@media screen and (max-width: 860px) {
    .ms--numbers {
        left: calc(50% - 120px);
    }

    .ms--titles {
        left: calc(50% - 200px);
        top: calc(50% - 135px);
        text-align: center;
    }

    .ms--links {
        left: calc(50% - 60px);
        top: calc(50% + 80px);
    }

    .pagination {
        left: 50%;
        top: calc(100% - 50px);
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 600px) {
    .ms--images {
        overflow: visible;
    }
    .sliders-container {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 400px) {
    .ms--titles .ms-slide {
        transform: scale(0.8);
    }
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.projects a {
    color: rgb(255, 210, 210);
    text-decoration: none;
    cursor: pointer;
}

/* .container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.1);
} */

.sliders-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}