@charset "utf-8";

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  box-sizing: border-box;
  flex-direction: row;
  margin-left: 14%;
  margin-right: 14%;
}

/* Create four equal columns that sits next to each other */
.column {  
  padding: 0 0px;
  box-sizing: border-box;
  width: 100%;
}

.column img {  
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 26px;
  margin-right: 26px;
  vertical-align: middle;
  max-width: 100px;	
  /*border: double;*/
}

/* Grid styles -------------------------------------------------*/
/*.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 30px;
}

.cards {
  max-width: 960px;
  margin: 0 auto 30px;
}

article {
  position: relative;
}

.article-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.article-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
}*/

@media screen and (min-width: 1140px) {
	.column {
		flex: 20%;
		max-width: 20%;
  	}
}

@media screen and (min-width: 960px) {
	.column {
		flex: 33%;
		max-width: 33%;
  	}
}

@media screen and (min-width: 800px) {
	.column {
		flex: 66%;
		max-width: 66%;
  	}
}

@media screen and (min-width: 480px) {
	.column {
		flex: 100%;
		max-width: 100%;
  	}
}
