*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
    color: #050A10;
    font-size: 22px;
}
header, footer{
    background-color: #050A10;
    border-bottom: 2px solid white;
}
.container{
    width: 1320px;
    margin: 0 auto;
}
header .container, footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
nav ul{
    margin: 0;
    padding: 0;
}
nav ul li{
    list-style: none;
    font-size: 18px;
    display: inline-block;
    margin-left: 30px;
    color: white;
    transition: all .1s ease-out;
}
nav ul li:hover{
    color: #FF3300;
}
#menu{
    display: none;
}
.hero{
    height: 800px;
    background-image: url("../img/backgorund-hero.jpg");
    background-size: cover;
    background-position: center center;
}
.hero .container{
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}
h1, h2, h3, h4{
    font-weight: 800;
    margin: 0;
}
h1{
    font-size: 92px;
    line-height: 100%;
    letter-spacing: -5px;
}
h1 span, h2 span, h3 span{
    color: #FF3300;
}
#title p{
    font-size: 22px;
    margin: 30px 0px 30px 0px;
}
.btn{
    display: inline-block;
    width: 312px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
#title .btn{
    color: white;
    border: 2px solid #fff;
    transition: all .3s ease-out;
}
#title .btn:hover{
    background-color: #FF3300;
    border-color: #FF3300;
    color: #050a10;
}
section:not(.hero-about , .hero-gallery){
    padding: 80px 0;
}
/* la selezione con :not, dice che laregola vale per tutti tranne che per gli elementi nela parentesi tonda */
.row{
display: flex;
flex-wrap: wrap;
align-items: center;
}
.colonna-50{
    width: 50%;
    position: relative;
}
.full-width{
    width: 100%;
    transition: all .3s ease-out;
    display: block;
}
.wrapper-image{
    overflow: hidden;
}
.wrapper-image img:hover{
    transform: scale(1.1);
}
/* questa classe verrà associata a tutte le immagini che devono occupare la totalità dello spazio della colonna */
h2{
    font-size: 68px;
    line-height: 110%;
    letter-spacing: -4px;
}
section p{
    line-height: 130%;
    margin: 30px 0;
}
section .btn{
    color: #050A10;
    border: 2px solid #050A10;
    transition: all .3s ease-out;
}
section .btn:hover{
    background-color: #FF3300;
    border-color: #FF3300;
    color: #050a10;
}
.colonna-50:last-of-type{
    padding: 0 112px 0 44px;
}
.bg-grey{
    background-color: #efefef;
}
.bg-grey .row{
    align-items: flex-end;
}
.m-0{
    margin: 0;
}
.mb-40{
    margin-bottom: 40px;
}
.colonna-33{
    width: 33.333334%;
    padding: 0 10px;
}
h3{
    font-size: 52px;
    line-height: 110%;
    letter-spacing: -3px;
}
.wrapper-testi{
    padding: 20px 40px 0 0;
}
footer{
    border: none;
    color: white;
}
/* ABOUT */
.hero-about{
    background-image: url(../img/immagine-sfondo-about.jpg);
}
#shape-agency-about h2, #shape-agency-about h2 + p, #shape-agency-gallery h2, #shape-agency-gallery h2 + p{
    text-align: center;
}
/* la selezione ch eho appena fatto col +, serve a richiamare l'elemento immediatamente dopo a quello principale, in questo caso, il p immediataente dopo all'h2, e lo uso quando voglio modificare solo un p e non tutti gli altri */
#shape-agency-about .row:nth-of-type(even), #shape-agency-gallery .row:nth-of-type(even){
    flex-direction: row-reverse;
}
#shape-agency-about .row, #shape-agency-gallery .row{
    margin-top: 20px;
}
#shape-agency-about .row:first-of-type, #shape-agency-gallery .row:first-of-type{
    margin-top: 40px;
}
.colonna-66{
    width: 66.666667%;
    padding-left: 44px;
}
#shape-agency-about .row:nth-of-type(even) .colona-66{
    padding: 0px 44px 0px 0px;
}
/* attraverso questa selezione, richiamo la colonna66, che sitrova all'interno delle righe pari all'interni dell'id shape-agency-about */
.social a{
    display: inline-block;
    margin-right: 20px;
    color: #B2B2B2;
    font-size: 24px;
    transition: all .1s;
}
.facebook:hover{
    color: #1877F2;
}
.instagram:hover{
    color: #C13584;
}
.behance:hover{
    color: #053eff;
}
.linkedin:hover{
    color: #0077B5;
}
/* GALLERY */
.hero-gallery{
    background-image: url(../img/immagine-sfondo-gallery.jpg);
}
#shape-agency-gallery{
    padding-top: 0;
}
#nav-gallery{
    background-color: #050A10;
    position: sticky;
    top: 0px;
    z-index: 1;
}
#nav-gallery ul{
    display: flex;
    justify-content: space-between;
    height: 50px;
}
#nav-gallery ul li{
    margin: 0;
    width: 25%;
    display: flex;
    justify-content: center;
    border-right: 1px solid white;
    align-items: center;
}
#nav-gallery ul li:last-of-type{
    border: none;
}
#nav-gallery a{
    color: white;
    text-decoration: none;
}
#nav-gallery ul li a i{
    margin-right: 10px;
}
#nav-gallery + .container{
    padding-top: 80px;
}
section .btn-gallery{
    background-color: #FF3300;
    color: white;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.wrapper-testi i{
    font-size: 38px;
    color: #FF3300;
    margin-bottom: 20px;
}
.p-0{
    padding: 0 !important;
}
.colonna-50.p-0{
    display: flex;
    justify-content: center;
}
/* selezione scritta in questo modo ci va a richiamare due classi scritte in uno stesso tag */
.wrapper-testi.p-0{
    max-width: 516px;
}
/* CONTACT */
.hero-contact{
    background: none;
    position: relative;
}
video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-contact .container{
    position: relative;
    z-index: 1;
}
.hero-contact::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5 10 16 / 60%);
}
form{
    margin: 80px 0;
}
input[type="text"] , input[type="email"] , input[type="number"]{
    width: calc(50% - 24px);
    margin: 0 24px 50px 0;
    padding-bottom: 10px;
    height: 33px;
    border: none;
    border-bottom: solid 1px black;
    font-size: 18px;
    transition: all .3s ease-in;
}
textarea{
    width: calc(100% - 24px);
    border: none;
    border-bottom: 1px solid black;
    height: 160px;
    font-size: 18px;
    margin-bottom: 50px;
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
    transition: all .3s ease-in;
}
form .row label{
    display: flex;
}
form .row label input[type="checkbox"]{
    width: 20px;
    height: 20px;
    margin: 0 15px 0 0;
}
form .row label p{
    margin: 0;
}
form .row:last-of-type{
    justify-content: space-between;
    padding-right: 24px;
    align-items: flex-end;
}
button.btn{
    background: none;
}
input[type="text"]:focus, input[type="number"]:focus, textarea:focus{
    outline: none;
    background-color: #efefef;
    padding-left: 5px;
}
#media{
    position: fixed;
    bottom: 0;
    right: 0;
    height: 40px;
    width: 40px;
    background-color: #050A10;
    line-height: 40px;
    color: #FF3300;
}
#media::after{
    content: 'XXL';
}
@media (min-width:1200px) and (max-width:1400px){
    #media::after{
    content: 'XL';
    }
    .container{
        width: 1140px;
    }
    h2{
        font-size: 60px;
    }
    h3{
        font-size: 44px;
    }
}
@media (min-width:992px) and (max-width:1199px){
    #media::after{
    content: 'LG';
    }
    body{
        font-size: 18px;
    }
    .container{
        width: 960px;
    }
    h1{
        font-size: 84px;
    }
    h2{
        font-size: 52px;
    }
    .colonna-50:last-of-type{
        padding-right: 0;
    }
    h3{
        font-size: 36px;
        letter-spacing: -2px;
    }
    h3 br{
        display: none;
    }
    .btn{
        width: 100%;
        max-width: 312px;
    }
    #shape-agency-gallery .row:nth-of-type(odd) .colonna-50:last-of-type {
        padding-left: 40px!important;
    }
    /* ABOUT */
    .hero-about{
        position: relative;
    }
    .hero-about::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgb(0, 0, 0), rgba(0 0 0 / 0%));
}
.hero-about .container{
    position: relative;
    z-index: 1;
}
#shape-agency-about .colonna-33, #shape-agency-about .colonna-66{
    width: 50%;
}
#shape-agency-about .colonna-33{
    padding: 0px;
}
}
@media (min-width:768px) and (max-width:991px){
    #media::after{
    content: 'MD';
    }
    .container{
        width: 750px;
    }
    h1{
        font-size: 76px;
    }
    .colonna-50{
        width: 100%;
    }
    .colonna-50:last-of-type{
        padding: 0 0 40px;
    }
    #shape-agency .row{
        flex-direction: column-reverse;
    }
    h2{
        font-size: 60px;
    }
    h2 br{
        display: none;
    }
    .bg-grey h2{
        margin-bottom: 20px;
    }
    .bg-grey .colonna-33{
        width: 100%;
        display: flex;
        align-items: center;
    }
    .bg-grey .wrapper-image , .bg-grey .wrapper-testi{
        width: 50%;
    }
    .bg-grey .wrapper-testi {
    padding: 0 0 0 20px;
    }
    h3{
        font-size: 44px;
        letter-spacing: -2px;
    }
    .bg-grey .colonna-33:nth-of-type(2){
        margin: 20px 0;
        flex-direction: row-reverse;
    }
    /* ABOUT */
    .hero-about{
        position: relative;
    }
    .hero-about::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, rgb(0, 0, 0) , rgba(0, 0, 0, 0));
    }
    .hero-about .container{
        position: relative;
        z-index: 1;
    }
    #shape-agency-about h2 + p br{
        display: none;
    }
    #shape-agency-about .colonna-33 , #shape-agency-about .colonna-66{
        width: 100%;
        padding: 0;
    }
    #shape-agency-about .wrapper-testi , #shape-agency-about .row:nth-of-type(even) .colona-66, #shape-agency-gallery .wrapper-testi{
        padding-right: 0;
    }
    /* GALLERY */
    #shape-agency-gallery h2 + p br{
        display: none;
    }
    .wrapper-testi.p-0 {
    max-width: none;
    }
    /* CONTACT */
    .colonna-50:last-of-type {
    padding: 20px 0 40px 0;
    }      
    button.btn{
    margin-top: 20px;
    }
}
@media (max-width:767px){
#media::after{
    content: 'SM';
}
html{
    scroll-padding-top: 100px;
}
.container{
    width: auto;
    padding: 0 15px;
}
header nav ul, h1 br, p br, h2 br{
    display: none;
}
#menu{
    display: block;
}
#menu img{
    width: 34px;
    height: 34px;
}
.hero{
    height: auto;
}
h1 {
    font-size: 62px;
    letter-spacing: -4px;
}
#title p, p{
    font-size: 18px;
}
#title .btn , section .btn{
    background-color: #FF3300;
    border-color: #FF3300;
    color: #050a10;
}
.btn{
    width: 100%;
    max-width: 480px;
}
#shape-agency .row{
    flex-direction: column-reverse;
}
#shape-agency .colonna-50:last-of-type{
    padding: 0 0 40px;
}
h2{
    font-size: 54px;
    letter-spacing: -3px;

}
.colonna-50 , .colonna-33{
    width: 100%;
    padding: 0;
}
.bg-grey .colonna-50:last-of-type{
    padding: 20px 0 0;
}
h3{
    font-size: 44px;
    letter-spacing: -2px;
}
.bg-grey .wrapper-testi {
    padding: 20px 0 40px 0;
}
footer .container{
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 15px;
}
/* ABOUT */
header#fisso{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
.hero-about , .hero-gallery{
    height: 100vh;
    position: relative;
}
.hero-about::after , .hero-gallery::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgb(0, 0, 0), rgba(0 0 0 / 0%));
}
.hero-about .container , .hero-gallery .container{
    position: relative;
    z-index: 1;
    align-items: flex-end;
    padding-bottom: 40px;
}
#shape-agency-about h2{
    font-size: 48px;
    text-align: left;
}
#shape-agency-about h2 + p{
    text-align: left;
}
.colonna-66, #shape-agency-about .row:nth-of-type(even) .colonna66{
    width: 100%;
    padding: 0;
}
.social a i{
    font-size: 24px;
}
#shape-agency-about .wrapper-testi{
    padding-right: 0;
}
/* GALLERY */
/* #nav-gallery ul{
    overflow-x: auto;
} */
 /* #nav-gallery ul li{
    min-width: 250px;
 } */
  /* esempio scorrimento orizzontale del menu */
header#assoluto{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
#nav-gallery ul{
    flex-wrap: wrap;
    padding: 0;
    height: auto;
}
#nav-gallery ul li{
    width: 50%;
    height: 50px;
    border-bottom: 1px solid white;
}
#nav-gallery ul li:nth-of-type(2){
    border-right: none;
}
#nav-gallery ul li:nth-of-type(3){
    border-bottom: none;
}
.btn.btn-gallery{
    width: 90%;
}
/* CONTACT */
#shape-agency-contact .colonna-50:last-of-type{
    padding: 0;
}
input[type="text"], input[type="email"], input[type="number"]{
    width: 100%;
}
#iframe{
    width: 100%;
}
}