@import "compass/css3";

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #e5e5e5;
}

/* .container{
  width: 1000px;
  margin: 0 auto;
  padding: 10px;
  position: relative;
} */

.gallery {
  width: 100vw;
  height: 100vh;
  margin: auto;
  padding: 5vw;
  background: #fff;
  /* box-shadow: 2px 2px 2px rgba(0,0,0,.5); */
}

.gallery > div {
  position: relative;
  float: left;
  margin: 1.6vw 2vw;
  text-align: center;

  perspective: 240px;
  perspective-origin: left;  
  cursor: pointer;
}

.gallery > div  > img {
  position: relative;
  width: 14vw;
  min-width: 120px;
  border-radius: .3vw;
/*   height: 150px; */
  /* transition: .12s transform; */
   /* transform: translateZ(0); /*hack */
   /* -webkit-box-reflect: below 0px linear-gradient(to bottom, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0.5) 100%); */
  
  /* transform-style: preserve-3d; */
  /* transform: rotateY(25deg); */
  /* box-shadow: 3px 3px 3px #000; */
  /* transform-origin: bottom; */

  transition: .3s transform;
  animation: deneme2 1.2s;
  /* animation-timing-function: ease-in-out; */
}


@keyframes deneme2 {
  0% {transform: scale(1.8) rotate(0deg);}
  50% {transform: scale(0.6) rotate(0deg)} 
  100% {transform: scale(1) rotateY(0deg);} 
} 
 
@keyframes deneme {
  /* You could think of as "step 1" */
  0%  {    transform: rotateY(0);}
  10% {    transform: rotateY(180);}
  20% {    transform: rotateY(360deg);}
}

.gallery > div  > p {
  font-size: 1.2em;
  position: absolute; 
  width: 100%;
  color: rgb(31, 29, 29);
  display: none;
  bottom: -1.3em;
  z-index: 1;
  padding: .7em 10px;
  
  /* font-weight: 500; */
  /* -webkit-text-stroke-width: 0.3px; */
  /* -webkit-text-stroke-color: black; */

  /* text-shadow:
     2px 2px 2px #000,
    -1px 0px rgb(34, 34, 34),  
     0px -1px rgb(34, 34, 34),
     0px 1px rgb(34, 34, 34),
     1px 0px rgb(34, 34, 34),
     -1px -1px rgb(34, 34, 34),  
     1px -1px rgb(34, 34, 34),
     -1px 1px rgb(34, 34, 34),
     1px 1px rgb(34, 34, 34); */
}

.gallery > div:hover > img {
  transform: scale(1.2, 1.2);
  transition: .3s transform;
  /* transform-origin: 50% 100%; */
  /* -webkit-box-reflect: below 0px linear-gradient(to bottom, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.0) 90%, rgba(0,0,0,0.1) 100%); */
  /* animation: turn-me .5s; */
}

@keyframes turn-me {
  0%  {transform: rotate3d(0, 1, 0, 0deg);}
  30% {transform: rotate3d(0, 1, 3, 80deg);}
  50% {transform: rotate3d(0, 1, 0, 0deg);}
}

.gallery > div:hover  > img+p {
  display: block;
  z-index: 100;
  
  background-color:rgba(255, 255, 255, 0.612);
  backdrop-filter: blur(0.5px);

  /* transform-origin: 100% 100%; */
  transform: scale(1.2,1.2);
  transition: .1s transform;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 10;
}

.cf:after {
  clear: both;
}

h1.title {
  margin: 30px 0px 30px 0px;
  font-size: 80px;
  text-align: center;
  font-weight: bold;
}

label{
  background-color: #fff;
  margin-top: 20px;
  padding: 10px 10px;
  /* font-style: italic; */
  /* border: solid 2px black; */
  box-shadow: 2px 2px 2px rgba(0,0,0,.5);
  border-radius: 3px;

  font-size: 1.4em;

  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 20px;
}

@media screen and (max-width: 2600px) {
  #myFooter{
    min-width: 100vw;
    min-height: 80vh;
  }
}

@media screen and (max-width: 2000px) {
  #myFooter{
    min-width: 100vw;
    min-height: 106vh;
  }
}

@media screen and (max-width: 1200px) {
  #myFooter{
    min-width: 100vw;
    min-height: 70vh;
  }
}

@media screen and (max-width: 768px) {
  #myFooter {
    min-height: 600px;
  }
}