html {
    scroll-behavior: smooth;
}

html, body {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
}

.slideOverlay, .slideshow {
    width: 100%;
}

.slideshow {
    float: right;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow .slideshow_img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 600ms ease-in-out, transform 600ms ease-in-out;
}

.slideshow .slideshow_img.fade-in {
    opacity: 1;
    transform: scale(1.01);
    z-index: 2;
}

.slideshow .slideshow_img.fade-out {
    opacity: 0;
    transform: scale(1);
    z-index: 1;
}

.slideshow .slideshow_right {
    position: absolute;
    top: 0;
    right: 0!important;
    width: 100%;
    height: 100%!important;
    z-index: 10;
}

.slideshow .slideshow_left {
    position: absolute;
    top: 0;
    left: 0!important;
    width: 100%;
    height: 100%!important;
    background-color: #fff;
}

@media (max-width: 768px) {
    :root {
        --header-mobile: 0px;
    }
    .hero_content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 16px 20px;
        z-index: 2;
    }
}
.slideshow_caption {
    width: 100%;
    height: 100%;
    right: 0;
    position: absolute;
    inset: 0;
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    z-index: 2;
}

.slideshow_caption .title, .slideshow_caption .sub_title, .slideshow_caption .text {
    float: right;
    width: 100%;
}

.slideshow_caption .text {
    font-size: 32px;
    line-height: 1.2em;
    direction: rtl;
    margin-bottom: 25px;
}

.slide_btn_container {
    float: right;
    width: 100%;
    direction: rtl;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide_btns_up {
    float: right;
    width: 100%;
    direction: rtl;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow_btn {
    width: 280px;
    height: 60px;
    padding: 0 30px 2px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #333333;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse 2.5s infinite ease-in-out;
    transition: all 0.35s ease;
}

.slideshow_btns_down {
    float: right;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.slideshow_btn_down {
    width: auto;
    height: 45px;
    padding: 0 15px 0px;
    text-align: center;
    font-size: 18px;
    box-sizing: border-box;
    border: 2px solid #f9eadc;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow_btn:hover {
    background-color: rgba(255, 255,255,1)!important
}

.slideshow_btn_down:hover {
    background-color: rgba(51, 51,51,1)!important
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(249, 234, 220, 0.5);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(249, 234, 220, 0.8);
    }
}

.slideshow_btn:hover {
    background-color: #b7213c;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255,255,255,0.9);
}

.slideshow_btn .slideshow_btn_text {
    font-size: 28px;
    font-weight: 700;
    z-index: 2;
    position: relative;
}

.slideshow_btn_icon {
    margin-right: 5px;
}

.slideshow_btn_text i {
    font-size: 25px;
    color: #333;
    margin-right: 5px;
}

.slideshow_btn_down .slideshow_btn_text {
    font-size: 18px;
    font-weight: 400;
    z-index: 2;
    position: relative;
}

.slideshow_btn_border {
    width: calc(100% - 14px);
    border: 1px solid #333;
    position: absolute;
    height: 43px;
    border-radius: 35px;
    right: 7px;
    top: 5px
}

.slideOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.3));
    z-index: 1;
}

.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: opacity .2s ease, background .2s ease;
}

.slide-prev {
    left: 18px;
}

.slide-next {
    right: 18px;
}

.slide-prev:hover, .slide-next:hover {
    background: rgba(0,0,0,.55);
}

.slide-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slide-dots .dot {
    position: relative;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0;
}

.slide-dots .dot.active {
    background: #f9eadc;
    width: 13px;
    height: 13px;
}

.dot .dot-progress {
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -6px;
    height: 2px;
    background: rgba(255,255,255,.25);
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
}

.dot .dot-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    transition-property: width;
    transition-timing-function: linear;
}

.slideshow_caption .slideshow_logo, .slideshow_caption .title, .slideshow_caption .sub_title, .slideshow_caption .text, .slideshow_caption .slide_btn_container {
    opacity: 0;
    transform: translateY(14px);
}

.slideshow_img.show-caption .slideshow_logo {
    animation: fadeUp .55s ease forwards .05s;
}

.slideshow_img.show-caption .title {
    animation: fadeUp .60s ease forwards .15s;
}

.slideshow_img.show-caption .sub_title {
    animation: fadeUp .60s ease forwards .30s;
}

.slideshow_img.show-caption .text {
    animation: fadeUp .60s ease forwards .45s;
}

.slideshow_img.show-caption .slide_btn_container {
    animation: fadeUp .60s ease forwards .60s;
}

.slideshow_caption .scroll-down-wrap {
    opacity: 0;
    transform: translateY(14px);
}

.slideshow_img.show-caption .scroll-down-wrap {
    animation: fadeUp .60s ease forwards .75s;
}

#galnorLogoImg {
    opacity: 0;
    transform: scale(.92);
}

.slideshow_img.show-caption #galnorLogoImg {
    animation: logoPop .5s ease forwards .05s;
}

@keyframes logoPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-down-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
    position: absolute;
    bottom: 70px;
    z-index: 1000!important
}

.scroll-down {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #fff;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
    animation: bob 1.8s ease-in-out infinite;
}

.scroll-down:hover {
    background: #f9eadd;
    border-color: #fff;
    transform: translateY(-1px);
}

.scroll-down-icon {
    position: relative;
    width: 10px;
    height: 10px;
}

.scroll-down-icon::before, .scroll-down-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
}

.scroll-down-icon::before {
    width: 10px;
    height: 10px;
    border-right: 2px solid #343433;
    border-bottom: 2px solid #343433;
    transform: rotate(45deg);
}

