/* Container holding the image and the text */
.paragrafo {
    position: relative;
  }
  
  /* Bottom right text */
  .testo-sopra {
    position: absolute;
    top: 10px;
    left: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .testo-sotto {
    position: absolute;
    top: 10px;
    left: 10px;
    padding-left: 10px;
    padding-right: 20px;
  }
  @font-face {
    font-family: "Elegant Typewriter";
    src: url(font/etRegular.ttf) format("opentype");
  }
  @font-face {
    font-family: "Dovetail Demo";
    src: url(font/DovetailDemoRegular.ttf) format("truetype");
  }

  p{
    font-family: "Elegant Typewriter";
  }

  @keyframes zoominoutsinglefeatured {
    0% {
        transform: scale(1,1);
    }
    50% {
        transform: scale(1.1,1.1);
    }
    100% {
        transform: scale(1,1);
    }
}

.animoz {
	animation: zoominoutsinglefeatured 0.5s 2 ;
}

.top{
  top: -80px;
  transform-origin: top;
  z-index: 3;
  transition: all .6s ease;
  transform: rotateX(0deg);
} 

.animoz.fold .top {
  transform: rotateX(180deg);
  z-index: 6;
}

.img-container {
  position: relative;
}

.overlay-img {
  position: absolute;
  top: 0;
  left: 0;
}