#start-window[hidden] {
	display: none;
}

#start-window,
#start-window * {
	box-sizing: border-box;
}

#start-window {
	display: block;
	max-width: 870px;
	width: 100%;
	position: fixed;
	top: 50%;
	left: calc(50% - 435px);
	transform: translate(0, -50%);
	z-index: 10000;
	transition: transform 1s ease;
}

#start-window.move-to-bottom {
	/* Keep the original final position, but move there using only transform.
	 * Changing top/bottom after five seconds was recorded as a large CLS. */
	top: 50%;
	bottom: auto;
	transform: translate(0, calc(50vh - 110%));
	z-index: 9999999;
}

#start-window .block-options,
#start-window .block-cookie {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
}

#start-window .block-cookie {
	padding: 1.5rem 2rem 1.2rem;
	margin-top: 1rem;
	font-size: 15px;
	color: #636363;
	text-align: center;
}

#start-window .block-cookie p {
	margin: 0;
}

#start-window .block-cookie a,
#start-window .block-cookie .cookie-consent__text-action {
	color: #038e43;
}

#start-window .cookie-consent__text-action {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	line-height: inherit;
	cursor: pointer;
}

#start-window #switch-languages {
	text-align: right;
	margin: 1rem;
	position: relative;
	top: 1rem;
}

#start-window #switch-languages:hover button {
	opacity: 0.5;
}

#start-window #switch-languages button {
	display: inline-block;
	margin: 0.3rem;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

#start-window #switch-languages button:hover,
#start-window #switch-languages button:focus-visible {
	opacity: 1;
}

#start-window #switch-languages button:focus-visible,
#start-window .cookie-consent__text-action:focus-visible,
#start-window .modal-close:focus-visible {
	outline: 2px solid #038e43;
	outline-offset: 2px;
}

#start-window #switch-languages img {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

#start-window .block-options {
	padding-bottom: 6px;
}

#start-window .cookies__text {
	font-weight: 600;
	display: inline-block;
	float: left;
	margin: 5px 0 0 36%;
}

#start-window .close-window {
	cursor: pointer;
}

#start-window .modal-close {
	position: absolute;
	width: 1.1875em;
	height: 1.1875em;
	right: 0.625em;
	top: 1.3em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	line-height: inherit;
	color: #000;
	opacity: 0.7;
}

#start-window .modal-close:hover {
	opacity: 1;
}

#start-window .modal-close::before,
#start-window .modal-close::after {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	border-top: 2px solid;
}

#start-window .modal-close::before {
	transform: rotate(45deg);
}

#start-window .modal-close::after {
	transform: rotate(-45deg);
}

@media (min-width: 768px) {
	#start-window .modal-close {
		right: 1.625em;
		top: 1.375em;
	}
}

@media screen and (max-width: 1440px) {
	#start-window .block-cookie {
		font-size: 14px;
	}
}

@media screen and (max-width: 860px) {
	#start-window {
		max-width: 90%;
		width: 90%;
		left: 5%;
	}
}

@media screen and (max-width: 810px) {
	#start-window .cookies__text {
		margin-left: 0;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translate(-50%, 0);
	}
}

@media screen and (max-width: 480px) {
	#start-window .cookies__text {
		font-size: 14px;
		margin-left: 0;
		position: absolute;
		top: 3px;
		left: 35%;
		transform: translate(-50%, 0);
	}
}

@media screen and (max-height: 700px) {
	#start-window .block-cookie {
		padding: 1rem 2rem 0.8rem;
		margin-top: 0.7rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#start-window {
		transition: none;
	}
}
