/**
 * Styles for the site-decommission redirect modal (templates/modal.php).
 */

.decommission-redirect-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
}

.decommission-redirect-modal__dialog {
  background-color: #fcfdfd;
  background-image: url(./modal-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 90%;
  max-width: 1440px;
  height: 450px;
  padding: 50px;
  text-align: center;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between
}

@media (width >= 1024px) {
  .decommission-redirect-modal__dialog {
    height: 754px;
  }
}

.decommission-redirect-modal__logo {
  margin-bottom: 15px;
  width: 100%;
  max-width: 448px;
}

.decommission-redirect-modal__copy {
  width: 100%;
  max-width: 827px;
}

.decommission-redirect-modal h2.decommission-redirect-modal__title {
  color: #fcfdfd;
  margin: 0 0 12px;
  font-weight: 400;
  font-family: 'Prosto One', sans-serif;
  font-size: 26px;
}

@media (width >= 1024px) {
  .decommission-redirect-modal h2.decommission-redirect-modal__title {
    font-size: 46px;
  }
}

.decommission-redirect-modal__description {
  color: #fcfdfd;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.4;
  padding: 0 80px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%; /* 125% represents the maximum 'Expanded' width */
  font-variation-settings: "wdth" 125, "wght" 400;
  display: none;
}

@media (width >= 1024px) {
  .decommission-redirect-modal__description {
    display: block;
  }  
}

.decommission-redirect-modal__countdown {
  margin: 0 0 16px;
  font-size: 12px;
  font-style: italic;
  color: #fcfdfd;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%; /* 125% represents the maximum 'Expanded' width */
  font-variation-settings: "wdth" 125, "wght" 400;
}

.decommission-redirect-modal a.decommission-redirect-modal__button {
  text-transform: uppercase;
  display: inline-block;
  padding: 10px 20px;
  background: #A9682F;
  color: #fcfdfd;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%; /* 125% represents the maximum 'Expanded' width */
  font-variation-settings: "wdth" 125, "wght" 400;
  margin-bottom: 12px;
}
