.space-modal {
	justify-content: flex-end;
	flex-direction: column;
	align-items: flex-end;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	position: fixed;
	display: none;
}

.space-modal.show {
	display: flex;
}

.space-modal__wrapper {
	position: absolute;
	width: 80%;
	height: calc(100% - 20px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 101;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 30px 0;
}

.space-modal-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	z-index: 100;
	cursor: pointer;
}

.space-modal__close {
	display: flex;
	justify-content: flex-end;
}

.space-modal__close,
.space-modal__close:hover,
.space-modal__close:focus {
	background: unset;
	border: 0.5px solid var(--neutral-0, #101E21);
}

.space-modal__close {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.space-modal__close span {
	display: flex;
}

.space-modal__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 35px;
	border-bottom: 1px solid #9FA5A6;
}

h2.space-modal__title {
	color: var(--neutral-100, #101E21);
	font-family: "eUkraine Head";
	font-size: 40px;
	font-style: normal;
	font-weight: 200;
	line-height: normal;
	text-transform: uppercase;
	margin: 0;
}

.space-modal-modile-image {
	display: none;
}

.space-modal__content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(100% - 270px);
}

.space-modal__content .space-modal-desktop-image,
.space-modal__content .space-modal-modile-image {
	width: 100%;
	object-fit: contain;
	height: 100%;
}

.space-modal__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 35px;
	background: var(--neutral-100, #101E21);
}

.space-modal__bottom--left button span:last-child {
	color: #fff;
	border-bottom: 1px solid #fff;
}

.space-modal__bottom--left button span:first-child {
	border: 0.5px solid #fff;
}

.space-modal__bottom--right {
	display: flex;
	align-items: center;
	gap: 0 40px;
}

.space-modal__bottom--right a {
	display: flex;
	align-items: center;
	gap: 0 5px;
	color: var(--neutral-0, #FFF);
	font-family: "eUkraine Head";
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 19.6px */
	text-decoration: unset;
}

.space-modal__bottom--right a:hover {
	color: #BE4D00;
}

.space-modal__bottom--right a span {
	display: flex;
}

.space-loader {
	--color: #BE4D00;
	--size-mid: 6vmin;
	--size-dot: 1.5vmin;
	--size-bar: 0.4vmin;
	--size-square: 3vmin;
	
	display: block;
	position: relative;
	width: 50%;
	display: grid;
	place-items: center;
}

.space-loader::before,
.space-loader::after {
	content: '';
	box-sizing: border-box;
	position: absolute;
}

.space-loader::before {
	width: var(--size-mid);
	height: var(--size-mid);
	border: 4px solid var(--color);
	border-top-color: transparent;
	border-radius: 50%;
	animation: loader-1 1s linear infinite;
}

.space-loader::after {
	width: calc(var(--size-mid) - 2px);
	height: calc(var(--size-mid) - 2px);
	border: 2px solid transparent;
	border-top-color: var(--color);
	border-radius: 50%;
	animation: loader-1 0.6s linear reverse infinite;
}

@keyframes loader-1 {
	100% {
		transform: rotate(1turn);
	}
}

.space-loader__wrapper {
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 100;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.2s ease-in-out;
	opacity: 1;
	visibility: visible;
}

.space-loader__wrapper.hide {
	opacity: 0;
	visibility: hidden;
}

@media screen and (max-width: 992px) {
	.space-modal__wrapper {
		width: 100%;
		height: 100%;
	}
	.space-modal-desktop-image {
		display: none;
	}
	.space-modal-modile-image {
		display: block;
	}
	.space-modal__content {
		overflow: auto;
		height: auto;
	}
	.space-modal__top {
		padding: 25px 20px;
	}
	h2.space-modal__title {
		font-size: 28px;
	}
	.space-modal__bottom {
		flex-direction: column;
		gap: 20px 0;
	}
	.space-modal__bottom--right {
		flex-direction: column;
		gap: 15px 0;
	}
}