:root{
    --BiancoAntico: #efeae3;
    --Nero: #030000;
    --NeroMeno: #565350;
}

body{
    margin: 0;
    padding:0;
    font-family: AdelleSans;
    background-color: var(--BiancoAntico);
    overflow-x: hidden;
    color: var(--Nero);
    font-size: 16px;
    letter-spacing: .5px;
}

*, ::after, ::before {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

@font-face {
    font-family: AdelleSans;
    src: url("/fonts/AdelleSansEXT-Light.otf") format("opentype");
}
@font-face {
    font-family: AdelleSansReg;
    src: url("/fonts/AdelleSansEXT-Regular.otf") format("opentype");
}
@font-face {
    font-family: Corsivo;
    src: url("/fonts/ChewedPenBB_ital.otf") format("opentype");
}

nav{
    display: flex;
    justify-content: flex-end;
    height: 85px;
    align-items: center;
    padding: 0 40px;
    z-index: 11;
    position: relative;
}

nav > ol{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    gap: 40px;
}

nav > ol > li > a{
    text-decoration: none;
    color: var(--Nero);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

.Prem {
    transition: transform 100ms ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.Prem:active {
    transform: scale(.95);
}

nav > ol > li > a::after, .Pulsante::after{
    content: "";
    height: 2px;
    width: 0;
    background-color: var(--NeroMeno);
    display: block;
    margin-top: 5px;
    transition: width 100ms linear;
}

nav > ol > li > a:hover::after,
nav > ol > li > a.Sto::after,
.Pulsante:hover::after{
    width: 100%;
}

.Presentazione{
    height: 100vh;
    width: 100vw;
    position: relative;
    top: -85px;
}

.Presentazione > img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
    filter: grayscale();
}

.TestiPresentazione{
    height: 100%;
    width: 50%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:20px;
}

.TestiPresentazione:not(.NoBack){
    background-color: rgba(255, 255, 255, .5);
    padding-left: 40px;
}

.TestiPresentazione.Dx{
    margin-left: auto;
    padding-right: 15vw;
}
.TestiPresentazione.Sx{
    margin-right: auto;
    padding-left: 15vw;
    padding-right: 40px;
}

.TestiPresentazione.Dx span{
    padding-left: 2px;
}

.TestiPresentazione label{
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: AdelleSansReg;
}
.TestiPresentazione span{
    font-size: 21px;
}

.Presentazione > i{
    font-size: 35px;
    width: 35px;
    text-align: center;
    color: var(--BiancoAntico);
    position: absolute;
    bottom: 50px;
    left: calc(50% - 17px);
    display: block;
    z-index: 13;
    animation: SuGiu 2s cubic-bezier(0.4, 0, 0.2, 1) alternate infinite
}

@keyframes SuGiu {
    from{
        bottom: 50px;
    }
    to{
        bottom: 90px;
    }
}

.TitoloSection{
    margin: 0;
    font-size: 22px;
    width: 100%;
    text-align: center;
    padding: 0 25%;
    display: block;
    font-weight: 300;
    font-family: AdelleSansReg;
}

.WrapTreValori, .WrapInPrimoPiano{
    display: flex;
    justify-content: center;
    margin: 85px 0;
    gap: 85px;
}

.Valore{
    width: 375px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Valore > img{
    height: 375px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale();
    box-shadow: 0 0 20px 0 rgba(0,0,0,.12);
}

.Valore label{
    font-size: 23px;
    text-align: center;
    padding-top: 25px;
    display: block;
    font-family: AdelleSansReg;
}

.Valore span{
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.WrapInPrimoPiano{
    flex-direction: column;
    align-items: center;
}

.Vicenda{
    display: flex;
    width: 1285px;
    gap: 85px;
}

.Vicenda > img{
    object-fit: cover;
    width: 600px;
    flex: none;
    aspect-ratio: 16 / 10;
    filter: grayscale();
    transition: filter 100ms linear;
    will-change: filter;
}

.Vicenda > img:hover{
    filter: none;
}

.Vicenda:nth-child(even){
    flex-direction: row-reverse;
}

.Vicenda:nth-child(even) .InfoVicenda > span{
    text-align: right;
}

.Vicenda:nth-child(even) .InfoVicenda > label{
    text-align: right;
}


.Vicenda:nth-child(even) .InfoVicenda {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.InfoVicenda > label{
    font-size: 22px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: AdelleSansReg;
}

.InfoVicenda > span{
    font-size: 18px;
    display: block;
}

section{
    display: flex;
    flex-direction: column;
}

.TreValori{
    margin: 85px 0;
}

.Pulsante{
    height: 50px;
    width: fit-content;
    line-height: 50px;
    padding: 0 20px;
    background-color: white;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.05);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: flex;
    align-items: center;
}

.Pulsante i{
    font-size: 18px;
    margin-left: 8px;
}

.InPrimoPiano .Pulsante{
    margin-top: 40px;
}

.RefPulsante{
    text-decoration: none;
    color: var(--Nero);
    width: fit-content;
    display: block;
}


.Pulsante::after{
    margin-top: 0;
    position: absolute;
    left: 0;
    bottom: 0;
}

.Citazione{
    margin: 85px 0;
}

.Citazione > i{
    font-size: 40px;
    margin-left: calc(25% + 8px);
    margin-bottom: 10px;
}

.Citazione > .RefPulsante{
    margin: 0 auto;
    margin-top: 40px;
}

footer{
    background-color: white;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 170px;
}

.WrapLinkUtili, .WrapSocial{
    display: flex;
    gap: 20px
}
.WrapLinkUtili a, .WrapSocial > a{
    color: var(--Nero);
    text-decoration: none;
}
.WrapLinkUtili a::after{
    content: "";
    height: 1px;
    width: 100%;
    background-color: var(--NeroMeno);
    display: block;
    margin-top: 2px;
}
.WrapSocial{
    gap: 40px;
    padding-bottom: 30px;
}
.WrapSocial > a > i{
    font-size: 30px;
}

.VascaPortfolio{
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin: 0 auto;
    margin-top: 50px;
    max-width: 1800px;
}

.Folio{
   height: 350px;
   position: relative
}

.Folio:first-child {
    height: 100%;
    grid-area: 1 / 1 / span 2 / 1;
}

.Folio:nth-child(6) {
    grid-area: 3 / 1 / 3 / span 2;
    z-index: 1111;
}

.Folio > img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale();
    transition: filter 100ms linear;
    will-change: filter;
}

.Folio > a{
    height: 100%;
    width: 100%;
    position: absolute;
    top:0;
    left: 0;
    z-index: 11;
    cursor: pointer;
}

.Folio > a:hover + img {
    filter: none;
}

.TitoloFolio{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: AdelleSansReg;
    font-size: 18px;
    background-color: rgba(255, 255, 255, .85);
    text-align: center;
}

.BloccoPortfolio{
    margin: 85px 0;
}

.BloccoPortfolio:not(:nth-child(3)){
    padding-top: 85px;
}

#WritingsPres + .BloccoPortfolio:not(:nth-child(3)){
    padding-top: 0;
}

.Postit{
    background-color: #fff8b5;
    height: fit-content;
    width: 125px;
    box-shadow: -4px 6px 4px 0px rgba(0,0,0,.3);
    transform: rotate(348deg);
    bottom: 5px;
    position: absolute;
    right: -5px;
    font-size: 15px;
    padding: 9px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: cursive;
}

.Postit::after{
    content: "";  
    background-color: #fff8b5;
    height: 8px;
    width: 125px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.Postit.Sx{
    transform: rotate(10deg);
    right: unset;
    left: -5px;
}

.Postit.Su{
    transform: rotate(10deg);
    bottom: unset;
    top: 0px;
}

.Presentazione.Specchio > img{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}


.Palla{
    position: absolute;
    height: 375px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.12);
    overflow: hidden;
    border: 6px solid var(--BiancoAntico)
}

.Palla > img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.Palla.n1{
    top: 80px;
    right: -80px;
}
.Palla.n2{
    top: 481px;
    right: -428px;
}
.Palla.n3{
    right: 225px;
    bottom: 200px;
}

.WrapCardLineari{
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    margin: 0 auto;
    max-width: 2300px;
}

.CardLineari{
    margin: 85px 0;
}

.Card{
    display: flex;
    flex-direction: column;
}

.Card > img{
    width: 100%;
    aspect-ratio: 16/11;
    object-fit: cover;
}

.Card > label{
    font-size: 22px;
    text-transform: uppercase;
    font-family: AdelleSansReg;
    margin: 15px 0 8px 0;
    display: block;
    text-align: justify;
}
.Card > span{
    font-size: 18px;
    display: block;
    text-align: justify;
}


.Popup{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 11111;

    filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    will-change: opacity, filter;

    transition: opacity 200ms linear, visibility 200ms linear, filter 300ms linear;
}

.Popup.Vedi{
    filter: blur(0);
    opacity: 1;
    visibility: visible;
}

.WrapPopup{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.8);
}

.WrapFoto{
    display: flex;
    flex-direction: column;
    width: 70vw;
    position: relative;
    max-width: 1380px;
}

.Foto{
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 320px);
}
.Foto > img{
    height: 100%;
    width: 100%;
    object-fit: contain;

}

