@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #172033;
  --muted: #718096;
  --line: #e5eaf2;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --navy: #172b4d;
  --blue: #356ae6;
  --shadow: 0 18px 45px rgba(36, 55, 89, .08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(53, 106, 230, .1), transparent 24rem),
    linear-gradient(135deg, #f8fafc 0%, var(--canvas) 55%, #eef7f6 100%);
  font-family: 'DM Sans', sans-serif;
}

#__nuxt {
  min-height: calc(100vh - 108px);
}

#__nuxt > div {
  min-height: 100%;
}

main {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 28px 0 56px !important;
}

main::before {
  display: block;
  margin-bottom: 25px;
  color: var(--blue);
  content: 'EPP  /  STUDENT RESOURCE HUB';
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

main > div:first-child {
  position: relative;
}

main > div:first-child > div:first-child {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  background: linear-gradient(115deg, var(--navy), #23436f 72%, #236b72);
  box-shadow: var(--shadow);
  text-align: left;
}

main > div:first-child > div:first-child::after {
  position: absolute;
  top: 20px;
  right: 26px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #d8e7ff;
  content: 'FOCUS MODE';
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

main > div:first-child > div:first-child > div {
  grid-row: span 2;
  width: 88px;
  height: 88px;
  border: 4px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 24px rgba(4, 17, 39, .2);
}

main > div:first-child > div:first-child h1 {
  margin: 0 100px 8px 0;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

main > div:first-child > div:first-child p {
  max-width: 680px;
  margin: 0;
  color: #c9d8ed;
  font-size: 15px;
  line-height: 1.6;
}

main > div:first-child > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

main > div:first-child > ul::before {
  grid-column: 1 / -1;
  color: var(--muted);
  content: 'EXPLORE YOUR LIBRARY';
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

main > div:first-child > ul li {
  min-width: 0;
}

main > div:first-child > ul li a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

main > div:first-child > ul li dt {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 15px !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper) !important;
  box-shadow: 0 5px 16px rgba(36, 55, 89, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

main > div:first-child > ul li a:hover dt,
main > div:first-child > ul li a:focus-visible dt {
  border-color: rgba(53, 106, 230, .5);
  box-shadow: 0 12px 22px rgba(36, 55, 89, .1);
  transform: translateY(-3px);
}

main > div:first-child > ul li dt > div:first-child {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border-radius: 10px;
  background: #eaf0ff;
  color: var(--blue) !important;
}

main > div:first-child > ul li dt p {
  margin: 0;
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .6) !important;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 520px) !important;
    padding-top: 20px !important;
  }

  main::before {
    margin-bottom: 18px;
    font-size: 10px;
  }

  main > div:first-child > div:first-child {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px;
    padding: 24px 20px;
  }

  main > div:first-child > div:first-child::after {
    display: none;
  }

  main > div:first-child > div:first-child > div {
    width: 58px;
    height: 58px;
  }

  main > div:first-child > div:first-child h1 {
    margin-right: 0;
    font-size: 24px;
  }

  main > div:first-child > div:first-child p {
    grid-column: 1 / -1;
    margin-top: 18px;
    font-size: 14px;
  }

  main > div:first-child > ul {
    grid-template-columns: 1fr;
  }
}