.wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
}

.white-block {
	position: absolute;
	height: 40px;
	width: 60%;
	background-color: #fff;
}

.white-block-left {
	bottom: 0;
	left: -50px;
	transform: skew(45deg);
}

.white-block-right {
	top: 0;
	right: -50px;
	transform: skew(45deg);
}

.white-block-add {
	position: absolute;
	height: 40px;
	width: 20px;
	background-color: #fff;
	bottom: 0;
}

.white-block-add-first-L {
	left: calc(60% - 50px + 20px);
	transform: skew(45deg);
}

.white-block-add-second-L {
	left: calc(60% - 50px + 60px);
	transform: skew(45deg);
}

.white-block-add-third-L {
	left: calc(60% - 50px + 100px);
	transform: skew(45deg);
}

.white-block-add-first-R {
	top: 0;
	right: calc(60% - 50px + 20px);
	transform: skew(45deg);
}

.white-block-add-second-R {
	top: 0;
	right: calc(60% - 50px + 60px);
	transform: skew(45deg);
}

.white-block-add-third-R {
	top: 0;
	right: calc(60% - 50px + 100px);
	transform: skew(45deg);
}

.btn-special-animation {
	position: relative;
	transition: background-color 0.3s;
	overflow: hidden;
	z-index: 0;
}

.btn-special-animation::before {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s;
	z-index: -1;
}

.btn-special-animation:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.section-heading {
	position: relative;
	margin-bottom: 2em;
	font-size: 3rem;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
	color: #ff0c92;
	letter-spacing: 2px;
}

.section-padding {
	padding: 6em 2em;
}

@media (min-width: 768px) {
	.section-heading {
		font-size: 3.6rem;
	}

	.section-padding {
		padding: 8em 2em;
	}
}

@media (min-width: 992px) {
	.section-heading {
		font-size: 4.8rem;
	}

	.section-padding {
		padding: 10em 2em;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	font-family: "Open Sans", sans-serif;
	font-size: 1.6rem;
}

.burger-btn {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 1em;
	background: none;
	border: 1px solid transparent;
	cursor: pointer;
	z-index: 1000;
}

.burger-btn:focus {
	outline: none;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 8px;
}

.burger-btn:hover .burger-btn__bars::after,
.burger-btn:hover .burger-btn__bars::before {
	width: 100%;
}

.burger-btn__box {
	position: relative;
	width: 40px;
	height: 30px;
}

.burger-btn__bars,
.burger-btn__bars::after,
.burger-btn__bars::before {
	position: absolute;
	right: 0;
	height: 3px;
	content: "";
	background-color: #fff;
	transition: width 0.3s;
}

.burger-btn__bars {
	width: 100%;
}

.burger-btn__bars::after {
	top: 13px;
	width: 60%;
}

.burger-btn__bars::before {
	top: 27px;
	width: 30%;
	transition-delay: 0.1s;
}

.black-bars-color,
.black-bars-color::after,
.black-bars-color::before {
	background-color: #2e2e2e;
}

.nav {
	position: fixed;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100%;
	transform: translateX(100%);
	transition: 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
	background-image: linear-gradient(
		45deg,
		rgb(20, 105, 241),
		rgb(126, 126, 126)
	);
	z-index: 100;
}

.nav--active {
	transform: translateX(0);
}

.nav__item {
	position: relative;
	display: block;
	margin: 0.5em 0;
	padding: 0.5em 2em;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.3s;
}

.nav__item::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	transform: scaleY(0);
	background-color: #fff;
	transition: transform 0.3s;
	content: "";
}

.nav__item:hover::before {
	transform: scaleY(1);
}

@keyframes navItemAnimation {
	from {
		transform: translateX(200%);
	}

	to {
		transform: translateX(0);
	}
}

.nav-item-animation {
	animation: navItemAnimation 1s both;
}

