html, body, div, table, tr, td, th, h1, h2, h3, h4, h5, h6, ul, li, ol, p, span, a, img {
  margin:0;
  padding:0;
  border:none;
}
* { box-sizing:border-box; }

body
{
	font-family: 'Sniglet', sans-serif;
	background-color: black;
}

div.container
{
	max-width: 750px;
	margin: auto;
	padding: 50px;
}

h1
{
	text-align: center;
	margin: 20px 0;
	filter: grayscale(100%) brightness(0) blur(0.5px);
	animation: fruitLoops 0.8s infinite;
}

h1:hover
{
	filter: none;
}


@keyframes fruitLoops {
  0%   {
  	transform: scale3d(1,1,1);
  	filter: grayscale(100%) brightness(0) blur(0.5px);
  }
  50% {
  	transform: scale3d(0.5, 1, 1.7);
  	filter: none;
  }
  100%   {
  	transform: scale3d(1,1,1);
  	filter: grayscale(100%) brightness(0) blur(0.5px);
  }
}


/*------------------
|                   |
|    Item Cards     |
|                   |
-------------------*/

.content-columns {
    column-count: 2;
    column-gap: 15px;
}
.card {
	display: block;
	position: relative;
    border: 1px dotted #eee;
    padding: 15px;
    margin: 0 2px 15px;
    -webkit-column-break-inside: avoid;
    overflow: hidden;
}


.card-img {
    width: 100%;
}
.card-img img {
    width: 100%;
    height: auto;
}

.card-back {
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.5);
	opacity: 0;
	overflow: hidden;
	transition: 0.3s ease-in-out;
}

.card-back .text
{
	position: absolute;
	top: 50%;
	left: 50%;
	color: white;
	transform: translate(-50%,-50%);
	font-size: 25px;
	transition: 0.3s ease-in-out;
}

.card:hover .card-back
{
	opacity: 1;
}

.card:hover .card-back .text
{
	animation: cardLoop 0.8s infinite;
}

@keyframes cardLoop {
  0%   {
  	transform: translate(-50%,-50%) scale3d(1,1,1);
  }
  50% {
  	transform: translate(-50%,-50%) scale3d(1, 0.5, 1);
  }
  100%   {
  	transform: translate(-50%,-50%) scale3d(1,1,1);
  }
}



/*------------------
|                   |
|   Media queries   |
|                   |
-------------------*/


/* For mobile phones & general */

[class*="col-"] {
    float: left;
    width: 100%;
}

    .col-xs-1 {width: 8.33%;}
    .col-xs-2 {width: 16.66%;}
    .col-xs-3 {width: 25%;}
    .col-xs-4 {width: 33.33%;}
    .col-xs-5 {width: 41.66%;}
    .col-xs-6 {width: 50%;}
    .col-xs-7 {width: 58.33%;}
    .col-xs-8 {width: 66.66%;}
    .col-xs-9 {width: 75%;}
    .col-xs-10 {width: 83.33%;}
    .col-xs-11 {width: 91.66%;}
    .col-xs-12 {width: 100%;}

    /* For tablets: */

@media only screen and (min-width: 600px) {
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}

   .content-columns {
       column-count: 3;
   }
}

    /* For desktop: */

@media only screen and (min-width: 768px) {
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    .content-columns {


    column-count: 4;
}

}
