* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  position: relative;
  left: 0;
  box-sizing: border-box;
  font-family: Helvetica;
  z-index: 0;
  background: linear-gradient(146deg, #ff3b3b, #fc7fb2, #d34141);
}
hr {
    outline: none;
    border: none;
    transition: .5s;
}
.hr{
  width: 90% !important;
}
.container-carica {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    overflow: hidden;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(146deg, #ff3b3b, #fc7fb2, #d34141);
}
.container-carica p {
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
img.pencil {
    width: 50%;
    height: auto;
    margin: auto;
}
div.parallax {
    position: absolute;
    width: 100%;
    height: 100dvh;
    z-index: -1;
    background: url(img/imgIngresso.jpg) top center no-repeat;
    background-size: cover;
    margin: 0;
    top: 0px;
    overflow: hidden;
    animation: sfondoZoom 20s linear infinite;
}
.body {
  /* height: 100vh; */
  overflow: hidden;
}
/* .bodyAnimation {
  animation: body .8s linear;
} */
@keyframes body {
  0% {
    height: 100vh;
    overflow-y: visible;
    overflow-x: hidden;
  }
  90%{
    height: 100vh;
    overflow-y: visible;
    overflow-x: hidden;
  }
  100%{
    height: auto;
    overflow-x: visible;
    overflow-y: visible;
  }
}
img {
  margin: 0;
  padding: 0;
}
.overflow {
  overflow: overlay !important;
}
.invisibile {
  opacity: 0;
  pointer-events: none;
}
nav.col-menu {
    height: 100vh;
    width: 32%;
    position: fixed;
    z-index: 0;
    right: 0;
    top: 0;
    justify-content: flex-end;
    display: flex;
    overflow: hidden;
    z-index: -2;
}
nav.col-menu ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    top: 15px;

}
#x-chiudi {
    position: relative;
    top: 20px;
    color: white;
    display: flex;
    font-size: 45px;
    cursor: pointer;
    transition: .5s;
    justify-content: flex-end;
    font-weight: 300;
    margin: 0 20px 30px 0;
}
p#x-chiudi i {
    font-size: 40px;
    opacity: .6;
    transition: .5s;
}
p#x-chiudi i:hover {
    opacity: 1;
    transform: rotate(180deg) scale(1.2);
}
nav.col-menu li {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 30px 30px 0 0;
}
.col-menu ul li a {
    color: white;
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 5px;
    transition: .5s;
    opacity: .6;
}
.col-menu ul li a:hover {
    letter-spacing: 3px;
    opacity: 1;
}
li.li-social a {
    margin: 5px 10px;
}
li.li-social {
    display: flex;
}
li.li-social .fab {
    color: white;
    opacity: .5;
    padding: 0 0 0 4px;
}
li.li-social .fab:hover {
  opacity: 1;
}
.compari {
  animation: compari .5s linear .2s both;
}
.translateOut {
  animation: translateOut .4s linear both;
}
@keyframes translateOut {
  100%{
    transform: translateX(150%);
  }
}
.fa-times-circle{
  transition: .5s;
}
.fa-times-circle:hover {
    transform: rotate(180deg);
    color: #0f5768;
}
.fa-times {
    margin-right: 10px;
    font-size: 50px;
}
/***************Fine Menu*****************/
.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;
  box-sizing: border-box;
  transition: .5s;
  overflow: hidden;
}
.menuClick {
  animation: menu 1s linear both;
}
.menuChiudi {
  animation: Chiudi .5s linear;
}
.pointerNo {
  pointer-events: none !important;
}
@keyframes menu {
  100%{
    transform: rotate(0deg) translate(-30%);
      box-shadow: 0 0 50px 4px #000000b0;
  }
}
@keyframes Chiudi {
  0%{
    transform: rotate(0deg) translate(-30%);
    box-shadow: 0 0 50px 4px #000000b0;
  }
  100%{
    transform: rotate(0) translate(0, 0);
    box-shadow: 0;
  }
}
.tasto-menu {
    position: fixed;
    right: 25px;
    top: 15px;
    z-index: 1;
    display: flex;
    overflow: hidden;
    width: 55px;
    transition: .5s;
    height: 55px;
    cursor: pointer;
}
.tasto-menu:hover {
    width: 160px;
}
i#menu {
    font-size: 45px;
    transition: .5s;
    display: flex;
    align-items: center;
    padding: 5px;
    text-shadow: 0 0 1px black, 0 0 2px black;
    color: white;
}

