@keyframes load-modal {
  0% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes unload-modal {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(200%);
  }
}

.cookie-module-block {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0.625rem; /* rem(10) */
  right: 0.625rem; /* rem(10) */
  padding: 1.25rem 0.625rem; /* rem(20) rem(10) */
  box-shadow: 5px 4px 20px rgb(0 0 0 / 23%); /* #0000002f */
  background-color: #ffffff; /* $whiteColor -> Ð·Ð°Ð¼ÐµÐ½ÐµÐ½Ð¾ Ð½Ð° Ð±ÐµÐ»Ñ‹Ð¹ */
  font-size: 0.875rem; /* rem(14) */
  border-radius: 0.9375rem; /* rem(15) */
  z-index: 999;
  width: 100%;
}

.open-cookie .cookie-module-block {
  display: flex;
  animation: load-modal 0.8s forwards;
  width: max-content;
  max-width: 95%;
  flex-direction: row;
  gap: 10px;
}

.close-cookie .cookie-module-block {
  display: flex;
  max-width: 95%;
  flex-direction: row;
  gap: 10px;
  animation: unload-modal 0.8s forwards;
  width: auto;
}

.cookie-module-block .cookie-link {
  color: #007bff; /* $primaryColor -> Ð·Ð°Ð¼ÐµÐ½ÐµÐ½Ð¾ Ð½Ð° ÑÑ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ñ‹Ð¹ ÑÐ¸Ð½Ð¸Ð¹ */
}

.cookie-contanier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* rem(10) */
  width: max-content;
  width: 100%;
}

button.cookie-agree-button {
  border-radius: 9999px;
  border: none;
  background: #2993d1;
  color: white;
  padding: 5px 16px;
  min-width: 107px;
}

.cookie-contanier .cookie-content {
  max-width: 100%; /* rem(320) */
  padding-right: 1.25rem; /* rem(20) */
  box-sizing: border-box;
  display: block;
  width: 100%;
}

.cookie-contanier .cookie-content p {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1288px) {
  .cookie-module-block {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media screen and (max-width: 769px) {
  .open-cookie .cookie-module-block {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
}

/* @include mediaScreen("max", "425") */
@media screen and (max-width: 425px) {
  .open-cookie .cookie-module-block {
    width: 100%;
  }

  .cookie-contanier {
    display: flex;
    flex-direction: column;
  }
}
