@font-face
{
font-family: 'Zoom';
src: url('Zoom.woff') format('woff');
font-weight: normal;
font-style: normal;
}

#zoom
{
position: fixed;
overflow: hidden;
z-index: 10;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.75);
border-radius: 100%;
-webkit-transform: scale(0);
transform: scale(0);
transition: transform 0.5s 0.25s, -webkit-transform 0.5s 0.25s, border-radius 0.5s 0.25s;
}
.modernizr_cssvmaxunit #zoom
{
width: 100vmax;
height: 100vmax;
left: calc((50vmax - 50vw) * -1);
top: calc((50vmax - 50vh) * -1);
}
#zoom.on
{
border-radius: 0%;
-webkit-transform: scale(1);
transform: scale(1);
transition: transform 0.5s, -webkit-transform 0.5s, border-radius 0.5s 0.25s, box-shadow 0.5s 0.25s;
}
#zoom #zoom_img
{
position: absolute;
opacity: 0;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transition: opacity 0.5s;
}
.modernizr_cssvmaxunit #zoom #zoom_img
{
left: calc(50vmax - 50vw);
top: calc(50vmax - 50vh);
}
#zoom.on #zoom_img
{
opacity: 1;
transition: opacity 0.5s 0.25s;
}
#zoom button
{
display: block;
position: absolute;
box-sizing: border-box;
background: transparent;
border: none;
color: transparent;
font-family: Zoom;
font-size: 75px;
}
#zoom button.off {display: none;}
#zoom button.prev, #zoom button.suiv
{
width: 25vw;
height: 100%;
top: 0;
transition: padding 0.25s, color 0.25s;
}
#zoom button.prev
{
left: 0;
padding-left: 10vw;
}
.modernizr_cssvmaxunit #zoom button.prev {left: calc((100vmax - 100vw) / 2);}
#zoom button.suiv
{
right: 0;
padding-right: 10vw;
}
.modernizr_cssvmaxunit #zoom button.suiv {right: calc((100vmax - 100vw) / 2);}
#zoom button.prev:hover, #zoom button.suiv:hover
{
padding: 0px;
color: white;
text-shadow: 0 0 15px rgba(0,0,0,0.25);
}
#zoom button.quit
{
width: 128px;
height: 128px;
right: 0;
top: 0;
margin-right: 8px;
margin-top: -8px;
border-radius: 100%;
color: white;
text-shadow: 0 0 15px rgba(0,0,0,0.25);
transition: font-size 0.25s;
}
.modernizr_cssvmaxunit #zoom button.quit
{
right: calc((100vmax - 100vw) / 2);
top: calc((100vmax - 100vh) / 2);
}
#zoom button.quit:hover {font-size: 100px;}

@media (max-width: 500px) {
	#zoom button {font-size: 50px;}
	#zoom button.prev, #zoom button.suiv {width: 50vw;}
	#zoom button.quit
	{
	width: 96px;
	height: 96px;
	margin-right: -8px;
	}
	#zoom button.quit:hover {font-size: 75px;}
}