body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.scene img {
    /* display: block; */
    /* width: 100%; */
}

.scene {
    text-align: center;
}

.scene ul {
    list-style: none;
}

.accelerate {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.center {
    max-width: 400px;
    margin: 0 auto;
    width: 88%;
}

.scene,
.layer {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.scene {
    /* min-height: 460px; */
    position: relative;
    overflow: hidden;
}

.layer {
    position: absolute;
}
.layer div {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* vocal of media anim */

.anim {
    width: 185px;
    height: 225px;
    background: url(../img/pages/home/hero/animhalfrtl.webp) left center;
    background-size: cover;
    animation: play 1s steps(16) infinite;
    display: inline-block;
}

.dummyanim {
    display: none;
    width: 185px;
    height: 100px;
}

.light {
    width: 100%;
    transform: scale(5);
    transform-origin: right;
}

.title-center {
    transform: translate(25%, 0%);
}

@keyframes play {
    100% {
        background-position: -2960px;
    }
}

.anim-container {
    position: absolute;
    display: flex;
    top: 10%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.title-container {
    position: absolute;
    display: flex;
    top: 10%;
    width: 100%;
}

.ctamobile {
    display: inherit;
    margin-top: 140px;
}

@keyframes flickerAnimation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-o-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-moz-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-webkit-keyframes flickerAnimation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-flicker {
    -webkit-animation: flickerAnimation 1.5s infinite;
    -moz-animation: flickerAnimation 1.5s infinite;
    -o-animation: flickerAnimation 1.5s infinite;
    animation: flickerAnimation 1s infinite;
}

.title {
    font-size: 3em;
    /* text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6); */
    /* margin-top: -0.7em; */
    position: absolute;
    width: 100%;
    /* top: 42%; */
    top: 26%;
}

.title h1 {
    font-size: 1.5em;
}

.title h2 {
    font-size: 0.6em;
}

.sectitle {
    font-size: 1.1em;
}

#phone {
    /* font-size: 0.46667em; */
    font-size: 0.5em;
}

#filled {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.background {
    background: /*url(../img/parallax/background.webp)*/#27a0a5 no-repeat 50% 100%;
    /* background: #a1dbd9 no-repeat 50% 100%; */
    /* bottom: 96px; */
    bottom: 0px;
    background-size: cover;
    position: absolute;
    width: 110%;
    left: -5%;
    top: -5%;
}

/* .wave {
    background: transparent repeat-x;
    position: absolute;
    width: 300%;
    left: -100%;
}
.wave:after {
    background-color: #000000;
    position: absolute;
    display: block;
    content: '';
    height: 500px;
    width: 100%;
    top: 100%;
    left: 0;
}
.wave.plain {
    background-image: url(../img/parallax/wave-plain.webp);
}
.wave.paint {
    background-image: url(../img/parallax/wave-paint.webp);
}

.wave.depth-10 {
    -webkit-animation: wave 8s 0.1s infinite linear;
    -moz-animation: wave 8s 0.1s infinite linear;
    animation: wave 8s 0.1s infinite linear;
    bottom: 140px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 16px;
}
.wave.depth-10:after {
    height: 144px;
}

.wave.depth-20 {
    -webkit-animation: wave 7.55556s 0.1s infinite linear;
    -moz-animation: wave 7.55556s 0.1s infinite linear;
    animation: wave 7.55556s 0.1s infinite linear;
    bottom: 120px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 32px;
}
.wave.depth-20:after {
    height: 128px;
}

.wave.depth-30 {
    -webkit-animation: wave 7.11111s 0.1s infinite linear;
    -moz-animation: wave 7.11111s 0.1s infinite linear;
    animation: wave 7.11111s 0.1s infinite linear;
    bottom: 100px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 48px;
}
.wave.depth-30:after {
    height: 112px;
}

.wave.depth-40 {
    -webkit-animation: wave 6.66667s 0.1s infinite linear;
    -moz-animation: wave 6.66667s 0.1s infinite linear;
    animation: wave 6.66667s 0.1s infinite linear;
    bottom: 80px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 64px;
}
.wave.depth-40:after {
    height: 96px;
}

.wave.depth-50 {
    -webkit-animation: wave 6.22222s 0.1s infinite linear;
    -moz-animation: wave 6.22222s 0.1s infinite linear;
    animation: wave 6.22222s 0.1s infinite linear;
    bottom: 60px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 80px;
}
.wave.depth-50:after {
    height: 80px;
}

.wave.depth-60 {
    -webkit-animation: wave 5.77778s 0.1s infinite linear;
    -moz-animation: wave 5.77778s 0.1s infinite linear;
    animation: wave 5.77778s 0.1s infinite linear;
    bottom: 40px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 96px;
}
.wave.depth-60:after {
    height: 64px;
}

.wave.depth-70 {
    -webkit-animation: wave 5.33333s 0.1s infinite linear;
    -moz-animation: wave 5.33333s 0.1s infinite linear;
    animation: wave 5.33333s 0.1s infinite linear;
    bottom: 20px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 112px;
}
.wave.depth-70:after {
    height: 48px;
}

.wave.depth-80 {
    -webkit-animation: wave 4.88889s 0.1s infinite linear;
    -moz-animation: wave 4.88889s 0.1s infinite linear;
    animation: wave 4.88889s 0.1s infinite linear;
    bottom: 0px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 128px;
}
.wave.depth-80:after {
    height: 32px;
}

.wave.depth-90 {
    -webkit-animation: wave 4.44444s 0.1s infinite linear;
    -moz-animation: wave 4.44444s 0.1s infinite linear;
    animation: wave 4.44444s 0.1s infinite linear;
    bottom: -20px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 144px;
}
.wave.depth-90:after {
    height: 16px;
}

.wave.depth-100 {
    -webkit-animation: wave 4s 0.1s infinite linear;
    -moz-animation: wave 4s 0.1s infinite linear;
    animation: wave 4s 0.1s infinite linear;
    bottom: -40px;
    margin: 0px 0px;
    background-position: center bottom;
    background-size: auto 101%;
    height: 160px;
}
.wave.depth-100:after {
    height: 0px;
} */

@media all and (min-width: 280px) {
    .anim-container {
        position: absolute;
        display: flex;
        top: 10%;
        left: 60%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .light {
        transform: scale(3.7);
    }
}

@media all and (min-width: 330px) {
    .anim-container {
        position: absolute;
        display: flex;
        top: 10%;
        left: 45%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .light {
        transform: scale(2.5);
    }
}
@media all and (min-width: 400px) {
    .scene {
        min-height: 360px;
    }

    .light {
        transform: scale(1.5);
    }

    .anim {
        width: 222px;
        height: 270px;
        background: url(../img/pages/home/hero/animhalfrtl.webp) left center;
        background-size: cover;
        animation: play400 1s steps(16) infinite;
        display: inline-block;
    }

    .dummyanim {
        display: inherit;
        width: 222px;
        height: 200px;
    }

    .hero-dummy-cta {
        display: none;
        width: 222px;
        height: 100px;
    }

    @keyframes play400 {
        100% {
            background-position: -3552px;
        }
    }

    .ctamobile {
        display: inherit;
        margin-top: 170px;
    }

    .title h1 {
        font-size: 1em;
    }

    .title h2 {
        font-size: 0.5em;
    }

    .sectitle {
        font-size: 0.9em;
    }

    #phone {
        font-size: 0.66667em;
    }
    #filled {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .anim-container {
        position: absolute;
        display: flex;
        top: 10%;
        right: 0;
        margin: 0 auto;
        width: 100%;
    }

    .title-container {
        position: absolute;
        display: flex;
        top: 10%;
        right: 0;
        margin: 0 auto;
        width: 100%;
    }
}

@media all and (min-width: 600px) {
    .center {
        max-width: 440px;
    }

    .light {
        transform: scale(1);
    }

    .anim {
        width: 296px;
        height: 360px;
        background: url(../img/pages/home/hero/animhalfrtl.webp) left center;
        background-size: cover;
        animation: play600 1s steps(16) infinite;
        display: inline-block;
    }

    .dummyanim {
        width: 296px;
        height: 100px;
    }

    .hero-dummy-cta {
        display: inherit;
        width: 296px;
        height: 100px;
    }

    @keyframes play600 {
        100% {
            background-position: -4736px;
        }
    }

    .ctamobile {
        margin-top: 130px;
    }

    .title {
        font-size: 3.46667em;
        top: 30%;
    }

    .title h1 {
        font-size: 1.46667em;
    }
    .sectitle {
        font-size: 1.46667em;
    }
    .title h2 {
        font-size: 0.56667em;
    }

    #phone {
        font-size: 0.66667em;
    }
    #filled {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .background {
        /* bottom: 96px; */
    }

    /* .wave.depth-10 {
        bottom: 210px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 24px;
    }
    .wave.depth-10:after {
        height: 216px;
    }

    .wave.depth-20 {
        bottom: 180px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 48px;
    }
    .wave.depth-20:after {
        height: 192px;
    }

    .wave.depth-30 {
        bottom: 150px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 72px;
    }
    .wave.depth-30:after {
        height: 168px;
    }

    .wave.depth-40 {
        bottom: 120px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 96px;
    }
    .wave.depth-40:after {
        height: 144px;
    }

    .wave.depth-50 {
        bottom: 90px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 120px;
    }
    .wave.depth-50:after {
        height: 120px;
    }

    .wave.depth-60 {
        bottom: 60px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 144px;
    }
    .wave.depth-60:after {
        height: 96px;
    }

    .wave.depth-70 {
        bottom: 30px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 168px;
    }
    .wave.depth-70:after {
        height: 72px;
    }

    .wave.depth-80 {
        bottom: 0px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 192px;
    }
    .wave.depth-80:after {
        height: 48px;
    }

    .wave.depth-90 {
        bottom: -30px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 216px;
    }
    .wave.depth-90:after {
        height: 24px;
    }

    .wave.depth-100 {
        bottom: -60px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 240px;
    }
    .wave.depth-100:after {
        height: 0px;
    } */
}

