/* @import url(../font/stylesheet.css); */
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow: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');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --color-main: #aaa;
    --color-background: #131619;
    --color-grey: #aaa;
}

/* GENERAL */

html, body{
    width: 100%;
    height: 100%;
    font-family: 'Barlow', sans-serif;
}

body{
    font-size: 10px;
    position: relative;
    background-color: var(--color-background);
}
section{
    padding-bottom: 8em;
}
*::after{
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}
a{
    text-transform: uppercase;
    display: inline-block;
    color: white;
    font-size: 1.3em;
}
a:hover{
    text-decoration: none;
    color: white;
}

.arrow{
    padding-right: 10px;
    position: relative;
    top: -1px;
}
.arrow img{
    width: 30px;
}
.arrow.right{
    top: -2px;
}
.arrow.right img{
    transform: rotate(180deg);
}

/* HEADER */
header{
    height: 80px;
    width: 100%;
    padding: 15px 0;
}
header *{
    height: 100%;
}
header .logo img{
    position: relative;
    z-index: 100;
}

.hamburger-menu, .close{
    width: 32px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    gap: 10px;
    flex-direction: column;
    z-index: 100;
}

.hamburger-menu .line{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 1px;
    background-color: white;
    display: block;
    top: 40%;
    position: absolute;
    right: 0;
}
.hamburger-menu .line.small{
    width: 24px;
    transition: all .5s ease;
    position: absolute;
    right: 8px;
    top: 60%;
}
.close{
    color: white;
    opacity: 1;
    text-shadow: unset;
}
.close .line{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 25.5px;
    height: 1px;
    background-color: white;
    display: block;
    top: 50%;
    position: absolute;
    right: 0;
    transform: rotate(45deg);
    transition: all .5s ease;
}
.close .line.small{
    transition: all .5s ease;
    position: absolute;
    right: 0px;
    top: 50%;
    width: 25.5px;
    transform: rotate(-45deg);
    transition: all .5s ease;
}
.hamburger-menu:hover .line.small{
    width: 100%;
    right: 0;
}
.close:hover .line.small{
    transform: rotate(0);
}

/* INTRO */
#intro{
    padding-top: 8em;
}
#intro .title{
    color: white;
    font-size: 70px;
    line-height: 1.2;
    font-family: 'Staatliches', cursive;
}

/* WHAT */
.what{
    padding-bottom: 15em;
}
.what .when{
    /* color: #7d8085; */
    /* opacity: 0.5; */
    color: var(--color-grey);
    text-transform: uppercase;
    padding-bottom: .5em;
}
.what .languages{
    color: white;
    font-size: 12px;
}
.what .scroll-down{
    color: white;
    text-transform: uppercase;
    display: flex;
    flex-direction: row-reverse;
}
.what .scroll-down div{
    transform: rotate(-90deg) translateX(-50px);
}
.what .languages .line{
    height: 1px;
    width: 30px;
    margin-right: 15px;
    display: inline-block;
    background-color: var(--color-grey);
    position: relative;
    top: 10px;
}

