@import url("https://use.typekit.net/ajc5ktr.css");

:root {
    --black:         #000000;
    --grey:          #F0EFF4;
    --white:         #F0EFF4;
    --white-100:     #FFF;
    --cyan:          #8BCED7;
    --purple:        #9D85BE;
    --red:           #ED174C;
    --yellow:        #E2E419;
    --font-title:   'Syne', sans-serif;
    --font-content: 'Questrial', sans-serif;
}

@keyframes hoveringShip {
    0% {
        transform: translateX(-200px);
    }

    50% {
        transform: translateX(200px);
    }

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

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
    font-family: 'Questrial', sans-serif;
    background-color: var(--black);
    color: var(--white);
}

body {
    overflow-x: hidden;
}

main {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(100% - 10px);
    border: 5px solid var(--black);
    background: linear-gradient(0deg, #8BCED7 5.64%, rgba(157, 133, 190, 0.50) 51.55%, rgba(0, 0, 0, 0.00) 95.67%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-title);

    & strong {
        font-family: hydrophilia-iced, sans-serif;
        font-weight: 400;
        font-style: normal;
    }
}

.cincinnati {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.cincinnati-rocket {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 100px;
    left: 0;
    margin-right: -500px;
}

.invader {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transition: all 350ms ease;
    animation: hoveringShip 20000ms ease infinite;
    pointer-events: none;
}

.cloud {
    position: absolute;
    pointer-events: none;
}

.cloud--left {
    top: 200px;
    left: 100px;
}

.cloud--right {
    top: 40%;
    right: 60px;
}

.small-invader {
    position: absolute;
}

.small-invader--purple {
    top: 300px;
    left: 45%;
}

.small-invader--cyan {
    top: 230px;
    right: 260px;
}

.character {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.character--left {
    margin-left: -800px;
}

.character--right {
    margin-right: -800px;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}


.wrapper {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 0 30px;
}

.cms-output {
    font-size: 18px;
    line-height: 32px;

    &.intro {
        font-size: 24px;
        line-height: 40px;
    }

    + .cms-output {
        margin-top: 30px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7.5px 10px;
    font-family: var(--font-content);
    font-size: 18px;
    line-height: 20px;
    border: 0;
    cursor: pointer;

    & svg {
        height: 12px;
    }

    &:hover {

        & svg {
            transform: scale(1.2);
        }
    }
}

.btn-primary--cyan {
    background-color: var(--cyan);
}

.link {
    display: inline-flex;
    gap: 25px;
    padding: 10px;
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 600;
    line-height: 35px;
    text-decoration: none;

    & svg {
        width: 100%;
        max-width: 35px;
        height: 35px;
    }
}

.link--white {
    color: var(--white);

    & svg {

        & path {
            fill: var(--white);
        }
    }

    &:hover {
        background: var(--black);
    }
}

/* FOREFRONT */

.forefront {
    position: relative;
    padding: 150px 0;
    z-index: 4;
}

.forefront__logo {
    display: flex;
    align-items: center;

    & span {
        margin-left: 20px;
        font-size: 17px;
        line-height: 21px;
    }
}

.forefront__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 90px;

    & h1 {
        margin-bottom: 50px;
        font-size: 48px;
        line-height: 56px;
        font-weight: 600;
    }
}

.forefront__content {
    width: 100%;
    max-width: 610px;
}

.forefront__info {
    width: 100%;
    max-width: 750px;

    & h2 {
        margin-bottom: 40px;
        font-family: var(--font-content);
        font-size: 24px;
        line-height: 32px;
    }

    & form {

        & .form-item {
            display: flex;
            align-items: center;

            &:not(:nth-last-child(1)) {
                margin-bottom: 20px;
            }

            &.is-textarea {
                align-items: flex-start;

                & .form-icon {
                    margin-top: 10px;
                }
            }
        }

        & .form-icon {
            display: flex;
            margin-right: 15px;

            & svg {
                height: 100%;
                max-height: 35px;
                width: 35px;
            }
        }

        & input[type='text'],
        & input[type='email'] {
            width: 320px;
            max-width: 320px;
            height: 40px;
            padding: 5px 15px;
            font-size: 18px;
            line-height: 24px;
            border: 0;
            font-family: var(--font-content);


            &::placeholder {
                font-family: var(--font-content);
                opacity: 0.4;
                color: var(--black);
            }
        }

        & textarea {
            width: 320px;
            max-width: 320px;
            height: 120px;
            padding: 5px 15px;
            font-size: 18px;
            line-height: 24px;
            border: 0;
            resize: none;

            &::placeholder {
                font-family: var(--font-content);
                opacity: 0.4;
                color: var(--black);
            }
        }

        & .btn {
            margin-left: 50px;
        }
    }
}

.forefront__link {
    margin-top: 75px;
}

.forefront__company-info {
    margin-left: 0;

    & h3 {
        margin-bottom: 30px;
        font-weight: 700;
    }

    & .company-info {
        display: flex;

        & .icon {
            width: 35px;
            margin-right: 15px;

            & svg {
                width: 100%;
                max-width: 20px;
                height: auto;
                transform: translateY(4px);
            }
        }

        & .content {

          & a {
              color: var(--white);
          }
        }


        &.general {
            margin-bottom: 40px !important;
        }

        &:not(:nth-last-child(1)) {
            margin-bottom: 20px;
        }
    }
}


.powered-by-iris {
    position: absolute;
    right: 50px;
    bottom: 25px;

    & a {
        color: var(--white);
    }
}

@media only screen and (max-width: 991px) {

    html,
    body {
        font-size: 16px;
    }

    main {
        flex-wrap: wrap;
        width: calc(100% - 10px);
        height: unset;
        overflow-x: hidden;

        & h1 {
            font-size: 35px !important;
            line-height: 42px !important;
        }
    }

    .cms-output {
        font-size: 16px;
        line-height: 24px;

        &.intro {
            font-size: 16px;
            line-height: 24px;
        }
    }

    .invader,
    .cloud,
    .character,
    .small-invader,
    .cincinnati,
    .cincinnati-rocket {
        display: none;
    }

    .forefront {
        padding: 30px 0;
    }

    form {
        width: 100%;

        & input,
        & textarea {
            width: calc(100% - 50px) !important;
            max-width: calc(100% - 50px) !important;
        }
    }

    .forefront__content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .forefront__link {
        margin-top: 35px !important;
    }

    .forefront__company-info {
        max-width: 100%;
        margin-top: 50px;
        margin-left: 50px;
    }

    .powered-by-iris {
        width: 100%;
        position: unset;
        padding: 30px;
    }
}