@import url('https://fonts.googleapis.com/css2?family=Emblema+One&family=Licorice&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "montserrat";
}

svg#logo {
    stroke: #fff;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: logo 3s linear both;
    transition: 2s;
}



@keyframes logo {
    0% {
        stroke-dashoffset: 500;
    }

    50% {
        stroke-dashoffset: 000;

    }

    70% {
        fill: none;

    }

    100% {
        fill: var(--cp1);
    }
}

:root {
    --cp1: hsl(202, 71%, 49%);
    --cp-30: hsl(202, 71%, 49% / .3);
    --color-bg: #111;
}


html {
    font-size: 20px;
    background: var(--color-bg);
    color: #fff;
}

header :is(a:active, a:hover, a:visited, a) {
    color: var(--cp1);
    text-decoration: none;
}

.logo {}

/* Font Family */
h1,
h3 {
    font-family: "Emblema one";
}

h2 {
    font-family: "Poppins";
}

/* Font Size */
h1 {
    font-size: clamp(1em, 1em + 3vw, 3em)
}

h2 {
    font-size: clamp(1em, 1em + 1vw, 3em);
}

h3:not(.box h3) {
    font-size: clamp(1em, 0.8em + 3vw, 3em)
}

p {
    font-size: 1.2em;
}

a {
    text-decoration: none;
}

.brand {
    font-family: "Licorice";
    font-size: 1.4em;
    color: var(--cp1);
}

/* HERO */
.hero .content>* {
    margin-bottom: 5em;
}

.title-wrap {
    h1 {
        text-align: right;
        text-wrap: nowrap;
    }
}

.text-cta {
    width: 50%;
    margin-inline: auto;

    .flex-row {
        align-items: center;
        justify-content: center;
        gap: 0 1em;
        margin-top: 0.5em;


        .cta-invers {
            border: 0.1em solid var(--cp1);
            border-radius: 0.4em;
            color: var(--cp1);
            box-shadow: 1px 1px 0em var(--cp1);
        }

        .cta:hover,
        .cta-invers:hover {
            box-shadow: 1px 1px 0.60em var(--cp1);

        }
    }
}

.cta {
    background: var(--cp1);
    border-radius: 0.4em;
}

/* Chi Sono */
section.chi-siamo {
    position: relative;


    h3 {
        margin-top: 1em;
    }
}

.chi-siamo::after {
    content: "";
    position: absolute;
    inset: -1em;
    background: var(--cp1);
    transform: skew(25deg);
    z-index: -1;
    border-radius: 15px;
    width: 70vw;
    margin: 0 auto;
}

.chi-siamo::before {
    content: "";
    position: absolute;
    inset: -1em;
    background: var(--cp-30);
    transform: skew(-25deg);
    z-index: -1;
    border-radius: 15px;
    width: 70vw;
    margin: 0 auto;
}

.box .description {
    border-right: 1px solid #eee;
    container-type: inline-size;

    p {
        font-size: 9cqi;
    }
}

/* Flusso di lavoro */

.operandi {
    position: relative;
}

.operandi::after {
    content: "";
    position: absolute;
    inset: -3em;
    transform: skew(20deg) rotate(-5deg);
    border-radius: 50px;
    background: linear-gradient(15deg, var(--cp1) 2%, var(--cp-30) 30%, transparent);
    z-index: -1;
}

.resize {
    width: fit-content !important;
    height: 50px !important;

    p {
        display: none;
    }
}