:root {
  color-scheme: light;
  font-family: "Titillium Web", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  --brand-purple: rgba(82, 35, 148, 1);
  --content-width: 35rem;
  --page-gutter: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 20rem;
  min-height: 100%;
  font-size: 100%;
}
body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: #fff;
  background-color: #48134f;
  background-image: url("images/bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  padding: 4.25rem var(--page-gutter) 5rem;
}
.department-logo {
  display: block;
  max-width: 331px;
  height: auto;
  width: 100%;
}
.main-content {
  display: flex;
  width: 100%;
  max-width: var(--content-width);
  flex-direction: column;
  align-items: center;
  margin: auto auto 0;
  text-align: center;
}
.site-footer {
  max-width: 720px;
  margin: 0 auto auto;
}
.main-logo {
  display: block;
  max-width: 7.5rem;
  width: 100%;
  height: auto;
  margin: 2.5rem auto;
}

h1 {
  max-width: 100%;
  margin: 0 0 1.15rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: 0;
}
.intro {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.445;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  min-width: 10rem;
  max-width: 100%;
  min-height: 2.95rem;
  padding: 0.45rem 1.1rem;

  border: 0.0625rem solid rgba(82, 35, 148, 1);
  border-radius: 0.25rem;
  background: #fff;
  color: rgba(82, 35, 148, 1);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;

  white-space: normal;
  overflow-wrap: anywhere;
}
.button:hover {
  background-color: #f1eafb;
}
.button:focus-visible {
  outline: 0.1875rem solid #fff;
  outline-offset: 0.1875rem;
  box-shadow: 0 0 0 0.375rem rgba(82, 35, 148, 1);
}

.icon-external {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* Mobile 768px */
@media (max-width: 48rem) {
  .department-logo {
    margin: 0 auto auto;
  }
  .main-content {
    margin-top: auto;
  }
  .site-footer {
    margin: auto auto 0;
  }
}

/* Mobile 576px */
@media (max-width: 36rem) {
  :root {
    --page-gutter: 1.25rem;
  }
  .page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .main-logo {
    width: 6rem;
    margin: 1.5rem auto;
  }
  h1 {
    max-width: 22rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.12;
  }
  .intro {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .quick-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .button {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 3rem;
    padding: 0.5rem 1rem;
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
