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

html {
	scroll-behavior: smooth;
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-style: normal;
}

img,
picture,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

ul,
ol {
	list-style: none;
}

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

button {
	display: block;
	cursor: pointer;
	padding: 0;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1440px;
	padding: 0 20px;
}

.no-scroll {
	overflow: hidden;
	height: 100vh;
}

@media (min-width: 1280px) {
	.container {
		padding: 0 100px;
	}
}

/*  header  */

.header {
	background: rgb(238, 236, 236);
	padding: 20px 0;
	position: fixed;
	width: 100%;
	z-index: 10;
}

.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__logo {
	font-family: 'Lato', sans-serif;
	font-size: 25px;
	font-weight: 900;
	color: rgb(11, 5, 6);
}

.header__burger {
	display: block;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: rgb(11, 5, 6);
}

.header__nav {
	display: none;
}

.modal-menu {
	display: flex;
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100vh;
	justify-content: center;
	align-items: center;
	transition: right 0.4s ease-in-out;
}

.modal-menu.active {
	right: 0;
}

.modal-menu__content {
	background: rgb(238, 236, 236);
	padding: 40px;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;

	text-align: center;
	transform: translateX(100%);
	transition: transform 0.4s ease-in-out;
}

.modal-menu.active .modal-menu__content {
	transform: translateX(0);
}

.modal-menu_logo {
	width: fit-content;
	margin: 0 auto 40px;
}

.modal-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modal-menu ul li {
	padding-bottom: 8px;
	border-bottom: 2px solid rgb(188, 4, 244);
}

.modal-menu a {
	display: block;
	text-decoration: none;
	color: rgb(11, 5, 6);
	font-size: 18px;
	padding: 10px 0;
}

.modal-menu__close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	position: absolute;
	top: 20px;
	right: 20px;
}

