@import "tw-output.css";
@import "forms.css";

/* outfit-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/outfit-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

p {
    font-weight: 300;
}

.button-arrow-1 {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(-45deg) translate(0, 0);
}

.button-arrow-2 {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(-45deg) translate(-45px, 0);
}

.animated-button:hover .button-arrow-1 {
    transform: rotate(-45deg) translate(45px, 0);
}

.button-text {
    font-weight: 600;
}

.animated-button:hover .button-arrow-2 {
    transform: rotate(-45deg) translate(0, 0);
}

.animated-button:hover .button-bg {
    transform: scale(1);
}


.menu-btn {
    display: none;
}

.menu-btn.active span {
    background: transparent;
}

.menu-btn.active span::before,
.menu-btn.active span::after {
    background-color: #F3F9FF;
}

.menu-btn.active span::before {
    margin-top: 0;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-btn.active span::after {
    margin-top: 0;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#primary-nav {
    transition: transform .5s ease-in-out, background-color .5s ease-in-out;
}

#primary-nav.disappear {
    transform: translateY(-100%);
}

@media screen and (max-width: 1280px) {
    .menu-btn {
        height: 32px;
        width: 40px;
        cursor: pointer;
        position: relative;
        z-index: 3;
        display: block;

        span,
        span::before,
        span::after {
            background: #FFFFFF;
            border-radius: 3px;
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            margin-top: 13px;

            -webkit-transition: .3s ease-in-out;
            -moz-transition: .3s ease-in-out;
            -o-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
        }

        span::before {
            margin-top: -12px;
        }

        span::after {
            margin-top: 12px;
        }
    }

    .nav-links {
        position: absolute;
        top: calc(4rem + 18px);
        height: 0;
        overflow: hidden;
        display: flex;
        transition: height .5s ease-in-out, padding .5s ease-in-out;
        left: 0;
        flex-direction: column;
        background-color: #161C24;
        width: 100%;
        padding-inline: 1rem;
    }
}

#hero-section {
    height: 720px;
    .hero-img {
        position: absolute;
        height: 100%;
        width: 100%;
        transition: opacity .5s ease-in-out;
        object-fit: cover;
        z-index: -2;
    }

    .hero-img:first-child {
        z-index: -1;
    }
}

.before-after-img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    img {
        user-drag: none;
        -webkit-user-drag: none;
        -moz-user-select: none;
        max-width: unset;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .container {
        display: block;
        padding: 0 !important;
        margin: auto;
        overflow: hidden;
    }

    #before-after-slider {
        width: 100%;
        height: 90vh;
        position: relative;
        overflow: hidden;
    }

    #after-image {
        display: block;
        height: 100%;
    }

    #before-image {
        position: absolute;
        height: 100%;
        width: 50%;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 2;
    }

    #resizer {
        position: absolute;
        display: flex;
        align-items: center;
        z-index: 5;
        top: 0;
        left: 50%;
        height: 100%;
        width: 4px;
        /*Stop vertical scrolling on touch*/
        touch-action: pan-y;
    }

    #resizer:after {
        content: '< >';
        font-weight: 900;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #F3F9FF;
        background-color: #0076D6;
        position: absolute;
        margin: 0 0 0 -19px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    @media (max-width: 767px) {
        .container {
            width: 100%;
            padding: 0 20px
        }
    }
}

#map .leaflet-pane {
    z-index: 4;
}

.flip-card {
    perspective: none;
    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
        .flip-card-front,
        .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            overflow: hidden;
        }

        .flip-card-back {
            transform: rotateY(180deg);
        }
    }
}
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
