/* page styles */

.ax-hidden {
    visibility: hidden;
}

/* carousel styles */
.carousel {
    --carousel-height: 400px;
    --carousel-width: 1000px;
    --carousel-item-height: 150px;
    --carousel-item-width: 150px;
    width: 100%;
}

.carousel-container {
    align-items: center;
    display: flex;
    min-height: var(--carousel-height);
    margin: 0 auto;
    max-width: var(--carousel-width);
    position: relative;
}

.carousel-item {
    height: var(--carousel-item-height);
    opacity: 0;
    position: absolute !important;
    transform: translateX(-50%);
    transition: all 0.5s ease-in-out;
    width: var(--carousel-item-width);
    z-index: -1;
    text-align: center;
    margin: 0 -6px;
    border-radius: 5px;
}

.carousel-item-1,
.carousel-item-3 {
    height: calc(var(--carousel-item-height) * 1.5);
    opacity: 1;
    width: calc(var(--carousel-item-width) * 1.5);
    z-index: 1;
    border-radius: 5px;
}

.carousel-item-2 {
    /* box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1); */
    height: calc(var(--carousel-item-height) * 2);
    opacity: 1;
    left: 50%;
    width: calc(var(--carousel-item-width) * 2);
    z-index: 2;
    border-radius: 5px;
}

.carousel-item-1 {
    left: 25%;
    width: 481px;
    height: 323px;
    border-radius: 5px;
}

.carousel-item-2 {
    left: 50%;
    width: 600px;
    height: 396px;
}

.carousel-item-3 {
    left: 75%;
    width: 481px;
    height: 323px;
    border-radius: 5px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/* carousel button styles */
.carousel-control {
    background-color: lightblue;
    border: 0;
    color: #aaa;
    cursor: pointer;
    height: 22px;
    margin: 0 25px;
    position: relative;
    transform: scale(2.0);
    width: 22px;
}

.carousel-caption {
    font-size: 14px;
    color: red;
    margin-top: 105px;
    z-index: 1;
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .carousel {
        --carousel-height: 250px;
        --carousel-width: 1000px;
        --carousel-item-height: 150px;
        --carousel-item-width: 150px;
        width: 100%;
    }

    .carousel-container {
        align-items: center;
        margin: 10px;
    }

    .carousel-item {
        margin: 0 -6px;
    }

    .carousel-item-1 {
        left: 44%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */
    }

    .carousel-item-2 {
        left: 50%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */

    }

    .carousel-item-3 {
        left: 56%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        margin: 0px 0;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {
    .carousel {
        --carousel-height: 250px;
        --carousel-width: 1000px;
        --carousel-item-height: 150px;
        --carousel-item-width: 150px;
        width: 100%;
    }

    .carousel-item-1 {
        left: 44%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */
    }

    .carousel-item {
        margin: 0 -6px;
    }

    .carousel-item-2 {
        left: 50%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */

    }

    .carousel-item-3 {
        left: 56%;
        width: 80%;
        height: auto;
        /* box-shadow: 2px 2px 6px 4px rgb(185, 185, 185); */
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        margin: 0px 0;
    }
}