.welcome-page {
	@include pageInner;
	background-color: $bg-accent;

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

.welcome-page__wrapper {
	@include container;
	padding-left: 0;
	padding-right: 0;
	max-width: 1000px;

	@media (max-width: $mobile) {
		display: flex;
		flex-direction: column;
		padding-left: 0;
		padding-right: 0;
	}
}

.welcome-page__inner {
	display: flex;
	justify-content: space-between;

	@media (max-width: $mobile) {
		flex-direction: column;
		flex-grow: 1;
	}
}

.welcome-page__info {
	order: -1;
	padding-top: 45px;
	max-width: 500px;

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

	@media (max-width: $mobile) {
		order: 2;
		flex-grow: 1;
		display: flex;
		flex-direction: column;
		margin-left: auto;
		margin-right: auto;
		padding-top: 0;
		width: 100%;
		max-width: 360px;
	}
}

.welcome-page__image {
	display: flex;
	justify-content: flex-end;
	box-sizing: border-box;
	padding-top: 10px;
	padding-left: 50px;
	max-width: 50%;

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

	@media (max-width: $mobile) {
		margin: 0 auto 10px;
		padding-top: 30px;
		width: 100%;
		max-width: 280px;
	}
}

.welcome-page__title {
	@include mainTitle;
	margin: 0 0 33px;

	@media (max-width: $mobile) {
		margin-bottom: 11px;
		padding-right: 20px;
		font-weight: 700;
		font-size: 20px;
		line-height: 25px;
	}
}

.welcome-page__title em {
	margin-right: 0.5em;
}

.welcome-page__message b {
	font-weight: 500;
}

.welcome-page__text {
	@include mainBodyText;
	min-height: 97px;

	@media (max-width: 1024px) {
		min-height: 60px;
	}

	@media (max-width: $mobile) {
		margin-bottom: 40px;
		letter-spacing: 0.2px;
	}
}

.welcome-page__text p {
	margin: 0 0 23px;
}

.welcome-page__result {
	margin-left: 9px;
	font-weight: 700;
	font-size: 44px;
	line-height: 40px;
	letter-spacing: 0.01em;
	color: $text-main;

	@media (max-width: 1024px) {
		font-size: 38px;
	}

	@media (max-width: $mobile) {
		font-size: 32px;
	}
}

.welcome-page__result sup {
	margin-left: 4px;
	font-size: 24px;
	line-height: 32px;

	@media (max-width: $mobile) {
		vertical-align: middle;
		font-size: 32px;
	}
}

.welcome-page__message em {
	font-style: normal;
	color: $accent-main;
}

.welcome-page__message time {
	margin-left: 10px;
	font-size: 17px;
	color: $text-main;

	@media (max-width: $mobile) {
		margin-left: 0;
		font-size: 16px;
		letter-spacing: 0.15px;
		white-space: nowrap;
	}
}

.welcome-page__message--warning {
	em {
		color: $sienna;
	}
}

.welcome-page__message--result p {
	margin-bottom: 7px;
}

.welcome-page__message--result p > b {
	display: inline-block;
	vertical-align: top;
	margin-top: 10px;

	@media (max-width: $mobile) {
		font-weight: 400;
	}
}

.welcome-page__message--result p:last-child {
	margin-bottom: 0;
}

.welcome-page__message--top {
	b {
		color: $accent-main;
	}
}

.welcome-page__message--fail {
	b {
		color: $text-main;
	}

	.welcome-page__result {
		color: $red;
	}
}

.welcome-page__date {
	@media (max-width: $mobile) {
		font-weight: 500;
		font-size: 16px;
		line-height: 20px;
		color: $text-main;
		letter-spacing: 0.5px;
	}
}

.welcome-page__buttons {
	display: flex;
	flex-wrap: wrap;
	margin-top: 52px;
	min-width: 1000px;

	@media (max-width: 1168px) {
		min-width: calc(100vw - 168px);
	}

	@media (max-width: $mobile) {
		flex-direction: column;
		margin-top: auto;
		min-width: auto;
		width: 100%;
	}
}

.welcome-page__buttons button {
	margin: 0 40px 30px 0;
	padding-left: 40px;
	padding-right: 40px;

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

.welcome-page__buttons button:last-child {
	@media (max-width: $mobile) {
		margin-bottom: 0;
	}
}

button.welcome-page__button--wide {
	padding-left: 20px;
	min-width: 275px;
}

.welcome-page__headline {
	@include mainTitle;
	margin: 48px 0 62px;

	@media (max-width: $mobile) {
		margin: 30px 0;
		font-size: 20px;
		line-height: 25px;
	}
}

.welcome-page__nav {
	@include list-reset;
	display: flex;
	justify-content: space-between;

	@media (max-width: $tablet - 1) {
		flex-direction: column;
		justify-content: flex-start;
	}
}

.welcome-page__nav-item {
	flex: none;
	margin-bottom: 40px;
	width: calc(50% - 40px);

	@media (max-width: $tablet - 1) {
		width: auto;
		max-width: 700px;
	}
}

.welcome-page__nav-button {
	@include btn-reset;
	@include mainCaption;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	padding-left: 120px;
	min-height: 90px;
	text-align: left;
	letter-spacing: 0.65px;

	@media (max-width: $mobile) {
		padding-left: 60px;
	}
}

.welcome-page__nav-button b {
	@include lesserHeadline;
	margin-bottom: 6px;
	max-width: 250px;
	color: $text-main;
	letter-spacing: 1px;
}

.welcome-page__nav-button svg {
	color: $accent-dark;
	transition: color 0.3s ease;
}

.welcome-page__nav-button-icon {
	position: absolute;
	top: 0;
	left: 0;

	@media (max-width: $mobile) {
		width: 50px;
		height: 50px;
	}
}

.welcome-page__nav-button-icon svg {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.welcome-page__nav-button:hover {
	svg {
		color: $accent-medium;
	}
}

.welcome-page__nav-button:active,
.welcome-page__nav-button:focus {
	outline: none;

	svg {
		color: $accent-main;
	}
}
