.prova{
  color: #2196F3 !important;
  transition: .9s;
}
.backgroundBlue {
  background: #2196F3 !important;
}
.forMenuBlue {
  border-bottom: 2px solid #2196F3 !important;
}
.closeItemBlue:hover i {
  text-shadow: 0 0 10px #2196F3 !important;
}
.closeItemBlue:hover p {
  text-shadow: 0 0 10px #2196F3 !important;
}
.menuItemBlue a {
    border-bottom: 2px solid #2196F3 !important;

}
.menuItemBlue:hover a {
  text-shadow: 0 0 10px #2196F3 !important;
}
li.menuItemColor {
    justify-content: center;
    align-items: center;
    min-height: 40px;
    height: auto;
    /* background: red; */
    position: absolute;
    width: 80%;
    bottom: 0%;
    right: 50%;
    transform: translateX(50%);
    display: flex;
}
a.color1 {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2196F3;
    position: relative;
    margin: auto 8px auto;
    align-items: center;
    border: 2px solid black;
    cursor: pointer;
    transition-property: scale;
    transition: .8s;
}
a.color2 {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E91E63;
    position: relative;
    margin: auto 8px auto;
    align-items: center;
    border: 2px solid
    black;
    cursor: pointer;
    transition-property: scale;
    transition: .8s;
}
.color1Pink a {
 background: #E91E63 !important;
}
.menuItemColor:hover a {
  transform: scale(1.1) !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
    margin: auto;
    padding: 0;
    font-family: arial;
    box-sizing: border-box;
    position: relative;
    left: 0;
  }
hr {
    background: #9E9E9E;
    height: 5px;
    margin-top: 3px;
    border: none;
}
h1 {
    font-size: 45px;
    transition: .8s;
}

h2 {
    font-size: 35px;
    transition: .8s;
}

h3 {
    font-size: 25px;
    transition: .8s;
}

p {
    font-size: 18px;
}

.nascondi {
    transition: .8s !important;
    position: absolute !important;
    opacity: 0 !important;
    z-index: -10 !important;
    visibility: collapse !important;
}
.box-banner {
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #00000094;
    z-index: 100;
}
.banner {
    position: absolute;
    width: auto;
    margin: auto;
    height: auto;
    z-index: 101;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}
.banner p {
    font-size: 25px;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 20px;
    text-decoration-line: underline;
    text-align: center;
}
.banner button {
    font-size: 15px;
    border-radius: 10px;
    padding: 5px 10px;
    text-transform: uppercase;
    background: #00000033;
    border: 2px solid #E91E63;
    border-radius: 20px;
    outline: none;
    color: white;
}
.banner button:hover {
  color: blue;
  cursor: pointer;
}
ul.menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    width: 300px;
    height: 98%;
    /* background: black; */
    top: 0;
    list-style-type: none;
    transform: translateX(300px);
    transition: .8s;
    padding: 30px 0;
}
li.closeItem {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    margin: auto auto 5%;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border-radius: 20px;
    cursor: pointer;
    transform: translate(0, -20%);
}
li.closeItem i {
    position: relative;
    height: 100%;
    font-size: 30px;
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: black;
    right: -150%;
    transition: .5s !important;
}
li.closeItem p {
    position: relative;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: black;
    right: -150%;
    transition: .5s !important;
    transition-property: color;
}
li.closeItem:hover p {

  text-shadow: 0 0 10px #E91E63;
  transition: .5s !important;
}
li.closeItem:hover i {

  text-shadow: 0 0 10px #E91E63;
  transition: .5s !important;
}
li.menuItem {
    display: flex;
    justify-content: flex-end;
    /* border-bottom: 1px solid black; */
    /* border-top: 1px solid black; */
    align-items: center;
    height: 100%;
}
li.menuItem a {
    text-decoration: none;
    margin: 20px;
    text-transform: uppercase;
    color: black;
    border-bottom: 2px solid #E91E63;
    font-weight: 700;
    font-size: 22px;
    transition: .8s;
    /* transform: translateX(150px); */
    font-style: oblique;
    padding: 0 15px;

}
.li1 {
  transform: translateX(200px);
}
.li2 {
  transform: translateX(300px);
}
.li3 {
  transform: translateX(400px);
}
.li4 {
  transform: translateX(500px);
}

