@charset "utf-8";
/* CSS Document */

body {
	background-color:red;
	height:100vh;
	position:relative;
	padding: 0;
	margin: 0;
}
body::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8vh;
	background: left center / auto 100% url("../img/myimg.png") repeat-x;
	
}
body::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8vh;
	background: left center / auto 100% url("../img/myimg.png") repeat-x;
	
}
.ptnBox {
	display:table-cell;
	width: 400px;
	height:400px;
	background-color:#FFF;
	border: 3px solid #000;
	position:absolute;
	left:50%;
	top: 50%;
	transform:translateX(-50%) translateY(-50%) scale(100%) rotate(0);
	background-image:url('../img/myimg.png');
	background-size: 80% auto;
	background-position: center 20px;
	background-repeat: no-repeat;
	transition: 1.0s all ease;

}
.ptnBox span {
	position:absolute;
	bottom:0;
	display:block;
	width: 100%;
	text-align:center;
	font-size: 50px;
	font-weight: 800;
	color: yellow;
}
.ptnBox::before {
	content:"";
	display:table-cell;
	width: 150px;
	height: 250px;
	background: center / auto 100% url("../img/fruitparfait.png") no-repeat;
	position: absolute;
	right: 20px;
	bottom: 20px;
	
}
.ptnBox:hover {
	transform:translateX(-50%) translateY(-50%) scale(150%) rotate(360deg);
} 




