/*NatWest fonts*/
@font-face {
  font-family: 'RNHouseSansRegular';
  src: url("fonts/RNHouseSans-Regular.woff2") format("woff2"),
    url("fonts/RNHouseSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* NatWest error styles */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background: #5a287d;
  color: #ffffff;
  font-family: "RNHouseSansRegular",sans-serif;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.2px;
}

a {
  color: #ffffff;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

#banner {
  height: 88px;
  min-height: 64px;
  width: 100%;
  border-bottom: 1px solid #c9c5c526;
}

#header-container {
  max-width: 1064px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

#logo {
  height: 54px;
  vertical-align: middle;
}

main {
  width: 100%;
  flex: 1;
}

#error_message {
  max-width: 1064px;
  text-align: left;
  margin: 0 auto;
  padding: 0 24px;
}

#error_message h1 {
  font-family: "RNHouseSans-Regular",sans-serif;
  font-size: 42px;
  line-height: 54px;
  font-weight: normal;
  letter-spacing: -0.2px;
  margin: 24px 0;
}

footer {
  margin: auto 0 0;
  width: 100%;
  font-size: 14px;
}

#footer-container {
  max-width: 1064px;
  margin: 24px auto;
  text-align: center;
  padding: 0 24px;
}

#footer-container ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#copy {
  border-top: 1px solid #67437f;
  text-align: center;
  margin: 0 24px;
  padding: 20px 0;
}

#footer-container a {
  text-decoration: none;
}

#footer-container a:hover {
  text-decoration: underline;
}

/* Responsive styling */
@media (max-width: 1024px) {
  #header-container {
    justify-content: center;
  }

  #banner {
    height: 64px;
  }

  #logo {
    height: 48px;
  }
}

@media (max-width: 768px) {
  #footer-container {
    text-align: left;
  }

  #footer-container ul {
    flex-direction: column;
  }

  #footer-container li {
    margin: 10px 0 0;
  }
}