.Miniature{
    display: flex;
    gap: 30px;
    padding: 30px 0;
    overflow: auto;
    scroll-behavior: smooth;
}

.Miniature > img{
    height: 150px;
    aspect-ratio: 16/10;
    object-fit: cover;
    border: 2px solid transparent
}

.Miniature > img.Sel{
    border: 4px solid var(--BiancoAntico)
}

.WrapFoto > i{
    color: var(--BiancoAntico);
    font-size: 50px;
    position: absolute;
    height: 50px;
    width: 50px;
    text-align: center;
}

.WrapFoto > i.fa-chevron-right{
    top: calc(50% - 25px);
    right: -100px;
}
.WrapFoto > i.fa-chevron-left{
    top: calc(50% - 25px);
    left: -100px;
}

.WrapFoto > i.fa-times{
    right: -100px;
    top: 0;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--NeroMeno);
  }
  
  ::-webkit-scrollbar-thumb {
    background: white;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: white;
  }



.Bio{
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    margin-top: 120px;
    justify-content: center;
    width: 90vw;
    gap: 50px;
    max-width: 1400px;
}

.Bio > *{
    width: 50%;
    padding-bottom: 0;
}
.Bio > img{
    object-fit: cover;
    object-position: left;
}

.Campo{
    display: flex;
    flex-direction: column;
}

