/* START: COOKIE BAR */
.cookie-bar-container {
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
  background-color: #00000090;
  backdrop-filter: blur(5px);

  z-index: 1000000;
  position: fixed;
  height: 100%;
  width: 100%;
  right: 0;
  left: 0;
  top: 0;
}

.cookie-bar-container--active {
  display: flex;
}

.cookie-bar {
  box-shadow: 0 10px 50px -10px #00000040;
  background-color: #24acee;
  justify-content: stretch;
  flex-direction: column;
  align-items: stretch;
  border-radius: 12px;
  max-height: 80vh;
  max-width: 800px;
  overflow: auto;
  display: flex;
  padding: 24px;
  margin: 12px;
}

.cookie-bar__text {
  padding: 12px;
}

.cookie-bar__text > span {
  height: 16px;
  display: block;
}

.cookie-bar__text > h1 {
  line-height: 36px;
  margin-top: 0;
  color: white;
}

.cookie-bar__text > p {
  font-size: 16px;
  color: white;
  margin: 0;
}

.cookie-bar__text > p > a {
  color: white !important;
  text-decoration: underline;
}

.cookie-bar__actions {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  padding: 24px 0;
}

button.cookie-bar__action {
  appearance: none;
  background: none;
  outline: none;
  border: none;

  border-radius: 100px;
  padding: 2px 18px;
  font-size: 16px;
  cursor: pointer;
  font: inherit;
  margin: 0 6px;
}

button.cookie-bar__action:hover {
  opacity: .6;
}

button.cookie-bar__action--disallow {
  background-color: white;
  color: #24acee;
}

button.cookie-bar__action--allow {
  background-color: white;
  color: #24acee;
}

@media screen and (max-width: 600px) {
  .cookie-bar__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .cookie-bar__text > h1 {
    font-size: 26px;
  }
  
  .cookie-bar__text > p {
    font-size: 14px;
  }

  button.cookie-bar__action {
    padding: 2px 18px;
    margin: 6px;
  }

  button.cookie-bar__action--allow {
    margin-top: 12px;
  }
}
/* END: COOKIE BAR */