@media all and (min-width: 900px) {
    .center {
        max-width: 560px;
    }

    .anim {
        width: 370px;
        height: 450px;
        background: url(../img/pages/home/hero/animhalfrtl.webp) left center;
        background-size: cover;
        animation: play900 1s steps(16) infinite;
        display: inline-block;
    }

    @keyframes play900 {
        100% {
            background-position: -5920px;
        }
    }

    .anim-container {
        position: absolute;
        display: flex;
        top: 10%;
        right: 5%;
        margin: 0 auto;
        width: 100%;
    }

    .ctamobile {
        /* display: none; */

        margin-top: 200px;
    }

    .dummyanim {
        width: 370px;
        height: 100px;
    }

    .hero-dummy-cta {
        display: inherit;
        width: 370px;
        height: 100px;
    }

    .title {
        font-size: 3.46667em;
        top: 30%;
    }

    .title h1 {
        font-size: 2em;
    }
    .sectitle {
        font-size: 2em;
    }
    .title h2 {
        font-size: 1em;
    }

    #filled {
        font-size: 0.4em;
    }
    .background {
        /* bottom: 160px; */
    }

    /* .wave.depth-10 {
        bottom: 238px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 27px;
    }
    .wave.depth-10:after {
        height: 244.8px;
    }

    .wave.depth-20 {
        bottom: 204px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 54px;
    }
    .wave.depth-20:after {
        height: 217.6px;
    }

    .wave.depth-30 {
        bottom: 170px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 82px;
    }
    .wave.depth-30:after {
        height: 190.4px;
    }

    .wave.depth-40 {
        bottom: 136px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 109px;
    }
    .wave.depth-40:after {
        height: 163.2px;
    }

    .wave.depth-50 {
        bottom: 102px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 136px;
    }
    .wave.depth-50:after {
        height: 136px;
    }

    .wave.depth-60 {
        bottom: 68px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 163px;
    }
    .wave.depth-60:after {
        height: 108.8px;
    }

    .wave.depth-70 {
        bottom: 34px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 190px;
    }
    .wave.depth-70:after {
        height: 81.6px;
    }

    .wave.depth-80 {
        bottom: -1px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 218px;
    }
    .wave.depth-80:after {
        height: 54.4px;
    }

    .wave.depth-90 {
        bottom: -35px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 245px;
    }
    .wave.depth-90:after {
        height: 27.2px;
    }

    .wave.depth-100 {
        bottom: -68px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 272px;
    }
    .wave.depth-100:after {
        height: 0px;
    } */
}
@media all and (min-width: 1200px) {
    .center {
        max-width: 620px;
    }

    /* .wave.depth-10 {
        bottom: 252px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 29px;
    }
    .wave.depth-10:after {
        height: 259.2px;
    }

    .wave.depth-20 {
        bottom: 216px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 58px;
    }
    .wave.depth-20:after {
        height: 230.4px;
    }

    .wave.depth-30 {
        bottom: 180px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 86px;
    }
    .wave.depth-30:after {
        height: 201.6px;
    }

    .wave.depth-40 {
        bottom: 144px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 115px;
    }
    .wave.depth-40:after {
        height: 172.8px;
    }

    .wave.depth-50 {
        bottom: 108px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 144px;
    }
    .wave.depth-50:after {
        height: 144px;
    }

    .wave.depth-60 {
        bottom: 72px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 173px;
    }
    .wave.depth-60:after {
        height: 115.2px;
    }

    .wave.depth-70 {
        bottom: 36px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 202px;
    }
    .wave.depth-70:after {
        height: 86.4px;
    }

    .wave.depth-80 {
        bottom: -1px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 230px;
    }
    .wave.depth-80:after {
        height: 57.6px;
    }

    .wave.depth-90 {
        bottom: -36px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 259px;
    }
    .wave.depth-90:after {
        height: 28.8px;
    }

    .wave.depth-100 {
        bottom: -72px;
        margin: 0px 0px;
        background-position: center bottom;
        background-size: auto 101%;
        height: 288px;
    }
    .wave.depth-100:after {
        height: 0px;
    } */
}

a,
button {
    -webkit-transition: color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cross,
.x,
.y {
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@-webkit-keyframes wave {
    0% {
        -webkit-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        -moz-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(360deg) translate3d(0, 10%, 0)
            rotateZ(-360deg);
        -moz-transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
    }
}
@-moz-keyframes wave {
    0% {
        -webkit-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        -moz-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(360deg) translate3d(0, 10%, 0)
            rotateZ(-360deg);
        -moz-transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
    }
}
@-ms-keyframes wave {
    0% {
        -webkit-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        -moz-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(360deg) translate3d(0, 10%, 0)
            rotateZ(-360deg);
        -moz-transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
    }
}
@keyframes wave {
    0% {
        -webkit-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        -moz-transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) translate3d(0, 10%, 0) rotateZ(0deg);
    }
    100% {
        -webkit-transform: rotateZ(360deg) translate3d(0, 10%, 0)
            rotateZ(-360deg);
        -moz-transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) translate3d(0, 10%, 0) rotateZ(-360deg);
    }
}
