.popup-overlay {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  height: 0;
  width: 0;
  transition: all 700ms ease;
  z-index: 0;
}

.popup-overlay.active {
  opacity: 1;
  height: 100vh;
  width: 100%;
  z-index: 100000;
}

.popup-container {
  position: fixed;
  border-radius: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 50px));
  font-family: 'Fjalla One', sans-serif;
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 6px 55px -10px rgba(0, 0, 0, 0.7);
  // background-image: url("../images/bg.png");
  background-color: #9C1C20; // ("../images/bg.png");
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: all 700ms ease;
  width: 400px;
}

.popup-overlay.active .popup-container {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
  width: 400px;
}

.popup-overlay.active .left .bg-1,
.popup-overlay.active .left .bg-2 {
  transform: translateX(0);
}

.popup-container,
.popup-container * {
  box-sizing: border-box;
}

.popup-container a {
  box-sizing: border-box;
  background-color: #fff;
  color: #00F;
  padding: 0.75rem;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
  border-radius: 0.5rem;
}

.popup-container .left img {
  position: absolute;
  bottom: 0;
  border-radius: 0 0 0 16px;
}

.popup-container img {
  bottom: 0;
  border-radius: 16px;
  width: 90%;
}
.popup-container .left .bg-1 {
  left: 80px;
  transform: translateX(-20px);
  transition: all 1700ms ease;
}

.popup-container .left .bg-2 {
  left: 64px;
  transform: translateX(-20px);
  transition: all 1700ms ease;
  transition-delay: 600ms;
}

.popup-container .right {
  width: 540px;
  padding: 16px;
  padding-left: 250px;
}

.popup-container .skip-button {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #000;
  padding: 2px 6px;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
}

.popup-container p.logo {
  font-size: 30px;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.popup-container h2.popup-heading {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
  padding-left: 5%;
  padding-right: 5%;
  color: #FFFFFF;
}

.popup-container p.description {
  font-size: 15px;
  line-height: 1.8;
  color: #FFFFFF;
}

.popup-container .visit-button {
  background: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  color: #000;
  padding: 8px 24px;
  margin-top: 8px;
  display: inline-block;
  display: block;
  width: 33%;
}

.popup-container .hero-image-small {
  display: none;
}

@media (max-width: 480px) {
  .popup-container .left .bg-1,
  .popup-container .left .bg-2,
  .popup-container .left .hero-image {
    display: none;
  }

  .popup-container .right {
    padding: 16px;
    width: 400px;
    padding-top: 4px;
  }

  .popup-container .left .hero-image-small {
    display: block;
    width: 100%;
  }

  .popup-container .left .hero-image-small {
    position: relative;
  }

  .popup-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    height: 0;
    width: 0;
    transition: all 700ms ease;
    z-index: 0;
  }

  .popup-overlay.active {
    opacity: 1;
    height: 100vh;
    width: 360px;
    z-index: 100000;
  }

  .popup-container {
    padding: 0;
    border-radius: 16px;
    width: 360px;
    background-color: #9C1C20; // ("../images/bg.png");
  }
  .popup-container a {
    box-sizing: border-box;
    background-color: #fff;
    color: #00F;
    padding: 0.5rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    border-radius: 0.5rem;
  }
  .popup-container h2.popup-heading {
    font-size: 20px;
  }
  .popup-container .left img {
    border-radius: 16px;
  }
  .popup-container img {
    border-radius: 16px;
    width: 320px;
  }
}
