@mixin container {
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 30px;
	width: 100%;
	max-width: 1060px;

	@media (max-width: $mobile) {
		padding: 0 20px;
	}
}

@mixin pageInner {
	flex-grow: 1;
	display: flex;
	margin: 0 30px 30px;
	padding: 54px;
	background-image: url("/uploads/images/bg-leaves.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: bottom center;

	@media (max-width: 1024px) {
		padding: 40px;
	}

	@media (max-width: $mobile) {
		margin: 0;
		padding: 0 30px 30px;
		background-image: url("/uploads/images/bg-leaves-mob.svg");
	}
}

@mixin infoPage {
	flex-grow: 1;
	display: flex;
	margin: 0 30px 30px;
	padding: 30px 30px 25px;
	background-color: $bg-accent;
}

@mixin list-reset {
	margin: 0;
	padding: 0;
	list-style: none;
}

@mixin btn-reset {
	display: inline-block;
	vertical-align: top;
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

@mixin center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@mixin hover {
	transition: opacity 0.3s ease;

	&:hover,
	&:focus {
		opacity: 0.7;
		outline: none;
	}
}
