* {
    margin: 0;
    padding: 0;
}


/* Generated by Font Squirrel (https://www.fontsquirrel.com) on December 5, 2016 */

@font-face {
    font-family: 'abril_fatfaceregular';
    src: url('fonts/abrilfatface-regular-webfont.woff2') format('woff2'), url('fonts/abrilfatface-regular-webfont.woff') format('woff'), url('fonts/abrilfatface-regular-webfont.svg#abril_fatfaceregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/opensans-bold-webfont.woff2') format('woff2'), url('fonts/opensans-bold-webfont.woff') format('woff'), url('fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold_italic';
    src: url('fonts/opensans-bolditalic-webfont.woff2') format('woff2'), url('fonts/opensans-bolditalic-webfont.woff') format('woff'), url('fonts/opensans-bolditalic-webfont.svg#open_sansbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansitalic';
    src: url('fonts/opensans-italic-webfont.woff2') format('woff2'), url('fonts/opensans-italic-webfont.woff') format('woff'), url('fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/opensans-regular-webfont.woff2') format('woff2'), url('fonts/opensans-regular-webfont.woff') format('woff'), url('fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'abril_fatfaceregular';
    size: 40px;
}

h2 {
    font-family: 'abril_fatfaceregular';
    size: 24px;
}

h3 {
    font-family: 'open_sansregular';
    size: 18px;
    color: #4b5b67;
}

body {
    font-family: 'open_sansregular';
    margin: 0;
    padding: 0;
}


/*NAWIGACJA*/

a {
    text-decoration: none;
    color: inherit;
}

#mainmenu {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateZ(1px);
    z-index: 1000;
    background: #232322; 
}

#mainmenu ul,
#mainmenu li {
    list-style: none;
    margin-left: 0;
    padding: 0;
   
}

#mainmenu ul {
    font-family: 'open_sansbold';
    text-align: center;
 
}

#mainmenu li {
    display: inline-block;
    color: #cedad4;
    font-size: 0.9em;
    line-height: 40px;
    padding-left: 5%;
    padding-right: 5%;
}

#mainmenu a:hover {
    color: #f4ca5b;
}


/*HOVER STRONY DOMOWEJ */

