@charset "utf-8";
/* CSS Document */
* {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	background: #454545;
}
body {
	max-width: 900px;
	margin: 0 auto;
	background-color: #454545;
	color: #999999;
	font-family: "Montserrat", sans-serif;
}

.header {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #E5E5E5;
	font-weight: bold;
	height: 150px;
	font-family: 'Cinzel', serif;
	font-size: 20px;
	letter-spacing: 5px;
	text-align: center;
}

.linia{
	display: flex;
	justify-content: center;
}
.linia hr {
    width: 55%;
    height: 1px;
    background-color: #666666;
    border: 0px;
}

.nav ul {
    display: flex;
	justify-content: center;
	background: #454545;
	list-style: none;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}

.nav a {
	display: block;
	padding: 20px;
	color: #E5E5E5;
	text-decoration: none;
	font-weight: lighter;
	transition: background .1s;
}

.nav a:hover {
	background: #666666;
}

.wrapper{
    min-height: 20px;
}

.container {
  display: flex;
}

.container div {
  min-width: 150px;
}

.mainpic img{
    display: block;
    width: 100%;
}

.pic img{
    width: 55%;
	text-align: center;
	justify-content: center;
}

.hero {
    color: #999999;
    text-align: center;
    margin-top: 6%;
    margin-bottom: 7%;
    margin-left: 23%;
    margin-right: 23%;
    border: 1px;
    border-style: solid;
	border-color: #666666;
    padding: 1%;
}
.hero a:link {
	color: #E5E5E5;
	text-decoration: none;
}
.hero a:hover{
    color:#666666;
}
.hero a:visited {
	color: #999999;
	text-decoration: none;
}
.hero_header {
	color: #E5E5E5;
	text-align: center;
	letter-spacing: 4px;
	margin-top: 4%;
	margin-bottom: 1%;
}

.featured {
  width: 100%;
  text-align: center;
}

.featured-sections{
    display: flex;
    flex-wrap: wrap;
    column-gap: 2%;
    margin-top: 0px;
}
.featured-item{
    flex: 23%;
}
.f-img img{
    display: block;
    width: 100%;
}
.f-head{
    margin-top: 18px;
	margin-bottom: 14px;
    color: #999999;
	letter-spacing: 1px;
	font-weight: bold;
	font-family: 'Cinzel', serif;
}

.f-img {
    overflow: hidden; 
  }
  
.f-img img {
    transition: transform .8s ease;
}
  
.f-img:hover img {
    transform: scale(1.5);
}

.gallery {
justify-content: center;
  display: grid;
  grid-template-columns: 116px 116px 116px 116px;
  grid-gap: 10px;
  padding: 10px;
  columns: 4;
}

.gallery img {
  width: 100%;
	height: 116px;
	display: block;
  object-fit: cover;
  transition: 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 6px #333333;
}

.angallery {
justify-content: center;
  display: grid;
  grid-template-columns: 116px 116px 116px 116px 116px 116px 116px;
  grid-gap: 10px;
  padding: 10px;
  columns: 7;
}

.angallery img {
  width: 100%;
	height: 116px;
	display: block;
  object-fit: cover;
  transition: 0.3s;
  cursor: pointer;
}

.angallery img:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 6px #333333;
}

.poczta {
	width: 100%;
	padding: 70px;
	justify-content: center;
	text-align: center;
	font-family: "Montserrat", sans-serif;
	letter-spacing: 1px;
}
.poczta a:link {
	color: #E5E5E5;
	text-decoration: none;
}
.poczta a:hover{
    color:#666666;
}
.poczta a:visited {
	color: #999999;
	text-decoration: none;
}

footer{
    color:#666666;
	text-align: center;
}

.footer-copyright{
    margin-top: 30px;
}

@media screen and (max-width: 700px) {
	.nav ul {
		flex-direction: column;
	}
.featured {
padding: 10px;
}
.featured-item{
        flex: 48%;
    }
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 116px 116px 116px;
  }
  .angallery {
    grid-template-columns: 116px 116px 116px;
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 116px 116px;
  }
  .angallery {
    grid-template-columns: 116px 116px;
  }
	
.poczta{
padding: 10px;
letter-spacing: 0px;
    }
}







