:root {
	--cookie-green: hsl(136, 100%, 26%);
	/* --cookie-primary: hsl(7, 99%, 53%); */
	--cookie-primary: hsl(0, 0%, 80%);
	--cookie-secondary: hsl(218, 89%, 41%);
}

[x-cloak] {
	display: none;
}

.cookies {
	margin-bottom: 2rem;
}

.ml-10 {
	margin-left: 10px;
}

.cookie-alert {
	font-size: 0.875rem;
	position: fixed;
	bottom: 0;
	z-index: 99999;
	width: 100%;
	background: rgba(9, 5, 28, 0.6588235294);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
    box-shadow: 0px 10px 30px #0000005e;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem;
    width: calc(100% - 4rem);
}

.cookie-alert p {
	margin: 0;
}

.cookie-alert p a {
	color: var(--bs-link-color);
	text-decoration: none;
}

.cookie-alert mark, .cookie-alert .mark {
    padding: 0;
    color: white;
    font-weight: bold;
    background-color: inherit;
}

.cookies .btn {
	background-color: var(--cookie-green);
	color: white !important;
	transition: all 0.2s;
	padding: .5em 1em;
	font-size: 0.875rem;
	white-space: nowrap;
	border: 0;
}
.cookies .btn:hover {
	filter: brightness(1.1);
}
.cookies .btn.secondary {
	background: none!important;
	background-color: none!important;
	border: 1px solid #ffffff10;
	color: #ffffff48!important;
}

.cookie-alert--buttons {
	margin-left: 30px;
}

.cookies .flex {
	display: flex;
	align-items: center;
}
.cookies .items-center {
	align-items: center;
}
.cookies .items-start {
	align-items: flex-start;
}
.cookies .justify-between {
	justify-content: space-between;
}
.cookies .justify-end {
	justify-content: flex-end;
}
.cookies .flex-nowrap {
	flex-wrap: nowrap;
}

.cookies .w-9-12 {
	width: calc(100% * 9 / 12);
	padding-right: 15px;
}
.cookies .w-3-12 {
	width: calc(100% * 3 / 12);
	padding-left: 15px;
}

.cookies-popup {
	position: fixed;
	z-index: 9999999;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}

.cookies-popup--wrap {
	max-width: 90%;
	width: 700px;
	position: relative;
}

.cookies-popup--content {
	padding: 30px;
	max-height: 80vh;
	overflow-y: auto;
	background: rgba(9, 5, 28, 0.6588235294);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	box-shadow: 0px 10px 30px #0000005e;
	border-radius: 1rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	position: relative;
}

.cookies-popup--close {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsl(0, 0%, 0%, 0.1);
	color: black;
	font-family: code;
	font-size: 1.5rem;
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 30px;
	z-index: 10;
	text-decoration: none;
}

.cookies-popup h4 {
	margin-top: 0;
	margin-bottom: 0.05em;
	font-size: 1.3rem;
}

.cookies-popup form h4 {
	margin-top: 0.3em;
}

.cookies-popup--backdrop {
	position: fixed;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: hsl(0, 0%, 0%, 0.1);
}

.cookies [type="checkbox"] {
	appearance: none;
	width: 90px;
	height: 44px;
	display: flex;
	align-items: center;
	transition: all 0.3s;
	background-color: var(--cookie-primary);
	position: relative;
	border: 0;
	padding: 2px;
	cursor: pointer;
}

.cookies [type="checkbox"]::after {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	left: 2px;
	transition: all 0.3s;
	background-color: #fff;
}

.cookies [type="checkbox"]:checked {
	background-color: var(--cookie-green);
}

.cookies [type="checkbox"]:checked::after {
	left: 48px;
}

@media screen and (max-width: 800px) {
	.cookie-alert {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.cookie-alert--buttons {
		flex-direction: column;
		width: 100%;
		margin: 0;
	}

	.cookie-alert--buttons .btn {
		width: 100%;
		margin: 0 0 10px 0;
		text-align: center;
		justify-content: center;
		padding: 1em 0;
	}
}

@media screen and (max-width: 600px) {
	.cookies-popup--content p {
		font-size: 0.6875rem;
	}

	.cookies .flex-nowrap {
		flex-direction: column;
	}

	.cookies .w-9-12,
	.cookies .w-3-12 {
		width: 100% !important;
		max-width: 100%;
		flex-basis: 100%;
		margin-bottom: 15px;
		padding: 0;
	}

	.cookies .w-3-12 {
		padding-left: 0 !important;
		width: 100%;
	}
}
