/**
@author Sonia Kanclerski
@email skancler@yahoo.fr
@website http://www.soniakanclerski.com/
@update 23/10/2026
@first 29/08/2024
@file style.css
@content Template style in the index.html page.
**/

*,
*:before,
*:after
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html
{
	min-height: 100%;
}

/*** Title of the album ***/
h2
{
	margin-top: 60px;
}

h2, h3 
{
  text-align: center;
}

@media screen and (max-width: 1400px),
@media screen and (max-height: 760px)
{
	h2
	{
		padding: 0 2%;
	}
}

/*** Print styles ***/
@media print
{
	h2
	{
		margin-top: 80pt;
	}
	
}

.gallery {
  width: 1200px;
  margin: 40px auto;
  border-radius: 3px;
  overflow: hidden;
}

.img-c {
  width: 200px;
  height: 200px;
  float: left;
  position: relative;
  overflow: hidden;
}

.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform ease-in-out 300ms;
}

.img-w img {
  display: none;
}

.img-c {
  transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
  transform: scale(1.08);
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  z-index: 2;
}

.img-c.postactive {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.img-c.active.positioned {
  left: 0 !important;
  top: 0 !important;
  transition-delay: 50ms;
}