/* i#menu:hover {
    color: #0f5768;
    transform: scale(1.15) rotate(120deg);
} */
.tasto-menu:hover i {
  transform: scale(1.15) rotate(180deg);
}
.tasto-menu p {
    display: flex;
    align-items: center;
    margin-left: 5px;
    font-size: 35px;
    text-transform: uppercase;
    text-shadow: 0 0 1px white, 0 0 2px white;
}
.titoloBox {
    width: 100%;
    min-height: 100px;
    height: auto;
    background: linear-gradient(90deg, transparent 0%, white 30% 70%, transparent);
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 5px 0 2px 0;
    cursor: pointer;
    transform: scale(1.2) rotate(0deg);
    transition: .5s;
    /* text-decoration: underline; */
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
    font-size: 35px;
}
.titoloBox:hover {
  letter-spacing: 3px;
  background-color: white;
}
.container-box {
    width: 100%;
    min-height: 100dvh;
    height: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* background: url(grafica_design_brescia.jpg) top center no-repeat;
    background-size: cover; */
}
img.logo {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 1;
    height: 55px;
}
img.line {
  position: absolute;
  top: 0;
  left: 0;height: 80px;
  width: 100%;
  z-index: 0;
}
img.line2 {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 0;
    transform: rotate(180deg);
}
.container-box1 {
    width: fit-content;
    border-radius: 50px;
    /* background: #ffffff9c; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    /* min-height: 650px; */
    /* background: #ffffff91; */
    padding: 20px;
    margin-bottom: 130px;
}
.inBox1 {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    /* min-height: 650px; */
    padding-right: 40px;
}
.inBox1 h3 {
    font-size: 75px;
    color: white;
    text-transform: capitalize;
    font-style: italic;
    text-shadow: 3px 3px 0px black;
}
.inBox1 h1 {
    display: flex;
    width: 100%;
    justify-content: center;
}
.inBox2 {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.inBox2 img {
    max-width: 100%;
    max-height: 100%;
}
i.fas.fa-chevron-down.heartbeat {
    padding-top: 5px;
}
.box-logo {
    /* width: 100%; */
    /* height: 250px; */
    /* position: relative; */
    /* margin: 0 0 10px; */
}
svg#logo {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 25px;
}
#logo path:nth-child(2) {
  stroke-dasharray: 1990px;
  stroke-dashoffset: 1990px;
  /* animation: lineOffeset 2s ease forwards; */
}
#logo path:nth-child(3) {
  stroke-dasharray: 1275px;
  stroke-dashoffset: 1275px;
  /* animation: lineOffeset 2s ease .3s forwards; */
}
#logo path:nth-child(4) {
  stroke-dasharray: 635px;
  stroke-dashoffset: 635px;
  /* animation: lineOffeset 2s ease .6s forwards; */
}
#logo path:nth-child(5) {
  stroke-dasharray: 797px;
  stroke-dashoffset: 797px;
  /* animation: lineOffeset 2s ease .8s forwards; */
}
#logo path:nth-child(6) {
  stroke-dasharray: 625px;
  stroke-dashoffset: 625px;
  /* animation: lineOffeset 2s ease 1s forwards; */
}
#logo path:nth-child(7) {
  stroke-dasharray: 1089px;
  stroke-dashoffset: 1089px;
  /* animation: lineOffeset 2s ease 1.3s forwards; */
}
#logo path:nth-child(8) {
  stroke-dasharray: 1275px;
  stroke-dashoffset: 1275px;
  /* animation: lineOffeset 2s ease 1.6s forwards; */
}
.title1 {
    font-size: 150px;
    text-transform: uppercase;
    color: white;
    font-style: italic;
    /* text-shadow: 2px 0px #0f5768; */
    /* color: transparent; */
    -webkit-text-stroke-width: 6px;
    -webkit-text-stroke-color: black;
}

