@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    scroll-behavior: smooth;
}

body {
    color: #404040;
    font-family: 'Google Sans Flex', Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin: 0;
    padding: 0;
    --color-noventiq: rgb(9, 44, 118);
    --color-blue: #4285F4;
    --color-green: #34A853;
    --color-red: #EA4335;
    --color-yellow: #FBBC04;
}

a {
    text-decoration: none;
}

header {
    background: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
}

header .mw1200 {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 8px 20px;
}

header button {
    background: none;
    border: none;
    display: none;
    outline: none;
}

header button svg {
    height: 24px;
    width: 24px;
}

header img {
    max-width: 320px;
    width: 80%;
}

header .logo {
    flex: 1;
}

header a,
.mobnav a {
    color: var(--color-noventiq);
    font-weight: 600;
    text-transform: uppercase;
}

section {
    padding: 20px;
}

section .title {
    color: var(--color-noventiq);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

section .subtitle {
    padding: 20px;
    text-align: center;
}

.mw1200 {
    margin: auto;
    max-width: 1200px;
}

.red-button {
    background: var(--color-red);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-top: 1vh;
    outline: none;
    padding: 8px 20px;
}

.barrier {
    background: transparent;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition-duration: .5s;
    z-index: 10;
}

.barrier.show {
    background: #40404080;
    display: unset;
}

.mobnav {
    background: white;
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    padding: 40px;
    transform: translateX(-100%);
    transition-duration: .5s;
}

.mobnav.show {
    transform: translateX(0);
}

#hero {
    background: url("assets/banner.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    margin-top: min(100px, 20%);
    min-height: min(80vw, 480px);
    padding: 20px;
}

#hero .mw1200 {
    margin-top: 0;
}

#hero .title {
    font-size: clamp(1.25rem, 4vw, 2rem);
    text-transform: uppercase;
    width: max(65%, 300px);
}

#hero .money {
    font-size: clamp(1.5rem, 6vw, 3rem);
}

#hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 1.5vh;
    width: max(65%, 300px);
}

#hero .button {
    font-size: 1.25rem;
    margin-top: 3vh;
}

#development .content {
    display: flex;
    flex-direction: row;
    gap: 60px;
    padding: 20px;
}

#development .content-title {
    background-image: url("assets/puzzle.png");
    background-repeat: no-repeat;
    font-size: 1.05rem;
    font-weight: 500;
    min-height: 44px;
    padding-left: 32px;
}

#development .content-subtitle {
    margin-top: 8px;
    padding-left: 32px;
}

#about,
#steps,
#products,
#contact {
    background-color: #f0f0f0;
}

#steps .diagram {
    display: flex;
    flex-direction: row;
    min-height: 600px;
    position: relative;
}

#steps .step {
    flex: 1;
}

#steps .step:nth-child(1) {
    margin-top: 500px;
    transform: translateX(40%);
}

#steps .step:nth-child(2) {
    margin-top: 375px;
    transform: translateX(20%);
}

#steps .step:nth-child(4) {
    margin-top: 250px;
}

#steps .step:nth-child(5) {
    margin-top: 125px;
    transform: translateX(-20%);
}

#steps .step:nth-child(7) {
    transform: translateX(-40%);
}

#steps .step .step-number {
    color: var(--color);
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 20px;
}

#steps .step:nth-child(1) .step-number {
    padding-left: 40px;
    --color: var(--color-blue);
}

#steps .step:nth-child(2) .step-number {
    padding-left: 40px;
    --color: var(--color-red);
}

#steps .step:nth-child(4) .step-number {
    padding-left: 20px;
    --color: var(--color-yellow);
}

#steps .step:nth-child(5) .step-number {
    padding-left: 20px;
    --color: var(--color-blue);
}

#steps .step:nth-child(7) .step-number {
    padding-left: 10px;
    --color: var(--color-green);
}

#steps .step .step-content {
    background-size: 8vw;
    background-repeat: no-repeat;
    box-sizing: content-box;
    padding-bottom: 90px;
    padding-left: 8vw !important;
    padding-left: 3vw;
}

#steps .step:nth-child(1) .step-content {
    background-image: url('assets/step_1.svg');
}

#steps .step:nth-child(2) .step-content {
    background-image: url('assets/step_2.svg');
}

#steps .step:nth-child(4) .step-content {
    background-image: url('assets/step_3.svg');
}

#steps .step:nth-child(5) .step-content {
    background-image: url('assets/step_4.svg');
    padding-left: 9vw !important;
}

#steps .step:nth-child(7) .step-content {
    background-image: url('assets/step_5.svg');
    padding-left: 9vw !important;
}

#steps .step .step-title {
    font-style: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

#performance .divider {
    fill: #d8d8d8;
    padding: 20px;
}

#performance .divider.short {
    display: none;
}

#performance .divider.long {
    grid-column: span 6;
    margin: auto;
    max-width: 800px;
    width: 100%;
}

#performance .diagram {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
}

#performance .diagram .card {
    border: 2px solid var(--border);
    border-radius: 12px;
    grid-column: span 2;
    line-height: 1.8rem;
    padding: 20px;
    --border: var(--color-blue);
}

#performance .diagram .card:nth-child(3) {
    --border: var(--color-red);
}

#performance .diagram .card:nth-child(5) {
    --border: var(--color-yellow);
}

#performance .diagram .card:nth-child(8) {
    grid-column: 2 / span 2;
}

