:root {
    --grigio: #AFB2B2;
    --viola: #441FB5;
}

@font-face {
    font-family: 'Founders Grotesk Bold';
    src:
        url('fonts/Founders Grotesk - Bold.otf') format('truetype'),
        url('fonts/Founders Grotesk - Bold.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Regular';
    src: url('fonts/Founders Grotesk - Regular.otf') format('truetype'),
        url('fonts/Founders Grotesk - Regular.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Semibold';
    src: url('fonts/Founders Grotesk - Semibold.otf') format('truetype'),
        url('fonts/Founders Grotesk - Semibold.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Text Bold';
    src: url('fonts/Founders Grotesk - Text Bold.otf') format('truetype'),
        url('fonts/Founders Grotesk - Text Bold.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Text Regular';
    src: url('fonts/Founders Grotesk - Text Regular.otf') format('truetype'),
        url('fonts/Founders Grotesk - Text Regular.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Text Medium';
    src: url('fonts/Founders Grotesk - Text Medium.otf') format('truetype'),
        url('fonts/Founders Grotesk - Text Medium.woff') format('woff');
}

@font-face {
    font-family: 'Founders Grotesk Text Semibold';
    src: url('fonts/Founders Grotesk - Text Semibold.otf') format('truetype'),
        url('fonts/Founders Grotesk - Text Semibold.woff') format('woff');
}

html,
body {
    scroll-behavior: smooth;
    overflow: auto;
}


body {
    margin: 0;
    padding: 0;
}

section#one {
    min-height: 100vh;
}

section#two {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5% 0 20% 0;
}

.header {
    display: flex;
    justify-content: space-between;
    height: 90px;
    align-items: center;
}

.menu {
    display: flex;
    gap: 80px;
}

@media all and (max-width: 767px) {
    .menu {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        gap: 25px;
        margin-top: 40px;
    }
}

.menu a {
    font-family: 'Founders Grotesk Semibold';
    font-size: 21px;
    line-height: 21px;
    color: var(--grigio);
    text-decoration: none;
    display: flex;
    gap: 5px;
}

.menu a:hover {
    color: var(--viola);
}

.menu a svg {
    width: 10px;
}

.menu a:hover path {
    fill: var(--viola)
}

.wrap {
    margin: 0 auto;
    max-width: 1640px;
    padding: 16px;
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
}

h1 {
    font-size: 48px;
    line-height: 62.4px;
    color: var(--viola);
    font-family: 'Founders Grotesk Regular';
    width: 50%;
    padding-top: 100px;
}

h1 b {
    font-family: 'Founders Grotesk Bold';
}

.learn-more-wrap {
    text-decoration: none;
}

.learn-more {
    font-family: 'Founders Grotesk Semibold';
    font-size: 36px;
    line-height: 43.2px;
    color: var(--grigio);
    display: flex;
    flex-direction: column;
    width: 20%;
    position: absolute;
    bottom: 50px;
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    .learn-more {
        font-family: 'Founders Grotesk Semibold';
        font-size: 36px;
        line-height: 43.2px;
        color: var(--grigio);
        display: flex;
        flex-direction: column;
        width: 100vw;
        position: relative;
        bottom: -110px;
        align-items: center;
    }
}

.learn-more:hover {
    color: var(--viola);
}

.learn-more:hover path {
    fill: var(--viola);
}

@-webkit-keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 18512.1015625px;
        stroke-dasharray: 18512.1015625px;
    }

    100% {
        stroke-dashoffset: 0;
        stroke-dasharray: 18512.1015625px;
    }
}

@keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 18512.1015625px;
        stroke-dasharray: 18512.1015625px;
    }

    100% {
        stroke-dashoffset: 0;
        stroke-dasharray: 18512.1015625px;
    }
}

.svg-elem-1 {
    -webkit-animation: animate-svg-stroke-1 30s cubic-bezier(0.6, 0.04, 0.98, 0.335) 0s both;
    animation: animate-svg-stroke-1 30s cubic-bezier(0.6, 0.04, 0.98, 0.335) 0s both;
}

