.flexDisplay .max-width {
    display: flex;
}

.flexDisplay .carousel {
    position: relative;
    width: 45vw;
    margin: auto 5vw;
    margin-bottom: auto;
    /* overflow: hidden; */
    border: var(--white-bg) solid 5px;
}

.flexDisplay .slides img {
    width: 100%;
    display: none;
}

.flexDisplay .slides img.active {
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.8vw;
    background: rgba(0, 0, 0, 0);
    color: var(--white-bg);
    border: none;
    cursor: pointer;
    padding: 1vw;
}

.left-arrow {
    left: 1vw;
}

.right-arrow {
    right: 1vw;
}

.dots {
    position: absolute;
    bottom: 1vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5vw;
}

.dot {
    width: 1vw;
    height: 1vw;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--white-bg);
}

.subscribe {
    border-radius: 1vw;
    width: 100%;
    margin-top: 0;
    padding: 0%;
    margin-bottom: 0px;
}

.subscribe h2 {
    margin-bottom: 0vw;
    /* font-size: 1.8em; */
    color: var(--blue-font);
}

.subscribe form {
    display: flex;
    flex-direction: column;
}

.subscribe input[type="email"] {
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid var(--black-bg);
}

.subscribe button {
    margin-top: 1vw;
    margin-bottom: 1vw;
    padding: 1vw 1.5vw;
    border: none;
    background: var(--blue-font);
    color: var(--white-bg);
    cursor: pointer;
    text-align: left;
}

.subscribe button:hover {
    background: var(--blue-font);
}

.subscribe p {
    margin-top: 1vw;
}

.subscribe p a {
    display: inline-block;
    text-decoration: none;
    color: var(--red-bg);
    transition: transform 0.3s;
}

.subscribe p a:hover {
    transform: translateY(-5px);
}

@media(max-width: 520px) {
    .flexDisplay .max-width {
        flex-direction: column;
    }

    .flexDisplay .carousel {
        width: 90%;
        margin: 5%;
    }

    .arrow {
        font-size: 2em;
        padding: 1%;
    }

    .dot {
        width: 1vw;
        height: 1vw;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }

    .dot.active {
        background: var(--white-bg);
    }

}