@charset "utf-8";
/* CSS Document */

/* Resety */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	border: 0;
	font-size: 100%;
	font: inherit;
	line-height: 1;
}

html {
    font-size: 100%; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
}

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

/* Koniec resetow */

body {
	background-color: rgb(0, 250, 142);
	color: rgb(4, 30, 38);
	font-family: 'Quicksand', sans-serif;
	font-weight: 400;
	text-align: center;
	padding: 0 5vw;
	overflow: hidden;
}

.main {
	height: 100vh;
	max-width: 1024px;
	margin: auto;
	padding: 20vh 0;
	font-size: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pasek {
	border: 3px solid white;
	width: 100%;
	max-width: 500px;
	margin: 2.5rem auto;
	padding-bottom: 1.5rem;
	border-radius: 1.5rem;
	position: relative;
}

@keyframes pasekladowania {
  from {width: 10%;}
  to {width: 60%;}
}

.pasek::before,
.pasek::after {
	content: "";
	position: absolute;
	left: 0;
	height: 100%;
	border-radius: 1.5rem;
	width: 10%;
	background-color: white;
	animation-name: pasekladowania;
	animation-duration: 4000ms;
	animation-fill-mode: forwards;
}

.pasek::before {
	opacity: 0.6;
}

.pasek::after {
	animation-delay: 400ms;
}

.dolny-doprawej {
	font-weight: 700;
	font-size: 2.2rem;
}

.btn {
	display: inline-block;
	background-color: rgb(7, 59, 76);
	color: rgb(0, 250, 142);
	font-size: 1.8rem;
	padding: .5em 1.5em;
	border-radius: 2em;
	margin-top: .8em;
}

.ups .btn {
	font-size: 1.3rem;
}

.ups h2 {
	font-size: 1.5rem;
}

.ups .dolny-doprawej {
	opacity: .5;
}

.ups .gorny-dolewej {
	margin: auto 0;
}

.ups p {
	font-size: .7em;
}

.blue {
	color: #19729E;
	font-weight: 600;
	opacity: .5;
	margin-bottom: .5em;
}

.logo-container {
	width: 8rem;
	position: absolute;
	left: 8vw;
	bottom: 4vw;
}

.logo-container img {
	width: 100%;
}

.c-blue,
.c-red,
.c-yell {
	z-index: -1;
	position: absolute;
}

.s-blue,
.s-red,
.s-yell {
	z-index: -2;
	position: absolute;
	opacity: .4;
}

.c-blue {
	width: 10vw;
	top: 50vh;
	right: 6vw;
	fill: rgb(17, 138, 178);
}

.s-blue {
	width: 11vw;
	top: 51vh;
	right: 1vw;
	fill: rgb(17, 138, 178);
}

.c-red {
	width: 13vw;
	top: -2vh;
	left: 35vw;
	fill: rgb(239, 71, 111);
}

.s-red {
	width: 14vw;
	top: -7vh;
	left: 34vw;
	fill: rgb(239, 71, 111);
}

.c-yell {
	width: 4vw;
	top: 70vh;
	left: 15vw;
	fill: rgb(255, 209, 102);
}

.s-yell {
	width: 4.5vw;
	top: 71vh;
	left: 14vw;
	fill: rgb(255, 209, 102);
}

@media screen and (min-width: 800px){
	.dolny-doprawej {
		text-align: right;
	}
	
	.gorny-dolewej {
		text-align: left;
		width: 60%;
	}
	
	.logo-container {
		width: 20%;
	}
	
}

@media screen and (min-width: 1100px){
	.main {
		font-size: 4rem;
	}
	
	.ups.main {
		font-size: 4.5rem;
	}
	
	.dolny-doprawej {
		font-size: 2.6rem;
	}
	
	.btn {
		font-size: 2rem;
	}
}

@media screen and (max-width: 450px){
	.mini-nie {
		display: none;
	}
	
	.main {
		font-size: 2.2rem;
	}
	
	.ups.main {
		font-size: 2.4rem;
	}
	
	.dolny-doprawej,
	.btn {
		font-size: 1.6rem;
	}
	
	.c-blue {
		width: 5rem;
		top: 50vh;
		right: -3rem;
	}

	.s-blue {
		width: 8rem;
		top: 47vh;
		right: -6.5rem;
	}

	.c-red {
		width: 8rem;
		top: -3.5rem;
		left: 35vw;
	}

	.s-red {
		width: 10rem;
		top: -6rem;
		left: 30vw;
	}

	.c-yell {
		width: 2rem;
		top: 70vh;
		left: .5rem;
	}

	.s-yell {
		width: 2.5rem;
		top: 70vh;
		left: -.2rem;
	}

}

@media screen and (orientation: landscape) and (max-height: 340px) {
	.gorny-dolewej {
		display: none;
	}
	
	.ups .gorny-dolewej {
		display: block;
	}
	
	.pasek {
		margin: 1.5rem auto;
	}
}