body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
}

*{
    box-sizing: border-box;
    margin: 0;

}

/* HOME */
/* Header */

.clearfix {
  overflow: auto;
  zoom: 1;
}

header{
    width: 100%;
    position: fixed;
    top: 20px;
    left: 0;
    z-index: 1000;
}

.conteiner{
    width: 960px;
    height: 90px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    background: rgba(0,0,0,.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 45px black;
}

.logo{
    float: left;
    margin-left: 50px;
    margin-top: 18px;
}

.logo img{
    width: 156px;
    height: 54px;
}

nav{
    float: right;
    margin-right: 50px;
    margin-top: 26px;
}

nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li{
    float: left;
    margin-left: 20px;
}

nav a{
    display: block;
    width: 113px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 20px;
}

nav a:hover{
    background: white;
    color: black;
}

.active{
    background: white;
    color: black;
}

img:hover{
    transform: scale(1.1);
}

/* Hero */

.hero{
    width: 100%;
    height: 100vh;
}

.conteiner-hero{
    width: 960px;
    height: 100%;
    margin: 0 auto;
}

.testo-hero{
    width: 960px;
    height: 100%;
    position: relative;
}

.testo-hero h1{
    width: 100%;
    margin: 0;
    color: white;
    font-size: 94px;
    text-align: center;
    padding-top: 401px;
} 

.icona{
    position: absolute;
}

.photoshoplogo{
    width: 60px;
    height: 60px;
    left: -67px;
    top: 434px;
    transform: rotate(3deg);
}

.aftereffectslogo{
    width: 70px;
    height: 70px;
    left: -11px;
    top: 503px;
    transform: rotate(-15deg);
}

.illustratorlogo{
    width: 60px;
    height: 60px;
    right: -6px;
    top: 338px;
}

.indesignlogo{
    width: 70px;
    height: 70px;
    right: -85px;
    top: 391px;
    transform: rotate(27deg);
}

.pennello{
    width: 53px;
    left: -32px;
    top: 381px;
}

.keyframe{
    width: 40px;
    left: 66px;
    top: 494px;
}

.penna{
    width: 55px;
    right: 58px;
    top: 346px;
}

.testo{
    width: 70px;
    right: -75px;
    top: 475px;
}

/* Qualcosa su di me */

.qualcosasudime{
    width: 100%;
    min-height: 100vh;
    background: grey;
    padding: 120px 0;
}

.container-sudime{
    width: 960px;
    margin: 120px auto;
    
}

.card{
    width: 960px;
    background: black;
    border-radius: 35px;
    padding: 50px;
    box-shadow: 0 18px 45px black;
}

.foto img{
    width: 230px;
    height: 395px;
    border-radius: 30px;
    object-fit: cover;
    float: left;
}

.testo-qualcosasudime{
    width: 580px;
    float: right;
    color: white;
}

.testo-qualcosasudime h2{
    font-size: 38px;
    margin-bottom: 10px;
}

.professione{
    font-size: 22px;
    margin-bottom: 30px;
}

.descrizione{
    line-height: 1.6;
    margin-bottom: 30px;
}

.testo-qualcosasudime h3{
    margin-bottom: 15px;
}

.testo-qualcosasudime ul{
    margin-left: 20px;
    margin-bottom: 20px;
}

.testo-qualcosasudime li{
    margin-bottom: 8px;
}

.bottone{
    float: right;
    margin-top: -15px;
}

.bottone a{
    display: block;
    width: 180px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 20px;
}

.bottone a:hover{
    background: white;
    color: black;
}

/* Anteprima lavori */

.anteprimalavori{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding: 80px 0;
}

.conteiner-anteprimalavori{
    width: 960px;
    margin: 0 auto;
}

.conteiner-anteprimalavori h3{
    color: white;
    font-size: 34px;
    text-align: center;
    margin-bottom: 60px;
    padding-top: 213px;
}

.riga{
    width: 500px;
    min-height: 190px;
}

.riga:first-of-type{
    margin-left: 0;
}

.seconda{
    margin-left: 493px;
    margin-top: 0;
}

.progetto-anteprimalavori{
    width: 250px;
    height: 190px;
    float: left;
    padding: 10px;
}

.progetto-anteprimalavori img{
    width: 220px;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.posizione-scopridipiù{
    position: relative;
    left: -368px;
    top: 20px;
}

/* Footer */

footer{
    width: 100%;
    min-height: 100vh;
    background: black;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.container-footer{
    width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-left{
    width: 420px;
    float: left;
}

.footer-left h2{
    color: white;
    font-size: 118px;
    font-weight: bold;
    line-height: 0.9;
    margin: 0;
    padding-top: 152px;
}

.footer-right{
    width: 360px;
    float: right;
}

.footer-right h3{
    color: white;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 45px 0;
    padding-top: 152px;
}

.contatto{
    width: 100%;
    margin-bottom: 30px;
    min-height: 38px;
}

.contatto img{
    width: 38px;
    float: left;
    margin-right: 18px;
}

.contatto p{
    color: white;
    font-size: 20px;
    line-height: 38px;
    margin: 0;
}

.logo-footer{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 631px;
    opacity: 0.18;
    z-index: 1;
}

/* CHI SONO */

.chisono{
    width: 100%;
    min-height: 100vh;
    background: black;
    padding: 150px 0;
}

.conteiner-chisono{
    width: 960px;
    margin: 0 auto;
}

.foto-chisono{
    width: 364px;
    height: 550px;
    float: left;
    padding-top: 24px;
    padding-left: 24px;
}

.foto-chisono img{
    width: 300px;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
}

.testo-chisono{
    width: 593px;
    float: right;
    color: white;
    padding-top: 24px;
}

.testo-chisono h1{
    font-size: 40px;
    margin-bottom: 3px;
}

.professione-chisono{
    font-size: 22px;
    margin-bottom: 10px;
}

.descrizione-chisono{
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.testo-chisono h2{
    font-size: 33px;
    margin-bottom: 7px;
}

.software-chisono{
    margin-bottom: 7px;
}

.software-chisono img{
    width: 45px;
    height: 45px;
    display: block;
    float: left;
    margin-right: 8px;
    border-radius: 7px;
}

.skills-chisono{
    margin-left: 12px;
    padding: 0;
}

.skills-chisono li{
    font-size: 20px;
    margin-bottom: 2px;
}

/* PORTFOLIO */

.portfolio{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding: 150px 0;
}

.conteiner-portfolio{
    width: 960px;
    margin: 0 auto;
}

.conteiner-portfolio h1{
    color: white;
    font-size: 45px;
    text-align: center;
    margin-bottom: 10px;
}

.sottotitolo-portfolio{
    color: white;
    font-size: 17px;
    text-align: center;
    margin-bottom: 40px;
}

.griglia-portfolio{
    width: 960px;
    overflow: auto;
    zoom: 1;
}

.progetto-portfolio{
    width: 300px;
    height: 300px;
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.progetto-portfolio:nth-child(3n){
    margin-right: 0;
}

.progetto-portfolio a{
    display: block;
    width: 300px;
    height: 300px;
    text-decoration: none;
}

.progetto-portfolio img{
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.titolo-progetto{
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    display: table;
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.titolo-progetto span{
    display: table-cell;
    vertical-align: middle;
}

.progetto-portfolio:hover img{
    opacity: 0.35;
}

.progetto-portfolio:hover .titolo-progetto{
    opacity: 1;
}

/* PAGINA PROGETTO */

.progetto{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding: 150px 0;
}

.conteiner-progetto{
    width: 960px;
    margin: 0 auto;
}

/* introduzione */

.intro-progetto{
    width: 960px;
    margin-bottom: 30px;
}

.titolo-progetto-pagina{
    width: 300px;
    float: left;
}

.titolo-progetto-pagina h1{
    color: white;
    font-size: 41px;
    line-height: 1.1;
    margin: 0;
}

.descrizione-progetto{
    width: 600px;
    float: right;
}

.descrizione-progetto p{
    color: white;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

/* immagini */

.immagini-progetto{
    width: 960px;
}

.immagini-progetto a{
    width: 465px;
    float: left;
    display: block;
    margin-right: 30px;
    margin-bottom: 30px;
}

.immagini-progetto a:nth-child(2n){
    margin-right: 0;
}

.immagini-progetto img{
    width: 465px;
    height: auto;
    display: block;
    transform: none;
    transition: none;
}

/* Schermata sopra la pagina per la foto ingrandita */

.lightbox{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
}

/* Serve per mostrare un elemento con id */

.lightbox:target{ 
    display: block;
}

/* immagine ingrandita */

.lightbox img{
    position: absolute;
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* impedisce l'effetto hover generale del sito */

.lightbox img:hover{
    transform: translate(-50%, -50%);
}

/* frecce */

.freccia{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 45px;
    text-decoration: none;
    z-index: 2001;
}

.precedente{
    left: 40px;
}

.successiva{
    right: 40px;
}

.freccia:hover{
    color: grey;
}

/* pulsante chiudi */

.chiudi{
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 45px;
    text-decoration: none;
    z-index: 2001;
}

.chiudi:hover{
    color: grey;
}

/* CONTATTI */

.contatti{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding: 150px 0 100px 0;
}

.conteiner-contatti{
    width: 960px;
    margin: 0 auto;
}

/* Titolo */

.titolo-contatti{
    width: 960px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.titolo-contatti h1{
    font-size: 60px;
    margin-bottom: 10px;
}

.titolo-contatti p{
    font-size: 22px;
}

/* Contenuto */

.contenuto-contatti{
    width: 960px;
}

.info-contatti{
    width: 430px;
    float: left;
    color: white;
    padding-top: 20px;
}

.info-contatti h2{
    font-size: 52px;
    line-height: 0.95;
    margin-bottom: 30px;
}

.info-contatti > p{
    width: 390px;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 45px;
}

/* Singolo contatto */

.contatto-pagina{
    width: 100%;
    min-height: 55px;
    margin-bottom: 18px;
}

.contatto-pagina img{
    width: 45px;
    float: left;
    margin-right: 18px;
}

.contatto-pagina p{
    font-size: 16px;
}

/* Modulo */

.modulo-contatti{
    width: 480px;
    float: right;
    background-color: #151515;
    border-radius: 35px;
    padding: 40px;
    box-shadow: 0 18px 45px black;
}

/* Campi */

.campo{
    width: 100%;
    margin-bottom: 25px;
}

.campo label{
    display: block;
    color: white;
    font-size: 17px;
    margin-bottom: 8px;
}

.campo input,
.campo textarea{
    width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 15px;
    background-color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 13px 15px;
    outline: none;
}

.campo input{
    height: 45px;
}

.campo textarea{
    height: 150px;
    resize: none;
}

.campo input:focus,
.campo textarea:focus{
    border-color: white;
}

/* Placeholder */

.campo input::placeholder,
.campo textarea::placeholder{
    color: #888;
}

/* Pulsante */

.modulo-contatti button{
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 25px;
    background-color: white;
    color: black;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.modulo-contatti button:hover{
    background-color: #ccc;
}