.popup-section {
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100vh;
  background-color:#000a;
  z-index:5;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 1em;
  box-sizing:border-box;
  transition:opacity 1.0s;
  opacity:0;
}

.popup-section[data-show="false"] {
  display:none;
}

.popup-section[data-show="show"] {
  opacity:1;
}

.popup-section[data-show="showing"],
.popup-section[data-show="hide"] {
  opacity:0;
}

.popup-section > .popup-container {
  position:relative;
}

.popup-section > .popup-container > img {
  width:600px;
  max-width:100%;
  display:block;
}

.popup-section > .popup-container > .popup-close-container {
  position:absolute;
  top:0;
  right:0;
}

.popup-section > .popup-container > .popup-close-container > a {
  text-decoration:none;
  padding:0.5em;
  font-weight:bold;
  display:block;
}

.popup-section > .popup-container > .button-container {
  position:absolute;
  left:0;
  width:100%;
  display:flex;
  gap:0.5em 1em;
  padding:0 1em;
  box-sizing:border-box;
  flex-wrap:wrap;
}

.popup-section > .popup-container > .button-container.top {
  top:0;
}

.popup-section > .popup-container > .button-container.bottom {
  bottom:0;
}

.popup-section > .popup-container > .button-container > a {
  color:var(--main-color);
  border:solid 1px var(--main-color);
  line-height:1;
  padding:0.75em 1em 0.6em;
  flex:1 1 40%;
  display:block;
  text-align:center;
  text-transform:uppercase;
  text-decoration:none;
  font-size:0.8em;
  font-weight:500;
  transition:background-color var(--main-transition-time), color var(--main-transition-time);
}

.popup-section > .popup-container > .button-container > a:hover {
  background-color:var(--main-color);
  color:var(--invert-text-color);
}