.Form{
    border: 2px solid #5653501f;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    padding-top: 15px;
    margin-top: 20px;
}

.Form input, .Form textarea{
    margin: 0;
    padding: 0;
    height: 50px;
    border: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--Nero);
    padding-left: 18px;
    font-family: AdelleSans;
}
.Form textarea {
    height: 150px;
    padding: 16px 18px;
}

.Form span{
    font-size: 16px;
    margin-bottom: 6px;
    margin-left: 2px;
}

.Pulsanti{
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.Form input:focus, .Form textarea:focus{
    outline: 2px solid var(--NeroMeno);
}


.WrapTreValori .Valore:nth-child(2) img{
    object-position: bottom;
}

.NavMobile{
    display: none;
}

#Ham{
    display: none;
}

nav label[for='Ham'] {
    display: none
}

.Bio.Contatto{
    max-width: 1150px
}


.Corpo {
    padding: 50px;
    max-width: 1500px;
    margin: 0 auto;
}


.Corpo .TitoloSection {
    text-align: left;
    padding: 0;
    margin-bottom: 35px;
    font-size: 35px;
}
.TitoloSection.Maxi {
    font-size: 35px;
}

.DescrSection {
    font-size: 18px;
    color: var(--Nero);
    text-align: left;
    font-weight: 400;
    display: block;
}

.CapitoliCookiePro{
    font-size: 24px;
    color: black;
    font-weight: 600;
    font-style: normal;
    font-family: AdelleSansReg;
}

.PopupCookies{
    background-color: #2a2a2a;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 600px;
    height: fit-content;
    z-index: 11111;
    padding: 15px 23px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity 150ms linear;
    will-change: opacity;
}
.PopupCookies.Vedo{
    opacity: 1;
}

.PopupCookies > label{
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: AdelleSansReg;
    color: var(--BiancoAntico);
    margin-bottom: 12px;
    display: block;
}
.PopupCookies p{
    font-size: 16px;
    font-weight: 400;
    color: var(--BiancoAntico);
    margin: 0;
}
.PopupCookies a{
    color: #FFC107 !important;
}

.PopupCookies > i{
    color: var(--BiancoAntico);
    font-size: 25px;
    height: 25px;
    width: 25px;
    display: block;
    text-align: center;
    position: absolute;
    top: 17px;
    right: 17px;
}
.PopupCookies > .Pulsante{
    margin-left: auto;
}

i.loady {
    display: flex;
    align-items: center;
}
i.loady:before {
    content: "\f3f4" !important;
    animation: spin 800ms linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#RespMail{
    margin: 0;
    display: block;
    text-align: right;
    width: 100%;
    color: #009688;
}
#RespMail.Err{
    color: #F44336;
}

#FotoMobileCompress{
    display: none;
}