/*<editor-fold desc="Universal">*/
:root {
    --color-bg-light: #E4EFF1;
    --color-bg-dark: #CEE3E8;
    --gradient-bg: linear-gradient(#D3E4E9, #C8E1E6);
    --color-text: #4E7D81;
    --color-text-subtle: #99B6B9;

    --padding-around: 20px;
    --padding-between: 25px;
    --padding-within: 5px;
    --max-width: 1000px;
    --fixed-width: calc(100vw - calc(2 * var(--padding-around)));
    --rel-fixed-width: calc(100% - calc(2 * var(--padding-around)));
    --fixed-width-side: calc(calc(100vw - var(--fixed-width)) / 2);

    --lifted-shadow: 0 1px 1px 0 #00695560, 0 3px 10px 0px #00526920, inset 0 1px 1px 0 #ffffff;

    font-size: 20px;
}

html {
    overflow: auto;
}

body {
    margin: 0;
    background-color: var(--color-bg-light);
    min-height: 100vh;
    color: var(--color-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    width: 100vw;
    overflow: hidden;
}

*, *:after, *:before {
    box-sizing: border-box;
}
/*</editor-fold>*/

main {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

a {
    text-decoration: none;
    color: var(--color-text);
}

b {
    font-weight: 600;
}

ul {
    display: flex;
    flex-direction: column;
    gap: var(--padding-between);
    margin: 0;
    padding-left: 1.5em;
}

h2 {
    font-size: 2.2rem;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

form, .form-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

input, textarea {
    border-radius: 8px;
    font-size: .9em;
    font-weight: 100;
    font-family: 'Poppins', sans-serif;
    padding: 7px 10px;
    background-color: white;
    margin: 0 -5px;
    border: 1px solid var(--color-bg-dark);
    color: #444;
}

input:nth-last-child(1) {
    margin-bottom: -5px;
}

textarea {
    height: 160px;
}

label {
    font-weight: 400;
}

input[type=submit] {
    font-weight: 400;
    cursor: pointer;
    color: var(--color-text);
    transition: 75ms;
}

input[type=submit]:not(:disabled):hover {
    color: white;
    background-color: var(--color-text);
}

input[type=submit]:disabled {
    color: var(--color-text-subtle);
    cursor: default;
}

/*<editor-fold desc="Header">*/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0 10px;
}

footer {
    min-height: 200px;
}

#logo {
    width: 350px;
    max-width: var(--fixed-width);
}
/*</editor-fold>*/

/*<editor-fold desc="General">*/
.a-button-wrapper, .a-subtle-wrapper {
    min-height: 44px;
}

.a-button-wrapper > .a-button {
    height: 100%;
    width: 100%;
    background-color: #5EB5FF;
    padding: 6px 20px 4px;
    text-align: center;
    border-radius: 12px;
    background-image: linear-gradient(90deg, #A883FF 0%, #51C3FF 50%, #49EBB5 100%);
    background-size: 200% 100%;
    background-position: 0 100%;
    box-shadow: 0 1px 1px 0 #00444370, 0 2px 4px 0 #00444360, inset 0 1px 1px 0 #ffffffa0;
    min-width: 200px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    transition: 100ms;
}

.a-button-wrapper:hover > .a-button {
    background-position: 100% 100%;
}

.a-button-wrapper > .a-button > .a-button-text {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    transition: 100ms;
}

.a-button-wrapper > .a-button > .a-button-text:after {
    content: ">";
    font-size: 1.4em;
    position: absolute;
    right: -5px;
    opacity: 0;
    transition: 100ms;
}

.a-button-wrapper:hover > .a-button > .a-button-text:after {
    opacity: 1;
    right: -20px;
}

.a-button-wrapper:hover > .a-button > .a-button-text {
    transform: translateX(-10px);
}

.a-subtle-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.a-subtle-text {
    font-size: .9rem;
    font-weight: 500;
    text-decoration: underline;
}

.wide-display {
    background-color: var(--color-bg-dark);
    background-image: var(--gradient-bg);
    position: relative;
    width: 100vw;
}

.wd-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 3px 2px -2px #00444340, inset 0 7px 7px -5px #00444330, 0 1px 3px 0 #ffffff, 0 -1px 3px 0 #00444320;
    z-index:100;
}

.wd-content-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.section-divider {
    width: 100vw;
    height: 80px;
}

.content-wrapper {
    width: var(--fixed-width);
    max-width: var(--max-width);
}

.wide-display .content-wrapper {
    padding: 40px 0;
    display: flex;
    z-index: 300;
}

.wide-display.content-left .content-wrapper {
    justify-content: flex-start;
}

.wide-display.content-right .content-wrapper {
    justify-content: flex-end;
}

.text-display {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--padding-between);
}

.wide-display .content-wrapper .text-display {
    max-width: 500px;
    width: 45vw;
}

.decorative-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    max-width: 100%;
}

