:root {
    --secondary-color: #9829FB;
}

body {
    font-size: 1.25rem;
}


.services-grid .el-item > a {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}

.services-grid .el-image {
    fill: none;
    margin-bottom: auto;
    width: 2rem;
    height: 2rem;
    padding: 0.25rem;
    aspect-ratio: 1;
    background-color: var(--secondary-color);
    border-radius: 100%;
    color: #fff;
    transition: 0.2s;
}

.services-grid .el-item > a:hover {
    background-color: var(--secondary-color);
    border-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.services-grid .el-item > a:hover > * {
    color: #fff;
}

.services-grid .el-item > a:hover .el-image {
    color: var(--secondary-color);
    background-color: #fff;
}

.infinite-grid > .uk-grid {
    flex-wrap: nowrap;
    max-width: none;
    animation: infinite-grid 10s linear infinite;
}

.infinite-grid > .uk-grid > * {
    flex-shrink: 0;
}

.infinite-grid .el-title {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.infinite-grid .el-title::after {
    content: "*";
    font-size: 17rem;
    display: block;
    height: 9rem;
}

@keyframes infinite-grid {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.section-rounded-bottom, .tm-page > .builder:last-of-type {
    border-radius: 0 0 50px 50px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.section-rounded-bottom + *, #builderwidget-3 + * {
    margin-top: -50px;
}

.section-rounded-top {
    border-radius: 50px 50px 0 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.reviews-slider .el-item {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.reviews-slider .el-content {
    order: -1
}

.reviews-slider .el-content::before, .reviews-slider .el-content::after {
    content: '”';
    font-size: 2rem;
    line-height: 0;
    font-weight: 700;
}

.reviews-slider .el-title {
    font-weight: 700;
    margin-top: 1rem!important;
}

.uk-button-text {
    transition: 0.2s;
}

.uk-button-text::before {
    display: none;
}

.uk-button-text::after {
    content: "";
    display: inline-block;
    margin-left: 0.5rem;
    transition: 0.3s;
    background-image: url("../images/arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

.uk-button-text:hover::after {
    transform: translateX(5px);
}

.uk-button-text:hover {
    color: var(--secondary-color);
}

.tm-header .uk-sticky {
    top: 2rem!important;
    position: fixed!important;
    width: 100% !important;
    transform: none!important;
    opacity: 1!important;
}

.tm-header .uk-sticky-placeholder {
    display: block!important;
}

.uk-navbar-container {
    background-color: transparent!important;
}

.uk-navbar-container > .uk-container > .uk-navbar {
    background-color: #ffffffbf;
    border-radius: 15px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(15px);
    padding: 0 2rem;
}

.tm-header .uk-navbar-right .uk-button-text {
    font-size: 1rem;
    color: var(--secondary-color);
}

.services-header-image {
    margin-bottom: -25rem!important;
}

.services-header-image-spacer {
    padding-bottom: 19rem!important;
}

.mail-cta .el-content {
    font-size: 1.8rem;
    border-bottom: 0.25rem solid #9829fb;
}

.mail-cta .el-content::after {
    background-image: url("../images/mail.svg");
    width: 1.5rem;
    height: 1.5rem;
}

.mail-cta .el-content:hover::after {
    transform: none;
}

.left-icon-panel {
    padding: 4rem 3rem!important;
    display: flex;
    flex-wrap: wrap;
}

.left-icon-panel .el-title {
    width: 90%;
    margin-top: 0!important;
    margin-left: 1rem;
    vertical-align: middle;
}

.tm-header-mobile .uk-sticky {
    top: 1.5rem!important;
    position: fixed!important;
    width: 100% !important;
    transform: none!important;
    opacity: 1!important;
}

.tm-header-mobile .uk-sticky-placeholder {
    display: block!important;
}

#tm-dialog-mobile {
    max-height: 450px;
    max-width: calc(100% - 3rem) !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 #00000026;
}

.scroll-icon .down-arrow {
    animation: scroll-down infinite 2s;
}

@keyframes scroll-down {
    0% {
        transform: translateY(0rem);
        opacity: 1;
    }
    50% {
        transform: translateY(1.5rem);
        opacity: 0;
    }
    50.1% {
        transform: translateY(-0.5rem);
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

#tm-dialog-mobile .uk-nav .menu-item > a {
    justify-content: center;
}

.contact-mail-cta .el-content {
    font-size: 1.25rem;
    font-weight: 400;
    display: block;
    width: fit-content;
    text-decoration: underline;
}

.contact-mail-cta .el-content::before {
    content: "";
    display: inline-block;
    position: relative;
    background-image: url(../images/mail.svg);
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.25rem;
    transition: 0.3s;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.contact-mail-cta .el-content::after {
    display: none;
}

.contact-form-tile > * {
    padding: 3.5rem 2.5rem 2rem!important;
}

.contact-form-tile p {
    margin-bottom: 0;
}

.wpcf7-not-valid-tip {
    font-size: 0.8rem;
}

.wpcf7-list-item {
    margin-left: 0;
}

.uk-checkbox {
    margin-right: 0.25rem;
}

.uk-checkbox + span {
    font-size: 1rem;
}

.mobile-navbar-contact-button .el-content {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.uk-slidenav {
    padding: 0
}

.uk-slidenav > svg {
    display: none;
}

.uk-slidenav::before {
    display: block;
    aspect-ratio: 1;
    transition: 0.2s ease-in-out;
}

.uk-slidenav:hover::before {
    opacity: 0.7;
}

.uk-slidenav-previous::before {
    content: url("../images/slider_previous.svg");
}

.uk-slidenav-next::before {
    content: url("../images/slider_next.svg");
}

.uk-slidenav-container {
    gap: 2rem;
}

.reviews-slider .uk-slidenav-container {
    top: 10%
}

h2.wp-block-heading {
    font-size: 3rem;
}

@media screen and (min-width: 1999px) {
    html {
        font-size: 17px;
    }
}

@media screen and (max-width: 1599px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 1199px) {
    html {
        font-size: 14px;
    }
}


@media screen and (max-width: 959px) {
    html {
        font-size: 14px;
    }

    .services-header-image-spacer {
        padding-bottom: 9rem!important;
    }

    .uk-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .uk-navbar-container > .uk-container > .uk-navbar {
        padding: 0 1.25rem;
    }

    .uk-text-lead {
        font-size: 1.4rem;
    }

    .services-grid .el-item > a {
        align-items: center;
        max-width: 90%;
        margin: auto;
    }

    .services-grid .el-item * {
        text-align: center;
    }

    .services-grid .el-title {
        margin-top: 4rem!important;
    }

    h3, .uk-h3, h2.wp-block-heading {
        font-size: 2.4rem;
    }

    .reviews-slider .el-item {
        max-width: none;
    }

    .left-icon-panel .el-image {
        width: 2rem;
    }

    .left-icon-panel .el-title {
        width: 86%;
    }

    .left-icon-panel {
        padding: 2.5rem 2rem!important;
    }

    .uk-input, .uk-textarea {
        font-size: 16px!important;
    }

    .contact-form-tile > * {
        padding: 2.5rem 1.5rem 1rem!important;
    }
}


@media screen and (max-width: 639px) {
    html {
        font-size: 13px;
    }
}
