﻿body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #eee;
}
.title {
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    color: #333;
    margin: 24px;
}
.wrapper{
    margin: 0 auto;
}
.masonry {
  transition: all .5s ease-in-out;
 /* column-gap: 30px;
  column-fill: initial; */
}
.masonry .brick {
  margin-bottom: 24px;
  float: left;
  width: 25%;
  text-align: center;
}
.masonry .brick img {
  transition: all .5s ease-in-out;
  max-width: 220px;
  width: 100%;
}
.masonry .brick:hover img {
  opacity: .75;
}
.masonry.bordered {
  -moz-column-rule: 1px solid #eee;
  -webkit-column-rule: 1px solid #eee;
  column-rule: 1px solid #eee;
  -moz-column-gap: 50px;
  -webkit-column-gap: 50px;
  column-gap: 50px;
}
.masonry.bordered .brick {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}
.masonry.gutterless {
  -moz-column-gap: 0;
  -webkit-column-gap: 0;
  column-gap: 0;
}
.masonry.gutterless .brick {
  margin-bottom: 0;
}

.span {
  -moz-column-span: all;
  -webkit-column-span: all;
  column-span: all;
  margin: 30px 0;
}

/* Let's only __________1024___________ */
@media only screen and (min-width: 1024px) {
  .desc {
    font-size: 1.25em;
}

.intro {
    letter-spacing: 1px;
}

.wrapper {
    width: 100%;
    padding: 1em;
}
.masonry {
 /*   column-count: 4; 
    display: flex;
   align-items: center;*/
   text-align: center;
}

}


/* Let's only __________768___________ */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
.wrapper {
    padding: 1.0em;
}
.masonry {
   /* column-count: 2; */
}
.masonry .brick { 
    padding:3px;
    margin-bottom: 12px;
}

}

/* Let's only __________767___________ */
@media only screen and (max-width: 767px) {
.masonry .brick {
    margin-bottom: 16px;
   /* width: 33.3%; */
    padding: 3px;
}

}

/* Let's only __________640___________ */
@media screen and (max-width: 640px) {



}


/* Let's only __________480___________ */
@media screen and (max-width: 480px) {
.masonry .brick {
    margin-bottom: 6px;
    width: 50%;
}




}
 