.carousel-wrapper {
    grid-row: 1 / 4;
    grid-column: 1;
    align-items: center;
    position: relative;
    display: flex;
    height: auto;
    width: 100%;
}

.carousel {
    width: 100%;
}

.carousel__slides,
.carousel__slide {
    width: 100%;
}

.carousel__slide img {
    grid-column: 1 / 3;
    grid-row: 1;
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 1;
}

.carousel__slide .slide-content {
    grid-column: 1 / 3;
    grid-row: 1;
    align-self: center;
    z-index: 3;
}

.slide-info {
    width: 650px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.slide-info h1 {
    color: white;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.4), 0 0 6px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.hero-links {
    margin-top: 1rem;
    width: 50%;
    align-self: start;
}

.carousel__slides {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
}

.carousel__slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.carousel__slides.smooth-scroll {
    scroll-behavior: smooth;
}

.carousel__slides {
    scrollbar-width: none;
}

.carousel__slides::-webkit-scrollbar {
    display: none;
}

.carousel {
    position: relative;
}

.carousel__navdots {
    background-color: rgb(209, 209, 209, 0.7);
    padding: .5rem;
    border-radius: 8px;
    width: 100px;
    bottom: 10%;
    column-gap: 16px;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 80%;
    right: 0;
    z-index: 7;
}

.carousel__navdots button {
    -moz-appearance: none;
    -webkit-apperance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    background-color: #6b6a6a;
    border-radius: 50%;
    height: 14px;
    padding: 0;
    width: 14px;
}

.carousel__navdots button.is-active {
    background-color: rgba(244, 116, 6, 1);
}

.carousel__navdots button:focus-visible {
    outline: 2px solid rgba(244, 116, 6, 1);
    outline-offset: 2px;
}

@media only screen and (max-width: 992px) {

    .carousel,
    .carousel__slides {
        height: auto;
    }

    .carousel__slide {
        grid-template-rows: auto auto;
    }

    .carousel__slide img {
        grid-row: 1;
    }

    .carousel__slide .slide-content {
        background-color: rgba(19, 19, 19, 1);
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 300px;
    }

    .slide-content {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-info {
        padding: 0;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .slide-info h1 {
        color: white;
        font-size: 36px;
        font-style: italic;
        padding: 1rem;
        text-align: center;
    }

    .hero-links {
        width: 60%;
        align-self: center;
    }

    .carousel__navdots {
        bottom: 0;
        top: 60%;
        max-height: 30px;
        left: 10%;
    }
}

@media only screen and (max-width: 768px) {
    .carousel__slide .slide-content {
        height: 400px;
    }

    .carousel__navdots {
        top: 55%;
    }

    .slide-content {
        margin: 0;
        padding: 0;
    }

    .hero-links {
        width: 60%;
    }
}