@media (min-width: 1301px) {
    .stage-image-container {
        grid-area: 1 / 2 / 2 / 3;
        margin-bottom: 10px !important;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes growWidth {
    from {
        width: 0;
    }
    to {
        width: 30px;
    }
}

/* 1. Main Container & Global Typography */

.stage-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 10px !important;
    min-width: 70vw;
    background-color: var(--secondary-dark-color) !important;
    font-weight: bold;
    margin: 15px;

    box-shadow : black 0 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: var(--border-width) solid white;
    border-radius: var(--border-radius);
    color: #cbd5e1;
}

.image-fade-out {
    animation: fadeOut .5s linear;
    opacity: 0;
}

.image-circle-selector {
    background-color: white !important;
    border-color: white !important;
    width: 0;
    visibility: hidden;
    overflow: hidden;
}

.image-circle {
    width: 30px;
    min-height: 10px;
    border-radius: var(--border-radius);
    margin: auto 10px;
    border: 1px solid var(--secondary-light-color);
    background-color: var(--secondary-light-color);
    cursor: pointer;
}

.image-circle-transition-grow {
    visibility: visible;
    animation: growWidth 6.75s ease-out forwards;
}

.left-arrow {
    transform: rotate(90deg);
    min-width: 40px !important;
    max-width: 40px !important;
    cursor: pointer;
}

.right-arrow {
    transform: rotate(-90deg);
    min-width: 40px !important;
    max-width: 40px !important;
    cursor: pointer;
}

.top-stage-image {
    z-index: 5 !important;
    grid-area: 1 / 1 / 2 / 2;
    width: auto;
    height: auto;
}

.bottom-stage-image {
    z-index: 4 !important;
    opacity: 1 !important;
    grid-area: 1 / 1 / 2 / 2;
}

.navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    border-top: var(--border-width) solid white;
    background-color: var(--tertiary-dark-color);
}

.img-scroll-container {
    grid-area: 2 / 1 / 3 / 2;
    display: grid;
    z-index: 100;
    height: 40px;
    padding: 10px;
}

.stage-description {
    background-color: var(--tertiary-dark-color) !important ;
    align-content: center;
    border: var(--border-width) solid white;
    border-radius: var(--border-radius);
    margin: 20px;
    height: fit-content;
    grid-area: 4 / 1 / 5 / 2;
}
/**
Parent container for all below
 */
.stage-image-container {
    max-height: 640px !important;
    min-height: 640px;
    height: 640px;

    min-width: 575px !important;
    max-width: 575px !important;
    width: 575px !important;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 575px auto;
    grid-row-gap: 0 !important;
    border: var(--border-width) solid white;
    border-radius: var(--border-radius);
    aspect-ratio: 1 / 1;
    grid-area: 2 / 1 / 3 / 2;
    margin: 10px auto 10px auto !important;
    background-color: var(--tertiary-dark-color) !important ;

    overflow: hidden;
}

.stage-image-container-no-navigation {
    min-height: 575px !important;
    height: 575px !important;
    overflow: hidden !important;
}
.carousel-parent-container-no-navigation {
    padding: 10px 30px 10px 10px;
}

/* 1. Parent Container */
.carousel-parent-container {
    position: relative;
    display: flex;

    max-width: 525px !important;
    max-height: 565px !important;
    height: min-content;

    margin: auto;


    border: var(--border-width) solid var(--tertiary-light-color);
    border-radius: var(--border-radius);
    overflow: hidden;

    font-size: 0;
    line-height: 0;

    background-color:  rgba(0,0,0,.5) !important;
}

/* 1. The Slide Wrappers */
.bottom-slide-wrapper,
.top-slide-wrapper {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    background-color: rgba(0,0,0,.2) !important;
    margin:auto;
}

.bottom-slide-wrapper {
    position: relative;
    z-index: 1;
}

.top-slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* 2. Slide Wrapper Setup */
.slide-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* 3. The Image Wrapper */
.stage-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    /* Allows the wrapper to be 500px, but shrink if a multi-line caption needs the room */
    max-height: 475px !important;
    max-width: 500px !important;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;

    width: 100%;

    min-width: 0 !important;
}

/* 4. The Image */
.stage-description-image {
    display: block;

    max-height: 475px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;

    min-height: 0 !important;
    min-width: 0 !important;

    border: var(--border-width) solid white;
    border-radius: var(--border-radius);
    box-sizing: border-box;
    margin: auto;
}

/* 4. Captions */

.image-caption-wrapper {
    display: flex;
    margin:10px 10px 0 10px;
    height: auto;
    justify-content: center;
    align-items: flex-start;
}

.image-caption {
    width: 100%;
    z-index: 3;

    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(0,0,0,.2) !important;
    padding-bottom: 5px;
}


/* 5. Scroll Controls */
.img-scroll-container {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 5px;
}