.slider {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.slider .content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    cursor: default;
}

.slide {
    /* min-width: 100%; Each slide takes up the full width */
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px;
}

.slide .image {
    width: 900px;
    height: 680px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide .block-content {
    padding: 50px;
    background: #F8F8F8;
    display: inline-block;
    color: #000;
    text-decoration: none !important;
    user-select: none;
}

.slide:nth-child(2) {
    /* padding-top: 140px; */
}

.slide:nth-child(1), .slide:nth-child(3) {
    /* padding-bottom: 140px; */
}

.slide .block {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 490px;
    padding: 12px;
    border: 1px solid #032A58;
}

.slide:nth-child(6) .block, .slide:nth-child(3) .block {
	top: auto;
    bottom: 0;
    right: 0;
    left: auto;
}

.slide .image img {
    max-width: 100%;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.dots li {
    font-family: 'Poppins';
    position: relative;
    cursor: pointer;
    width: 33%;
    padding: 15px 0;
    margin: 0 5px;
    transition: opacity 0.3s ease;
    list-style: none;
    opacity: 0.3;
    border-bottom: 1px solid #000;
}

.dots li .number {
    color: #6D6D6D;
}

.dots li.active, .dots li:hover {
    opacity: 1;
}

.dots li.active:after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 5px;
    display: inline-block;
    background: #000;
    position: absolute;
    left: -3px;
    bottom: -3px;
}

.slide .block-content h3 {
    font-family: Oranienbaum;
    font-size: 50px;
    font-weight: 400;
    line-height: 57.75px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.slide .block-content p {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 0;
}

.slide .block-content .arrow {
    text-align: right;
    padding: 15px 0 0 0;
    transition: padding-right 0.5s;
}

.slide .block-content:hover .arrow {
    padding-right: 5px;
}

@media screen and (max-width: 768px) {

    .slider {
        overflow: hidden;
    }

    .slide .image {
        width: 80vw;
        height: auto;
    }

    .slide .block-content h3 {
        font-size: 2.5rem;
    }

    .slide .block-content {
        padding: 20px 30px;
    }

    .slide:nth-child(1), .slide:nth-child(3) {
        /* padding-bottom: 5rem; */
    }

    .slide:nth-child(2) .image {
        justify-content: end;
    }
    .slide:nth-child(1) .image,
    .slide:nth-child(3) .image {
        justify-content: start;
    }

    .slide .block {
        margin: 15px;
        top: auto;
        bottom: 0;
        box-shadow: 0 -10px 1px #fff;
        background: #fff;
    }

    .slide {
        padding: 0 0 200px 0;
        flex: 0 0 100vw;
    }

    .slide {        
        padding: 0;
        justify-content: end;
    }
    .slide .image {
        width: calc(100% - 30px);
        max-width: 500px;
        height: 59vw;
    }
    .slide .block {
        position: relative;
    }

    .dots li {
        font-size: 0.8rem;
        line-height: normal;
    }
}

@media screen and (max-width: 540px) {
    .slide {
        flex: 0 0 calc(100vw);
    }
}