:root {
  --consent-background: #ececec;
  --consent-border-radius: 8px;
  --consent-text-width: 960px;
}
.consent {
  width: 100vw;
  position: fixed;
}
.consent__label {
  position: fixed;
  display: grid;
  place-items: center;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--consent-border-radius);
  background: var(--consent-background);
  box-shadow: 0 16px 24px 2px rgba(29, 17, 51, 0.04),
    0 6px 32px 4px rgba(9, 32, 77, 0.12), 0 8px 12px -5px rgba(29, 17, 51, 0.12);
  opacity: 0.7;
  cursor: pointer;
}
.consent__label svg {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  pointer-events: none;
}
.consent__layer {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 16px;
  bottom: 24px;
  left: 24px;
  width: calc(100vw - 3rem);
  background: var(--consent-background);
  box-shadow: 0 16px 24px 2px rgba(29, 17, 51, 0.04),
    0 6px 32px 4px rgba(9, 32, 77, 0.12), 0 8px 12px -5px rgba(29, 17, 51, 0.12);
  border-radius: var(--consent-border-radius);
  padding: 24px 16px;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 300;
  transform: translateY(calc(100% + 5rem));
  transition: 0.25s;
}
.consent__layer.is-active {
  transform: none;
}
.consent__layer.is-active h2 {
  margin-bottom: 8px;
}
.consent__container {
  max-width: var(--consent-text-width);
  margin-inline: auto;
}
.consent__buttons {
  display: flex;
  margin-top: 32px;
  gap: 16px;
}
.consent__settings {
  position: fixed;
  top: 50vh;
  left: 50vw;
  margin: 0;
  transform: translate(-50%, -50%);
  background: var(--consent-background);
  padding: 32px 48px;
  border-radius: var(--consent-border-radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: calc(100vw);
  max-height: 100vh;
  box-shadow: 0 16px 24px 2px rgba(29, 17, 51, 0.04),
    0 6px 32px 4px rgba(9, 32, 77, 0.12), 0 8px 12px -5px rgba(29, 17, 51, 0.12);
  z-index: 910;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 300;
}
.consent__settings h2 {
  margin-bottom: 0;
}
.consent__options {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}
.consent__options p{
  margin-bottom: 0;
}
.consent__options > input {
  height: 14px;
  margin-top: 4px;
  cursor: pointer;
}
.consent__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ccc 50;
  backdrop-filter: blur(10px);
  z-index: 900;
}

.consent-btn {
  display: block;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 300;
  color: #0097d9;
  border: 1px solid #0097d9;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s;
}
.consent-btn:hover {
  background-color: #0097d9;
  color: #ffffff;
}