.scroll-down-icon::after {
    top: -8px;
    width: 2px;
    height: 12px;
    background: #343433;
    border-radius: 1px;
}

@keyframes bob {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.slideshow_logo {
    width: 280px;
    margin-bottom: 15px
}

.kenburns {
    will-change: transform;
    animation: kenburns-zoom 18s ease-in-out infinite alternate;
}

@keyframes kenburns-zoom {
    0% {
        transform: scale(1.02) translateZ(0);
    }

    100% {
        transform: scale(1.08) translateZ(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slideshow .slideshow_img {
        transition: none;
    }

    .slideshow_img.show-caption .slideshow_logo, .slideshow_img.show-caption .title, .slideshow_img.show-caption .sub_title, .slideshow_img.show-caption .text, .slideshow_img.show-caption .slide_btn_container, .slideshow_img.show-caption .scroll-down-wrap, .kenburns, .scroll-down {
        animation: none !important;
    }

    .dot .dot-progress-bar {
        transition: none;
    }
}

.slide_shape {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -1px;
    z-index: 11;
    display: flex;
    justify-content: center;
}

.slide_shape img {
    width: 350px;
}

@media (min-width: 1438px) {
    .slideshow_caption {
        padding: 0 50px;
    }

    .slideshow_caption .title {
        font-size: 55px;
        margin-bottom: 5px;
        text-align: center;
        line-height: 1em;
    }

    .slideshow_caption .sub_title {
        font-size: 50px;
        line-height: 1em;
        text-align: center;
    }

    .slideshow_caption .text {
        font-size: 26px;
        font-weight: 400;
        line-height: 1.3em;
        text-align: center;
    }

    .slideshow .slideshow_img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 1439px) and (min-width:769px) {
    .slideshow_caption {
        padding: 0 50px;
    }

    .slideshow_caption .title {
        font-size: 65px;
        margin-bottom: 5px;
        text-align: center;
        line-height: 1em;
    }

    .slideshow_caption .sub_title {
        font-size: 50px;
        line-height: 1em;
        margin-bottom: 0px;
        text-align: center;
    }

    .slideshow_caption .text {
        font-size: 26px;
        font-weight: 400;
        line-height: 1.3em;
        text-align: center;
    }

    .slideshow .slideshow_img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) and (min-width:319px) {
    .slideshow .slideshow_right {
        width: 100%;
        height: 100%!important;
        top: 0%;
    }

    .slideshow .slideshow_left {
        width: 100%;
        height: 100%!important;
        top: 0;
    }

    .slideshow_caption {
        padding: 0 30px;
        align-items: center;
    }

    .slideshow_caption .title {
        font-size: 40px;
        margin-bottom: 0px;
        text-align: center;
        line-height: 1em;
    }

    .slideshow_caption .sub_title {
        font-size: 30px;
        line-height: 1.2em;
        margin-bottom: 5px;
    }

    .slideshow_caption .text {
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 0;
        line-height: 1.4em;
        text-align: center;
    }

    .slideshow .slideshow_img {
        width: 100%;
        height: 100%!important;
        top: 0;
    }

    .slide_btn_container {
        margin-top: 15px;
    }

    .slide_btn_container .website_btn {
        height: 40px;
        padding: 0 15px;
    }

    .slide_btn_container .web_btn_container_inside {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .slide_btn_container .website_btn_text {
        font-size: 18px;
    }

    .slideshow_logo {
        width: 240px;
        margin-bottom:20px
    }

    .slide-dots {
        bottom: 14px;
    }

    .scroll-down-wrap {
        justify-content: center;
        display: flex;
    }

    .scroll-down-wrap {
        position: absolute;
        bottom: 70px;
    }
    .slide_shape img {
        width: 250px;
    }
    .slideshow_btn {
    width: 290px;
    height: 60px;
    padding: 0 10px 2px;
    }

.slideshow_btn .slideshow_btn_text {
    font-size: 26px;
    font-weight: 700;
    z-index: 2;
    position: relative;
}

    .slide_shape {
        display: none
    }
    .slide-prev, .slide-next {
    display:none
}
}

@media (max-width: 320px) {
}

#staticCaption .slideshow_logo, #staticCaption .title, #staticCaption .sub_title, #staticCaption .text, #staticCaption .slide_btn_container, #staticCaption .scroll-down-wrap, .slideshow_logo, .title, .sub_title, .text, .slide_btn_container,  .scroll-down-wrap {
    opacity: 0;
    transform: translateY(14px);
}

#staticCaption.show .slideshow_logo, .slideshow_logo {
    animation: fadeUp .55s ease forwards .05s;
}

#staticCaption.show .title, .title {
    animation: fadeUp .60s ease forwards .15s;
    justify-content: center;
}

#staticCaption.show .sub_title,  .sub_title {
    animation: fadeUp .60s ease forwards .30s;
    justify-content: center;
}

#staticCaption.show .text .text {
    animation: fadeUp .60s ease forwards .45s;
    justify-content: center;
}

#staticCaption.show .slide_btn_container, .slide_btn_container {
    animation: fadeUp .60s ease forwards .60s;
}

#staticCaption.show .scroll-down-wrap, .scroll-down-wrap {
    animation: fadeUp .60s ease forwards .75s;
}

#galnorLogoImgStatic {
    opacity: 0;
    transform: scale(.92);
}

#staticCaption.show #galnorLogoImgStatic {
    animation: logoPop .5s ease forwards .05s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes logoPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 769px) {
    .slideshow {
        position: relative !important;
        float: none !important;
        inset: auto !important;
        width: 100% !important;
        min-height: 100dvh;
        overflow: hidden;
    }
}
