* {
    box-sizing: border-box;
}
.wyswietlono{
	display:none;
}
img.akt_site_img{
	width:100%;
	height:263px;
	object-fit:cover;
}
html,
body {
    margin: 0 auto;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.dzieki{
	font-size: 16px;
    margin-top: 20px;
	display:none;
}
a.go_polityka{
	color:inherit;
	text-decoration:underline;
}
#polityka{
	padding: 100px 0;
    width: 65%;
    margin: 0 auto;
}
#polityka p,#polityka ol{
	font-size:16px;
	line-height:1.5em;
	color:#000;
}
#polityka ol{
	margin:40px 0 0 0;
	padding-left:1em;
}
#polityka ol li{
	margin-top:10px;
}
.navbar {
    background-color: black;
    width: 100%;
    z-index: 999;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10vw 10px 300px;
	position:fixed;
	top:0;
	left:0;
}
.margin_navbar{
	margin-top:85px;
}
figure.logo{
	margin:0;
	padding:0;
}
figure.logo img{
	width:60px;
}
.navbar figure.logo a{
	padding:0 !important;
}

.navbar .icon {
    display: none;
}

@media screen and (max-width: 688px) {
    .navbar {
        justify-content: space-between;
        height: auto;
        padding:10px 5% !important;
    }
	#polityka{
		width:90%;
		padding:40px 0;
	}

    .navbar a {
        display: none;
    }
	.navbar figure.logo a{
		display:block;
	}

    .navbar a.icon {
        display: block;
    }

	.mob_nav{
		display:flex;
		justify-content:space-between;
		align-items:center;
		width:100%;
	}
	figure.logo img{
		width:40px;
	}
	.navbar a.hamburger img{
		width:25px;
	}
	.navbar.responsive a.hamburger{
		padding:0 !important;
		font-size:inherit;
	}
	.nawigacja{
		padding-top:10px;
	}
	.margin_navbar{
		margin-top:63px;
	}
	
}

@media screen and (max-width: 500px) {

}

@media screen and (max-width: 688px) {
    .navbar.responsive {
        flex-direction: column;
		align-items: flex-start;
    }

    /* .navbar.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    } */

    .navbar.responsive a {
        float: none;
        display: block;
        text-align: left;
        padding: 15px 20px 15px 0 !important;
        font-size: 14px;
    }
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding-left: 30px;
}

@media screen and (max-width: 1100px) {
    .navbar a {
        padding-left: 15px !important;
        font-size: 12px;
    }
	.navbar{
		padding-right:2.5%;
	}
}

@media screen and (max-width: 830px) {
    .navbar a {
        padding-left: 10px !important;
        font-size: 10px;
    }
	.navbar{
		padding-right: 2.5%;
	}
	
}

.menu-logo {
    width: 70%;
    padding: 10px;
}

@media screen and (max-width: 688px) {
    .menu-logo.responsive {
        display: none;
    }
}

#hero {
    background-image: url("img/herobg.png");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
    z-index: 14;
    display: flex;
    flex-direction: column;
    padding-left: 300px;
    padding-top: 80px;
    padding-bottom: 20%;
}


@media screen and (max-width: 1390px) {
    #hero {
        padding-left: 40px;
    }
	.navbar{
		padding-left: 45px;
	}
	.navbar a{
		padding-left:20px;
	}
}

.herotext {
    color: white;
    font-size: 30px;

}

.logocontainer {
    margin-bottom: 50px;
}

.logocontainer img {
    width: 80px;
}

.herotext h1 {
    margin: 0;
    font-weight: 400;
}

.boldherotext {
    font-weight: 700;
}

.herodescription {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-weight: 300;
    font-size: 22px;
    width: 48vw;
    margin: 30px 0px;
}

.herodescription p {
    margin-left: 15px;
}

@media screen and (max-width: 540px) {
    .herotext {
        font-size: 17px;
    }

    .herodescription p {
        font-size: 15px;
    }

    #hero {
        height: auto;
        padding-bottom: 30px;
    }
}

#herobutton button {
    cursor: pointer;
}

#about {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
}

.heading {
    display: flex;
    justify-content: center;
    width: 840px;
    border: 3px solid #ec2f4b;
    border-radius: 5px;
    border-left: none;
}

.heading h1 {
    font-weight: 900;
}

@media screen and (max-width: 992px) {
    .heading {
        border-right: none;
        width: 100vw;
        border-radius: 0px;
        text-align: center;
    }
}

.about-blue {
    color: #009fff;
    text-align: justify;
}

.about-text {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    line-height: 23px;
}

.about-text button {
    cursor: pointer;
}

.about-text ul {
    padding:0;
}

.about-text li {
    margin: 10px 0px;
	list-style:none;
	position:relative;
	padding:0 25px;
}
.about-text li:before{
   content: '';
   position:absolute;
   left:0;
   top:5px;
   display: inline-block;
   height: 15px;
   width: 15px;
   background-image: url(img/szekla.svg);
   background-repeat: no-repeat;
   background-size: contain;
}

