:root {
    --color-background: #ffffff;
    --color-primary: #5f54fd;
    --color-secondary: #8b81ff;
    --color-tertiary: #f7f368;
    --color-text: #171621;

    --color-banner-primary: #7c83ff;
    --color-banner-secondary: #969cff;
    --color-banner-tertiary: #eff0ff;

    --color-grey: #dcdcdc;

    --border-width: 2px;
}

*::-moz-selection, *::selection {
    background-color: var(--color-text);
    color: var(--color-background);
}

div.banner *::-moz-selection, div.banner *::selection {
    background-color: var(--color-background);
    color: var(--color-text);
}

* {
    font-family: 'Outfit', system-ui, sans-serif;
    box-sizing: border-box;
    color: var(--color-text);
}

html {
    background-color: var(--color-background);
}

body {
    margin: 0;
}

a.button, button {
    background-color: var(--color-background);
    border: 3px solid var(--color-primary);
    border-bottom-width: 5px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    width: max-content;
}

a.button:active, button:active {
    border-bottom-width: 3px;
    transform: translateY(2px);
    margin-top: 2px;
}

h1 u {
    text-decoration-thickness: 14px;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin: 3rem 0;
}

h3 {
    font-size: 2.2rem;
    text-align: center;
}

p, span, li, div.banner a {
    font-size: 1.2rem;
    line-height: 1.4rem;
    color: var(--color-text);
}

address {
    font-style: normal;
}

a {
    color: var(--color-primary);
    text-decoration-thickness: var(--border-width);
    font-weight: 600;
}

hr {
    height: var(--border-width);
    border: none;
    background-color: var(--color-primary);
}

.icon {
    padding-left: 1.8rem;
    background-position: 0 50%;
    background-size: 22px 22px;
    background-repeat: no-repeat;
}

footer .icon.phone { background-image: url(icon-phone-primary.svg); }
footer .icon.mail { background-image: url(icon-mail-primary.svg); }
footer .icon.mail { background-image: url(icon-mail-primary.svg); }

.icon.phone { background-image: url(icon-phone.svg); }
.icon.mail { background-image: url(icon-mail.svg); }
.icon.inventory { background-image: url(asset-inventory.svg); }
.icon.processes { background-image: url(asset-processes.svg); }
.icon.management { background-image: url(asset-management.svg); }
.icon.blog { background-image: url(icon-blog.svg); }
.icon.landing { background-image: url(icon-home.svg); }
.icon.design { background-image: url(icon-device.svg); }

nav {
    display: flex;
    width: 100vw;
    height: min-content;
    padding: 0.7rem 2rem;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: var(--color-background);
}

footer nav {
    justify-content: center;
    gap: 2rem;
}

footer nav a {
    font-size: 1.2rem;
}

header {
    position: sticky;
    top: 0;
}

footer {
    margin: 1rem 0;
}

