/*
	Cookie consent banner
	Custom addition — not part of the original HTML5 UP "Story" template
*/

#cookie-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 10001;
	background: #171b1e;
	color: #ffffff;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 300;
	box-sizing: border-box;
	padding: 1rem 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	box-shadow: 0 -0.15rem 0.75rem rgba(0, 0, 0, 0.35);
	transform: translateY(100%);
	transition: transform 0.4s ease;
}

#cookie-consent-banner.is-visible {
	transform: translateY(0);
}

#cookie-consent-banner[hidden] {
	display: none;
}

#cookie-consent-banner p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #ffffff;
	max-width: 56rem;
	flex: 1 1 20rem;
}

#cookie-consent-banner a {
	color: #47D3E5;
	text-decoration: underline;
}

#cookie-consent-banner a:hover {
	text-decoration: none;
}

#cookie-consent-banner .cookie-consent-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

#cookie-consent-accept {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	border: 0;
	border-radius: 4px;
	background: #47D3E5;
	color: #06181a;
	font-family: inherit;
	font-weight: 400;
	font-size: 0.9rem;
	padding: 0.65rem 1.5rem;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

#cookie-consent-accept:hover {
	background: #6fdeec;
}

@media screen and (max-width: 736px) {
	#cookie-consent-banner {
		justify-content: flex-start;
		text-align: left;
	}

	#cookie-consent-banner .cookie-consent-actions {
		width: 100%;
		justify-content: flex-start;
	}

	#cookie-consent-accept {
		width: 100%;
		text-align: center;
	}
}
