.block-popup__container {
  position: fixed;
  display: flex !important;
  justify-content: center;
  /* align-items: center; */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0 0 0 / 80%);
  z-index: -1;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.open-block-popup .block-popup__container {
  visibility: visible;
  opacity: 1;
  z-index: 55;
}
.open-block-popup body {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .block-popup__container {
    align-items: flex-start;
  }
  .block-popup__element {
    margin: 80px 2px 20px 2px;
  }
}

.block-popup__element {
  position: relative;
  width: 100%;
  height: fit-content;
  background: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  z-index: 55;
}

.block-popup__close-button {
  font-size: 55px;
  font-weight: 400;
  position: absolute;
  right: 30px;
  top: 0;
  cursor: pointer;
}

/* In Gutenberg */
.block-editor-block-list__block .block-popup__container {
  position: relative;
  visibility: visible;
  opacity: 1;
}
.riga-classe-popup {
  animation: blinker 1s linear;
  animation-iteration-count: 3;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
