/* styles.css */

:root {
	--primary-color: #0f2027;
	--secondary-color: #39d353;
}

body {
	font-family: "Quicksand", serif;
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.6;
	overflow-x: hidden;
	background-color: #fbfcf3;
}

.header {
	background: linear-gradient(
		180deg,
		var(--primary-color) 20%,
		var(--secondary-color)
	);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
	height: 15dvh;
	a {
		margin: 0;
	}
}

.header,
.call-to-action,
.section-highlight,
.section-about,
.section-features,
.section-cta,
.footer {
	z-index: 1;
}

.parallax {
	position: fixed;
	bottom: -5%;
	right: -5%;
	z-index: -1;
}

.background-prof {
	position: absolute;
	bottom: -3rem;
	right: 2rem;
	overflow: hidden;
	transform: rotate(-25deg) scale(3);
	filter: opacity(0.1);
}

.call-to-action {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);

	.image {
		display: flex;
		justify-content: flex-end;
		max-width: 100%;

		.python-logo {
			width: 250px;
			margin-right: 10rem;
		}
	}

	.text {
		width: 100%;
		margin-left: 5rem;
		align-self: center;
		ul {
			columns: 2;
			li {
				font-size: 15pt;
			}
		}
		h1 {
			font-size: 32pt;
			line-height: 1;
			color: var(--primary-color);
		}
	}
}

.btn-primary {
	display: inline-block;
	background: #39d353;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 20px;
	font-weight: bold;
	transition: filter 0.5s;
	filter: drop-shadow(5px 5px 5px var(--primary-color));
}

.btn-primary:hover {
	filter: drop-shadow(5px 5px 5px var(--primary-color)) brightness(0.8);
}

.section-highlight {
	background: #f4f4f4;
	text-align: center;
	padding: 40px 20px;
}

.section-about,
.section-features {
	padding: 10px 20px;
}

ul {
	list-style-type: none;
	padding: 0;
	li {
		background: url("check-icon.png") no-repeat left center;
		background-size: 20px;
		padding-left: 30px;
		margin-bottom: 10px;
	}
}

.section-cta {
	background: linear-gradient(
		180deg,
		var(--primary-color),
		var(--secondary-color)
	);
	color: #fff;
	text-align: center;
	padding: 50px 20px;
}

.section-something {
	display: flex;
	justify-content: space-evenly;
	font-size: 16pt;
}

.section-cta .btn-primary {
	background: #0f2027;
}

.close-p p {
	margin: 0;
}

.footer {
	background: #333;
	color: #fff;
	text-align: center;
	padding: 20px 0;
}

.footer p {
	margin: 5px 0;
}

.logo-img {
	width: 5rem;
}

.whatsapp-number {
	color: #39d353;
}

@media screen and (max-width: 768px) {
	.header {
		height: 100%;
		padding: 1rem 1rem;
	}

	.logo-img {
		width: 5rem;
	}

	.call-to-action {
		display: flex;
		flex-direction: column;
		height: 100%;
		margin: 0;
		padding: 0 2rem;
		width: fit-content;

		.text {
			width: 100%;
			height: 100%;
			text-align: start;
			margin-left: 0;

			h1 {
				font-size: 24pt;
			}

			p {
				font-size: 20pt;
			}

			a {
				font-size: 10pt;
				margin-top: 0;
			}
		}

		.python-logo {
			display: none;
		}
	}
	.section-something {
		flex-direction: column;
		font-size: 14pt;
	}
}
