@charset "utf-8";
/* CSS Document */

/* Mobile first - für schmale Viewports */

li {
	display: inline-block;	
	list-style-type: none;
	width: 45%;
}

img {
	padding: 0;
	margin: 0;	
	width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
}

button {
  padding: 0.1em;
}

     /* Large screens */
@media all and (min-width: 35em) {
	li {
		width: 10em;
	}

	img {
		padding: 0;
		margin: 0;	
		width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
	}

	button {
		padding: 0.1em;
	}

	button:focus, 
	button:hover {
		background: #09c;
	}
}
@media all and (min-width: 35em) {
	button {
		padding: 0.1em;
		width: 10em;
		height: 7.5em;
		position: relative;	
	}

	button img {
		border: 0;
		position: absolute;
		left: 0%;
		top: 0%;
		z-index: 1;
		box-shadow: 0;
		width: 10em;		
		transition: all 1s;			
	}

	button:focus img, 
	button:hover img {
		border: 2em solid #eee;
		border-radius: 1em;
		box-shadow: 1px 1px 5px #333;
		width: 300%;
		position: absolute;
		left: -4%;
		top: -4%;
		z-index: 5;

		transition: all 1s;		
	}	
}
@media all and (min-width: 35em) {
	li {
		width: 10em;
	}

.details {
	position: absolute;
	right: 10%;
	top: 10%;
	background-color: #F1F3F4;
	border: 0.1em solid #3983ab;
	border-radius: 0 8px 8px;
	padding: 1em 1em .2em;
	width: 25em;
	max-height: 20em;
	overflow: auto;
	display: none;
}

.details img {
	width: 90%;
}

.details:target {
	display: block;
}

.close {
	width:0;
	heigh:0;
	border: 0; 
	text-shadow: none; 
	color: transparent;
}
.close:after {
   position: absolute;
   top: 1em;
   right: 1em;
   content:"X";
   color: white;
   background: #c32e04;
   font: font: bold 1em/150% Georgia, Times, serif;
   border: 0.1em solid #3983ab;
   border-radius: 0 8px 8px;
   display: block;
   text-align:center;
   width: 1.5em;
   height:1.5em; padding:0.2em 0 0 0em;
  }
}