#goals-description.about-text li:before{
	background-image: url(img/szekla_wht.svg);
}

.about-left-text {
    width: 500px;

}

.about-right-text {
    width: 500px;
}

@media screen and (max-width: 900px) {
    .about-text {
        padding-left: 40px;
        flex-direction: column;
    }

    .about-left-text {
        width: 500px;

    }

    .about-right-text {
        width: 500px;
    }
}

@media screen and (max-width: 1100px) {
    .about-left-text {
        width: 400px;

    }

    .about-right-text {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .about-left-text {
        width: 80vw;

    }

    .about-right-text {
        width: 80vw;
    }
}

@media screen and (max-width: 540px) {
    .about-left-text {
        width: 80vw;
    }

    .about-right-text {
        width: 80vw;
    }
}

.about-right-text p {
    font-weight: 600;
}


#hero2 {
    background-image: url(img/herobg2.png);
    width: 100vw;
    height: auto;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    color: white;
    justify-content: space-evenly;
    align-items: center;
    padding: 5% 0%;
}

#hero2_link {
    font-size: 13px;
    letter-spacing: 5px;
    padding: 80px 0px 0px 0px;
}

@media screen and (max-width: 992px) {
    #hero2 {
        flex-direction: column;
        height: auto;
    }
}

@media screen and (max-width: 992px) {
    #hero2_left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero2-descriptions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        width: 60vw;
    }

    #hero2_link {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0px;
    }
}

@media screen and (max-width: 540px) {
    .hero2-descriptions {
        grid-template-columns: repeat(1, 1fr);
        justify-items: left;
        margin-left: 10vw;
    }

    #hero2_left {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

#hero2_right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#hero2_right a {
    text-decoration: none;
    color: white;
}

.hero2_heading_left {
    width: 100px;
    text-align: left;
    font-size: 32px;
    font-weight: 800;
    padding: 0px 10px
}

.hero2_heading_right {
    width: 30vw;
}

.hero2_heading_right h1 {
    font-weight: 900;
    font-size: 48px;
    margin-bottom: 5px;
}

.hero2_heading_right p {
    margin-top: 0px;
}

@media screen and (max-width: 992px) {
    #hero2_right {
        justify-content: left;
        align-items: center;
    }

    .hero2_heading_left {
        width: 100vw;
        text-align: center;
        font-size: 24px;
    }

    .hero2_heading_right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100vw;
    }

    .hero2_heading_right h1 {
        text-align: center;
        font-size: 24px;
        padding: 0px 10px;
    }

    .hero2_heading_right p {
        text-align: center;
        padding: 0px 10px;
    }
}



.hero2_text {
    margin: 50px 20px 50px 0px;
}

.hero2_text h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 50px;
    margin: 0px;
}

.hero2_text p {
    margin-right: 0px;
}

.hero2_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 3px solid #ec2f4b;
    border-radius: 5px;
    margin: 10px 10px 10px 0px;
    padding: 10px 20px;
}

.hero2-box-img {
    background-image: url(img/star.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    margin: 5px;
}

.hero2_box p {
    width: 420px;
    font-size: 16px;
}

@media screen and (max-width: 992px) {
    .hero2_box {
        width: min-content;
        margin: 10px 10px 10px 10px;
    }

    .hero2_text {
        margin: 10px 20px;
        text-align: center;
    }
}

@media screen and (max-width: 540px) {

    .hero2_box {
        margin-left: 20px;
        border: none;
    }

    .hero2_box p {
        font-size: 13px;
        width: 250px;
    }

    .hero2_text {
        margin: 10px 0px;
        text-align: left;
    }

    .hero2_text h3 {
        font-size: 28px;
    }
}

.hero2-box-img:hover {
    transition-duration: 0.3s;
    background-image: url(img/star-fill.png);
}


#gallery {
    margin-top: 100px;
    margin-bottom: 100px;
}

#gallery-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 100px;
}

@media screen and (max-width: 1120px) {
    #gallery-top {
        flex-direction: column;
        justify-content: center;
    }
}

#gallery-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery-bottom a {
    width: 25%;
}

#gallery-bottom img {
    width: 100%;
}

#gallery-left p {
    color: #a6b0b9;
    margin-left: 345px;
}

@media screen and (max-width: 992px) {
    #gallery-left p {
        margin: 30px 0px;
        text-align: center;
    }

    #gallery-bottom a {
        width: 300px;
    }

}

#gallery-right {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding-right: 20%;
}

@media screen and (max-width: 992px) {
    #gallery-right {
        width: 100%;
        padding-right: 0px;
        margin: 0px;
    }
}


#gallery-right button {
    cursor: pointer;
}