li.menuItem:hover a {
  /* color: #E91E63; */
  transform: translateX(-25px) !important;
  transition: .8s !important;
  text-shadow: 0 0 10px #E91E63;
  padding: 0 35px;
}
div {
  position: relative;
  transition: .8s;
}
.riduciTutto {
    transform: scale(0.9) translateX(-280px) !important;
}
#checkMenu{
  position: fixed;
  display: none;
}
#checkMenu:checked ~ .menu {
  transform: translateX(0px);
  transition: .8s;
}
#checkMenu:checked ~ .menu a {
  transform: translateX(0px);
  transition: 1.5s;
}

#checkMenu:checked ~ ul.menu i {
  right: 0% !important;
  transition: 1.5s;
  transition-delay: .5s;
  transition-property: right;
}
#checkMenu:checked ~ ul.menu p {
  right: 0% !important;
  transition: 1.5s;
  transition-delay: .8s;
  transition-property: right;
}
#checkMenu:checked ~ .forMenu{
  /* content: 'Menu'; */
  right: 300px;
  transform: scale(0.9);
  transition: .8s;
  opacity: 0;
  pointer-events: none;
}
#checkMenu:checked ~ div {
  transform: translateX(-300px) scale(0.9);
  transition: .8s;
}
#checkMenu:checked ~ footer {
  transform: translate(-300px,-50px) scale(0.88);
}
#checkMenu:checked ~ form {
  transform: translateX(-300px) scale(0.9);
}
.forMenu {

    position: absolute;
    display: flex;
    width: auto;
    right: 0;
    margin: 20px;
    transition: .8s;
    z-index: 1;
    /* background: #00000033; */
    /* border: 2px solid #E91E63; */
    padding: 3px 5px;
    /* border-radius: 20px; */
    outline: none;
    /* animation: loaderin 0.7s linear 1s both; */
    color: white;
    cursor: pointer;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 2px solid #E91E63;
}
.forMenu:hover{
  transform: scale(.9);
}
@-webkit-keyframes loaderin {
  0%{
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100%{
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
}
@-webkit-keyframes loaderZoom {
  0%{
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  100%{
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.box-ingresso {
    display: grid;
    grid-template-columns: repeat(12,1fr);
}
.sfondo-box {
    grid-column: 1/13;
    grid-row: 1/13;
    overflow: hidden;
    display: grid;
}
.sfondo-img {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
}
div#img1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 1;
    z-index: -1;
    background: url(img/web_design_Mirko_Gatti.jpg) center center no-repeat;
    background-size: cover;
    animation: zoomImg 30s linear infinite;
}
div#img2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(img/Creazione_sito_web_Mirko_Gatti.jpg) center center no-repeat;
    background-size: cover;
    z-index: -2;
    transform: scale(1.3);
    animation: zoomImg2 30s linear infinite;
}
@-webkit-keyframes zoomImg {
  40%{
    opacity: 1;
  }
  45%{
    opacity: 0;
  }
  40%{
    transform: scale(1.2);
  }
  45%{
    transform: scale(1.4);
  }
  95%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@-webkit-keyframes zoomImg2 {

  45%{
    transform: scale(1.3);
  }
  95%{
    transform: scale(1);
  }
}

.mess-ingresso {
    display: grid;
    width: 100%;
    height: auto;
    background: #ffffffde;
    grid-column: 2/12;
    grid-row: 2/12;
    grid-template-columns: 1fr 2fr;
    align-content: center;
    grid-gap: 5%;
    border: 3px solid black;
    border-radius: 10px;
    padding: 20px 10px;
    z-index: 0;
    opacity: 0;
}

.logo-ingresso {
    position: absolute;
    z-index: 1;
    padding: 0;
    margin: 10px 20px;
}
.logo-ingresso img{
  width: 120px;
  height: auto;
  transition: .8s;
}
.logo-ingresso:hover img{
  transform: scale(.9);
}
.mess-ingresso img {
    width: 100%;
    max-width: 270px;
    border-radius: 50%;
    margin-left: 10px;
}
.mes-scritta {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}
.mes-scritta h1 {
    text-transform: uppercase;
    color: #E91E63;
}
.mes-scritta hr {
    width: 70%;
    margin: 2% auto 3% auto;
}

button.btn_sono {
    min-width: 150px;
    width: auto;
    min-height: 30px;
    height: auto;
    padding: 5px;
    margin: 0 auto;
    margin-top: 20px;
    background: #E91E63;
    border-radius: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    outline: none;
    border: none;
    transition: .6s;
}
button.btn_sono:hover {
    transform: scale(0.95);
}
.mes-foto {
    display: grid;
    align-self: center;
    justify-content: end;
}
.mes-foto2 {
    display: none;
}
/* secondo box */
.box-contenitore {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    align-items: center;
}
.primo{
  opacity: 0;
}
.terzo {
    opacity: 0;
}
.aggiunto {
  opacity: 0;
}
.box-contenitoreSx img {
  width: 100%;
  padding: 40px;
}
.box-contenitoreRx {
    display: flex;
    align-items: center;

}
.box-contenitoreRxTesto {
    padding: 0 25px;
    text-align: center;
    width: 100%;
}
.box-contenitoreRxTesto h2 {
    color: #E91E63;
    font-weight: 600;
    /* font-size: 30px; */
}
.box-contenitoreRxTesto hr {
  margin-top: 3%;
}


/* fine secondo box */
.box-contenitore2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #9e9e9e12;
    min-height: 600px;
    align-items: center;
    opacity: 0;
}
.box-contenitore2 img{
  width: 90%;
  margin: auto;
  padding: 40px 0 40px 40px;
}


/* inizio form */

form.box-form {
    position: relative;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    width: 100%;
    padding: 30px;
    background: linear-gradient(130deg, #03A9F4, #E91E63);
    transition: .8s;
}
.box-form-in {
    display: grid;
    width: 70%;
    margin: auto;
    height: auto;
}
.box-form-titolo {
    text-align: center;
    color: white;
    margin: 20px auto 40px;
}
.box-form-titolo h2 {
    font-weight: 800;
    font-size: 45px;
}
.box-form-titolo h3 {
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 10px;
}
.box-form-titolo h4 {
    font-size: 30px;
    font-weight: 500;
}
.box-mail.box-messaggio {
    grid-column: 1;
}

.box-messaggio textarea {
    min-height: 35px;
    font-size: 20px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding: 2%;
    border: none;
    margin: auto;
}

.box-mail h3, .box-messaggio h3 {
    /* font-size: 30px; */
    color: white;
    text-decoration: underline;
    margin: 10px 0;
    padding-left: 20px;
}

.box-mail input {
    min-height: 35px;
    font-size: 20px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding-left: 2%;
    border: none;
    margin: auto;
}
.btn-invia {
    width: 200px !important;
    margin: 50px auto 20px auto !important;
    display: grid !important;
    font-size: 25px !important;
    height: auto !important;
    padding: 10px !important;
    border-radius: 30px !important;
    background: #ffffff57 !important;
    border: 2px solid #fffffff7 !important;
    color: white !important;
    outline: none !important;
    cursor: pointer !important;
}
.btn-invia:hover {
    border: 2px solid #E91E63 !important;
}
/* inizio footer */
footer {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    box-sizing: border-box;
    position: relative;
    top: 20px;
    grid-gap: 5px;
    transform: translateX(0px);
    transition: .8s;
    padding-bottom: 20px;
}
.box-footer {
    width: 95%;
    margin: auto;
    min-height: 250px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 25px -15px black;
    position: relative;
    overflow: hidden;
    justify-content: center;
    display: flex;
}

#box-social{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(img/Facebook-logo.jpg) no-repeat;
    background-size: cover;
    opacity: 0;
    z-index: -1;
    border-radius: 10px;
    transition: .9s;
    background-position: center;
}
#box-social2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(img/Instagram-logo.jpg) no-repeat;
    background-size: cover;
    opacity: 0;
    z-index: -1;
    border-radius: 10px;
    transition: .9s;
    background-position: center;
}
#box-social3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(img/social-media.png) no-repeat;
    background-size: cover;
    opacity: 0;
    z-index: -1;
    border-radius: 10px;
    transition: .9s;
    background-position: center;
    transform: scale(0.9);
    animation: zoomImg2 40s linear infinite;
}
.sfondo-social2 {
  opacity: .2 !important;
}
.sfondo-social3 {
  opacity: .1 !important;
}

@keyframes prova {
  0%{
    background: none;
  }
  100%{
    background: linear-gradient(120deg, #224eb2, #ffff);
  }
}
.box-footer-testo {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-top: 20px;
}
.box-footer-testo h2 {
    text-align: center;
    /* font-size: 30px; */
    color: #E91E63;
}
.box-footer-testo p {
    font-size: 20px;
}
.box-footer-testo b {
    color: #E91E63;
}
.box-footer-testo li {
    margin: 10px;
    list-style: none;
    font-size: 20px;
}
.box-footer-testo li a:hover{
  color: #E91E63;
}
.icone-social {
    display: flex;
    width: 80%;
    height: 100%;
    margin: 30px auto;
    justify-content: space-evenly;
}
.fab{
  transition: .8s;
}
.fab:hover{
    transform: rotate(360deg);
}
.fa-facebook {
    color: #234eb2;
}
.fa-instagram {
    color: #e3659f;
}
/* turn up */
.box-turnUp {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    position: fixed;
    bottom: 35px;
    right: 30px;
    z-index: -1;
    opacity: 0;
}
.box-turnUp:hover {
  transform: scale(.9);
}
.opacity {
  opacity: 1;
  z-index: 1;
}
.box-turnUp a {
    padding: 3px 10px;
    border-radius: 50%;
    width: auto;
    cursor: pointer;
    background: #00000033;
    border: 2px solid #E91E63;
    transition: .8s;
}
i.fa-angle-up{
    font-size: 40px;
}
/* fine turn up */



@media only screen and (max-width: 900px) {
  h1 {
      font-size: 35px;
  }

  h2 {
      font-size: 28px;
  }

  h3 {
      font-size: 23px;
  }

  p {
      font-size: 18px;
  }
  ul.menu {
      width: 250px;
      transform: translateX(250px);
  }
  #checkMenu:checked ~ .forMenu {
    right: 250px;
  }
  #checkMenu:checked ~ div {
    transform: translateX(-250px) scale(0.9);
  }
  #checkMenu:checked ~ footer {
    transform: translate(-250px, -50px) scale(0.88);
  }
  #checkMenu:checked ~ form {
    transform: translateX(-250px) scale(0.9);
  }

  .banner{
    width: 90%;
  }
  .banner p {
    text-align: center;
  }
  li.menuItem a{
    /* font-size: 18px; */
  }
  .forMenu {
    font-size: 16px;
    margin: 1%;
    animation: none;
    box-sizing: border-box;
  }
  .forMenu:hover{
    /* transform: scale(1.2) translate(-5px, 5px); */
    animation: none;
  }
  .box-ingresso {
      position: relative;
      display: block;
  }
  .sfondo-box {
      position: relative;
  }
  .sfondo-img {
    position: relative;
    display: flex;
    width: 100%;
    height: 85vh;
}
  .sfondo-box img {
      width: 100%;
  }
  .mess-ingresso {
      position: relative;
      display: flex;
      flex-direction: column;
      width: 100%;
      height: auto;
      background: white;
      bottom: 15px;
      align-items: center;
      padding: 20px 0;
      border-radius: 0;
      border: none;
      border-top: 3px solid;
      border-bottom: 3px solid;
  }
  .mes-foto {
      display: none;
  }
  .logo-ingresso {
      position: absolute;
      top:0;
      margin: 4px;
  }
  .logo-ingresso img{
    width: 60px;
    height: auto;
  }
  .logo-ingresso:hover img{
    transform: none;
  }
  .mes-foto2 {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      width: 85%;
      opacity: 0;
  }
  .mes-foto2 img {
      display: flex;
      margin: auto;
      width: 100%;
      max-width: 350px;
      border-radius: 50%;
      animation: none;
      padding: 3px;
      background: white;
      /* opacity: 1; */
      /* animation: compariIn 1s linear .5s both; */
  }
  .mes-scritta {
    width: 100%;
  }
  .mes-scritta h1 {
      /* font-size: 35px; */
      text-transform: uppercase;
      color: #E91E63;
  }
  .mes-scritta hr {
    margin: 2% auto 3%;
    width: 80%;
  }
  .mes-scritta h2 {
      /* font-size: 20px; */
  }
  button.btn_sono {
      display: none;
      /* min-width: 150px;
      width: auto;
      min-height: 30px;
      height: auto;
      padding: 5px;
      margin: 0 auto;
      margin-top: 20px;
      background: #E91E63;
      border-radius: 10px;
      font-size: 20px; */
  }
  /* Inizio boxSecondo */

  .box-contenitore {
    display: grid;
    grid-template-columns: 1fr;
    margin: 15% 0;
  }
  .box-contenitoreSx {
      display: grid;
      justify-items: center;
      align-self: center;
  }
  .box-contenitoreSx img {
      width: 80%;
      padding: 0;
      margin: auto;
      margin-bottom: 5%;
  }
  .box-contenitoreRx {
      margin: 5% 0;
  }
  .box-contenitoreRxTesto {
    padding: 0 15px;
  }
  .column-reverse {
    grid-row: 2;
  }