.header {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em;
	height: 75vh;
	text-align: center;
	color: #fff;
	background-image: linear-gradient(
			45deg,
			rgba(20, 105, 241, 0.8),
			rgba(126, 126, 126, 0.8)
		),
		url("https://atnel.pl/khde_img/head_small.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-attachment: scroll;
}

.header__heading {
	font-family: "Fjalla One", cursive;
	font-size: 4.8rem;
	font-weight: 300;
}

.header__text {
	font-size: 1.4rem;
}

.header__btn {
	margin-top: 2em;
	padding: 0.8em 1.6em;
	font-size: 1.4rem;
	background-color: #fff;
	border: none;
	border-radius: 8px;
	color: #2e2e2e;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.header__btn::before {
	background-color: #eee;
}

.projects__box {
	display: flex;
	flex-direction: column;
	margin: 2em 0;
}

.projects__img {
	width: 100%;
	margin-bottom: 1em;
}

.projects__title {
	margin-bottom: 0.5em;
	font-size: 2rem;
}

.projects__text {
	font-size: 1.4rem;
}

.hero-img {
	position: relative;
	padding: 10em 2em;
	background-image: linear-gradient(
			45deg,
			rgba(20, 105, 241, 0.8),
			rgba(126, 126, 126, 0.8)
		),
		url("https://atnel.pl/khde_img/hero_1.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.hero-img__title {
	margin-bottom: 0.5em;
	font-family: "Fjalla One", cursive;
	font-size: 4.8rem;
}

.hero-img__text {
	padding: 1em 0;
}

.services__card {
	position: relative;
	margin: 1em 0;
	height: 450px;
	color: #fff;
	text-align: center;
	perspective: 1000px;
}

.services__card:hover .services__card-img {
	transform: rotateY(-180deg);
	opacity: 0;
}

.services__card:hover .services__card-info {
	transform: rotateY(0);
	opacity: 1;
}

.services__card-img {
	padding: 2em;
	height: 100%;
	border-radius: 8px;
	background-size: cover;
	transition: transform 1s, opacity 1s;
	background-position: center;
}

.services__card-img--first {
	background-image: linear-gradient(
			45deg,
			rgba(5, 247, 255, 0.8),
			rgba(20, 105, 241, 0.8)
		),
		url("https://atnel.pl/khde_img/card_1.jpg");
}

.services__card-img--second {
	background-image: linear-gradient(
			45deg,
			rgba(20, 105, 241, 0.8),
			rgba(126, 126, 126, 0.8)
		),
		url("https://atnel.pl/khde_img/card_2.jpg");
}

.services__card-img--third {
	background-image: linear-gradient(
			45deg,
			rgba(12, 57, 255, 0.664),
			rgba(253, 171, 239, 0.8)
		),
		url("https://atnel.pl/khde_img/card_3.jpg");
}

.services__card-img-title {
	font-family: "Fjalla One", cursive;
	font-size: 2.8rem;
}

.services__card-img-info {
	position: absolute;
	bottom: 30px;
	right: 30px;
	font-size: 1.8rem;
}

.services__card-img-info i {
	margin-right: 0.3em;
}

.services__card-info {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 8px;
	background-image: radial-gradient(
		circle at top right,
		rgb(20, 105, 241) 0%,
		rgb(126, 126, 126) 100%
	);
	opacity: 0;
	transform: rotateY(180deg);
	transition: transform 1s, opacity 1s;
}

.services__card-info-title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 1.2em;
	font-family: "Fjalla One", cursive;
	font-size: 2.8rem;
}

.services__card-info-list {
	margin: 0 auto;
	width: 70%;
	list-style: none;
}

.services__card-info-list-item {
	padding: 1em;
	font-size: 1.4rem;
	border-bottom: 1px solid #eee;
}

.services__card-info-list-item:last-child {
	border-bottom: none;
}

.services__card-info-btn {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 2em;
	padding: 1em;
	border-radius: 8px;
	width: 80%;
	border: none;
	background-color: #00ffaa;
	cursor: pointer;
}

.services__card-info-btn::before {
	background-color: #0fe29c;
}

.offers {
	position: relative;
	background-image: linear-gradient(
			45deg,
			rgba(20, 105, 241, 0.8),
			rgba(126, 126, 126, 0.8)
		),
		url("https://atnel.pl/khde_img/hero_2s.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	overflow: hidden;
}

.offers .section-heading {
	color: #fff;
}

.offers__option {
	margin: 1em 0;
	box-shadow: 5px 5px 10px rgba(46, 46, 46, 0.18);
	background-color: #fff;
	overflow: hidden;
}

.offers__option-img {
	width: 100%;
	transition: transform 0.3s;
}

.offers__option-img:hover {
	transform: scale(1.1);
}

.offers__option-info {
	padding: 2em;
	background-color: #fff;
	z-index: 10;
}

.offers__option-heading {
	margin-bottom: 0.5em;
	font-size: 2.4rem;
	font-weight: 300;
}

.offers__option-text {
	margin-bottom: 0.5em;
	font-size: 1.3rem;
	color: #2e2e2e;
}

.offers__option-btn {
	margin-top: 1em;
	padding: 0.8em;
	width: 100%;
	color: #fff;
	background-color: #ff0c92;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.offers__option-btn::before {
	background-color: #ff6bbc;
}

@media (max-width: 767px) {
	.reviews.section-padding {
		padding: 6em 0;
	}
}

.reviews__box {
	position: relative;
	margin: 2em;
	padding: 2em;
	border-radius: 8px;
	box-shadow: 3px 3px 10px rgba(46, 46, 46, 0.18);
	transition: transform 0.3s;
}

.reviews__box:hover {
	transform: scale(0.95);
}

.reviews__box-img {
	position: absolute;
	top: 8%;
	left: 75%;
	transform: translate(-50%, -50%);
}

.reviews__box-img img {
	width: 80px;
	height: 80px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 50%;
}

.reviews__box-quote {
	margin-bottom: 1em;
	font-size: 3rem;
	color: #ff0c92;
}

.reviews__box-text {
	margin-bottom: 1em;
	font-size: 1.4rem;
	color: #2e2e2e;
}

.contact {
	position: relative;
	background-color: #eee;
	overflow: hidden;
}

.contact .white-block-left {
	background-color: #2e2e2e;
}

.contact__form,
.contact__form {
	display: flex;
	flex-direction: column;
}

.contact__form-label {
	margin-bottom: 0.5em;
	text-transform: uppercase;
}

.contact__form-input {
	margin-bottom: 2em;
	padding: 0.6em 1.2em;
	border: none;
	border-radius: 8px;
	font-size: 1.6rem;
	width: 100%;
}

.contact__form-textarea {
	margin-bottom: 2em;
	padding: 0.6em 1.2em;
	border: none;
	border-radius: 8px;
	font-size: 1.6rem;
	max-width: 100%;
	min-width: 100%;
	width: 100%;
	min-height: 150px;
}

.contact__form-btn {
	align-self: flex-end;
	padding: 1em;
	width: 100%;
	max-width: 300px;
	color: #fff;
	border: none;
	border-radius: 8px;
	background-color: #ff0c92;
	cursor: pointer;
}

.contact__form-btn::before {
	background-color: #ff6bbc;
}

.footer {
	color: #fff;
	background-color: #2e2e2e;
}

.footer .wrapper {
	padding: 6em 2em 2em;
}

.footer__box {
	font-size: 1.4rem;
}

.footer__box-desktop {
	display: none;
}

.footer__box-title {
	margin-bottom: 1em;
	font-size: 3rem;
	text-transform: uppercase;
}

.footer__box-social {
	margin: 2em 0 1em;
}

.footer__box-link {
	padding: 0 0.3em;
	font-size: 3.6rem;
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}

.footer__box-link:first-child {
	padding-left: 0;
}

.footer__box-link:hover {
	color: #eee;
}

.footer__bottom-text {
	padding: 2em;
	text-align: center;
}

@media (min-width: 576px) {
	.projects__box {
		flex-direction: row;
		justify-content: space-between;
	}

	.projects__box-text {
		width: 55%;
	}

	.projects__box-text--right {
		text-align: right;
	}

	.projects__box-img {
		width: 40%;
	}

	.projects__box-img--right {
		order: 1;
	}

	.projects__img {
		margin-bottom: 0;
		max-height: 300px;
	}

	.offers__option {
		display: flex;
		margin: 2em 0;
		width: 100%;
	}

	.offers__option-img {
		width: 50%;
		height: auto;
	}

	.offers__option-img--right {
		order: 1;
	}

	.offers__option-info {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.offers__option-heading {
		margin-bottom: 0.5em;
		font-size: 3.6rem;
	}

	.offers__option-btn {
		padding: 1em;
	}
}

@media (min-width: 768px) {
	.white-block {
		height: 50px;
		width: 45%;
	}

	.white-block-add {
		height: 50px;
	}

	.white-block-add-first-L {
		left: calc(45% - 50px + 20px);
	}

	.white-block-add-second-L {
		left: calc(45% - 50px + 60px);
	}

	.white-block-add-third-L {
		left: calc(45% - 50px + 100px);
	}

	.white-block-add-first-R {
		right: calc(45% - 50px + 20px);
		transform: skew(45deg);
	}

	.white-block-add-second-R {
		right: calc(45% - 50px + 60px);
		transform: skew(45deg);
	}

	.white-block-add-third-R {
		right: calc(45% - 50px + 100px);
		transform: skew(45deg);
	}

	.header__heading {
		font-size: 6.6rem;
	}

	.header__text {
		font-size: 2.2rem;
	}

	.header__btn {
		font-size: 1.6rem;
	}

	.projects__text {
		font-size: 1.6rem;
	}

	.projects__title {
		font-size: 2rem;
	}

	.hero-img {
		padding: 30rem 2em;
	}

	.hero-img hr {
		margin: 0 auto;
		width: 70%;
	}

	.hero-img__text {
		font-size: 2.2rem;
	}

	.services__cards {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}

	.services__card {
		margin: 1em;
		width: 45%;
	}

	.footer__boxes {
		display: flex;
		justify-content: space-between;
	}

	.footer__box-desktop {
		display: block;
	}

	.footer__box {
		margin: 0 2em;
		width: 25%;
	}

	.footer__box:first-child {
		width: 50%;
	}

	.footer__box-title {
		font-size: 2.4rem;
	}

	.footer__box-list {
		list-style: none;
	}

	.footer__box-list-item {
		margin-bottom: 1em;
	}

	.footer__box-list-item a {
		color: #eee;
		text-decoration: none;
	}
}

@media (min-width: 992px) {
	.burger-btn {
		top: 50px;
		right: 50px;
	}

	.header {
		background-image: linear-gradient(
				45deg,
				rgba(20, 105, 241, 0.8),
				rgba(126, 126, 126, 0.8)
			),
			url("https://atnel.pl/khde_img/head_big.jpg");
	}

	.header__heading {
		font-size: 10rem;
	}

	.nav__item {
		font-size: 4.8rem;
	}

	.projects__box {
		margin: 5em 0;
	}

	.projects__box-text {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		margin-bottom: 2.5em;
	}

	.projects__box__title {
		font-size: 3.6rem;
	}

	.projects__box__text {
		font-size: 2.2rem;
	}

	.hero-img {
		padding: 40rem 2em;
	}

	.hero-img__title {
		font-size: 7.2rem;
	}

	.hero-img hr {
		width: 60%;
		max-width: 900px;
	}

	.offers {
		background-image: linear-gradient(
				45deg,
				rgba(20, 105, 241, 0.8),
				rgba(126, 126, 126, 0.8)
			),
			url("https://atnel.pl/khde_img/hero_2b.jpg");
	}

	.offers__option-info {
		width: 50%;
	}

	.offers__option-img {
		-o-object-fit: cover;
		object-fit: cover;
	}

	.offers__option-text {
		font-size: 1.5rem;
	}
}

@media (min-width: 1100px) {
	.services__card {
		width: 30%;
	}
}