@media (min-width: 900px) {
	.header__nav {
		display: block;
	}

	.header__logo {
		font-size: 40px;
	}

	.header__nav ul {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.header__nav ul li {
		border-bottom: 2px solid transparent;
		padding-bottom: 8px;

		transition: all 0.5s ease;
	}

	.header__nav ul li a {
		font-size: 20px;
	}

	.header__nav ul li:hover {
		border-bottom: 2px solid rgb(188, 4, 244);
	}

	.header__burger {
		display: none;
	}

	.header__btn {
		font-size: 30px;
	}
}
/*  hero  */

.hero {
	padding: 200px 0 0 0;
	height: 100vh;

	background-image: url('./images/bg-hero.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left;
}

.hero h1 {
	color: rgb(11, 5, 6);
	text-align: center;
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -1px;
	margin-bottom: 40px;
}

.hero__btn {
	display: flex;
	align-items: center;
	justify-content: center;

	border-bottom: 5px solid rgb(188, 4, 244);
	padding: 10px 20px;
	font-size: 20px;
	width: 200px;
	margin: 0 auto;
	text-transform: uppercase;

	transition: all 0.5s ease-in;
}

.hero__btn:hover {
	border-bottom-left-radius: 50px;
}

@media (min-width: 900px) {
	.hero {
		padding: 300px 0 0 0;
	}

	.hero h1 {
		font-size: 50px;
		margin-bottom: 50px;
	}

	.hero__btn {
		font-size: 25px;
		width: 300px;
	}
}

@media (min-width: 1280px) {
	.hero h1 {
		font-size: 60px;
	}

	.hero__btn {
		font-size: 35px;
	}
}

/*  service  */

.service {
	padding: 50px 0;
}

.service h2 {
	color: rgb(11, 5, 6);
	text-align: center;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -1px;

	margin-bottom: 40px;
}

.service ul {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.service ul li {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 0 auto;
	width: 100%;
	max-width: 400px;

	overflow: hidden;
}

.service ul li img {
	width: 100%;
	height: 100%;
	max-height: 300px;
	object-fit: cover;
	margin: 0 auto;
}

.service ul li div {
	width: 100%;
}

.service ul li p {
	color: rgb(11, 5, 6);

	font-size: 16px;
	font-style: normal;

	line-height: 1.3;
}

@media (min-width: 900px) {
	.service h2 {
		font-size: 35px;
	}

	.service ul li {
		flex-direction: row;
		align-items: center;
		margin: 0 auto;
		max-height: 300px;
		max-width: 1440px;
	}

	.service ul li img {
		margin: 0;
		height: 100%;
	}

	.service ul li div {
		padding: 20px;
		width: 90%;
	}

	.service ul li p {
		font-size: 16px;
		font-style: normal;

		line-height: 1.3;
	}
}

/*  about  */

.about {
	padding: 50px 0;
}

.about div {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.about p {
	color: rgb(11, 5, 6);
	font-size: 18px;
	line-height: 1.4;
	letter-spacing: 0.6px;
}

.about img {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	object-fit: cover;
}

@media (min-width: 900px) {
	.about div {
		flex-direction: row;
		align-items: center;
		gap: 0;
		justify-content: space-between;
	}

	.about img {
		max-width: 55%;
		margin: 0;
		height: auto;
	}

	.about p {
		width: 40%;
	}
}

@media (min-width: 1200px) {
	.about img {
		max-width: 40%;
	}

	.about p {
		width: 55%;
	}
}

/*  advantage  */

.advantage {
	padding: 30px 0;
}

.advantage ul {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.advantage ul li {
	padding: 30px;

	background-color: #fff;

	color: rgb(11, 5, 6);

	font-size: 18px;
	font-style: normal;

	line-height: 1.2;
	letter-spacing: -0.2px;
	text-align: center;

	border-bottom: 5px solid rgb(188, 4, 244);
}

@media (min-width: 900px) {
	.advantage ul {
		flex-direction: row;
		align-items: center;
		max-width: 1440px;
	}

	.advantage ul li {
		height: 200px;
	}
}

/*  contact  */

.contact {
	padding: 40px 0;
}

.contact__container {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact__content {
	background-color: rgb(238, 236, 236);
	padding: 30px;
	border-bottom: 5px solid rgb(188, 4, 244);

	display: flex;
	flex-direction: column;
	gap: 40px;
}

.contact__content p {
	color: rgb(11, 5, 6);

	font-size: 18px;
	text-align: center;
	line-height: normal;
	letter-spacing: 0.6px;
}

@media (min-width: 900px) {
	.contact__content p {
		font-size: 20px;
	}

	.contact__container {
		flex-direction: row;
		align-items: center;
		gap: 30px;
	}
}

.contact__form {
	padding: 30px;

	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
	border-bottom: 5px solid rgb(188, 4, 244);
}

.contact__form input,
.contact__form textarea {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid rgb(11, 5, 6);
	border-radius: 5px;
	font-size: 16px;
}

.contact__form button {
	background: rgb(188, 4, 244);
	color: #fff;
	border: none;
	padding: 10px;
	width: 100%;
	font-size: 18px;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.5s ease;
}

.contact__form button:hover {
	color: rgb(188, 4, 244);
	background-color: #fff;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: 0.3s;
}

.popup.active {
	visibility: visible;
	opacity: 1;
}

.popup p {
	color: rgb(11, 5, 6);

	font-size: 20px;

	line-height: normal;
	letter-spacing: 0.6px;
}

.popup-content {
	background: #fff;
	padding: 40px;
	border-bottom: 5px solid rgb(188, 4, 244);

	text-align: center;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.popup button {
	margin: 20px auto 0 auto;
	background: rgb(188, 4, 244);
	color: #fff;
	padding: 10px 35px;
	border: none;
	border-radius: 10px;
}

.popup button:hover {
	background: #fff;
	color: rgb(188, 4, 244);
}

@media (min-width: 900px) {
	.contact__form h3 {
		font-size: 30px;
		line-height: normal;
		letter-spacing: 0.6px;
		margin-bottom: 20px;
	}

	.contact__form button {
		font-size: 20px;
	}
}

/*  footer  */

.footer {
	padding: 50px 0;

	background-color: rgb(238, 236, 236);
}

.footer__container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.footer__container div {
	display: flex;
	flex-direction: column;
	gap: 40px;

	margin-bottom: 50px;
}

.footer__logo {
	display: block;
	font-family: 'Bungee Tint', sans-serif;
	font-size: 25px;
	font-weight: 900;
	color: rgb(11, 5, 6);

	text-align: center;
}

.footer ul {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	justify-content: center;
}

.footer ul li {
	color: rgb(11, 5, 6);

	padding: 10px;
	transition: all 0.5s ease;
}

.footer ul li:hover {
	border-bottom: 3px solid rgb(188, 4, 244);
}

.footer p {
	color: rgb(11, 5, 6);
	font-size: 16px;
	line-height: normal;
	letter-spacing: 0.6px;
	text-align: center;
}

@media (min-width: 900px) {
	.footer__logo {
		font-size: 40px;
	}

	.footer__container div {
		flex-direction: row;
		gap: 0;
		justify-content: space-between;
	}

	.footer ul {
		flex-direction: row;
	}

	.footer ul li {
		font-size: 22px;
	}
}

.add__page {
	padding: 130px 0 50px 0;
}

.add__page h2 {
	margin-bottom: 30px;
}
.add__page h3,
.add__page p {
	margin-bottom: 20px;
}
