    /* ustawienia ogólne */
html, body {
    margin: 0;
    
    font-family: sans-serif;
    line-height: 1.3;
}
main {
    
    margin-top: 60px;
   
}

.page-width { /* szerokość treści na stronie */
    max-width: 1400px;
    margin: auto;
}

.top-bar .contact {
    text-align: center;
    font-size: smaller;
    padding: 5px;
}

.pad5 {
    padding: 5px;
}



.card {
    min-height: 300px;
    padding: 10px;
    
    /border: 1px solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}




h1 {
    text-align: center;
    font-size: 32px;
}


.top-bar {
    height: 60px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9;
    color: white;
    background-color: rgba(0,0,0,0.8);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: darkgrey; 
    overflow: hidden;
}

.top-bar .logo {
    line-height: 60px;
    padding: 0 20px;
    
}

.line-1 {
    height: 1px;
    width: 100%;
    background-color: white;
}

.top-bar .contact .line-1 {
    margin-top: 5px;
}

.right {
    float: right;
}


.fa-phone {
    transform: rotate(180deg);
}




.card {
    position: relative;
}
/*
.card .text {
    position: absolute;
    top: 0;
    left:0;
    padding: 0 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    
}*/
.card img {
    max-width: 100%;
    
}

.card h2 {
    font-size: 20px;
}

.snf .overlay {
    background-color: rgba(0,0,0,0.8);
   / background-color: rgb(0, 191, 255);
    width: 100%;
    height: 100%;
}
.snf .overlay a {
    display: block;
    width: 100%;
    height: 100%;
}

.center{
    color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
    
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    overflow: hidden;
    transition: 1s ease;
}

.card:hover .overlay {
    opacity: 1;
}

ul {
    text-align: left;
}
.snf {
    
    background-color: rgb(48, 137, 186);
    color: white;
    text-align: center;
}


/* ---------------------------------------
-----  FOOTER - stopka strony  -----------
------------------------------------------*/

.page-footer {
    margin-top: 30px;
    padding-top: 10px;
	padding-bottom: 10px;
	text-align: left;
	color: #8e8c8c;
	background-color: #181818;
}

.page-footer a {
    color: #8c8c8c;
}



.copyright {
    padding-bottom: 0;
    text-align: left;
}

.page-autor {
    text-align: right;
    font-style: italic;
    font-size: smaller;
}