.hovereffect-7 {
    
    height: 105vh;
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.blur-shadow {
    height: 100%;
    width: 100%;
}

.hovereffect-7:hover .blur-shadow {
    box-shadow: inset 0 500px 500px -300px rgba(0,0,0,0.5),inset 0 -500px 500px -300px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 0 500px 500px -300px rgba(0,0,0,0.5),inset 0 -500px 500px -300px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0 500px 500px -300px rgba(0,0,0,0.5),inset 0 -500px 500px -300px rgba(0,0,0,0.5);

    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" color-interpolation-filters="sRGB" values="0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0" /><feGaussianBlur stdDeviation="3" /></filter></svg>#filter');
    filter: blur(3px) brightness(0.6);
    -webkit-filter: blur(3px) brightness(0.6);
}

.hovereffect-7 .overlay {
    position: absolute;
    overflow: hidden;
    width: 80%;
    height: 80%;
    left: 10%;
    top: 10%;
    border-bottom: 1px solid #f4ca5b;
    border-top: 1px solid #f4ca5b;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
}

.hovereffect-7:hover .overlay {
    
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}


.hovereffect-7 img {
    display: block;
    position: relative;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    transform: scale(1.01);
}

.hovereffect-7 h2 {
    font-family: 'abril_fatfaceregular';
    text-align: center;
    position: relative;
    font-size: 48px;
    background-color: transparent;
    color: #f4ca5b;
    padding: 1em 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hovereffect-7 h3 {
    font-family: 'abril_fatfaceregular';
    text-align: center;
    position: relative;
    font-size: 12px;
    background-color: transparent;
    color: #f4ca5b;
    padding: 2em 2em;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hovereffect-7 a {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hovereffect-7 a,
.hovereffect-7 p {
    color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.hovereffect-7:hover a,
.hovereffect-7:hover p,
.hovereffect-7:hover h2 {
    opacity: 1;
    filter: alpha(opacity=100);
}

/* S1 - OFERTA*/

.sekcja s1 {
    width: 100%;
    height: 100vh;    
}

.s1 {
    clear: both;
    width: 100%;
    height: auto; 
    background-image: url(img/TLO-OFERTA-01.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: right bottom;
}

.s1 h1 {
    font-size: 20px;
}

.container{
    width: 100vh;
    height: 100%;
}

.c1 {
    width: 30%;
    height: 100vh;
    background-image: url(img/oferta.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    display: inline-block;
    float: left;
}

.c2 {
    display: inline-block;
    width: 40%;
    height: 100vh;
    color: #4b5b67;
    vertical-align: middle;
    position: relative;
}

.c2 .text-container {
    height: 396px;  /*height of the side image */
    padding: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.c3 {
    display: inline-block;
    width: 30%;
    float: right;
    height: 100vh;
    background-image: url(img/yellow_line.png);
    background-repeat: no-repeat;
    background-position-y: center;

}
    


/* S2 - JÓZEF KAWALER*/

.sekcja s2 {
    width: 100vh;
    height: auto;
}

.history-container {
    display: block;
}

.history-container .image {
    display: inline-block;
    width: 35%;
    float: left;
    background-image: url(img/yellow_line.png);
    background-position-x: right;
    background-position-y: center;
    background-repeat: no-repeat;
    text-align: center;
    height: 370px;
}

.history-container .image img {
    height: 80%;
    vertical-align: middle;
    display: inline-block;
}

.history-container:nth-child(even) .image {
    float: right;
    background-position-x: left;
}

.history-container .content {
    display: inline-block;
    width: 60%;
    position: relative;
    height: 395px;
}

.history-container .content p {
    padding: 12px 0 12px 0;
}

.history-container .content--no-image {

}

.vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.p50 {
    padding: 50px;
}

.s2 {
    background-color: rgba(244, 202, 91, 0.13);
    
}
.s2 .header {
    background-image:url(img/JozefKawaler.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.s2 .header img {
    margin-left: 10%;
    width: 35%;
        
}

.title img {
    width: 30%;
    margin-left: 10%;

}

#kimbyltyl {
    width: 100%;
}

#jozefkawaler {
    width: 80%;
    margin: 0 auto;
}

#jozefkawaler h2,
p {
    color: #4b5b67;
}

#jozefkawaler .opis {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 800px;
}

#jozefkawaler .mapka {
    width: 40%;
}

.mapka img {
    width: 80%;
}

#edukacja {
    display: inline;
}


/* S3 - HISTORIA ZAKLADU*/



.s3 {
    width: 100%;
    height: auto; 
    background-image: url(img/introligatornia_background.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100%;
}

.s3 .background {
    width: 100vh;
    
}

.s3 .background img{
    height: 100vh;
    z-index: -1000;
}

.s3 h1{
    color: #4b5b67;
    font-size: 48px;
}

.s3 .header {
    height: auto;
    width: auto;
    margin-left: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    
    

   
}

.timeline {
    width: 80%;
    margin-left: 8%;
    
    margin-top: 10px;
    text-align: center;
}

.timeline img{
    width: 80%;
}

.s3 .opisy img {
    width: 450px;
}
.s3 .timeline img{
    margin-bottom: 20px;
}


    


/* S4 - KONTAKT */

.sekcja s4{
    width: 100vw;
    height: 100vh;
    padding: 100px;
    border: 1px solid rgba(75, 91, 103, 0.6);
}

.s4 .textcolumn {
    text-align: center;
        display: inline-block;
    border: 1px solid rgba(75, 91, 103, 0.6);
    margin-right: 13%;
}



.s4 .krasnale {
     display: inline-block;
    padding-bottom: 2%;
    padding-top: 2%;
    border: 1px solid rgba(75, 91, 103, 0.6);    
}


.s4 .header {
    display: inline-block;
    margin-left: 15%;
}

.s4 .c1 {
    background-image: url(img/kontakt.png);
}

.s4 .c3 {
    background-image: url(img/krasnale.png);
}

.s4 .c2 .text-container{
    text-align: center;
    width: 100%;
}

.space30 {
    display: block;
    clear: both;
    padding-top: 30px;
}



footer {
    height: 60px;
    text-align: center;
    line-height: 20px;
    width: 90%;
    margin: 0 5% 1% 5%;
   border-bottom: 1px solid rgba(75, 91, 103, 0.6);
    border-top: 1px solid rgba(75, 91, 103, 0.6);
    padding: 10px auto;
}

footer p{
    font-family:  'open_sansbold';
    color: rgba(75, 91, 103, 0.57);
}

footer a{
    font-family:  'open_sansbold';
    color: #4b5b67;
    font-size: 12px;
}

footer a:hover{
    color: paleturquoise;
    font-size: 12px;
}

footer img {
    width:90%;
}
