.card-wrapper {
  width: 480px;
  height: 200px;
  position: relative;
}

.card {
  /* position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 450px;
  transform: translate(-50%, -50%); */
  width: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: 0.5s;
}
.card .card-image {
  /* position: absolute;
  /* top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;*/
  z-index: 2;
  background-color: #000;
  transition: 0.5s;
}
.card:hover img {
  opacity: 0.4;
  transition: 0.5s;
}

.card:hover .card-image {
  transform: translateY(-100px);
  transition: all 0.9s;
 /* transform: rotateY(180deg); */
}

.card a {
	color: #008EF5;
	text-decoration: none;
}
.card a:hover {
	color: #00228F;
	text-decoration: none;
}
.card-bg {
	background-color: #000 !important;
}
/**** card menu ****/

.card .cardm-image {
  /* position: absolute;
  /* top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;*/
  z-index: 2;
  background-color: #000;
  transition: 0.5s;
}

.card:hover .cardm-image {
  transform: translateY(-100px);
  transition: all 0.9s;
 /* transform: rotateY(180deg); */
}

/**** Details ****/
.szczegoly {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #333333;
  width: 100%;
  height: 100px;
  z-index: 1;
  padding: 10px;
	color: #A2A2A2;
}
.szczegoly h2 {
  margin: 30px 0;
  padding: 0;
  text-align: center;
}
.szczegolym {
  	position: absolute;
  	bottom: 0;
  	left: 0;
  	background: #333333;
  	width: 100%;
  	height: 120px;
	z-index: 1;
  	padding: 10px;
	color: #A2A2A2;
}
.szczegolym p {
	position: absolute;
  	margin-top: 20px;
	padding: 10px;
	font-size: 16px;
}

.naglnav {

}
.naglnav h5 {
  	padding: 1px;
	font-size: 16px;
}


