

.thumbnail {
  position: relative;
  width: 150px;
  height: 220px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 1%;
  top: 70px;
  height: 210px;
  width: auto;
  -webkit-transform: translate(-30%,-30%) rotate(45deg);
      -ms-transform: translate(-30%,-30%) rotate(45deg);
          transform: translate(-30%,-30%) rotate(45deg);
}
.thumbnail img.portrait {
  width: 215px;
  height: 215px;
}



#centro1 {
position: absolute;
margin-top: -230px;
margin-left: 0px;
}

#centro2 {
position: absolute;
margin-top: -215px;
margin-left: 0px;
}