/* CSS Document */
.container > div {
	padding: 0 5px 5px 5px;
    display: flex;
    font-size: 1em;
	justify-content: space-around;
	flex-direction: column;
}


.container > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html, body {
    background-color: #C1C8CE;
    margin: 10px;
	font-family:"Segoe UI Semi-Light", Arial, sans-serif;
	line-height: 1.5em;
	color: #203040;
	font-size: 16px;
	padding:0;
	margin:0;
}
header {
	font-family:"Segoe UI Semi-Bold", Arial, sans-serif;
	line-height: 1.5em;
}
footer {
	font-size: 0.8em;
	text-align:right;
	font-style:italic;
}
.container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
	width: 92vw;
	margin: 10px auto;
	background: white;
	border: solid 5px white;
	box-shadow: 5px 5px 5px rgba(0,0,0,.5);
}
.bg1 {
	background: #000;
	color: #FFF;
	/* text-shadow: 1px 1px 1px rgba(0,0,0,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg2 {
	background: #BBB;
	color: #000;
	/* text-shadow: 1px 1px 1px rgba(255,255,255,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg3 {
	background: #FFDE00;
	color: #000;
	/* text-shadow: 1px 1px 1px rgba(255,255,255,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg4 {
	background: #F90;
	background-size:cover;
	color: #000;
	/* text-shadow: 1px 1px 1px rgba(255,255,255,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg5 {
	background: #39F;
	background-size:cover;
	color: #000;
	/* text-shadow: 1px 1px 1px rgba(255,255,255,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg6 {
	background: #96F;
	color: #FFF;
	/* text-shadow: 1px 1px 1px rgba(0,0,0,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3); */
}
.bg7 {
	background: #6D3;
	color: #000;
	/* text-shadow: 1px 1px 1px rgba(255,255,255,.7);
	box-shadow: inset -2px -2px 3px rgba(255,255,255,.5), inset 2px 2px 3px rgba(0,0,0,.3);*/
}

.horizontal {
    grid-column: span 1;
}

.vertical {
    grid-row: span 2;
    grid-column: span 1;
}

.big {
    grid-column: span 1;
    grid-row: span 2;
}
@media only screen and (min-width: 481px) {
.container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
	width: 100vw;
	margin: 0 auto;
	box-shadow: 5px 5px 5px rgba(0,0,0,.5);
}
}
@media only screen and (min-width: 717px) {
.container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
	width: 100vw;
	margin: 0 auto;
	box-shadow: 5px 5px 5px rgba(0,0,0,.5);
}
.horizontal {
    grid-column: span 2;
}

.vertical {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}
}
@media only screen and (min-width: 769px) {
.container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
	width: 80vw;
	margin: 10px auto;
	max-width:1215px;
	box-shadow: 5px 5px 15px rgba(0,0,0,.5);
}.horizontal {
    grid-column: span 2;
}

.vertical {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}
}