.title2 {
    font-size: 110px;
    letter-spacing: 20px;
    transform: rotate(-7deg);
    margin: 25px 0 30px;
    font-family: Helvetica;
    color: #0f5768;
    text-shadow: 0 0 3px white;
    padding-left: 2%;
    width: 100%;
    min-width: 100vh;
}
/* .inBox1 input {
    width: fit-content;
    height: auto;
    padding: 10px 20px;
    font-size: 30px;
    border: 2px solid;
    border-radius: 30px;
    outline: none;
    background: none;
    color: white;
    margin-top: 20px;
    cursor: pointer;
    transition: .5s;
} */
/* .inBox1 input:hover {
  background: #ffffff96;
} */

.inBox1 h2 {
    font-size: 45px;
    margin: 20px 0;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 0px #0f5768;
}
a#btn_continua {
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: absolute; */
    bottom: 70px;
    text-decoration: none;
    margin-top: 140px;
    width: 80px;
    height: 80px;
    background: #ff60c5;
    border-radius: 50%;
}
.fa-chevron-down {
    font-size: 50px;
    color: white;
}
/************************secondo box***************************/
.none {
  display: none !important;
}
.boxTitolo {
    height: auto;
    min-height: auto;
    background:white;
    display: flex;
    justify-content: center;
    position: relative;
    margin: -1px 0;
}
div#box-titolo-miei {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    height: auto;
    position: relative;
    background: black;
    z-index: 0;
    overflow: hidden;
}
.sfondoOpacity {
    position: absolute;
    background: url(img/10_PAESAGGIO_MARINO_1992.jpg) center no-repeat;
    background-size: cover;
    height: 102%;
    width: 102%;
    opacity: 0.5;
    z-index: -1;
    top: -1%;
    left: -1%;
    filter: blur(6px);
}
.imgProfilo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px auto;
}
.imgProfilo img {
    max-height: 400px;
    width: 90%;
    height: auto;
    max-width: 400px;
    border-radius: 50%;
    padding: 5px;
    margin: 100px 20px;
    background: white;
    box-sizing: border-box;
    opacity: 0;
    transition: 1s;
}
div#titolo-miei {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: black;
    font-family: Helvetica;
    text-shadow: 0 0 2px #0f5768;
    height: auto;
    background: white;
    position: relative;
    padding: 50px 0;
}
div#titolo-miei h2 {
    text-align: center;
    font-weight: 500;
    font-size: 50px;
}
.titH2 {
    position: relative;
    background: white;
    padding: 0 25px;
}
.titolo-miei {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ffd5ce;
    font-family: Helvetica;
    text-shadow: 0 0 2px #0f5768;
    height: auto;
    background: white;
    position: relative;
}
.titolo-miei hr {
    height: 10px;
    width: 0%;
    position: absolute;
    background: linear-gradient(146deg, #cecece, #000000, #e2e2e2);
    border-radius: 10px;
}
.titolo-miei h2 {
    justify-content: center;
    font-family: Helvetica;
    position: relative;
    top: 0;
    font-size: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: black;
    height: 200px;
}
.boxTitolo h2 {
    padding: 20px;
    display: flex;
    justify-content: center;
    font-family: Helvetica;
    position: relative;
    top: 0;
    margin: auto;
    font-size: 80px;
    font-weight: 1;
    width: 100%;
    min-width: 100vh;
}
.chiSono {
    display: flex;
    z-index: 1;
    margin: 200px 30px 200px 0;
    flex-direction: column;
    padding: 20px;
    background: #ffffff2b;
    border-radius: 10px;
    align-items: center;
    border: 5px solid white;
}
.chiSono p {
    font-size: 21px;
    color: white;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: .8s;
    max-height: 0px;
    overflow: hidden;
    text-align: center;
}
.chiSono img {
    max-height: 200px;
    max-width: 200px;
    margin-top: 25px;
    cursor: pointer;
    transition: .3s;
    border-radius: 8px;
}
.chiSono img:hover {
    transform: scale(1.05);
}
.chiSono-giu{
  max-height: 2500px !important;
}

.chiSono span {
    text-transform: uppercase;
    text-decoration: underline;
    width: 100%;
    align-items: center;
    justify-content: center;
    color: white;
    display: flex;
    font-size: 30px;
    text-align: center;
}
.container_bolaffi {
    height: auto;
    width: 100%;
    border: 2px solid red;
    grid-column: 1/12;
    margin-bottom: 70px;
}
div#box-title2 {
    height: 150px;
    background: white;
}

