@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap');

body {
	margin: 0;
	padding: 0;
	font-family: Quicksand, sans-serif;
	color: #333333;
	text-align: left;
}

html,body{
    overflow-x: hidden;
}

header { 
	background: url("img/top2.jpg");
  	background-position: center; 
  	background-repeat: no-repeat;
  	background-size: cover;
	width:100%; 
	height: 616px;
	margin: 0;
	padding: 0;
}

footer { 
	background: url("img/stopka.png");
	background-position: center; 
  	background-repeat: no-repeat;
	width:100%; 
	height: 150px;
	clear: both;
	color: #000;
}

footer div.container p {
	text-align: left;
	position: relative;
	max-width: 1150px;
	margin: 0 auto;
	padding: 80px 20px 0;
	color: #000;
}

img {
	max-width: 400px;
	float: right;
}

img.left {
	max-width: 400px;
	float: left;
/*	padding-top: 30px;*/
}

.logo a img.logo_desk {
	max-width: 1040px;
	height: 149px;
	float: left;
	margin: 0 -10px 0 0;
	position: relative;
	z-index: 100;
}

img.flexbox {
	max-width: 270px;
	margin: 0 auto;
	float: none;
	display:block;
}

img.flexbox2 {
	max-width: 140px;
	margin: 0px 0px 10px 50px;
	float: left;
	display:block;
}
img.flexbox3 {
	max-width: 250px;
    margin: 30px 40px 10px 0px;
    float: left;
}

img.slice_top {
	position: relative;
	top: -20px;
}

.slice_top.logo {
  max-width: 342px;
  padding: 0px 15px;
}

.flex {
	max-width: 33%;
	margin: 0 auto;
}

.flex2 {
	float: right;
	margin: 0 auto;
}
.flex p {
	color: #000;
	text-align: center;
	font-size: 20px;
	width: 90%;
	padding: 0 20px;
}

p { 
	font-family: Quicksand, sans-serif; 
	color: #666666;
	text-align: left;
	font-size: 20px;
	line-height: 1.5;
}

h1 {
	font-size: 65px;
	font-weight: 500;
	margin: 0;
	position: relative;
	padding: 180px 20px 0 50px;
	color: #000;
}

h1 span {
	font-weight: 800;
	font-size: 76px;
}

h2 {
	font-size: 34px;
	color: #ffed00;
	padding: 0 20px 0 50px;
	font-weight: 500;
}

h3 {
	color: #1f94c6;
	font-size: 36px;
	margin: 50px 0px;
	font-weight: bold;
}

h4 {
	color: #000;
	font-size: 52px;
	font-weight: 400;
	margin: 20px auto;
	text-align: center;
	padding-bottom: 30px;
}

h5 {
	font-size: 50px;
	color: #ffff00;
	padding: 0 20px 0 50px;
	font-weight: 500;
	margin-top:75px;
}

a {
	color: #7739C1;
}

.tekst {
	margin: 80px 0;
}

section#zawartosc, section#zawartosc2 {
	max-width: 1150px;
	margin: 0 auto;
}

section#zawartosc2 article#tresc p {
	padding:35px 0;
}

section#zawartosc2 article#tresc p, section#zawartosc2 article#tresc img {
	padding-right: 20px;
}

article {
	padding: 0 20px;
}

.container {
	max-width: 1150px;
	margin: 30px auto;
}

header div.container {
	margin: 0 auto;
}

/* buttons */ 

.Button, .Button2 {
/*	box-shadow: 0px 10px 14px -10px #00b5c3;*/
/*	background:linear-gradient(to bottom, #f6e71d 5%, #b9a709 100%);*/
	background-color:#f6e71d;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#000000;
	font-size:28px;
	font-weight:700;
	padding:13px 32px;
	text-decoration:none;
/*	text-shadow:0px 1px 0px #3d768a;*/
	text-transform: uppercase;
	margin: 0 20px;
	background-color:#000;
	color: #fff;
	border-bottom: 3px solid yellow;
	  transition: 0.3s;
}

.Button:hover, .Button2:hover {
/*	background:linear-gradient(to bottom, #5e2e99 5%, #7639c1 100%);*/
	background-color:#f6e71d;
	color:#000000;
	border-bottom: 3px solid black;
}

.Button:active, .Button2:active {
	position:relative;
	top:1px;
}

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

.Button2 {
	margin: 20px 0;
}

/* buttons end  */

.flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
}

p::selection, strong::selection {
  color:#000;
  background: #f6e71d;
}
p::-moz-selection, strong::-moz-selection { /* dla Firefox */
  color:#000;
  background: #f6e71d;
}


.logo a img.logo_mobile {
	display: none;
}


.appla
{
    background-color: #fff;
    border-radius: 8px;
    display: inline-block;
    font-size: 35px;
    padding: 13px 32px;
    margin: 60px 52px;
    color: #1f94c6;
    transition: 0.3s;
}
/* mobile */

@media screen and (max-width: 700px) {
	.appla
{
    
    margin: 60px 42px;

}

.logo a img.logo_desk {
	display: none;
}

.logo a img.logo_mobile {
	max-width: 600px;
	margin: 0;
	display: block;
}


/*	header {
		background-size: contain;
		background-repeat: no-repeat;
	}*/

	h1 {
		font-size: 36px;
		position: relative;
		padding: 60px 10px 0 40px;
	}

	h1 span {
	font-weight: 800;
	font-size: 50px;
}

	h2 {
		font-size: 24px;
		padding: 0 10px 0 40px;
	}

	h4 {
	font-size: 42px;
	}

	h5 {
		font-size: 32px;
		padding: 0 10px 0 40px;
	}

	.Button {
		font-size:22px;
		margin: 10px 30px;
	}

	.Button2 {
	  font-size: 20px;
	  margin: 30px;
	  display: block;
	  position: relative;
	  text-align: center;
	}

	img, img.left {
		float: none;
		margin: 30px auto;
		position: relative;
		display: block;
	}

	img.left {
		padding-top: 0px;
	}

	img.slice_top {
		top: 0;
	}

	section#zawartosc2 article#tresc p, section#zawartosc2 article#tresc img {
		padding-right: 0;
	}

	section#zawartosc2 article#tresc p {
	  padding-top: 20px;
	}

	.flex {
	  max-width: 100%;
	  margin: 0 auto;
	}

	article {
		padding: 0 20px;
	}

}


