.carousalSlider {
    /* opacity: 0.2; */
    width: 100%;
    height: 550px;
    /* max-width: 1200px; */
    margin: auto;
    text-align: center;
    position: relative;
}

.carousalSlider figure {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousalSlider figure .slide {
    position: absolute;
    object-fit: contain;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transform-origin: right;
    transition: all 500ms;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide .content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    background: linear-gradient(to right, transparent, #000, transparent);
    width: 100%;
    bottom: 41px;
    left: 0;
    padding: 1em;
    width: calc(100%-2em);
    color: white;
}

.slide .content h1 {
    max-width: 1000px;
    margin: auto;
    font-size: 4rem;
}

.slide p {
    max-width: 1000px;
    margin: auto;
    margin-top: 1em;
    font-size: 1.25rem;
    font-weight: normal
}

.carousal-nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, transparent, #666, transparent);
}

.carousalSlider figure .active {
    opacity: 1;
    transform: translateX(0%);
    transform-origin: left;
    transition: all 500ms;
}

.bullets {
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    margin: 1em 0.25em;
    width: 15px;
    height: 15px;
    transform: scale(0.5);
    border-radius: 7.5px;
    cursor: pointer;
    outline: none;
}

.bullets:hover,
.bullets.active {
    background-color: rgba(0, 0, 0, 0.5);
    border: 0;
    transform: scale(1);
    transition: all 500ms;
}

@media screen and (max-width: 500px) {
    .slide .content h1 {
        font-size: 3em;
    }

    .slide .content p {
        font-size: 1.2em;
    }

}