/* VIDEO */
.video{
    padding-bottom: 6em;
}
.img-container{
    width: 1204px;
    height: 736px;
    position: relative;
    margin: auto;
}
.img-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.absolute-container{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.video-container{
    width: 984px;
    height: 636px;
    max-width: 980px;
    margin: auto;
    position: relative;
}

.video-container img{
    position: absolute;
    top: 17px;
}

/* TEXT */
.only-text{
    font-size: 20px;
    color: white;
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    position: relative;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* CLIENTS */
.clients [class*="col-"]{
    margin-bottom: 1em;
}
.clients img{
    max-width: 100px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
}

/* INFO */
.info{
    padding-top: 2em;
    padding-bottom: 12em;
}
.info .item{
    display: flex;
    flex-direction: column;
}
.info .item .title{
    font-size: 24px;
    margin: 8px 0;
    line-height: 2rem;
    font-weight: 600;
    color: white;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    position: relative;
}
.info .item .text{
    margin: 8px 0;
    font-size: 16px;
    color: white;
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    position: relative;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.info .item .arrow{
    width: 32px;
    margin-top: 8px;
    padding: 0;
    transition: all .2s ease-in;
    top: 0;
    cursor: pointer;
}
.info .item .arrow:hover img{
    transform: translateX(15px);
}
.info .item .arrow img{
    cursor: pointer;
    width: 100%;
    transition: all .2s ease-in;
}
.info .item .img img{
    width: 100%;
    height: 400px;
    object-fit: contain;
}

/* FOOTER */
.footer .title, #menu .left .title{
    color: white;
    font-size: 40px;
    line-height: 1.2;
}
.email{
    padding-top: 4em;
}
.email a{
    line-height: 3em;
    letter-spacing: 2px;
}
.email a::after{
    -webkit-transition: -webkit-transform .3s cubic-bezier(0.165,0.84,0.44,1);
    transition: -webkit-transform .3s cubic-bezier(0.165,0.84,0.44,1);
    -o-transition: transform .3s cubic-bezier(0.165,0.84,0.44,1);
    transition: transform .3s cubic-bezier(0.165,0.84,0.44,1);
    transition: transform .3s cubic-bezier(0.165,0.84,0.44,1),-webkit-transform .3s cubic-bezier(0.165,0.84,0.44,1);
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: currentColor;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
}
.email a:hover:after {
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.at{
    position: absolute;
    left: -90px;
    top: 0;
    line-height: 1;
}
.at a{
    font-size: 42px;
    opacity: 0.8;
}
.at a:hover{
    opacity: 1;
}
.social-media{
    width: 17em;
}
.social-media .item{
    border-top: 1px solid rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    margin-bottom: -1px;
    -webkit-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
}
.social-media .item:hover{
    padding-left: 3px;
    border-color: #fff;
    position: relative;
    z-index: 9;
}
.social-media .item a{
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 3.5em;
    display: block;
}

.footer .bottom{
    font-size: 1.1em;
    color: var(--color-grey);
    text-transform: uppercase;
    padding-top: 100px;
}
.footer .bottom a{
    color: white;
    font-size: 11px;
}

/* MENU */
#menu{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    display: none;
    background: #131619;
}
#menu a{
    font-size: 1em;
}
#menu .content-container{
    z-index: 15;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
#menu .content-container .right:not(.arrow){
    padding-left: 8.3333vw;
}
#menu .content-container .right .menu-item{
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    font-size: 50px;
    margin-bottom: 40px;
    color: white;
    line-height: 3rem;
}
#menu .content-container .right .menu-item:first-child{
    -webkit-transition-delay: 600ms;
    -o-transition-delay: 600ms;
    transition-delay: 600ms;
}
#menu .content-container .right .menu-item:nth-child(2){
    -webkit-transition-delay: 700ms;
    -o-transition-delay: 700ms;
    transition-delay: 700ms;
}
#menu .content-container .right .menu-item:last-child{
    margin-bottom: 0;
}
#menu .content-container .right .social{
    margin-top: 55px;
    list-style: none;
    margin-bottom: 0;
}
#menu .content-container .right .social li{
    display: block;
    margin: 19px 0;
    opacity: 0.7;
    color: white;
    font-size: 13px;
}
#menu .right-back{
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #1F2124;
    z-index: 5;
}

#menu .menu-footer{
    position: absolute;
    z-index: 15;
    font-size: 1.1em;
    color: var(--color-grey);
    text-transform: uppercase;
    bottom: 40px;
    width: 30%;
    left: 10%;
}
#menu .email a{
    font-size: 13px;
    margin-left: 15px;
}

/* MENU - MOBILE: avoid overlap with header logo */
@media(max-width: 768px){
    #menu{
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #menu .content-container{
        top: 0;
        transform: none;
        padding-top: 110px;
        padding-bottom: 130px;
        min-height: 100%;
    }
    #menu .content-container .left{
        margin-bottom: 40px;
    }
    #menu .content-container .right:not(.arrow){
        padding-left: 0;
    }
    #menu .content-container .right .menu-item{
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    #menu .content-container .right .menu-item:last-child{
        margin-bottom: 0;
    }
    #menu .right-back{
        display: none;
    }
    #menu .menu-footer{
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 30px 0 0;
    }
    #menu .footer .title, #menu .left .title{
        font-size: 32px;
    }
}

/* RESPONSIVE */
@media(max-width: 1200px){
    .img-container{
        width: 694px;
        height: 426px;
    }
    .video-container{
        width: 568px;
        height: 368px;
        max-width: 580px;
    }
    
    .video-container img{
        top: 10px;
    }
}
@media(max-width: 768px) {
    #intro .title{
        font-size: 50px;
    }
    .info .col-md-6:first-child .item{
        margin-bottom: 10em;
    }
    .clients [class*="col-"] {
        margin-bottom: 3em;
    }
    .footer .bottom{
        padding-top: 60px;
    }
    .email{
        padding-bottom: 63px;
    }
    .info{
        padding-bottom: 8em;
    }
}
@media(max-width: 700px){
    .img-container{
        width: 340px;
        height: 208px;
    }
    .video-container{
        width: 276px;
        height: 178px;
        max-width: 400px;
    }
    
    .video-container img{
        top: 6px;
    }
}

@media(max-width: 575px){
    .container{
        padding: 0 8.3333vw;
    }
}

/* ============================= */
/* SUBPAGES (Chi Siamo, Servizi, Clienti, Contatti) */
/* ============================= */

