/* Typography imported from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display|Source+Sans+Pro:200,400');

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
}

p, a {
	font-family: 'Source Sans Pro', sans-serif;
}

/* Generic styles */
html {
	scroll-behavior: smooth;
	width: 100%; height: 100%
}

body { 
/*
	font-family: 'Open Sans', sans-serif; 
	font-size: 13px; */
	background-color: #82A31D;
}

/* zabezpieczenie przed kopiowaniem treści */
* {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}


a {
	background-color: #FF79FB;
	text-decoration: none;
	color: #FFFFFF;
	border-radius: .25rem;
	text-align: center;
	display: inline-block;
	transition: all .3s;
}

a:hover {
	opacity: .6;
}

.wrapper {
	max-width: 800px;
	width: 100%;
	margin: 0px auto;
}

/* Styles for the hero image */
.hero {
	background: url('mariusz.jpg') center;
	background-size: cover;
	padding: 4rem 2rem;
	/* grid styles */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: center;
}

.hero > * {
	color: #FFE4C4;
}

.hero > h1 {
	font-size: 4rem;
	padding-bottom: 1rem;
}

.hero > article > p {
	font-size: 1.5rem;
	font-weight: 200;
}

.hero > article > a {
	padding: 1rem;
	margin-top: .75rem;
}

/* section styles */
.section {
	padding: 2rem;
}

.section > ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	grid-gap: 1rem;
}

.section > ul > li {
	border: 1px solid #E2E2E2;
	border-radius: .5rem;
    background-color: #4D4D4D;
}

.section > ul > li > figure {
	max-height: 220px;
	overflow: hidden;
	border-top-left-radius: .5rem;
	border-top-right-radius: .5rem;
	position: relative;
}

.section > ul > li > figure > img {
	width: 100%;
}

.section > ul > li > figure > figcaption {
	position: absolute;
	bottom: 0;background-color: rgba(0,0,0,.3);
	width: 100%;
	text-align: center;  
}

.section > ul > li > figure > figcaption > h2 {
	color: #FFE4C4;
	padding: .75rem;
	font-size: 1.25rem;
}

.section > ul > li > p {
	font-size: 1rem;
	line-height: 1.5;
	padding: 1rem .75rem;
	color: #D3D3D3;
	text-align: center; 
}

.section > ul > li > a {
	padding: .5rem 1rem;
	margin: .5rem;
}

/* footer */
footer {
	background-color: #333;
	padding: .75rem;
	color: #ff0066;
	text-align: center;
	font-size: .75rem;
}