.container-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    width: 100%;
    min-height: 50vh;
    height: auto;
    grid-gap: 20px;
    padding: 30px 100px;
    box-sizing: border-box;
    background: #ffffff;
}
.container-grid1 {
    grid-column: 1/6;
    grid-row: 1/5;
    background: url(img/01_madre_ferita_1979.jpg) center no-repeat;
    background-size: cover;
    padding: 3px;
    /* border: 2px solid black; */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: -200%;
    transition: .8s;
}
.fa-angle-double-right {
  cursor: pointer;
  font-size: 70px;
  transition: .6s;
}
.fa-angle-double-right:hover {
  transform: scale(1.2);
  color: #0f5768;
}

.container-grid2 {
    grid-column: 6/13;
    grid-row: 1/5;
    background: url(img/02_incastro_1983.jpg) center right no-repeat;
    background-size: cover;
    padding: 3px;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: 200%;
    transition: .8s;
}
.container-grid3 {
    grid-column: 1/7;
    grid-row: 5/9;
    background: url(img/03_COMPLESSO_MUSICALE_1984.jpg) center no-repeat;
    background-size: cover;
    padding: 3px;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: -200%;
    transition: .8s;
}
.container-grid4 {
    grid-column: 7/13;
    grid-row: 5/10;
    background: url(img/04_MAHA_DESNUDA_1984.jpg) center no-repeat;
    background-size: cover;
    padding: 3px;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: 200%;
    transition: .8s;
}
.container-grid5 {
    grid-column: 1/7;
    grid-row: 9/14;
    background: url(img/05_AEROPORTO_1988.jpg) center no-repeat;
    background-size: cover;
    padding: 3px;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: -200%;
    transition: .8s;
}
.container-grid6 {
    grid-column: 7/13;
    grid-row: 10/14;
    background: url(img/06_IL_CIRCO-1985.jpg) center no-repeat;
    background-size: cover;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: 200%;
    transition: .8s;
}
.container-grid7 {
    grid-column: 1/6;
    grid-row: 14/19;
    background: url(img/07_GLI_ASTRONAUTI_1990.jpg) center no-repeat;
    background-size: cover;
    /* border: 2px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: -200%;
    transition: .8s;
}
.container-grid8 {
  grid-column: 6/13;
  grid-row: 14/18;
  background: url(img/08_FANTASIA_1991.jpg) center no-repeat;
  background-size: cover;
  /* border: 2px solid black; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  left: 200%;
  transition: .8s;
}
.container-grid9 {
  grid-column: 1/6;
  grid-row: 19/23;
  background: url(img/09-NEW_YORK_1993.jpg) center no-repeat;
  background-size: cover;
  /* border: 2px solid black; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  left: -200%;
  transition: .8s;
}
.container-grid10 {
  grid-column: 6/13;
  grid-row: 18/23;
  background: url(img/10_PAESAGGIO_MARINO_1992.jpg) center no-repeat;
  background-size: cover;
  /* border: 2px solid black; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  left: 200%;
  transition: .8s;
}
.container-grid11 {
  grid-column: 1/7;
  grid-row: 23/29;
  background: url(img/12_ULTIMA_CENA_1998.jpg) center no-repeat;
  background-size: cover;
  /* border: 2px solid black; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  left: -200%;
  transition: .8s;
}
.container-grid12 {
  grid-column: 7/13;
  grid-row: 23/29;
  background: url(img/13_PREMONIZIONE_2001.jpg) center no-repeat;
  background-size: cover;
  /* border: 2px solid black; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  left: 200%;
  transition: .8s;
}
.container-grid1,
.container-grid2,
.container-grid3,
.container-grid4,
.container-grid5,
.container-grid6,
.container-grid7,
.container-grid8,
.container-grid9,
.container-grid10,
.container-grid11,
.container-grid12 {
  border-radius: 10px;
  border: 8px solid black;
}
.box-zoom {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
/**********************Form Contatti**********************/

.box-contatti {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(90vh, auto);
    background: white;
    box-sizing: border-box;
    padding: 50px 0;
    overflow: hidden;
}
.box-form {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 20px 0;
    background: url(img9.jpg) center no-repeat;
    background-size: cover;
    position: relative;
    left: -200%;
    transition: .8s;
  }
div#contatti {
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100%;
    justify-content: space-around;
    padding: 20px;
}
.box-form-titolo {
    width: 100%;
    height: auto;
    border-left: 2px solid white;
    border-right: 2px solid white;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.box-form-titolo h3 {
    font-size: 35px !important;
    text-transform: uppercase;
    margin: 20px 0;
    color: white;
}
.box-form-titolo h4 {
    font-size: 22px;
    margin: 20px 0;
    color: white;
}
.box-mail {
    width: 100%;
    height: auto;
    position: relative;
}
.box-form input {
    font-size: 22px !important;
}
div#contatti h3 {
    font-size: 22px;
    margin: 10px 0;
    color: white;
    text-decoration: underline;
}
.box-messaggio {
    width: 100%;
    height: auto;
}
.box-mail input {
    width: 100%;
    height: 30px;
    border-radius: 15px;
    font-size: 16px;
    padding: 0 0 0 10px;
    outline: none;
    border: none;
    background: #ffffff78;
    color: white;
}
.box-messaggio textarea {
    width: 100%;
    border-radius: 15px;
    font-size: 16px;
    resize: none;
    padding: 3px 10px;
    border: none;
    outline: none;
    background: #ffffff78;
    color: white;
    font-size: 22px;
}
::placeholder {
    color: white;
    letter-spacing: 2px;
}
input.btn-invia {
    width: 50%;
    height: auto;
    padding: 10px 0;
    border: none;
    background: linear-gradient(120deg, #848484, #cecece8c);
    color: white;
    font-size: 22px;
    border-radius: 25px;
    border: 2px solid white;
    cursor: pointer;
}

div#invia {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.box-maps {
    margin: 20px 0;
    position: relative;
    left: 200%;
    transition: .8s;
    
}
.box-maps iframe {
    display: flex;
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 0 15px;
}

