* {
  font-family: "Exo 2", Arial, Helvetica, sans-serif;
  margin: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: #f2f2f2;
  font: 400 16px/1.5 "Exo 2", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}

h1 {
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  margin: 0 12px 12px 0;
}

h2 {
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  margin: 0 12px 12px 0;
}

h3, h4, h5 {
  font-weight: 600;
  font-style: normal;
}

p, li, i, div, span, sub {
  font-weight: 400;
}

b {
  font-weight: 600;
}


h1 {
  font: 500 36px/1.3 "Alegreya Sans SC";
}

h2 {
  font: 500 30px/1.3 "Alegreya Sans SC";
}

h3, h4, h5 {
  font-family: "Alegreya Sans SC";
  font-weight: 500;
}

p, .q {
  font: 400 16px/1.5 "Exo 2";
}

.fineprint {
  font-size: 12px;
}


main {
  margin: 0 auto; 
  max-width: 1316px;
  padding: 20px 20px 60px; 
}

article {
  margin: 0 auto 36px;
  padding: 20px 20px 30px;
}

nav {
  background: #069;
  border-radius: 0 0 0 8px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 9;
}


@media (max-width: 599.9px) {
  nav {
    background: #2a54a8;
    position: sticky;
    right: 0;
    top: 0;
  }
  h2 {
    font-size: 24px !important;
  }
}
nav ul {
  display: inline-block;
  list-style-type: none;
  li {
    display: inline-block;
  }
}

div.header-graphic {
  background: url(../imgx/au-logo.svg) left center no-repeat #051; 
  height: 144px; 
  margin: 0; 
  padding: 0; 
  width: 100%; 
}


/*@media (min-width: 900px) and (max-width: 1279.9px) {
  .item {
    flex-basis: calc(33.3% - 18px);
    max-width: calc(33.3% - 18px);
  }
}

@media (min-width: 600px) and (max-width: 899.9px) {
  .item {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 599.9px) {
  .item {
    flex-basis: calc(100% - 6px);
    max-width: calc(100% - 6px);
  }
}*/

.flexbox {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (min-width: 1280px) {
  .four-up {
    flex-basis: calc(25% - 18px);
    max-width: calc(25% - 18px);
  }
  .three-up {
    flex-basis: calc(33.3% - 18px);
    max-width: calc(33.3% - 18px);
  }
  .two-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .one-up {
    flex-basis: calc(100% - 6px);
    max-width: calc(100% - 6px);
  }
}

@media (min-width: 900px) and (max-width: 1279.9px) {
  .four-up {
    flex-basis: calc(33.3% - 18px);
    max-width: calc(33.3% - 18px);
  }
  .three-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .two-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .one-up {
    flex-basis: calc(100% - 6px);
    max-width: calc(100% - 6px);
  }
}

@media (min-width: 600px) and (max-width: 899.9px) {
  .four-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .three-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .two-up {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .one-up {
    flex-basis: calc(100% - 6px);
    max-width: calc(100% - 6px);
  }
}

@media (max-width: 599.9px) {
  .four-up, .three-up, .two-up, .one-up {
    flex-basis: calc(100% - 6px);
    flex-direction: column;
    max-width: calc(100% - 6px);
  }
}


.sub-aside {
  background: #e6e6e6;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
}

.item {
  background: #f4e9e2;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
  /*flex-basis: calc(25% - 24px);
  max-width: calc(25% - 24px);*/
  padding: 4px 20px 20px;
}


aside .item {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .2);
}

h2 {
  font-size: 36px;
  position: relative;
}

h3 {
  font-size: 24px;
  margin-bottom: 0;
  margin-top: 10px;
  padding-top: 8px;
  position: relative;
}

h3 + img {
  margin: 12px auto !important;
}

h3 + p {
  margin-top: 6px !important;
}

.item.elemental h3 {
  min-height: 48px;
  padding-right: 48px;
}

.item h3{
  line-height: 1;
}

p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 18px;
}

a {
  font-size: 10px;
  white-space: wrap;
  word-break: break-all;
}

nav li a {
  color: #f4e9e2;
  font-size: 24px;
  letter-spacing: 2px;
  margin-right: 18px;
  text-decoration: none;
  white-space: wrap;
  word-break: break-all;
}






  header {
    background: #041;
    ul {
      list-style-type: none;
    }
    a {
      color: #fff;
    }
  }

  article { 
    border: 1px solid #ccc;
    border-radius: 16px;
    margin: 20px auto;
    padding: 20px 40px;
   }  
   ul.au-products li {
    list-style-type: none;
    display: inline-block;
    margin: 20px;
    img {
        border-radius: 4px;
        display: block;
        height: 100px;
        width: 100px;
      }
   }

  nav {
    .basics, .prospects {
      ul li {
        display: inline-block;
      }
      a {
        display: block;
        font-size: 12px;
        margin: 2px 12px 5px 4px;
        padding: 5px 10px;
        text-decoration: none;
      }
    }
    &.audience {
      background: #001b07;
      ul {
        margin-top: 0;
      }
      ul li {
        display: inline-block;
      }
      a {
        display: block;
        font-size: 12px;
        margin: 2px 12px 5px 4px;
        padding: 5px 10px;
        text-decoration: none;
      }
    }
    &.general-nav {
      ul {
        display: none;
      }
      > ul {
        display: block;
        margin-top: 0;
      }
      li {
        display: inline-block;
        position: relative;
        & li {
          display: block;
        }
      }
      a {
        display: block;
        font-size: 12px;
        margin: 2px 12px 5px 4px;
        padding: 5px 10px;
        text-decoration: none;
      }
      > ul li:hover ul {
        background: #031;
        display: block; 
        padding-left: 10px;
        position: absolute; 
        width: 288px; {
        & li {
            display: block;
            padding-left: 0;
          }
        }
      }
    }
  }





  .booklist {
    column-count: 4;
  }

  .bookstore article { 
    border: 1px solid #ccc;
    border-radius: 16px;
    margin: 20px auto;
    padding: 20px 40px;
   }  
   .bookstore ul.au-products li {
    list-style-type: none;
    display: inline-block;
    margin: 20px;
   }
   .bookstore ul.au-products li img{
    border-radius: 4px;
    display: block;
    height: 100px;
    width: 100px;
   }



