@charset "UTF-8";

.emApp {
    overflow: hidden;
    margin: 0;
    border: 40px solid #f8f8f8;
    position: relative;
    background-color: #2A2722;
    background-size: min( 100vw, 1840px );
}

.appointments {
    /* background: #313B38; */
    position: relative;
    display: block;
    margin: 0 auto;
    padding: clamp(40px, 4.167vw, 80px) 0px;
    clear: both;
    text-align: center;
    z-index: 2;
}

.appointments .container {
    position: relative;
    /* padding: clamp(40px, 65px, 3.385vw) 0; */
    overflow: hidden;
    z-index: 5;
}

.appointments h3,
.appointments h3 a,
.appointments h4,
.appointments h4 a {
    color: #f8f8f8;
}

.appointments h3,
.appointments h3 a {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(16px, 0.0938vw, 18px);
    letter-spacing: normal;
    line-height: clamp(22px, 1.250vw, 24px);
    font-weight: 300;
    margin-bottom: 0;
    text-transform: none;
}

.appointments h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 1.41px;
    margin: 0 auto 16px;
    font-weight: 400;
    text-transform: none;
}

.appointments h4:after {
    content: '';
    display: none;
    width: 80px;
    border-bottom: 4px solid #49c3d8;
    margin: 16px auto 24px;
}

.appointments .container:before, .appointments .container:after {
    display: none;
}

.appointments .btn-secondary {
    margin: clamp(18px,  1.146vw, 22px ) auto 0;
}

@media ( max-width: 1024px ) {
    .jarallax-emApp > .jarallax-img {
        position: absolute;
        object-fit: cover;
        /* support for plugin https://github.com/bfred-it/object-fit-images */
        object-position: 50% 50%;
        font-family: 'object-fit: cover;';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .appointments {
        margin: 0;
        padding: 40px 10px;
        height: fit-content;
        z-index: 5;
        position: relative;
    }

    .appointments h4 {
        /* font-size: 33px; */
    }

    .appointments span {
        display: block;
    }

    .appointments h3 {
        font-size: 42px;
    }
}

@media ( max-width: 479px ) {
    .appointments h4 a {
        display: block;
    }
}