/**********************Form Contatti**********************/
.box-footer {
    min-height: 200px;
    width: 100%;
    background: #212121;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
.footer-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    color: white;
    margin-top: 10px;
    justify-content: center;
}
.footer-text h4 {
    font-weight: 400;
}
.footer-text a {
    margin: 0 8px;
}
.footer-social {
    margin-bottom: 20px;
    width: auto;
    display: flex;
}
.footer-social a {
    text-decoration: none;
}
.box-footer .footer-social i {
    margin: 0 15px;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.fab{
  transition: .8s;
}
.fab:hover{
    transform: rotate(360deg);
}
.fa-facebook {
    color: #234eb2;
}
.fa-instagram {
    color: #e3659f;
}
.inserisci {
    position: fixed;
    top: 0;
    left: 0;
    background: #000000e3;
    width: 100%;
    height: 100vh;
    z-index: 1;
    animation: compari .4s linear;
}
@keyframes compari {
  0%{
    display: visible;
    opacity: 0;
  }
  100%{
    display: visible;
    opacity: 1;
  }
}
.none{
  display: none;
}
.btnNascosto {
  position: fixed;
  z-index: -1;
  visibility: hidden;
}
.btnVisibile {
    z-index: 3 !important;
    visibility: visible !important;
    top: 15px;
    right: 20px;
    width: auto;
    height: auto;
    color: white;
    transition: .5s;
    cursor: pointer;
}
.btnVisibile:hover {
  transform: scale(1.2);
  color: #0f5768;
}
.btnVisibileBasso {
  z-index: 3 !important;
  visibility: visible !important;
  bottom: 20px;
  right: 20px;
  color: white;
}
/* .zoom {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 95%;
    width: auto;
    height: auto;
    max-height: 95%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: .5s;
    z-index: 2;
    display: block !important;
    animation: comparsa .5s linear both;
} */
.chiudi {
    position: fixed;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: black;
    cursor: pointer;
    z-index: 3;
}
/* @keyframes comparsa {
  0%{
    display: none !important;
    top:0;
    left:0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.1);
  }
  20%{
    display: block !important;
    top:50%;
    left:50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.1);
  }
  100%{
    display: block !important;
    top:50%;
    left:50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
} */


@media only screen and (max-width: 1300px){
  div#box-titolo-miei {
    grid-template-columns: 1fr 2fr;
  }
  .slideFoto2_box {
    flex-direction: column;
    /* padding: 200px 0; */
    margin: auto;
}

.foto {
    height: auto !important;
    padding: 0 !important;
    /* margin-bottom: 15px !important; */
}

.slideFoto2 {
    display: flex;
    align-items: center;
    justify-content: center;
}
}
@media only screen and (max-width: 1200px){
  .container-carica p {
    width: 80%;
  }
  div#box-titolo-miei {
    grid-template-columns: 1fr;
  }
  .chiSono {
    margin: 50px 20px 100px 20px;
    padding: 30px;
}
.chiSono p {
    max-height: 0px;
}
  .imgProfilo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 110px auto 0;
}
.container-grid {
    padding: 30px 50px;
}
div#contatti {
    padding: 20px 0;
}
  .box-form {
      width: 100%;
  }
}
/* @media only screen and (max-width: 1100px){

  div#titolo-miei {
    margin: 100px;
    transform: rotate(-3deg);
  }
} */

