* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	font-family: "Allerta", sans-serif;
}
h1 {
	margin-top: 70px;
	font-size: 70px;
	font-family: "Montserrat", sans-serif;
}
h1 span {
	text-decoration: underline;
}
h2 {
	font-size: 35px;
	margin: 1em 0;
}
input:focus,
textarea:focus {
	background-color: #f5f5f5;
}
table {
	width: 100%;
}
table,
th,
td {
	border: 1px solid #273b47;
	border-collapse: collapse;
}
th {
	text-align: left;
	color: white;
	background-color: #273b47;
}
tr:hover {
	background-color: #f5f5f5;
}
th,
td {
	padding: 1.5em;
}

.button {
	margin: 1em 0;
	padding: 0.4em 0.7em;
	border-radius: 0.7em;
	font-family: "Allerta", sans-serif;
	font-size: 1.3em;
	background: linear-gradient(to right, #ff6d50, #ff354e);
	border: none;
	color: white;
	cursor: pointer;
}

.wrapper {
	max-width: 800px;
	margin: 0 auto;
}
.background {
	background-image: url("../images/background.png");
	background-size: cover;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2em 0;
}
.header__menu {
	font-size: 24px;
}
.header__menu li {
	display: inline-block;
	margin-left: 30px;
}
.header__menu a {
	text-decoration: none;
	color: white;
}

.hero {
	height: auto;
	color: white;
	padding-bottom: 2em;
}
.hero h3 {
	font-size: 24px;
	font-family: "Montserrat", sans-serif;
}

.product {
	color: #1f313c;
	margin-bottom: 5em;
}
.product h3 {
	font-size: 50px;
}
.product__box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2em;
	margin: 3em 0 5em 0;
	position: relative;
	border: 1px solid #1f313c;
	border-radius: 0.5em;
}
.box--order {
	order: 1;
}
.box--order img {
	position: absolute;
	bottom: 0;
	right: 2em;
}
.box--position img {
	position: absolute;
	top: 0;
	left: 2em;
}
.box-description ol {
	padding-left: 1.3em;
}
.right {
	margin-left: 4em;
}
.left {
	margin-right: 4em;
}

.footer {
	color: white;
	background-color: #273b47;
}
.footer > .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2em 0;
}
.contact__details {
	display: flex;
	flex-wrap: wrap;
	width: 300px;
}
.contact__details img {
	display: block;
}
.contact__details strong {
	display: block;
}
.contact__details a {
	margin: 0.8em 0.8em 0.8em 0;
	color: white;
	text-decoration: none;
}
.contact__form {
	display: flex;
	width: 480px;
}
.contact__form label,
input,
.gender,
.checkbox {
	margin-bottom: 0.5em;
}
.contact__form input,
textarea {
	outline: none;
	border: none;
}
.column1,
.column2 {
	display: flex;
	flex-direction: column;
}
.column1 {
	align-items: flex-start;
	margin-right: 1em;
}
.column2 {
	align-items: flex-start;
}
.checkbox {
	font-size: 1em;
}

.table {
	margin: 8.1em auto;
}

.burger-button {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1;
	text-align: center;
	line-height: 40px;
	background-color: #273b47;
	color: white;
	cursor: pointer;
}

@media screen and (max-width: 1024px) {
	.contact__form {
		width: 470px;
	}
	.box-description ol li {
		list-style: none;
	}
}
@media screen and (max-width: 846px) {
	h1 {
		font-size: 45px;
		margin-top: 0;
	}
	h2 {
		font-size: 40px;
		margin: 0;
	}
	.hero h3 {
		font-size: 18px;
	}
	.wrapper {
		padding: 1.5em 2em;
	}
	.hero {
		height: auto;
	}
	.product {
		margin-bottom: 0;
		text-align: center;
	}
	.product h3 {
		font-size: 40px;
	}
	.product__box {
		display: block;
		position: initial;
		margin: 2em 0;
		padding: 1em;
	}
	.box-description {
		margin: 0;
	}
	.box-description ol {
		padding: 0;
	}
	.box--order img {
		position: initial;
		width: 250px;
	}
	.box--position img {
		position: initial;
		width: 300px;
	}

	.footer > .wrapper {
		display: flex;
		flex-direction: column;
	}
	.contact__details {
		align-items: center;
	}
	.contact__form {
		display: block;
		width: 300px;
		margin: 0 auto;
	}
	.column1,
	.column2 {
		margin: 0;
	}
	.gender label,
	.checkbox label {
		display: block;
		margin: 0.5em 0;
	}
	input[type="text"],
	input[type="email"],
	textarea {
		width: 300px;
		font-size: 1em;
		padding: 0.5em;
	}
	input[type="radio"],
	input[type="checkbox"] {
		zoom: 1.2;
	}

	.table {
		margin: 4.3em auto;
	}
}

@media screen and (max-width: 414px) {
	body.opened {
		overflow: hidden;
	}
	h1 {
		font-size: 29px;
		margin-bottom: 1em;
	}
	h2 {
		font-size: 25px;
	}
	.wrapper {
		padding: 2em 0;
	}
	.hero h3 {
		font-size: 20px;
	}
	.header {
		display: initial;
		text-align: center;
	}
	.header__logo img {
		margin: 1em;
	}
	.burger-button {
		display: initial;
	}
	.header__menu {
		width: 100vw;
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: -100vw;
		background-color: rgba(39, 59, 71, 0.9);
		transition: 0.3s;
	}
	.header__menu.active {
		left: 0;
	}
	.header__menu ul {
		flex: 1;
	}
	.header__menu li {
		display: block;
		margin: 0;
		padding: 0.8em 0;
		border-bottom: 1px solid white;
	}
	.header__menu li:first-child {
		border-top: 1px solid white;
	}
	.hero {
		padding: 0 1em;
		height: auto;
		text-align: center;
	}
	.product {
		margin: 0 1em;
	}
	.product h3 {
		font-size: 30px;
		margin: 0.5em 0;
	}
	.product__box {
		margin: 2em 0 0 0;
	}
	.table {
		margin: 4.5em 1em;
	}
	.table .wrapper {
		padding: 0;
		overflow: auto;
		border: 1px solid #273b47;
	}
}
