.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  overflow: auto;
}
.overlay:target,
.overlay.active {
  visibility: visible;
  opacity: 1;
}
.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 60%;
  position: relative;
  /* transition: all 5s ease-in-out; */
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: rgb(var(--color-foreground));
}
.popup .close:hover {
  color: rgb(var(--color-base-accent-1));
}
.popup h2 {
  margin: 1rem 0;
  font-size: 2.4rem;
}
.popup .hide {
  display: none;
}

@media screen and (min-width: 990px) and (max-width: 1281px) {
  .popup {
    width: 70%;
  }  
}
@media screen and (max-width: 991px) {
  .popup {
    width: 80%;
    margin: 5% auto;
  }
  .multicolumn-list:not(.slider) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media screen and (max-width: 768px) {
  .popup {
    width: 98%;
    margin: 1% auto;
    padding: 15px;
  }
  .popup .close {
    top: 0;
    right: 15px;
  }
}
@media (max-width: 390px) {
  .popup {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
  }
}

/* Page loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex !important;
  z-index: 2;
  align-items: center;
  justify-content: center;
  background: #333333;
  transition: opacity 0.75s, visibility 0.75s;
  opacity: 0;
  visibility: hidden;
}
.loader--show {
  opacity: 0.75;
  visibility: visible;
}
.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color: var(--e-global-color-secondary);
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
