/* AARNet Statuspage Custom Styles */

/* init styles and fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

body {
  background: url("https://www.aarnet.edu.au/images/hero-cards-background-v5.png") no-repeat top center;
}

* {
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}

/* nav pill header */

.hero-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 170px;
  width: 100%;
  background-image: url('https://www.aarnet.edu.au/uploads/images/online-portal-header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header {
  width: 80%;
  max-width: 900px;

  background: white;
  padding: 12px 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* nav logo and title */

.nav-left {
  display: flex;
  align-items: center;
}


.logo {
  height: 40px;
  width: auto;
  margin-right: 12px;
}


.site-title {
  font-size: 20px;
  margin: 0;
  color: #222;
}

/* nav contact link */

.contact-link {
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
  color: #ff9302;
}

/* body container */

.body-container {
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/* body content */

.body-container h1 {
  padding-bottom: 1rem;
}

.header-button-group {
    float: right;
    display: flex;
    gap: 10px;
}

/* body contact button */

.contact-button {
  display: none;
  margin-bottom: 15px;
}

.contact-button a {
  border: 2px solid #71C7F0;
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  background-color: #71C7F0;
  transition: all 300ms ease-in-out;
  color: white;
}

.contact-button a:hover {
  border: 2px solid #F7941D;
  background-color: #F7941D;
  transition: all 300ms ease-in-out;
  color: white;
}

/* body subscribe button */

.subscribe-button {
  margin-bottom: 15px;
}

.subscribe-button a {
  border: 2px solid #71C7F0;
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  background-color: #71C7F0;
  transition: all 300ms ease-in-out;
  color: white;
}

.subscribe-button a:hover {
  border: 2px solid #F7941D;
  background-color: #F7941D;
  transition: all 300ms ease-in-out;
  color: white;
}

/* footer */

.footer {
  text-align: center;
  background-color: #000000;
  width: 100%;
  position: relative;
  clear: both;
  padding-bottom: 20px;
}

.footer-internal {
  display: block;
  max-width: 77.5rem;
  padding: 1.25rem;
  margin: 0 auto;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
}

.footer-left {
  width: auto;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* footer content */

.footer-acknowledgement {
  color: white;
  line-height: 1.875;
  margin: 0 auto;
  max-width: 43rem;
  font-size: .875rem;
  font-weight: 400;
  padding-top: 10px;
}

.footer-logo {
  width: 200px;
}

.footer-socials img {
  max-height: 36px;
  margin-left: 20px;
  padding-top: 10px;
}

.footer-socials img:hover {
  opacity: 0.9;
}

.footer a {
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-decoration: none;
}

.footer-links {
  color: #b8b8b8;
  line-height: 4rem;
  font-size: .875rem;
}

.footer-links a, .footer-links a:visited, .footer-links a:active {
  color: #b8b8b8;
  text-decoration: none;
  line-height: 4rem;
}

.footer-links a:hover {
  opacity: .8;
}

/* responsive */

@media (max-width: 768px) {
  .hero-header {
    height: auto;
    padding: 10px 0;
  }

  .site-header {
    width: 90%;
    padding: 10px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    border-radius: 12px;
  }

  .nav-left {
    justify-content: center;
  }

  .site-title {
    font-size: 18px;
  }

  .contact-button {
    display: inline-block;
  }

  .contact-button a {
    padding: 0.5rem;
  }

  .contact-link {
    display: none;
  }

  .subscribe-button a {
    padding: 0.5rem;
  }

  .body-container h1 {
    font-size: 2rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }

  .footer-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-logo {
    height: 48px;
  }
}