@media only screen and (max-width: 1000px) {

  .footer-text {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
}
.footer-text h3 {
    font-weight: 300;
}
.footer-text h3:nth-child(1) {
    margin-bottom: 5px;
}
}

@media only screen and (max-width: 900px) {
  .tasto-menu {
    right: 5px;
}
  a#btn_continua {
    width: 50px;
    height: 50px;
    margin-top: 50px;
}

.container-box1 {
    padding: 8px;
    margin-bottom: 0;
}

i.fas.fa-chevron-down.heartbeat {
    font-size: 35px;
}
  .container-carica p {
    width: 95%;
  }
  @keyframes menu {
    /* 10%{
      overflow: hidden;
      border-radius: 20px;
    } */
    100%{
      transform: rotate(0deg) translate(-50%, 0%);
      /* overflow: hidden; */
      /* border-radius: 20px; */
    }
  }
  @keyframes Chiudi {
    0%{
      transform: rotate(0deg) translate(-50%, 0%);
    }
    100%{
      transform: rotate(0) translate(0, 0);
    }
  }
  nav.col-menu {
      width: 65%;
  }
  nav.col-menu li {
    margin: 30px 20px 0 0;
  }
  div.parallax {
    min-height: 500px;
  }
  img.logo {
      top: 15px;
      height: 40px;
  }
  .chiSono {
    padding: 15px;
    margin: 50px 5px 100px 5px;
}

  .inBox1 h2 {
    transform: scale(.9);
}
  .boxTitolo h2 {
    transform: scale(.7);
  }
  .container-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 10px 50px;
  }
  