aside.promo-quote {
  display: flex;
  @media (max-width: 640px) {
    flex-direction: column
  }
}
.promo-student {
  flex-basis: 25%;
  & img {
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0,0,0,.1);
    height: auto;
    margin: 20px;
    max-width: calc(100vw - 80px);
    width: 100%;
  }
}

aside.promo-quote.reverse {
  .promo-student {
    order: 2;
  }
  & blockquote {
    order: 1;
  }
}




blockquote {
  flex-basis: 75%;
  font-weight: 300;
  font-size: 24px;
  padding: 30px 60px 60px;
  text-align: center;
  @media (max-width: 599.9px) {
    flex-basis: 100%;
    font-style: italic !important;
    padding: 30px 20px;
  }
  & .q {
    border-bottom: 3px solid #041;
    border-top: 3px solid #041;
    padding: 24px 0;

  }
  & .student-name {
    & span {

    }
  }
}



.fjalla-one-regular {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.exo-2-300 {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.exo-2-400 {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.exo-2-500 {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.exo-2-700 {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}





/*Marcellus*/
/* FJalla One for Hx */
/* Anton 400 for Hx */
/* Exo 2 for P? */

.icon {
  background: url(../imgx/icon-sprite.svg) left top no-repeat transparent;
  background-size: 1000px 1000px;
  display: block;
  height: 72px;
  margin: auto;
  width: 72px;
} 
.undergrad .icon    { background-position: 0 0 !important; }
.grad .icon         { background-position: -72px 0; }
.next-level .icon   { background-position: -144px 0; }

.visit .icon        { background-position: 0 -72px !important; }
.apply .icon        { background-position: -72px -72px; }
.tuition .icon      { background-position: -144px -72px; }
.afford .icon       { background-position: -216px -72px; }

.housing .icon      { background-position: 0 -144px !important; }
.dining .icon       { background-position: -72px -144px; }
.get-involved .icon { background-position: -144px -144px; }
.go-gryphons .icon  { background-position: -216px -144px; }

.au-products {
  & li:hover {
    background: #e2e2e2;
    height: 100px;
    width: 100px;
    & img {
      height: 600px;
      left: calc(50% - 300px);
      position: fixed;
      top: 60px;
      width: 600px;
      z-index: 99;

    }
  }
}

.homepage-hero  {
  background: url(../imgx/homepage-hero-kc.jpg) center center no-repeat #000; 
  height: 25vw; 
  width: 100%; 
  padding: 0; 
  margin: 0;
}

.events-hero  {
  background: url(../imgx/photos/events-hero.jpg) center center no-repeat #000; 
  height: 25vw; 
  width: 100%; 
  padding: 0; 
  margin: 0;
}

.bookstore-hero  {
  background: url(../imgx/photos/bookstore-hero.jpg) center center no-repeat #000; 
  height: 25vw; 
  width: 100%; 
  padding: 0; 
  margin: 0;
}

.letter-hero  {
  background: url(../imgx/photos/letter-hero.jpg) center center no-repeat #000; 
  height: 25vw; 
  width: 100%; 
  padding: 0; 
  margin: 0;
}

@media (max-width: 600px) {
.vw50 {
  background-position: center top;
  background-size: cover;
  height: 50vw; 
}
}


#menuToggle
{
  display: block;
  right: 16px;
  position: fixed;
  top: 16px;
  user-select: none;
  z-index: 1;
}

#menuToggle a
{
  color: #232323;
  text-decoration: none;
  transition: color 0.3s ease;
}

#menuToggle input
{
  cursor: pointer;
  display: block;
  height: 32px;
  left: -5px;
  opacity: 0; /* hide this */
  position: absolute;
  top: 0px;
  width: 32px;
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

#menuToggle span
{
  background: #ffffffee;
  border-radius: 2px;
  box-shadow: 1px 1px 3px rgba(0,0,0,.5);
  display: block;
  height: 4px;
  margin-bottom: 4px;
  position: relative;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.75s ease;
  width: 24px;
  z-index: 1;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(1px, -3px);
  background: #fff;
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(6px, 0px);
}
#menu
{
  background: #2a54a8;
  list-style-type: none;
  margin: -48px -16px 0 0;
  padding: 8px 0 0 0;
  position: absolute;
  right: -360px;
  width: 288px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}


#menu li {
  display: block;
}

#menu li a {
  color: #fff;
  display: block;
  font-size: 16px;
  padding: 8px 12px;
  &:hover {
    color: gold;
  }
}
#menuToggle ul
{
  right: -360px;
  transition: right .5s ease-in-out;
}
#menuToggle input:checked ~ ul
{
  border-radius: 300px;
  height: 600px;
  padding-top: 340px;
  right: -300px;
  top: -300px;
  width: 600px;
  li {
    position: relative;
    &:nth-child(1) {
      left: 10px;
    }
    &:nth-child(2) {
      left: 20px;
    }
    &:nth-child(3) {
      left: 40px;
    }
    &:nth-child(4) {
      left: 72px;
    }
    &:nth-child(5) {
      left: 108px;
    }

  }


}