h2.dh-heading {
    margin: 0;
    font-weight: 100;
    color: #28AAD9;
    z-index: 100;
}

.dh-decoration {
    margin-top: -0.4em;
    color: #ffffff40;
    font-size: 3.6rem;
    font-weight: 600;
    margin-left: 0.2em;
    white-space: nowrap;
    position: relative;
    z-index: -100;
}

.animate .pop-left.dh-decoration {
    animation-delay: 200ms;
}

.lifted-panel {
    background-color: var(--color-bg-light);
    background-image: linear-gradient(#F2FEFF, #D6EBEB);
    border-radius: 16px;
    box-shadow: var(--lifted-shadow);
}

.user-message {
    border: 1px solid var(--color-bg-dark);
    border-radius: 5px;
    padding: 3px 8px;
    box-shadow: 0 1px 1px 0 var(--color-text-subtle);
    background-color: white;
}

/*</editor-fold>*/

.wd-display {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
}

.wd-display-position-wrapper {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content-left .wd-display .wd-display-position-wrapper {
    left: 50%;
    right: var(--fixed-width-side);
}

.content-right .wd-display .wd-display-position-wrapper {
    right: 50%;
    left: var(--fixed-width-side);
}

.ig-grid {
    display: grid;
    grid-auto-rows: 210px;
    gap: var(--padding-within);
    justify-content: center;
}

.ig-grid.grid-width-1 {
    grid-template-columns: repeat(3, 320px);
}

.ig-grid.grid-width-2 {
    grid-template-columns: repeat(4, 180px);
    grid-auto-rows: 180px;
}

.ig-unit {
    position: relative;
}

.ig-unit-content {
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.pre-animate .ig-unit-content {
    opacity: 0;
}

.animate .ig-unit-content {
    animation: 200ms ig-pop ease;
    animation-fill-mode: both;
    transform: translate3d(0, 0, 0);
}

.ig-unit.pre .ig-unit-content {
    background-image: linear-gradient(90deg, #FFFFFF00, #FFFFFF40);
}

.ig-unit.post .ig-unit-content {
    background-image: linear-gradient(90deg, #FFFFFF40, #FFFFFF00);
}

.ig-unit.main .ig-unit-content {
    box-shadow: 0 0 5px 0 #00444340;
}

.ig-unit img {
    width: 100%;
    object-position: top;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.ig-unit-bg {
    position: absolute;
    left: -100px;
    right: -100px;
    top: -100px;
    bottom: -100px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -10;
    mix-blend-mode: color-dodge;
    opacity: .1;
    transform: translate3d(0, 0, 0);
    display: none;
}

.home-entrance {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100vw;
}

.he-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 2em;
    height: 200px;
    align-items: center;
    position: relative;
}

.he-title-background-wrapper {
    position: absolute;
    z-index: -100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    max-height: 100vw;
}

.he-title-background {
    height: 100%;
    transform: translateY(32px);
}

.he-title-text {
    /*display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--padding-between);*/
    /*background-image: linear-gradient(90deg, #51A6DF, #00E8CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    color: #36C3EB;
    text-shadow: 0 0 10px white, 0 0 3px white, 0 0 20px white;
}

.he-title-text-bold {
    font-weight: 600;
    position: relative;
}

.he-title-text-dec {
    font-size: 1.5em;
    position: absolute;
    color: #ffffff50;
    z-index: -1;
    font-weight: 900;
    text-shadow: none;
}

.he-title-text-dec.right {
    left: .1em;
    bottom: -.1em;
}

.he-title-text-dec.left {
    right: .1em;
    top: -.1em;
}

.he-services {
    display: flex;
    flex-direction: row;
    gap: 50px 10px;
    align-items: stretch;
    justify-content: stretch;
    width: var(--max-width);
    max-width: var(--fixed-width);
    align-self: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.he-service-group {
    display: flex;
    flex-direction: row;
    gap: 50px 10px;
    align-items: stretch;
    justify-content: stretch;
    flex-basis: 400px;
    flex-grow: 1;
    flex-wrap: wrap;
}

.he-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 180px;
    flex-grow: 1;
    gap: 15px;
    padding-bottom: 20px;
}

.he-service-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 150px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px 0 #ffffff, inset 0 -1px 3px 0 #00444320;
    margin-top: -40px;
    border: 5px solid #F2FEFF;
    box-shadow: var(--lifted-shadow);
}

.he-service-title {
    font-weight: 600;
    text-shadow: 2px 2px white;
    max-width: 200px;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
}

.he-service-icon-wrapper > img {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes ig-pop {
    0% {
        transform: scale(.9);
        opacity: 0;
    }
    80% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pre-animate .pop-right, .pre-animate .pop-left, .pre-animate .pop-up {
    opacity: 0;
}
.animate .pop-right {
    animation: 400ms pop-right;
    animation-fill-mode: both;
    transform: translate3d(0, 0, 0);
}
.animate .pop-left {
    animation: 700ms pop-left;
    animation-fill-mode: both;
    transform: translate3d(0, 0, 0);
}
.animate .pop-up {
    animation: 300ms pop-up;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    transform: translate3d(0, 0, 0);
}

.seo-display .wd-display-position-wrapper {
    justify-content: flex-end;
    margin-bottom: -40px;
    padding-top: 20px;
}

.sd-listings {
    width: var(--rel-fixed-width);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--padding-within);
}

.sd-listings .pop-up:nth-child(1) {
    animation-delay: 450ms;
}
.sd-listings .pop-up:nth-child(2) {
    animation-delay: 300ms;
}
.sd-listings .pop-up:nth-child(3) {
    animation-delay: 150ms;
}

.sd-listing {
    border-radius: 10px;
    background-color: #F0F6F8;
    height: 140px;
    padding: 8px;
    gap: 8px;
    display: grid;
    grid-template-columns: 124px 1fr;
    grid-template-rows: 1.6fr repeat(4, 1fr);
}

.sd-listing > * {
    border-radius: 5px;
}

.sdl-image {
    background-color: #6F8487;
    grid-row: 1 / -1;
}

.sdl-title {
    color: #566ECC;
    font-weight: 600;
}

.sdl-text {
    background-color: #C0CCCF;
}

.sd-secondary > * {
    background-color: #CDE2E7;
}

.sd-primary {
    box-shadow: 0 1px 2px 0px #00444360, 0 3px 5px 0 #00444320, inset 0 0 0 1px white;
}
.sd-secondary {
    background-color: #DBEBEE;
}

.contact-form-wrapper {
    width: var(--fixed-width);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: var(--max-width);
    border: 1px solid var(--color-bg-dark);
    padding: var(--padding-around);
    border-radius: 15px;
    box-shadow: var(--lifted-shadow);
}

.form-unit {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@keyframes pop-right {
    from {
        transform: translateX(-15px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pop-left {
    from {
        transform: translateX(15px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pop-up {
    0% {
        transform: translateY(80px);
        opacity: 0;
    }
    70% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media only screen and (max-width: 900px) {
    .form-submit-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .a-button-wrapper {
        align-self: stretch;
    }

    .ig-grid {
        grid-template-columns: unset;
        grid-auto-rows: unset;
        grid-auto-flow: column;
        grid-auto-columns: 250px;
        justify-content: center;
    }

    .ig-grid.grid-width-1 {
        grid-template-rows: repeat(3, 150px);
        grid-template-columns: unset;
        grid-auto-columns: 200px;
    }

    .ig-grid.grid-width-2 {
        grid-template-rows: repeat(4, 150px);
        grid-template-columns: unset;
        grid-auto-columns: 150px;
    }

    .wide-display .content-wrapper .text-display {
        max-width: 100%;
        width: 100%;
    }

    .wd-display {
        position: relative;
        height: 350px;
        width: 100%;
    }

    .content-right .wd-display .wd-display-position-wrapper, .content-left .wd-display .wd-display-position-wrapper {
        left: 0;
        right: 0;
        top: -60px;
    }

    .ig-unit.pre .ig-unit-content {
        background-image: linear-gradient(180deg, #FFFFFF00, #FFFFFF40);
    }

    .ig-unit.post .ig-unit-content {
        background-image: linear-gradient(180deg, #FFFFFF40, #FFFFFF00);
    }

    .wide-display.content-right .content-wrapper {
        justify-content: flex-start;
    }

    .animate .ig-unit-content {
        animation: none;
        animation-fill-mode: both;
        transform: translate3d(0, 0, 0);
    }

    .he-title-text {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: flex;
        overflow-x: clip;
        width: 100%;
    }

    .he-title-text-dec.right {
        left: .1em;
        bottom: unset;
        top: -.1em;
    }

    .he-title-text-dec.left {
        right: .1em;
        top: unset;
        bottom: -.1em;
    }

    .seo-display .wd-display-position-wrapper {
        position: unset;
    }
}

