@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* fonts */
:is(.penn-font-roboto, .bebas, .Roboto) {
  font-family: "Roboto", sans-serif;
}

body, p, span {
  font-family: Arial, sans-serif;
  font-weight: 700;
}

body {
  padding-top: 96px;
}

:root {
  --pennpurple: #011743; /* Dark Blue from NSO */
  --pennblue: #011743; /* Dark Blue */
  --pennyellow: #f2c100; /* Yellow accent */
  --pennwhite: #f4f3ed; /* Light grey background */
  --pennred: #990000;
  --pennlink: rgb(12, 99, 228);
}

hr {
  border-color: rgba(51, 51, 53, 0.1);
}

:is(.penn-title, .title) {
  opacity: 1;
  font-size: 2rem;
  margin: 3vw;
  color: var(--pennblue);
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
}

:is(.penn-subsection-title, .subsection-title) {
  opacity: 1;
  font-size: 5vw;
  margin: 3vw 0;
  color: var(--pennblue);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.000025em;
  line-height: 1.1;
}

:is(.penn-subtitle, .subtitle) {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-weight: 800;
  font-size: calc(15px + 1vw);
  color: #333;
  line-height: 1.1;
}

:is(.penn-subtitle-embed, .subtitle-embed) {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: calc(15px + 1vw);
  color: var(--pennblue) !important;
  text-decoration: underline;
}

a {
  text-decoration: none;
}

.penn-link {
  color: var(--pennlink) !important;
}

:is(.penn-primary, .primary) {
  color: white;
  transition: 0.25s ease-in-out;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

/* important information */
:is(.penn-salient, .salient) {
  color: var(--pennblue);
}
:is(.penn-salient:hover, .salient:hover) {
  text-decoration: underline;
  transition: 0.25s ease-in-out;
}

:is(.penn-primary:hover, .primary:hover) {
  color: var(--pennyellow);
  text-decoration: underline;
  transition: 0.25s ease-in-out;
}

:is(.penn-download-button, .download-button) {
  margin-top: -1.5vw;
  margin-left: -20vw;
  min-height: 10vw;
  max-height: 15vw;
  transition: 0.45s ease-in-out;
  cursor: pointer;
}

.button-container {
  margin: 0;
}

:is(.penn-download-button:hover, .download-button:hover) {
  transition: 0.45s ease-in-out;
  transform: scale(1.1);
  filter: brightness(1.75);
}

:is(.penn-section-box, .section-box) {
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

:is(.penn-section-container, .section-container) {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

header {
  background-color: var(--pennblue);
  width: 100%;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

nav {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

nav ul li {
  margin-top: 0.5rem;
}

.penn-nav-logo {
  display: inline-flex;
  align-items: center;
}

.penn-nav-toggle {
  display: none;
}

.penn-nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.penn-nav-toggle-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: 22px;
  height: 2px;
  background: #ffffff;
  position: relative;
  border-radius: 999px;
}

.penn-nav-toggle-icon::before,
.penn-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.penn-nav-toggle-icon::before {
  top: -6px;
}

.penn-nav-toggle-icon::after {
  top: 6px;
}

:is(.penn-navbar-brand, .navbar-brand) {
  min-height: 100px;
  width: auto;
  transition: 0.25s ease-in-out;
}

:is(.penn-navbar-brand:hover, .navbar-brand:hover) {
  filter: brightness(0.75);
  transform: scale(1.1);
  transition: 0.25s ease-in-out;
}

:is(.penn-title-container, .title-container) {
  background-color: var(--pennwhite);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 0;
  width: 100%;
}

:is(.penn-main-content, .main-content) {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 6rem auto 6rem auto;
  max-width: 1200px;
  padding: 2rem;
}

:is(.penn-subtitle-text, .subtitle-text) {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: calc(15px + 1vw);
}

:is(.penn-subtitle-small, .subtitle-small) {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 19.5px;
  font-weight: 400;
  color: rgb(33, 37, 41);
}

/* CTA button group for calendar import links */
:is(.penn-cta-buttons, .cta-buttons) {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.75rem 3vw 1rem 0vw;
}

:is(.penn-cta-button, .cta-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--pennblue);
  color: rgba(255, 255, 255, 1) !important;
  border: 2px solid var(--pennblue);
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 24px;
  font-size: 0.95rem;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

:is(.penn-cta-button:hover, .penn-cta-button:focus, .cta-button:hover, .cta-button:focus) {
  color: var(--pennblue) !important;
  background-color: rgba(255, 255, 255, 1) !important;
  border-color: var(--pennblue);
  outline: none;
  filter: brightness(0.98);
}

:is(.penn-cta-button:focus-visible, .cta-button:focus-visible) {
  box-shadow: 0 0 0 4px rgba(1,23,67,0.12);
}

:is(.penn-description, .description) {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}


:is(.penn-background, .background) {
  background-color: var(--pennwhite);
}

/* layout utilities */
.penn-flex-center {
  display: flex;
  align-items: center;
}

.penn-icon-gap {
  margin-right: 0.45rem;
}

.penn-full-width {
  width: 100%;
}

.penn-intro-spacing {
  margin-top: 3vw;
}

.penn-doc-faq-section {
  margin-top: 1.5rem;
}

.penn-doc-faq-title {
  font-size: clamp(1.25rem, 1.9vw, 2rem);
}

.penn-faq-title {
  font-size: clamp(1.5rem, 2.2vw, 2.5rem);
  margin-top: 2rem;
}


.penn-spacer-2 {
  margin-top: 2rem;
}



/* niche case */
@media only screen and (max-width: 48em) {
  body {
    padding-top: 160px;
  }

  nav {
    flex-wrap: wrap;
  }

  .penn-nav-logo {
    order: 1;
  }

  .penn-nav-toggle-label {
    order: 2;
    margin-left: auto;
  }

  nav ul {
    display: none;
    order: 3;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem 0;
    background: rgba(1, 23, 67, 0.97);
    border-radius: 12px;
    width: 100%;
  }
  :is(.penn-utility, .utility) {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .penn-nav-toggle-label {
    display: inline-flex;
    width: auto;
  }

  .penn-nav-toggle:checked + .penn-nav-toggle-label + ul {
    display: flex;
  }

  nav ul li {
    margin-top: 0;
  }
}

@media only screen and (min-width: 48.01em) {
  nav ul li a {
    display: inline-flex;
    align-items: center;
  }
}

/* Super small bros */
@media only screen and (max-width: 62em) {
  :is(.penn-download-button, .download-button) {
    margin-top: 0;
    margin-left: 0;
    min-height: 30vw;
    max-height: 37.5vw;
    transition: 0.45s ease-in-out;
    cursor: pointer;
  }

  :is(.penn-section-container, .section-container) {
    min-width: 85%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  :is(.penn-download-container, .download-container) {
    margin: auto;
  }

  :is(.penn-primary, .primary) {
    color: white;
    text-align: center;
    transition: 0.45s ease-in-out;
  }

  :is(.penn-description, .description) {
    text-align: center;
  }

  :is(.penn-title, .title) {
    opacity: 1;
    font-size: 8vw;
    text-align: center;
    color: var(--pennblue);
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.75s;
  }

  :is(.penn-section-box, .section-box) {
    margin: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
}

/*  tablets n stuff */
@media only screen and (min-width: 48em) {

  .section-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
}
