* {
  margin: 0;
}
html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
}
a:hover,a:focus {
  text-decoration: none!important;
}
.textcool {
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  -webkit-transform: translate3d(0,0,0);
  overflow: hidden;
}
.body-header {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -213px; /* the bottom margin is the negative value of the footer's height */
  text-align: center;
}
.unipiazza {
  width: 100%;
  height: 200px;
  background-image: url(../img/project-unipiazza.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.projectfun {
  width: 100%;
  height: 200px;
  background-image: url(../img/project-projectfun.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.dodotips {
  width: 100%;
  height: 200px;
  background-image: url(../img/project-dodotips.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.body-header a {
	text-decoration:none!important;
	color: #0084d8;
}
.body-header h1 {
	font-weight: 800;
  font-size: 2.5em;
  font-family: 'Roboto', sans-serif;
  position:absolute;
  margin: auto;
  top: 140px; left: 0; bottom: 0; right: 0;
}
.body-header h2 {
	font-weight: 300;
	animation: slider-animation;
	animation-duration: 0.3s;
	position:absolute;
  margin: auto;
  top: 185px; left: 0; bottom: 0; right: 0;
}
.card {
  animation: slider-animation-card;
  animation-duration: 0.6s;
  position:absolute;
  margin: auto;
  top: 200px; left: 0; bottom: 0px; right: 0;
  z-index: 10;
}
.char {
  animation: slider-animation-char;
  animation-duration: 1s;
  position:absolute;
  margin: auto;
  height: 200px;
  top: -58px;
  left: 0; 
  bottom: 0; 
  right: 0;
  z-index: 1;
}
.special {
  animation: slider-animation-char;
  animation-duration: 2s;
  position: absolute;
  margin: auto;
  height: 28px;
  top: -118px;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 11; 
}
.prev, .next {
  font-size: 20pt;
  font-weight:700;
}
.prev {
  left:20%;
  padding: 11px 0;
}
.next {
  right:20%;
  padding: 11px 16px;
}
.arrow-circle {
  animation-delay: 2s;
  background-color: #2A8EFF;
  height: 60px;
  width: 60px;
  opacity: 0;
  border-radius: 50px;
  position: absolute;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  top: 50%;
  color: #fff;
}
.arrow-circle:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.arrow-circle img {
  width: 30px;
  padding-bottom: 4px;
}
.arrow-circle a:hover {
  color: #fff;
}
.arrow-circle:hover {
  opacity: 0.8;
  -moz-opacity: 0.8;
  -webkit-opacity: 0.8;
  cursor: pointer;
}
.ellisse {
  background-image: url("../img/ellisse.png");
  background-size: 100% 100%;
  margin-bottom: -100px;
  height: 213px;
  opacity: 0;
  z-index: -100;
}
.bg {
  z-index: -100;
  vertical-align: middle;
  width: 100%;
}
.body-content {  
  background-color:#2A8EFF;
  color: #fff;
  opacity: 0;
  text-align: center;
  padding: 0px 150px 10px 150px;
  margin-top: 100px;
}
.body-footer {
  width: 100%;
  height: 496px;
  background-image: url("../img/gocce.png");
  background-repeat: no-repeat, repeat;
  background-size: 100%;
  margin-top: -95px;
}
.body-content h2 {
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  font-size: 2em;
  margin-bottom: 50px;
}
.my-social, .my-life, .my-project {
  display: grid;
  margin-bottom: 120px;
}
.card-link:hover {
  text-decoration: none;
}
.instaimg { 
 /*height: 250px;
 overflow: hidden;
 border-radius: 15px;
 margin: auto;
 margin-bottom: 30px;
 max-width: 340px;
 box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);*/
}
.ig-photo {
  height: 330px;
  margin-top: 60px;
  opacity: 0;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  object-fit: cover;
  width: 420px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.ig-photo:hover {
  /*transform: scale(1.1);*/ 
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}
.ig-like {
  font-weight: 600;
  margin-top: -45px;
  font-size: 26px;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.ig-heart {
  width: 18px;
  margin: 0px 6px 4px 0;
}
.card-project {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius:20px;
  max-width: 400px;
  opacity: 0;
  margin:20px auto;
  color: #000;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  text-align: left;
}
.card-project:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.card-project-body {
  padding: 15px 30px 30px 30px;
}
.card-project h2 {
  font-size: 20pt;
  font-family: 'Roboto', sans-serif;
  margin-bottom:3px;
  color: #000000d6;
}
.card-project p {
  font-family: 'Roboto', sans-serif;
  font-size: 13pt;
  color:#060606b3;
}
.card-project-header {
  background-color: #BCBCBC;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.card-project-header img {
  border-radius: 20px 20px 0 0;
  width: 100%;
}
.contact {
  text-align: center;
  padding: 0px 0 30px 0;
  margin-bottom: 50px;
}
.contact span {
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  font-size: 21pt;
}
.contact p {
  font-family: 'Roboto', sans-serif;
  font-size: 15pt;
}
.contact-cta {
  padding: 15px 15px;
  background-color: #2A8EFF;
  width: 200px;
  margin: auto;
  border-radius: 40px;
  color: #fff;
  font-weight: 900;
  font-size: 15pt;
  margin-top: 25px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.contact-cta:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}
ul.social {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: table;
}
.my-social,.my-life-title,.my-project-title {
  opacity: 0;
}
ul.social li {
  margin: 10px;
  width: 65px;
  height: 65px;
  padding: 8px;
  font-size: 36px;
  float: left;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);


}
ul.social li a {
  font-size: 36px;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
ul.social li:hover {
  color: #fff;
  text-decoration: none;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.fa-youtube {
  color:#FD3832;
}
.fa-twitter {
  color:#00C7FF;
}
.fa-instagram {
  color:#EA3B58;
}
.fa-facebook {
  color:#4C76BE;
}
.fa-behance {
  color:#2A5AFC;
}
.fa-dribble {
  color:#F25B98;
}
.fa-linkedin {
  color:#0B86CA;
}
.fa-fabebook:hover{
  color: #fff;
}
.block {
  position: absolute;
  background-color: #abc;
  left: 50px;
  width: 90px;
  height: 90px;
  margin: 5px;
}


@-webkit-keyframes slider-animation {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-moz-keyframes slider-animation {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-o-keyframes slider-animation {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@keyframes slider-animation {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}

@-webkit-keyframes slider-animation-card {
  0%   { opacity: 1; left:0px;  }
  100% { opacity: 1; left:0px;}
}
@-moz-keyframes slider-animation-card {
  0%   { opacity: 1; left:0px;  }
  100% { opacity: 1; left:0px;}
}
@-o-keyframes slider-animation-card {
  0%   { opacity: 1; left:0px;  }
  100% { opacity: 1; left:0px;}
}
@keyframes slider-animation-card {
  0%   { opacity: 1; left:0px;  }
  100% { opacity: 1; left:0px;}
}

@-webkit-keyframes slider-animation-char {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-moz-keyframes slider-animation-char {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-o-keyframes slider-animation-char {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@keyframes slider-animation-char {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}

@-webkit-keyframes slider-animation-special {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-moz-keyframes slider-animation-special {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@-o-keyframes slider-animation-special {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}
@keyframes slider-animation-special {
  0%   { opacity: 0; left:600px;  }
  100% { opacity: 1; left:0px;}
}

/* Animazione testo */
.escape,.into {
  display:inline-block;
  overflow:hidden;
}

.escape {    
/* For increasing performance 
ID/Class should've been used. 
For a small demo 
it's okaish for now */
animation: showup 7s;
animation-iteration-count: 1;
}
.into {
  width:300px;
  animation: reveal 7s;
  animation-iteration-count: 1;
}
.amazing {
  margin-left:0px;
  animation: slidein 7s;
  animation-iteration-count: 1;
}
@keyframes showup {
  0% {opacity:0;}
  20% {opacity:1;}
  80% {opacity:1;}
  100% {opacity:1;}
}
@keyframes slidein {
  0% { margin-left:-800px; }
  20% { margin-left:-800px; }
  35% { margin-left:0px; }
  100% { margin-left:0px; }
}
@keyframes reveal {
  0% {opacity:0;width:0px;}
  20% {opacity:1;width:0px;}
  30% {width:300px;}
  80% {opacity:1;}
  100% {opacity:1;width:300px;}
}
.slideshow-container {
  animation: test 6s;
  animation-iteration-count: 1;
}
@keyframes test {
  0% {opacity:0;}
  20% {opacity:0;}
  80% {opacity:1;}
  100% {opacity:1;}
}



@media screen and (max-width: 400px) { 
  .card-project {
    max-width: 600px;
  }
}

@media screen and (max-width: 1080px) { 
  .prev, .next {
    font-size: 20pt;
    font-weight:700;
  }
  .prev {
    left:8%;
  }
  .next {
    right:8%;
  }
}

@media screen and (max-width: 700px) { 
  .ig-photo {
    height: 220px;
    width: 100%;
  }
  .body-content {
    padding: 0px 40px 10px 40px!important;
  }
  .ig-like {
    margin-top: -30px;
    font-size: 17px;
  }
  .body-footer {
    height: 130px;
    margin-top: -21px;
  }
  ul.social li {
    margin: 5px;
    width: 50px;
    height: 50px;
    padding: 6px;
    font-size: 28px;
    background: #fff;
  }
  .card {
    top: 100px;
    height: 320px;
  }
  .char {
    top: -48px;
    height: 115px;
  }
  .special {
    height: 16px;
    top: -82px;
  }
  .body-header h1 {
    font-size: 1.6em;
    top: 70px;
  }
  .body-header  h2 {
    top: 105px;
    font-size: 1.4em;
  }
  .into {
    width: 190px;
  }
  .arrow-circle img {
    width: 20px;
    padding-bottom: 24px;
    margin-right: -5px;
    margin-left: -5px;
  }
  .arrow-circle {
    height: 40px;
    width: 40px;
  }
  .projectfun,.unipiazza,.dodotips {
    height: 140px;
  }
  .card-project {
    margin: 60px auto;
  }
}
