.middle-slider {
    width: 100%;
    max-width: 1600px;
    text-align: center;
    /*overflow-x: scroll;*/
    background-color: #eae5da;
    padding-top: 1%;
    padding-bottom: 3%;
}
@media (max-width: 1024px) {
    .middle-slider {
        width: 92%;
    }
}
.middle-slides {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    /*scroll-snap-type: x mandatory;*/
    scroll-behavior: smooth;
    padding-bottom: 15px;
    padding-top: 5px;
    padding-left: 2%;
}
@media (max-width: 1024px) {
    .middle-slides {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: hidden;
        height: 100%;
    }
}
.middle-slides>div {
    aspect-ratio: 4/3;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 400px;
    height: 600px;
    margin-right: 50px;
    /*background: rgb(0, 0, 0);
    border: 1px solid rgb(255, 255, 255);*/
    border-radius: 20px;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    /*align-items: center;*/
    font-size: 100px;
}
@media (max-width: 1024px) {
    .middle-slides>div {
        width: 92%;
        height: 400px;
        aspect-ratio: unset;
        margin-top: 4%;
    }
}
.middle-slider>a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: rgb(255, 255, 255);;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
}
.middle-slider>a:active {
    top: 1px;
}
.middle-slider>a:focus {
    background: #000;
}

/* Don't need button navigation */
@supports (scroll-snap-type) {
    .middle-slider>a {
        display: none;
    }
}
.middle-carousel-title-text {
    color: #1C75BC;
    font-size: 36px;
    margin-top: 0px;
    margin-left: 30px;
    text-align: left;
}
.middle-carousel-subtitle-text {
    color: #fff;
    font-size: 28px;
    flex-basis: auto;
    margin-top: 10px;
    margin-right: 25px;
    text-align: left;
}
@media (max-width: 769px) {
    .middle-carousel-subtitle-text {
        font-size: 30px;
    }
    
}

.middle-carousel-bottom-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 10px;
}
.round-green-button {
    background-color: #CEFF1A;
    border-radius: 50%;
    /*width: 50px;*/
    height: 50px;
    aspect-ratio: 1/1;
    display: flex;
    align-self: end;
}
.round-green-button img {
    display: inherit;
    width: 80%;
    height: 80%;
    margin: 10%;
}
.middle-slide-breaker-bar {
    width: 80%;
    background-color: rgb(255, 255, 255);
    height: 1px;
    margin-left: 30px;
}
.middle-carousel-description-text {
    color: #8d8d8d;
    font-size: 16px;
    flex-basis: auto;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 10px;
    text-align: left;
}
.middle-img-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height:100%;
    width:95%;
}
.middle-img-spacer {
    flex-grow: 0;
    flex-shrink: 0;
}
.middle-img-carousel {
    display: none;
    object-position: right;
    width: 30%;
}
@media (max-width: 1024px) {
    .middle-img-carousel {
        display: none;        
    }
}