.illustrazione {
    position: absolute;
    top: 200px;
    right: 0;
    width: 60vw;
}

h2 {
    font-size: 48px;
    line-height: 62.4px;
    color: var(--viola);
    font-family: 'Founders Grotesk Semibold';
    width: 50%;
    padding-top: 140px;
    color: var(--viola);
    text-align: center;
}

.one-half {
    width: 50%;
    background-color: var(--viola);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    position: relative;
}

.one-half .logo {
    height: 100px;
    display: flex;
    align-items: center;
    padding-bottom: 22px;
}

.one-half .logo svg {
    height: 100px;
}

.one-half h3 {
    font-family: 'Founders Grotesk Semibold';
    font-size: 36px;
    line-height: 32.5px;
    margin: 0;
}

.one-half p {
    font-family: 'Founders Grotesk Text Regular';
    font-size: 18px;
    line-height: 23.4px;
    margin: 0;
    padding-bottom: 80px;
}

.one-half .go-to-site {
    font-family: 'Founders Grotesk Semibold';
    font-size: 21px;
    line-height: 21px;
    color: #fff;
    text-decoration: none;
    position: absolute;
    bottom: 28px;
    display: flex;
    gap: 8px;
}

.one-half .go-to-site:hover {
    text-decoration: underline;
}

.inner-wrap {
    display: flex;
    gap: 30px;
}

hr {
    border-color: var(--grigio);
    width: 100%;
}

.company_wrap {
    padding-top: 24px;
}

footer {
    padding: 0 16px;
    min-height: 110px;
    display: flex;
    font-family: 'Founders Grotesk Text Medium';
    color: var(--grigio);
    font-size: 16px;
    justify-content: space-between;
    max-width: 1640px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    footer {
        column-gap: 20px;
    }
}

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

footer a:hover {
    color: var(--viola);
}

/* max width 767px */
@media all and (max-width: 767px) {
    .wrap {
        padding: 20px;
    }

    #one {
        display: flex;
        flex-direction: column;
    }

    .header {
        order: 1;
    }

    .illustrazione {
        order: 2;
        position: relative;
        width: 139%;
        height: 400px;
        display: flex;
        left: -62px;
        top: 20px;
    }

    h1 {
        order: 3;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .learn-more-wrap {
        margin: 70px 0 0;
        order: 3;
        text-decoration: none;
    }

    h2 {
        width: auto;
        font-size: 30px;
        line-height: 1.3em;
    }

    .learn-more {
        width: 100%;
        position: initial;
        font-size: 24px;
        display: flex;
        align-items: center;
    }

    .one-half {
        width: auto;
    }

    h1 {
        width: auto;
        text-align: center;
        font-size: 30px;
        line-height: 1.3em;
    }

    .inner-wrap {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        padding-bottom: 60px;
        gap: 40px;
    }

    .one-half h3 {
        font-size: 24px;
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {

    section#one {
        min-height: 70vh;
        overflow: hidden;
        position: relative;
    }

    .wrap {
        padding: 20px;
    }

    #one {
        display: flex;
        flex-direction: column;
    }

    .header {
        order: 1;
    }

    .illustrazione {
        order: 2;
        position: absolute;
        width: 65%;
        height: 373px;
        display: flex;
        right: -63px;
        top: 195px;
    }

    h1 {
        order: 3;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .learn-more-wrap {
        margin: 70px 0 0;
        order: 3;
        text-decoration: none;
    }

    h2 {
        width: auto;
        font-size: 30px;
        line-height: 1.3em;
    }

    .learn-more {
        width: 100%;
        position: initial;
        font-size: 24px;
        display: flex;
        align-items: start;
        margin-top: 20%;
    }

    .one-half {
        width: 50%;
    }

    h1 {
        width: 50%;
        font-size: 30px;
        line-height: 1.3em;
        margin-top: 100px;
    }

    .inner-wrap {
        flex-direction: row;
    }

    footer {
        flex-direction: column;
        padding-bottom: 60px;
        gap: 40px;
    }

    .one-half h3 {
        font-size: 24px;
    }
}