@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

#cookie-toast {
  --transitionDuration: 0.5s;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  inset-block-end: 0;
  inset-inline-start: 0;
  z-index: 220;
  transition: visibility 0.0001s linear;
  max-width: 100%;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
}

@media (orientation: landscape) {
  #cookie-toast {
    padding-inline: 36rem;
    padding-block: 36rem calc(36rem + env(safe-area-inset-bottom, 0));
  }
}

#cookie-toast:not(.active) {
  visibility: hidden;
  pointer-events: none;
}

#cookie-toast .wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12rem;
  transition: translate 0.35s ease, opacity 0.35s ease;
  background: #fff;
  padding-inline: 16rem;
  padding-block: 20rem calc(20rem + env(safe-area-inset-bottom, 0));
  max-width: 100%;
  box-shadow: 0rem 4rem 20rem 0rem rgba(0, 0, 0, 0.08),
    0rem 2rem 4rem 0rem rgba(0, 0, 0, 0.02),
    0rem 4rem 4rem 0rem rgba(0, 0, 0, 0.02);
  border-radius: 24rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media (orientation: landscape) {
  #cookie-toast .wrapper {
    flex-direction: row;
    border-radius: 20rem;
    padding-inline: 20rem;
    padding-block: 12rem;
    gap: 16rem;
  }
}

#cookie-toast:not(.active) .wrapper {
  translate: 0 100%;
}

#cookie-toast .wrapper .text {
  font-size: 12rem;
  line-height: 125%;
  font-weight: 400;
  color: #303345;
  text-align: center;
}

@media (orientation: landscape) {
  #cookie-toast .wrapper .text {
    font-size: 16rem;
    text-align: left;
  }
}

#cookie-toast .wrapper .text a {
  text-transform: lowercase;
  text-decoration: underline;
}

@media (hover: hover) {
  #cookie-toast .wrapper .text a {
    text-decoration: none;
  }

  #cookie-toast .wrapper .text a:hover {
    text-decoration: underline;
  }
}

#cookie-toast .wrapper .btn {
  min-width: 200rem;
}
