@font-face {
    font-family: "Circular Medium";
    src: url(fonts/CircularStd-Medium.otf) format("opentype");
}

@font-face {
    font-family: "Circular Bold";
    src: url(fonts/CircularStd-Bold.otf) format("opentype");
}

@font-face {
    font-family: "Circular Black";
    src: url(fonts/CircularStd-Black.otf) format("opentype");
}

@font-face {
    font-family: "Circular Book";
    src: url(fonts/CircularStd-Book.otf) format("opentype");
}

@font-face {
    font-family: "CircularBITALIC";
    src: url(fonts/CircularStd-BoldItalic.otf) format("opentype");
}

* {
    margin: 0;
    border: none;
    padding: 0;
}

a {
    color: inherit;
}

body {
    font-family: "Circular Book", sans-serif;
    color: white;
    background-color: #333;
}

header {
    font-family: "Circular Medium", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

header img.logo-faccia {
    height: 80px;
    margin-right: 15px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
    font-size: 1.2rem;
}

nav a:hover {
    color: white;
}

nav a.attuale {
    color: white;
    border-bottom: solid 3px white;
    padding: 5px;
}

div.alto-sinistro {
    display: flex;
    align-items: center;
}

.nome-grande {
    font-family: "Circular Bold", sans-serif;
    font-size: 2.1rem;
}

.sottotitolo {
    margin-top: -3px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

.container-piccolo {
    width: 70%;
    max-width: 700px;
    margin: auto;
}

.lead {
    width: 50%;
    max-width: 600px;
    text-align: center;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 30px;
    margin-top: 80px;
}

.lead p {
    margin-bottom: 10px;
}

.scrivimi-sfondo {
    font-family: "Circular Black", sans-serif;
    color: rgba(255, 255, 255, 0.2);
    font-size: 6.6rem;
    text-align: center;
}

.scrivimi-email {
    transition: 0.2s transform ease-in-out;
    font-size: 1.1rem;
    display: block;
    width: fit-content;
    margin: -50px auto 100px;
    text-decoration: none;
    background-color: white;
    border-radius: 100px;
    color: #444;
    padding: 12px 30px;
}

.scrivimi-email:hover {
    transform: translateY(-6px);
}

.container {
    width: 80%;
    max-width: 700px;
    margin: auto;
}

footer {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.area-home .img-area {
    transition: box-shadow .2s ease-in-out;
    height: 240px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.area-home:hover .img-area {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.area-home:hover .link-area-home {
    padding-right: 40px;
}

.area-home:hover .titolo-area-home {
    margin-left: -50px;
}

.area-home:hover .testo-area-home {
    margin-left: -50px;
}

.area-home .testo-area-home {
    transition: margin-left .5s ease-in-out;
}

.area-home .testo-spostato {
    margin-left: 140px;
    margin-top: -180px;
}

.area-home .titolo-area-home {
    transition: margin-left .2s ease-in-out;
    font-family: "Circular Bold", sans-serif;
    font-size: 2.5rem;
}

.area-home .link-area-home {
    transition: padding-right .9s ease-in-out;
    text-align: right;
    font-family: "CircularBITALIC", sans-serif;
    padding-top: 5px;
}

.area-home {
    text-decoration: none;
    display: block;
    margin-bottom: 80px;
}

.area-home img.freccina-home {
    height: 10px;
    margin-left: 10px;
}

.sfondo-pagina-dettaglio {
    background-color: rgba(0, 0, 0, 0.3);
}

.sfondo-ux {
    background-size: cover;
    background-position: center;
    background-image: url("img/ux-grande.jpg");
}
.sfondo-umano {
    background-size: cover;
    background-position: center;
    background-image: url("img/umano-grande.jpg");
}
.sfondo-web {
    background-size: cover;
    background-position: center;
    background-image: url("img/dev-grande.jpg");
}
.sfondo-app {
    background-size: cover;
    background-position: center;
    background-image: url("img/app-grande.jpg");
}

p {
    line-height: 1.6rem;
}

.sopra-aggettivi {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 30px;
}

.aggettivi {
    font-size: 3rem;
    font-family: "Circular Bold", sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

.sotto-aggettivi {
    text-align: justify;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.container-sito {
    width: 80%;
    max-width: 900px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
}

.preview-sito {
    height: 150px;
    width: 250px;
    background-size: cover;
    background-position: top;
    border-radius: 3px;
    margin-right: 25px;
}

.nome-sito {
    font-size: 1.5rem;
    font-family: "Circular Medium", sans-serif;
    padding-bottom: 10px;
}

.link-sito {
    padding-top: 10px;
    text-align: right;
}

.sinistra-sito {
    flex: 1;
}

.destra-sito{
    flex: 5;
}

h2.titolone {
    font-size: 5rem;
    text-align: center;
    font-family: "Circular Black", sans-serif;
    padding-top: 40px;
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.2);
}

.no-sottolineatura {
    text-decoration: none;
}

.no-sottolineatura:hover .sottotitolo {
    color: white;
}

.link-icona-menu {
    display: none;
}

.home-roles {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.home-roles__role {
    text-align:  center;
}

.home-roles__role-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.home-roles__role-description {
    opacity: 0.7;
}

.social-contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 50px;
}

.social-contacts a {
    transition: transform .2s ease, background-color .5s ease;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 80px;
}

.social-contacts a:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.4);
}
















/*
    TERRITORIO MOBILE
*/
@media screen and (max-width: 930px) {

    header img.logo-faccia {
        height: 50px;
        margin-right: 10px;
    }

    header {
        padding: 15px;
        display: block;
    }

    .nome-grande {
        font-size: 1.2rem;
    }

    .sottotitolo {
        font-size: .8em;
    }

    .lead {
        width: 85%;
        font-size: 1rem;
        margin-bottom: 30px;
        margin-top: 30px;
        text-align: left;
    }

    .icona-menu {
        position: absolute;
        float: right;
        top: 30px;
        height: 25px;
        right: 20px;
    }

    nav {
        display: none;
        padding-bottom: 10px;
    }

    nav a {
        display: block;
        width: auto;
        padding-top: 3px;
        padding-bottom: 3px;
        text-align: right;
        border: none !important;
    }

    .link-icona-menu {
        display: block;
    }

    .scrivimi-sfondo {
        font-size: 4.5rem;
    }

    .scrivimi-email {
        margin-top: -46px;
        font-size: 1rem;
        margin-bottom: 70px;
    }

    .area-home .img-area {
        height: auto;
        width: 100%;
        margin: auto;
        display: block;
        margin-bottom: 5px;
    }

    .area-home .testo-spostato {
        margin-left: 0;
        margin-top: -0px;
    }

    .area-home .titolo-area-home {
        font-size: 2rem;
    }


    .area-home:hover .link-area-home {
        padding-right: 0;
    }

    .area-home:hover .titolo-area-home {
        margin-left: 0;
    }

    .area-home:hover .testo-area-home {
        margin-left: 0;
    }

    .sopra-aggettivi {
        font-size: 1.3rem;
    }

    .aggettivi {
        width: 95%;
        margin: auto;
        margin-bottom: 40px;
        font-size: 2.4rem;
        line-height: 2.6rem;
        padding-top: 10px;
    }

    .container-piccolo {
        width: 85%;
    }

    h2.titolone {
        font-size: 3.2rem;
    }

    footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container-sito {
        display: block;
    }

    .preview-sito {
        width: 100%;
        height: 170px;
        margin-right: 0;
    }

    .nome-sito {
        text-transform: uppercase;
        font-size: 1.4rem;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .destra-sito p {
        font-size: .9rem;
    }

    .link-sito {
        text-align: center;
    }

    .social-contacts {
        padding: 20px;
    }

    .social-contacts a {
        flex: 1;
    }

}