@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --primary-color: #8d15fb;
    --secondary-color: #979797;
    --primary-color-hover: #5b0ea1;
	--anim-moc: 80px;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 10px;
	overflow-x: hidden;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 12px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition-duration: 0.4s;
}
.button-secondary {
    background-color: white;
    color: black;
    border: 1px solid var(--secondary-color);
}
.button:hover {
    background-color: var(--primary-color-hover);
}
.button-secondary:hover {
    background-color: var(--secondary-color);
}

/* MAIN */
.main > div {
    float: left;
}
h1 {
    font-size: 4rem;
    margin: 15px 0;
    font-weight: 900;
}
h2 {
    font-size: 2.7rem;
    margin: 15px 0;
    font-weight: 900;
}
p {
    font-size: 1.2rem;
    color: #555555;
}

/* SECTION */
.section {
    margin-top: 50px;
}
.section > div {
    float: left;
	width: 50%;
}

/* HEADER */
.nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #ffffffdd;
	padding-top: 5px;
	height: 53px;
}
.logo {
	width: 55px;
	height: 55px;
}

.nav > div {
	float: left;
}

.nav ul {
	display: flex;
	list-style-type: none;
	padding-left: 0px;
    margin-left: 20px;
	gap: 10px;
}

/* links */
.nav li a {
	text-decoration: none;
	color: black;
}
.nav li a:hover {
	text-decoration: underline;
}

.welcome_image {
	margin-left: 300px;
	width: 400px;
	height: 350px;
}

.sponsors {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
}

.google {
	width: 150px;
	height: 100px;
}


.github {
	width: 250px;
	height: 100px;
}

.kupcio {
	width: 230px;
	height: 100px;
}

.uber {
	width: 105px;
	height: 40px;
}

.spotify {
	width: 210px;
	height: 60px;
}

.microsoft {
	clear: both;
	width: 220px;
	height: 50px;
}

/* PAID */

.paid1 .plans {
	display: inline-block;
	text-align: center;
}
.paid1 .plans div {
	max-width: 500px;
	float: left;
	border: 1px solid var(--secondary-color);
	border-radius: 5px;
	margin-left: 20px;
	margin-bottom: 20px;
	padding: 5px;
	box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.25);
}

/*Section images*/
.section .image img{
	width: 600px; height: 400px;
}

.menu-txt-computer {
	display: inline-block;
}
.menu-txt-mobile {
	display: none;
}

@media screen and (max-width: 1250px) {
	.section {
		background-color: var(--primary-color);
	}
	.section .image img{
		width: 500px;
		height: 400px;
	}
	.section .image{
		width: 500px;
		height: 400px;
	}
	.mainimage {
		display: none;
	}
}@media screen and (max-width: 855px) {
	.section > div {
		float: left;
		width: 100%;
	}
	.menu {
		display: none;
	}

}@media screen and (max-width: 516px) {
	.section > div {
		float: left;
		width: 100%;
	}
	.section .image img{
		width: 300px;
		height: 200px;
	}
	.section .image{
		width: 300px;
		height: 200px;
	}
	.hide-mobile {
		display: none;
	}
}

.nowaanim {
	animation-delay: 1100ms !important;
}

@media screen and (max-height: 738px) {
	.nowaanim {
		/*background-color: var(--primary-color);*/
		animation-delay: 200ms !important;
	}
}
@media screen and (max-width: 506px) {
	.nowaanim {
		/*background-color: var(--primary-color);*/
		animation-delay: 200ms !important;
	}
}

/* animacje */
.animate {
	opacity: 0;
}

.animate.anim-u.anim-visible {
	animation: fadeUp 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 200ms;
}
.animate.anim-l.anim-visible {
	animation: fadeLeft 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 200ms;
}
.animate.anim-r.anim-visible {
	animation: fadeRight 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 200ms;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(var(--anim-moc));
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeLeft {
	from {
		opacity: 0;
		transform: translateX(var(--anim-moc));
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes fadeRight {
	from {
		opacity: 0;
		transform: translateX(-80px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}