.container-grid1,
.container-grid2,
.container-grid3,
.container-grid4,
.container-grid5,
.container-grid6,
.container-grid7,
.container-grid8,
.container-grid9,
.container-grid10,
.container-grid11,
.container-grid12 {
    min-height: 400px;
    margin: 5px auto;
    width: 100%;
    box-sizing: border-box;
}
.box-contatti {
    grid-template-columns: 1fr;
}
div#contatti {
    padding: 20px 0;
}
.box-form-titolo h3 {
    margin: 10px 0 0;
    font-size: 25px !important;
}
.box-form-titolo h4 {
    margin: 15px 0 10px;
    transform: scale(.9);
    font-size: 20px;
    font-weight: 400;
}
.box-mail h3 {
    font-size: 20px !important;
    font-weight: 400;
}
.box-messaggio h3 {
    font-size: 20px !important;
    font-weight: 400;
}
input.btn-invia {
  margin-top: 15px;
  transform: scale(.8);
}
.box-maps {
    margin: 0;
}
.box-maps iframe {
    padding: 0;
}
  
}
@media only screen and (max-width: 600px){
  .inBox1 {
    max-height: 450px;
    }
  .container-carica p {
    font-size: 40px;
  }
  img.logo {
    height: 40px;
}
  .title1{
    font-size: 50px;
  }
  .box-logo {
    padding: 0 10px;
    margin: 0;
  }
  svg#logo {
    padding: 0;
  }
  /* .chiSono {
    display: flex;
    z-index: 1;
    padding: 0;
} */
/* #titolo-miei {
    display: flex;
    flex-direction: column;
}
#titolo-miei h2 {
    font-size: 40px;
    height: 150px;
    padding: 0;
    width: 110%;
    transform: rotate(-4deg) translate(-5%, 2%);
}*/

div#titolo-miei h2 {
    font-size: 50px;
}
/* div#titolo-miei hr {
    width: 100%;
} */
.hr {
  width: 100% !important;
}
.titH2 {
    padding: 0 10px;
}
.titolo-miei h2 {
    font-size: 40px;
}
.imgProfilo img {
    width: 80%;
    margin: 100px 20px 50px;
}
.chiSono p {
    font-size: 21px;
  }
  .container-grid {
    padding: 30px 5px;
}
  .box-contatti {
    padding: 0;
  }
}
@media only screen and (max-height: 450px){
  .container-box {
    min-height: 550px;
  }
}

/**************************ANIMAZIONI******************************/
@keyframes lineOffeset {
  45%{

    fill: transparent;
  }
  100%{
    stroke-dashoffset: 0;
    fill: transparent;
  }

}
@keyframes translateR {
  0%{
    transform: translateX(200%);
  }
  100%{
    transform: translateX(0%);
  }
}
@keyframes translateL {
  0%{
    transform: translateX(0%);
  }
  100%{
    transform: translateX(200%);
  }
}
@keyframes sfondoZoom {
  50%{
    transform: scale(1.3);
  }
  100%{
    transform: scale(1);
  }
}
@keyframes carica {
0%{
  opacity: 1;
}
50%{
  /* transform: translate(-50%, -50%) scale3d(0.3,0.3,0.3); */
  transform: translate(-50%, -50%) scale(.2);
  opacity: .5;
  z-index: 20;
}
100%{
  opacity: 0;
  z-index: -10;
}
}
@keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

.zoomOut {
  animation-name: zoomOut;
}
.heartbeat {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
.rotate-center {
	   animation: rotate-center 1.5s linear infinite both;
}
@keyframes rotate-center {
  0% {
            transform: rotate(0);
  }
  100% {
            transform: rotate(360deg);
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated.infinite {
  animation-iteration-count: infinite;
}

.animated.delay-1s {
  animation-delay: 1s;
}

.animated.delay-2s {
  animation-delay: 2s;
}

.animated.delay-3s {
  animation-delay: 3s;
}

.animated.delay-4s {
  animation-delay: 4s;
}

.animated.delay-5s {
  animation-delay: 5s;
}

.animated.fast {
  animation-duration: 800ms;
}

.animated.faster {
  animation-duration: 500ms;
}

.animated.slow {
  animation-duration: 2s;
}

.animated.slower {
  animation-duration: 3s;
}

@media (print), (prefers-reduced-motion: reduce) {
  .animated {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
.opacity {
  opacity: 1 !important;
  visibility: visible;
}
.opacity0 {
  opacity: 0 !important;
  visibility: hidden;
}
.fixed {
  position: fixed !important;
}
.left {
  left: 0;
}