@font-face {
  font-family: "OpenSans-ExtraBoldItalic";
  src: url("../webfonts/OpenSans-ExtraBoldItalic.woff") format("woff"),
    url("../webfonts/OpenSans-ExtraBoldItalic.ttf") format("truetype"),
    url("../webfonts/OpenSans-ExtraBoldItalic.svg") format("svg");
}

footer {
  margin-top: auto;
  padding: 1rem;
  font-size: 0.875rem;

  div {
    text-align: right;

    a {
      font-family: "OpenSans-ExtraBoldItalic";
      margin-right: 0.125rem;
      text-decoration: none;
      color: hsl(0, 0%, 13%);
    }

    span {
      color: hsl(152, 69%, 31%);
    }

    span#year {
      color: hsl(0, 0%, 13%);
    }
  }
}

.modal {
  max-width: 50ch;
  font-size: 1rem;
  color: var(--black);
  border-radius: 10px;
  border: 4px solid #4c81d6;

  &>* {
    margin: 0 0 0.5rem 0;
  }
}

.modal::backdrop {
  background: rgb(0 0 0 / 0.5);
}

.modalButton {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background-color: #4c81d6;
  color: #f5f5f5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
}

.modalButton:hover {
  background-color: hsl(240 64% 27% / 0.7);
}

/* === begin notie background colours === */

.notie-background-success {
  background-color: #198754;
  /* #57bf57 */
}

.notie-background-warning {
  background-color: #ff8c00;
  /* #d6a14d */
}

.notie-background-error {
  background-color: #dc3545;
  /* #e1715b */
}

.notie-background-info {
  background-color: #4d82d6;
  /* #4d82d6 */
}

.notie-background-neutral {
  background-color: #a0a0a0;
  /* #a0a0a0 */
}

/* ==== end notie background colours ==== */