#performance .diagram .card:nth-child(10) {
    --border: var(--color-green);
}

#performance .diagram .card .content-title {
    font-weight: bold;
    margin-bottom: 8px;
}

#products .products {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
    margin: auto;
    max-width: 720px;
}

#products .product {
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    font-weight: bold;
    grid-column: span 2;
    padding: 20px;
    text-align: center;
}

#products .product:nth-child(7) {
    align-self: end;
    grid-column: 2 / span 2;
}

#products .product img {
    aspect-ratio: .5;
    margin-bottom: 12px;
    object-fit: contain;
    width: 40%;
}

#products .product .name {
    display: block;
    min-height: 40px;
}

#testimonials .testimonials {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
}

#testimonials .testimonial {
    border: 1px solid var(--color-noventiq);
    border-radius: 12px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    grid-column: span 2;
    line-height: 1.8rem;
}

#testimonials .testimonial .title {
    color: black;
    font-size: 1rem;
    padding-bottom: 0;
    text-align: left;
}

#testimonials .testimonial .subtitle {
    font-size: 1rem;
    margin-top: 0;
    text-align: left;
}

#contact form {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: auto;
    max-width: 600px;
}

#contact input {
    background: none;
    border: 1px solid gray;
    border-radius: 8px;
    font-family: 'Google Sans Flex', Arial, Helvetica, sans-serif;
    outline: none;
    padding: 12px 20px;
}

#contact input[type="submit"] {
    align-self: start;
    background: var(--color-noventiq);
    color: white;
    font-size: 1.05rem;
    font-weight: bold;
    padding: 12px 40px;
}

footer {
    background-color: black;
    color: white;
    font-weight: 500;
    line-height: 1.6rem;
    padding: 20px;
}

footer .mw1200 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

footer .mw1200 div {
    flex: 1;
}

footer .mw1200 img {
    max-width: 340px;
    width: 100%;
}

footer a {
    color: white;
}

footer a.social {
    align-items: center;
    border: 1px solid white;
    border-radius: 4px;
    display: inline-flex;
    padding: 4px;
}

footer a.social svg {
    fill: white;
    height: 16px;
    width: 16px;
}

table,
th,
td {
    border: 1px solid gray;
    border-collapse: collapse;
}

table {
    width: 100%;
}

th,
td {
    padding: 8px;
}

.nothing-here {
    text-align: center;
}

.hidden {
    display: none;
}

#customers-section {
    margin: auto;
    padding-top: 80px;
    width: 95%;
}

#messenger {
    align-items: center;
    bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    right: 20px;
    z-index: 20;
}

#messenger-text {
    background: #0078FF;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    color: #ffffff;
    font-size: 1.1rem;
    margin-right: 12px;
    padding: 8px 12px;
}

#messenger-text a {
    color: #ffffff;
    text-decoration: none;
}

#messenger-button {
    background: #0078FF;
    border: none;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    cursor: pointer;
    fill: #ffffff;
    height: 60px;
    outline: none;
    padding: 12px;
    width: 60px;
}

@media (max-width: 900px) {
    header button {
        display: unset;
    }

    header a {
        display: none;
    }

    #development .content {
        flex-direction: column;
        text-align: center;
    }

    #development .content-title {
        display: inline-block;
    }

    #steps .diagram {
        background-position: 0 45%;
        background-repeat: no-repeat;
        background-size: 50%;
        flex-wrap: wrap;
        gap: 4%;
        height: unset
    }

    #steps .lines {
        width: 50%;
    }

    #steps .lines:nth-child(6) {
        transform: translateY(-20px);
    }

    #steps .step {
        flex: unset;
        margin-top: 0 !important;
        transform: translate(0, 0) !important;
        width: 48%;
    }

    #steps .step:nth-child(4),
    #steps .step:nth-child(5) {
        padding-left: 0 !important;
        transform: translateY(-20px) !important;
    }

    #steps .step:nth-child(7) {
        padding-left: 0 !important;
        transform: translateY(-40px) !important;
    }

    #steps .step .step-number {
        padding-left: 0 !important;
    }

    #steps .step .step-content {
        background-image: none !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
    }

    #steps .step:nth-child(4) .step-content,
    #steps .step:nth-child(5) .step-content,
    #steps .step:nth-child(7) .step-content {
        padding-left: 0 !important;
    }

    #performance .diagram {
        gap: 0px;
    }

    #performance .divider.short {
        display: unset;
        grid-column: span 6;
        height: 20px;
        margin: auto;
        text-align: center;
    }

    #performance .divider.long {
        display: none;
    }

    #performance .diagram .card,
    #performance .diagram .card:nth-child(8) {
        grid-column: span 6;
    }

    #testimonials .testimonial {
        grid-column: span 3;
    }

    #testimonials .testimonial:last-child {
        grid-column: span 6;
    }
}

@media (max-width: 600px) {

    section .title {
        font-size: 1.35rem;
    }

    #about .subtitle,
    #performance .subtitle {
        text-align: left;
    }

    #products .product {
        grid-column: span 3;
    }

    #products .product:nth-child(7) {
        grid-column: 1 / span 3;
    }

    #products .product .name {
        font-size: .8rem;
    }

    #testimonials .testimonial {
        grid-column: span 6;
    }

    #messenger-text {
        font-size: 0.9rem;
    }

    #messenger-button {
        height: 48px;
        width: 48px;
    }

    footer .mw1200 {
        flex-direction: column;
    }
}