nav > a.logo {
    background-color: var(--color-primary);
    padding: 0.3rem 0.7rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

nav a.contact {
    background-color: var(--color-background);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-bottom-width: 4px;
    padding: 0.2rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    width: max-content;
}

nav a.contact:active {
    border-bottom-width: 2px;
    transform: translateY(2px);
    margin-top: 2px;
}

nav > div.links, nav > address {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav > address {
    padding: 0.4rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
    line-height: 1.6rem;
}

div.banner {
    background-color: var(--color-primary);
    width: 100vw;
    height: 40vh;
    min-height: max-content;
    display: flex;
    justify-content: center;
    padding: 0 0 0 6rem;
    flex-flow: column;
    gap: 2rem;
}

div.banner.center {
    align-items: center;
    padding: 0;
    background-color: var(--color-banner-tertiary);
}

div.banner.split {
    background-color: var(--color-banner-primary);
    display: grid;
    grid-template-columns: 3fr 2fr;
}

div.banner * {
    color: var(--color-text);
}

div.banner.split div.first {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-flow: column;
}

div.banner.split div.second {
    background-color: var(--color-banner-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

div.banner.split div.second div {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-flow: column;
}

div.banner.split div.second h2 {
    margin: 0;
}

div.banner h1 {
    margin: 0;
    font-size: 7rem;
    color: var(--color-text);
    text-align: left;
}

div.banner.center h1 {
    text-align: center;
}

div.banner a.button {
    padding: 0.8rem 1.6rem;
    background: none;
}

div.banner div, div.banner address {
    display: flex;
    gap: 2rem;
}

div.banner a {
    color: var(--color-text);
}

article, section, main {
    width: 60vw;
    margin: 6rem auto;
}

div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

div.product img {
    width: 15rem;
    height: 15rem;
    margin: auto;
}

div.products-range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

div.products-range > div  {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-flow: column;
}

div.products-range > div > img {
    max-width: 100%;
    height: 25rem;
    border: 3px solid var(--color-grey);
    border-radius: 10px;
    padding: 2rem;
}

div.projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

div.projects > div {
    display: flex;
    flex-flow: row;
    gap: 2rem;
}

div.projects > div > * {
    width: 50%;
}

div.projects > div > h3 {
    border: 3px solid var(--color-primary);
    border-radius: 10px;
    padding: 2rem;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.step-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

div.step-grid * {
    text-align: left;
}

.step {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background);
    border: 3px solid var(--color-grey);
}

.step img {
    width: 80%;
    height: 80%;
}

@media only screen and (max-height: 1000px) {
    div.banner {
        height: 50vh;
    }
}

@media only screen and (max-height: 800px) {
    div.banner {
        height: 70vh;
    }
}

@media only screen and (max-height: 600px) {
    div.banner {
        height: 70vh;
    }
}

@media only screen and (min-height: 300px) and (max-height: 600px) {

    div.banner h1 { font-size: 5rem; }
    div.banner {
        height: 90vh;
    }
}

@media only screen and (max-width: 1280px) and (max-aspect-ratio: 16 / 9) {
    h1 {
        font-size: 3rem !important;
        margin: 1rem 0;
    }

    h1 u {
        text-decoration-thickness: 6px;
    }

    div.banner.center h1 {
        font-size: 4rem !important;
    }

    h2 {
        font-size: 2.4rem;
        margin: 2rem 0;
    }

    h3 {
        font-size: 2rem;
    }

    div.product img {
        width: 12rem;
        height: 12rem;
        margin: auto;
    }

    div.products-range > div > img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
    }

    div.banner {
        height: 50vh;
    }

    div.banner.split {
        background-color: var(--color-banner-primary);
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    article, section, main {
        width: 60vw;
        margin: 2rem auto;
    }
}

@media only screen and (max-width: 1080px) and (max-aspect-ratio: 16 / 9) {
    h1 {
        font-size: 3rem !important;
        margin: 1rem 0;
    }

    h1 u {
        text-decoration-thickness: 6px;
    }

    div.banner.center h1 {
        font-size: 4rem !important;
    }

    h2 {
        font-size: 2.4rem;
        margin: 2rem 0;
    }

    h3 {
        font-size: 2rem;
    }

    div.banner {
        height: 50vh;
    }

    div.banner.split {
        background-color: var(--color-banner-primary);
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    article, section, main {
        width: 60vw;
        margin: 2rem auto;
    }

    div.products-range > * {
        width: calc(20vw - 2rem);
        text-align: center;
    }
}

@media only screen and (max-width: 1080px) and (max-aspect-ratio: 21 / 9) and (min-aspect-ratio: 16 / 9) {
    h1 {
        font-size: 3rem !important;
        margin: 1rem 0;
    }

    h1 u {
        text-decoration-thickness: 6px;
    }

    div.banner.center h1 {
        font-size: 4rem !important;
    }

    h2 {
        font-size: 2.4rem;
        margin: 2rem 0;
    }

    h3 {
        font-size: 2rem;
    }

    div.banner {
        height: 80vh;
    }

    div.banner.split {
        background-color: var(--color-banner-primary);
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    article, section, main {
        width: 60vw;
        margin: 2rem auto;
    }

    div.products-range > * {
        width: calc(20vw - 2rem);
        text-align: center;
    }
}

@media only screen and (max-width: 900px) {
    h1 {
        font-size: 3.6rem !important;
        margin: 1rem 0;
    }

    div.banner.center h1 {
        font-size: 4rem !important;
    }

    h2 {
        font-size: 2.5rem;
        margin: 2rem 0;
    }

    h3 {
        font-size: 2rem;
    }

    article, section, main {
        width: 90vw;
        margin: 2rem auto;
    }

    div.product img {
        width: 16rem;
        height: 16rem;
        margin: auto;
    }

    div.products-range {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    div.products-range > div > img {
        width: 100%;
        height: 100%;
        max-width: initial;
        padding: 1rem;
    }

    div.products-range > div {
        width: 100%;
        height: 100%;
    }

    div.product {
        display: flex;
        flex-flow: column;
    }

    div.banner {
        padding: 0 5vw;
    }

    div.banner.split {
        grid-template-columns: 1fr;
        padding: 0;
    }

    div.banner.split div.first {
        display: none;
    }

    div.banner.split div.second {
        padding: 0 5vw;
        text-align: left;
        align-items: start;
    }

    div.projects {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    div.projects > div {
        display: flex;
        flex-flow: column-reverse;
        gap: 1rem;
    }

    div.projects > div > * {
        width: 100%;
    }


    p, span, li, div.banner a {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    footer nav a {
        font-size: 1rem;
    }
}

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

}

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

}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 2.2rem !important;
        margin: 1rem 0;
    }

    div.banner.center h1 {
        font-size: 3rem !important;
    }

    h2 {
        font-size: 1.9rem;
        margin: 2rem 0;
    }

    h3 {
        font-size: 1.4rem;
    }

    article, section, main {
        width: 90vw;
        margin: 2rem auto;
    }

    div.product img {
        width: 12rem;
        height: 12rem;
        margin: auto;
    }

    div.products-range {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    div.products-range > div > img {
        width: 100%;
        height: 100%;
        max-width: initial;
        padding: 1rem;
    }

    div.products-range > div {
        width: 100%;
        height: 100%;
    }

    div.product {
        display: flex;
        flex-flow: column;
    }

    div.step-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    div.banner {
        padding: 0 5vw;
    }

    div.banner.split {
        grid-template-columns: 1fr;
        padding: 0;
    }

    div.banner.split div.first {
        display: none;
    }

    div.banner.split div.second {
        padding: 0 5vw;
        text-align: left;
        align-items: start;
    }

    div.projects {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    div.projects > div {
        display: flex;
        flex-flow: column-reverse;
        gap: 1rem;
    }

    div.projects > div > * {
        width: 100%;
    }


    p, span, li, div.banner a {
        font-size: 0.9rem;
        line-height: 1.4rem;
    }

    footer nav a {
        font-size: 1rem;
    }

    .mobile-hide {
        display: none;
    }
}

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

}

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

}