/* PAGE HERO */
.page-hero{
    padding-top: 9em;
    padding-bottom: 3em;
}
.page-hero .eyebrow{
    color: var(--color-grey);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    padding-bottom: 1.2em;
}
.page-hero .title{
    color: white;
    font-size: 60px;
    line-height: 1.2;
    font-family: 'Staatliches', cursive;
}
.page-hero .subtitle{
    color: white;
    font-size: 20px;
    padding-top: 1.2em;
    line-height: 1.75;
    max-width: 720px;
}

/* STATS */
.stats{
    padding-bottom: 6em;
}
.stats .item{
    margin-bottom: 2em;
}
.stats .item .number{
    color: white;
    font-size: 46px;
    font-family: 'Staatliches', cursive;
    line-height: 1.2;
}
.stats .item .label{
    color: var(--color-grey);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding-top: .3em;
}

/* APPROACH / TIMELINE (Chi Siamo) */
.approach{
    padding-bottom: 8em;
}
.approach .item{
    margin-bottom: 3.5em;
    padding-right: 2em;
}
.approach .item .step{
    color: var(--color-grey);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.approach .item .title{
    color: white;
    font-size: 22px;
    font-weight: 600;
    padding: .4em 0;
}
.approach .item .text{
    color: white;
    font-size: 16px;
    line-height: 1.75;
}

/* VALUES LIST */
.values .item{
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 1.5em 0;
    display: flex;
    align-items: baseline;
    gap: 1.5em;
}
.values .item:last-child{
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.values .item .index{
    color: var(--color-grey);
    font-size: 14px;
    min-width: 2em;
}
.values .item .title{
    color: white;
    font-size: 20px;
    font-weight: 600;
    min-width: 12em;
}
.values .item .text{
    color: var(--color-grey);
    font-size: 15px;
    line-height: 1.6;
}

/* SERVICES */
.services{
    padding-bottom: 6em;
}
.services .item{
    padding: 3em 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.services .item:first-child{
    border-top: 1px solid rgba(255,255,255,0.12);
}
.services .item .num{
    color: var(--color-grey);
    font-size: 14px;
    letter-spacing: 2px;
    width: 100%;
    margin-bottom: .5em;
}
.services .item .title{
    color: white;
    font-size: 30px;
    font-family: 'Staatliches', cursive;
    padding-right: 1em;
    flex: 0 0 40%;
    max-width: 40%;
}
.services .item .body{
    flex: 0 0 60%;
    max-width: 60%;
}
.services .item .text{
    color: white;
    font-size: 16px;
    line-height: 1.75;
}
.services .item .tags{
    margin-top: 1.2em;
}
.services .item .tags span{
    display: inline-block;
    color: var(--color-grey);
    border: 1px solid rgba(255,255,255,0.2);
    padding: .4em 1em;
    margin-right: .5em;
    margin-bottom: .5em;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media(max-width: 768px){
    .services .item .title, .services .item .body{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .services .item .title{
        margin-bottom: .5em;
    }
    .page-hero{
        padding-top: 7em;
    }
    .page-hero .title{
        font-size: 40px;
    }
    .page-hero .subtitle{
        font-size: 17px;
    }
    .section-heading{
        font-size: 28px;
    }
    .approach .item{
        padding-right: 0;
    }
    .values .item{
        flex-direction: column;
        align-items: flex-start;
        gap: .4em;
    }
    .values .item .title{
        min-width: 0;
    }
    .stats .item .number{
        font-size: 34px;
    }
}

/* CLIENTS GRID */
.clients-grid{
    padding-bottom: 6em;
}
.clients-grid [class*="col-"]{
    margin-bottom: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clients-grid img{
    max-width: 200px;
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin: auto;
    display: block;
    filter: grayscale(1);
    opacity: .7;
    transition: all .25s ease;
}
.clients-grid img:hover{
    filter: grayscale(0);
    opacity: 1;
}

/* SECTION HEADING (reusable) */
.section-heading{
    color: white;
    font-size: 34px;
    font-family: 'Staatliches', cursive;
    padding-bottom: .3em;
}
.section-subheading{
    color: var(--color-grey);
    font-size: 15px;
    padding-bottom: 2.5em;
    max-width: 600px;
    line-height: 1.6;
}

/* CONTACT PAGE */
.contact-info{
    padding-bottom: 8em;
}
.contact-info .block{
    margin-bottom: 3.5em;
}
.contact-info .label{
    color: var(--color-grey);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    padding-bottom: .5em;
}
.contact-info .value{
    color: white;
    font-size: 24px;
    line-height: 1.5;
}
.contact-info .value a{
    font-size: 1em;
    text-transform: none;
}
.contact-info .value a:hover{
    text-decoration: underline;
}
.contact-cta{
    padding: 3em 0 8em;
}
.contact-cta .btn-line{
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-size: 1.3em;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: .3em;
    transition: all .2s ease;
}
.contact-cta .btn-line:hover{
    border-color: white;
}