/*BANNER IMAGES=========================================================*/
.dynamic-headers2 {
    position: relative;
    text-align: center;
    /* background: green; */
    width: 100vw;
    height: 100vh;
}

.rslides {
    margin: 0 auto !important;
    filter: brightness(0.7);
}

.rslides li {
    position: relative;
    background-size: cover;
    background-position: center center;
}

.dynamic-headers2>.rslides1_nav {
    display: none !important
}

.dynamic-headers2 .rslides img {
    max-height: 400px;
    min-height: 300px;
    height: auto;

}

.dynamic-headers2 .rslides.home_slides img {
    max-height: 756px;
    min-height: 320px;
}

.overlay-wrapper {
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 50%;
    margin-left: -590px;
    width: 325px;
    height: 100%;
}

.overlay-wrapper a {
    position: absolute;
    bottom: 35%;
    max-width: 334px;
    padding: 15px 17px;
    margin: 0 auto -50px auto;
    color: #000000;
    font-size: 23px;
    line-height: 26px;
    /* font-style: italic; */
    background: rgba(255, 255, 255, 0.79);
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.59);
}

.overlay-wrapper a:before {
    position: absolute;
    content: '';
    top: 7%;
    left: -5px;
    width: 5px;
    height: 86%;
    background: #61a7a8;
}

.overlay-wrapper a:after {
    position: absolute;
    content: '';
    top: 7%;
    right: -23px;
    width: 23px;
    height: 86%;
    background: #61a7a8 url(../images/arrow1.png) no-repeat center center;
    background-size: 41%;
    /* opacity: 0.5; */
}

/* ResponsiveSlides */
ul.rslides {
    position: absolute;
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    /* width: 100vw; */
    /* height: 100vh; */
}

ul.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

ul.rslides li {
    position: relative;
    display: block;
    float: left;
    width: 100vw;
    height: 100vh;
}

ul.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

/* main============================ */
article {
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    /* max-width: 800px; */
    /* margin: auto; */
}

h1 {
    display: block;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 20px 0px;
    background: #ffffff;
}

h1 span {
    display: block;
    padding: 0px 20px;
    font-size: clamp(1.4rem, 5vw, 2.3rem);
    line-height: clamp(1.4rem, 4.6vw, 2.2rem);
}

.banner_section {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 780px;
}

.banner_section .centered {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.listing {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 48%;
    align-items: center;
    background: #ffffffdb;
    padding: 18px 0px;
    border-radius: 10px;
    transition: 0.3s ease;
    text-decoration: none;
}

.listing:hover {
    background: #ffffff;
}

.listing .image {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 50%;
}

.listing img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.listing:nth-of-type(1) .image img {
    width: 50%;
    height: auto;
}

.listing .name {
    padding: 20px;
}

.listing .name h4 {
    font-size: 1.2em;
    color: black;

}

.content .button {
    display: inline-block;
    color: #f2ede8 !important;
    background: #de823c;
    border-radius: 3px;
    PADDING: 8PX 23PX;
    font-family: "Caladea", serif;
    margin-top: 10px;
    margin: 10px 20px 0px 20px;
    font-size: larger;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: normal;
    transition: 0.3s ease;
    filter: saturate(120%);
}


.listing:hover .content .button {
    filter: saturate(160%);
}

@media (max-width:600px) {
    body {
        background: #006cab;
    }

    .dynamic-headers2 {
        background: #006cab;
    }

    ul.rslides {
        position: relative !important;
        width: 100%;
        height: 62vw;
    }

    ul.rslides li {
        width: 100vw;
        height: 55vw;
    }

    article {
        height: auto;
        background: #006cab;
    }

    .banner_section .centered {
        gap: 20px;
        flex-direction: column;
    }

    .listing {
        width: 100%;
        padding: 18px 0px;
    }
}