/* fine boxSecondo */
.box-contenitore2 {
    grid-template-columns: 1fr;
    padding: 5% 0 8% 0;
}
/* .box-contenitore2 img {
  width: 80%;
  padding: 0;
  margin: auto;
  margin-bottom: 5%;
} */
.box-contenitore2 img {
    margin: 0 auto;
    padding: 8% 2% 2%;
}
form.box-form {
    padding: 2%;
}
.box-form-titolo {
    margin: 20px auto 20px;
}
.box-form-titolo h2 {
    font-size: 38px;
}
.box-form-titolo h3 {
    font-size: 28px;
}
.box-form-titolo h4 {
    font-size: 20px;
}
.box-mail input {
    font-size: 18px;
}
.box-form-in {
    width: 100%;
    margin: 0 auto;
    height: auto;
}
.btn-invia {
    width: 100% !important;
    margin: 15px auto !important;
    font-size: 18px !important;
    padding: 10px !important;
    border-radius: 30px !important;
    background: #ffffff57 !important;
    border: 2px solid #fffffff7 !important;
    color: white !important;
    outline: none !important;
    cursor: pointer !important;
}

  footer {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .box-footer-testo {
    padding: 10px;
  }
  .box-footer-testo p {
    text-align: center;
    margin-top: 5px;
}
.box-footer-testo li {
    text-align: center;
}
}
@media only screen and (max-height: 450px) {

  .sfondo-box {
      height: 100vh;
  }
  .mes-foto2 {
      width: 35%;
  }

}


/* effetti */
.a-right{
  animation: a-right .8s linear .8s both;
}
@-webkit-keyframes a-right {
  0%{
    -webkit-left: -100%;
            left: -100%;
  }
  100%{
    -webkit-left: 0;
            left: 0;
  }
}
.compariIn-1s{
  animation: compariIn 1s linear both;
}
.compariIn{
  animation: compariIn 2s linear both;
}
@keyframes compariIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
.compariIn-delay-8s{
  animation: compariIn .8s linear 1s both;
}
@keyframes compariInOut {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 1;
  }
  40%{
    opacity: 1;
  }
  60%{
    opacity: 1;
  }
  80%{
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}
.traslateLeft{
  animation: toLeft .8s linear both;
}
@keyframes toLeft {
  0%{
    transform: translateY(-100%);
  }
  100%{
    transform: translateY(0);
  }

}
.compariIn900{
  animation: compariIn900 1s linear both;
}
@keyframes compariIn900 {
  0%{
    transform: translateY(-500px);
    opacity: 0;
  }
  100%{
    transform: translateY(0px);
    opacity: 1;
  }
}