#form-section {
    background-color: rgb(171, 40, 62);
    width: 100vw;
    height: 783px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#form-section h1 {
    color: white;
    font-weight: 800;
    font-size: 38px;
    text-align: center;
    padding: 0px 20px;
}

#form-section p {
    color: white;
    text-align: center;
    font-size: 14px;
    width: 550px;
}

@media screen and (max-width: 688px) {
    #form-section p {
        width: 70%;
    }
}

.formula {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    width: 550px;
    margin: 50px;
}

.formula input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #33414c;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    width: 85%;
    height: 50px;
    padding: 20px 0px;
}

@media screen and (max-width: 668px) {
    .formula input {
        width: 45%;
    }
}

input:focus {
    outline: none;
}

input:active {
    background-color: transparent;
}

::placeholder {
    color: white;
}

#agree {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 85%;
}

#agree input {
    width: 15px;
}

#agree p {
    width: 100%;
    font-size: 9px;
    margin: 5px;
}

.black-button {
    background-color: #001c2d;
    width: 85%;
    margin-top: 20px;
}

@media screen and (max-width: 668px) {
    #agree p {
        width: 45%;
    }

    .black-button {
        width: 45%;
    }
}

#hero3 {
    background-image: url(img/hero3.png);
    background-size: cover;
    width: 100vw;
    height: 199px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
}

@media screen and (max-width: 860px) {
    #hero3 {
        flex-direction: column;
        height: auto;
    }
}

@media screen and (max-width: 500px) {
    #hero3 {
        font-size: 12px;
    }
}


#hero3-thin {
    font-weight: 300;
    margin-right: 5px;
}

#hero3-images {
    margin: 30px;
}

@media screen and (max-width: 688px) {
    #hero3-images {
        width: 40%;
        height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding-bottom: 10px;
    }

    #hero3 h1 {
        text-align: center;
    }
}

#hero3 img {
    width: 28%;
    margin-left: 10px;
}

@media screen and (max-width: 688px) {
    #hero3 img {
        width: 80%;
    }
}

@media screen and (max-width: 500px) {
    #hero3 img {
        width: 60%;
    }
}

#news {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #f5f5f5;
}

#news-heading p {
    margin-left: 300px;
    color: #a6b0b9;
}

@media screen and (max-width: 992px) {
    #news-heading p {
        margin: 20px 0px;
        text-align: center;
    }
}

@media screen and (max-width: 540px) {
    #news-heading p {
        margin: 20px 5px;
    }
}

#news-grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#news-grid {
    display: grid;
    grid-template-columns: repeat(1, 404px);
    grid-template-rows: repeat(2, 480px);
    grid-gap: 20px;
    margin-top: 40px;
}

@media screen and (max-width: 540px) {
    #news-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (min-width: 688px) {
    #news-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (min-width: 992px) {
    #news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1312px) {
    #news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1579px) {
    #news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1920px) {
    #news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-tile {
    background-color: white;
    width: 404px;
    height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
}


@media screen and (max-width: 540px) {
    .news-tile {
        height: 500px;
        width: 80vw;
        margin: 30px 0px;
    }
}

.news-tile a {
    text-decoration: none;
}

.news-description {
    padding: 20px;
}

.news-description h3 {
    font-weight: 400;
    font-size: 24px;
}

.news-description p,.news-description .tekst {
    text-align: left;
    font-size: 14px;
}

.news-description h4 {
    color: #009fff;
    letter-spacing: 3px;
}

.news-date {
    color: white;
    background-color: rgb(0, 159, 255);
    position: absolute;
    top: 200px;
    left: 300px;
    width: 74px;
    height: 74px;
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 540px) {
    .news-date {
        left: 70%;
    }
}

.news-date p {
    margin: 0;
    font-size: 15px;
}

#hero4 {
    background-image: url(img/hero4.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 490px;
    display: flex;
    flex-direction: row;
    color: white;
    align-items: center;
}

@media screen and (max-width: 992px) {
    #hero4 {
        flex-direction: column;
    }
}

#hero4-left {
    margin-left: 300px;
}

@media screen and (max-width: 992px) {
    #hero4-left {
        text-align: center;
        margin: 10px 0px;
    }
}

#hero4-left img {
    width: 80%;
}

.hero4-info {
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer {
    background-color: rgb(10, 17, 22);
    width: 100vw;
    height: 114px;
    z-index: 153;
    color: #cfd0d1;
    display: flex;
    align-items: center;
    padding-left: 300px;
    font-weight: 300;
}

.footer a {
    text-decoration: none;
    color: #cfd0d1;
}

@media screen and (max-width: 992px) {
    .footer {
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}


button {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    color: white;
    font-weight: 700;
    border: none;
    background-color: #009fff;
    width: 320px;
    height: 50px;
    z-index: 18;
}

@media screen and (max-width: 668px) {
    button {
        font-size: 13px;
        padding: 0px;
        width: 220px;
        height: 40px;
    }
}