#screenshots {
    height: 100vh !important;
    padding: 5% !important;
    background: rgb(230, 232, 235)
}

#screenshots .container,
#screenshots .container>.row,
#screenshots .container>.row>.col-12,
#screenshots-carousel,
#screenshots-carousel .carousel-inner,
#screenshots-carousel .carousel-item,
#screenshots-carousel .carousel-item>div {
    height: 100%;
    width: 100%;
}

#screenshots .container {
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden;
}

.carousel-text-heading {
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.carousel-text-description {
    font-size: 1.2rem;
    flex-shrink: 0;
}

#screenshots-carousel img {
    background: rgb(144, 151, 161);
    border: 6px solid white;
    ;
    border-radius: 12px;
    width: auto;
    height: auto;
    max-width: 100%;
}

#screenshots-carousel .carousel-item>div {
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    width: 100%;
}

#screenshots-carousel .carousel-text-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center
}

.carousel-controls {
    right: 0;
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 0 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: 20px;
    top: auto;
    transform: none;
    background-color: rgba(67, 119, 167, 0.8);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-bottom: 100px
}

/* .carousel-control-prev {
    right: 190px;
    left: auto;
} */

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(67, 119, 167, 1);
    opacity: 1;
}

@media (max-width: 1366px) {
    #screenshots {
        height: auto !important
    }

    #screenshots-carousel img {
        width: 100%;
        max-width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        margin-bottom: 0;
    }

    .carousel-control-prev {
        left: 20px;
        right: auto;
    }

    .carousel-control-next {
        right: 20px;
        left: auto;
    }

    .carousel-text-heading {
        text-align: center;
    }

    #screenshots-carousel .carousel-text-content {
        margin: 24px 4px
    }
}

@media (min-width: 1367px) {
    #screenshots-carousel .carousel-item>div {
        flex-direction: row !important;
        gap: 3rem;
        align-items: stretch !important;
    }

    #screenshots-carousel img {
        width: auto;
        height: auto;
    }

    .carousel-text-heading {
        text-align: left;
    }

    .carousel-text-description {
        text-align: justify;
    }

    #screenshots-carousel .carousel-text-content {
        flex: 1;
        min-width: 250px;
        max-width: 400px;
        margin-bottom: 100px;
        margin-top: 0;
    }
}