/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

.corps-body {
  background-color: #ba0c2f;
  font-family: 'Open Sans', sans-serif;
}

.corps-main {
  margin: auto;
}

.corps-header {
  width: 100%;
  display: flex;
  align-items: center;
}

.corps-header-text {
  color: white;
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.corps-header-text h1 {
  line-height: 1.25;
  margin-bottom: 60px;
  margin-top: 0;
}

.corps-header-text h1 span {
  display: block;
  text-shadow: 0 2px 2px rgba(0,0,0,0.25);
}

.corps-header-text h1 span:nth-child(1) {
  font-weight: 800;
  font-size: 1em;
}

.corps-header-text h1 span:nth-child(2) {
  font-weight: 800;
  font-size: 2em;
}

.corps-header-text h1 span:nth-child(3) {
  font-weight: 500;
  font-size: 0.75em;
}

.corps-header-text h1 span:nth-child(4) {
  font-weight: 800;
  font-size: 1.5em;
}

.corps-header-text h1 span:nth-child(5) {
  font-weight: 800;
  font-size: 1em;
}

.corps-header-text a {
  background-color: white;
  color: #ba0c2f;
  border-radius: 5px;
  padding: 15px 2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25em;
  box-shadow: 0 2px 2px rgba(0,0,0,0.25);
  display: inline-block;
  width:fit-content;
  transition:transform .2s;
}

.corps-header-text a:hover {
  transform:scale(1.3);
}

@media only screen and (max-width: 768px){
  .corps-header-text a:hover {
    transform:none;
  }
}

.corps-header-image {
  width:45vw;
  aspect-ratio: 1 / 1;
}

.corps-anyone {
  padding: 50px 0;
  background-color: #CD163F;
}

.corps-anyone-wrapper {
  display: flex;
  margin: auto;
  justify-content: space-around;
  align-items: center;
  width: 90%;
}

.corps-anyone-text {
  color: white;
  width: 55%;
  line-height: 1.5;
}

.corps-anyone-text h2 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3.0em;
  margin: 0;
}

.corps-anyone-text p:nth-of-type(1) {
  font-size: 1.5em;
  font-weight: 300;
}

.corps-anyone-text p:nth-of-type(2){
  font-size: 1.35em;
  font-weight: 600;
  text-transform: uppercase;
}

.corps-pay-badge {
  width: 20%;
}

.corps-disciplines {
  margin: auto;
  justify-content: space-around;
  align-items: center;
  width: 90%;
}

.corps-disciplines h2 {
  text-transform: uppercase;
  color: white;
  align-self: flex-start;
  text-shadow: 0 2px 2px rgba(0,0,0,0.25);
  font-weight: 800;
  font-size: 3em;
}

.corps-team-interest {
  background-color: white;
  color: #ba0c2f;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 1em;
  margin-bottom: 50px;
}

.corps-team-interest h3 {
  text-transform: uppercase;
  font-size: 2.75em;
  font-weight: 800;
  color: #55595B;
  margin: 0;
}

.corps-team-interest p {
  margin: 0;
  font-weight: 600;
  font-size: 1.25em;
}

.corps-team-list {
  display: flex;
  width: 100%;
  margin: 0 0 2em;
  padding-inline-start: 0;
  justify-content: space-between;
}

.corps-team-list li {
  list-style: none;
  align-self: center;
  text-align: center;
  cursor: pointer;
}

.corps-team-list li:hover img, .corps-team-list li img[src*=_active] {
  transform:rotate(360deg);
}

.corps-team-list li img {
  width: 8vw;
  transition:transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.corps-team-list li p {
  color: white;
  font-size: 0.9em;
}


.mobile-team-photos {
  display: none;
}

@media only screen and (max-width: 768px){
  .mobile-team-photos {
    display: block;
  }

  .mobile-team-photos ul {
    display: flex;
    padding:0;
    list-style:none;
    margin:0;
    flex-wrap:wrap;
  }

  .mobile-team-photos li {
    flex:0 0 33.3333%;
    box-sizing:border-box;
  }

  .mobile-team-photos img {
    width:100%;
  }
}

.corps-values {
  display: flex;
  flex-direction: row;
  margin: auto;
  justify-content: space-around;
  align-items: center;
  color: white;
  background-color: #CD163F;
  background-size: contain;
}

.corps-values-text {
  line-height: 1.5;
  text-align: center;
}

.corps-values-text h2 {
  text-transform: uppercase;
  text-shadow: 0 2px 2px rgba(0,0,0,0.25);
  font-weight: 800;
  font-size: 3em;
  margin: 0;
  margin-top: 1em;
}

.corps-values-text p {
  font-weight: 300;
  font-size: 1.75em;
  text-shadow: 0 2px 2px rgb(0 0 0 / 25%);
  margin: auto;
  width: 80%;
}

.corps-values-text p:nth-of-type(2) {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.75em;
  margin-bottom: 50px;
  margin-top: 1em;;
}

.corps-values-text a {
  background-color: white;
  color: #ba0c2f;
  border-radius: 5px;
  padding: 15px 2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25em;
  box-shadow: 0 2px 2px rgba(0,0,0,0.25);
  display: inline-block;
  width:fit-content;
  transition:transform .2s;
  margin-bottom: 2em;
}

@media only screen and (max-width: 768px){
  .corps-values-text a:hover {
    transform:scale(1.3);
  }
}

.corps-team-photo {
  width: 40%;
}

.corps-footer {
  background-color: #231F20;
  color: white;
  padding: 25px;
}

.corps-footer-wrapper {
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin:auto;
}

.corps-bsu-logo {
  width: 25%;
}

.corps-footer p {
  font-size: 0.75em;
  width: 50%;
  line-height: 1.3;
}

.corps-footer p a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

.corps-mobile-header-top {
  display: none;
}

.corps-mobile-header-bottom {
  display: none;
}

.corps-anyone a {
  display: none;
}

@media only screen and (max-width: 768px) {
  .corps-header {
    display: block;
  }

  .corps-header-image {
    width: 100%;
  }

  .corps-header-text {
    margin-bottom: 0;
    margin-top: -21vw;
  }

  .corps-header-text h1 {
    display: none;
  }

  .corps-header-text a {
    display: none;
  }

  .corps-anyone {
    padding: 10px 0;
  }

  .corps-anyone a {
    background-color: white;
    color: #ba0c2f;
    border-radius: 5px;
    padding: 4% 5%;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    font-size: 6vw;
    box-shadow: 0 2px 2px rgb(0 0 0 / 25%);
    display: block;
    width: 70%;
    margin: auto auto 60px;
    text-align: center;
  }

  .corps-mobile-header-top {
    display: block;
  }

  .corps-mobile-header-bottom {
    display: block;
    color: white;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    margin: auto auto 35px;
  }

  .corps-mobile-header-top span {
    display: block;
    text-shadow: 0 2px 2px rgba(0,0,0,0.25);
  }

  .corps-mobile-header-bottom span {
    display: block;
    text-shadow: 0 2px 2px rgba(0,0,0,0.25);
  }

  .corps-mobile-header-top span:nth-child(1) {
    font-weight: 800;
    font-size: clamp(0.5em, 6vw, 2.5em);
  }

  .corps-mobile-header-top span:nth-child(2) {
    font-weight: 800;
    font-size: clamp(0.5em, 12vw, 6em);
  }

  .corps-mobile-header-bottom span:nth-child(1) {
    font-weight: 500;
    font-size: clamp(0.5em, 4.5vw, 2em);
  }

  .corps-mobile-header-bottom span:nth-child(2) {
    font-weight: 800;
    font-size: clamp(1em, 9vw, 4em);
  }

  .corps-mobile-header-bottom span:nth-child(3) {
    font-weight: 800;
    font-size: clamp(0.5em, 6vw, 2.5em);
  }

  .corps-pay-badge {
    width: 40%;
  }

  .corps-anyone-wrapper {
    width: 95%;
    margin-bottom: 40px;
  }

  .corps-anyone-text {
    line-height: 1.25;
  }

  .corps-anyone-text h2 {
    font-size: clamp(1em, 5vw, 3em);
    text-shadow: 0 2px 2px rgb(0 0 0 / 25%);
  }

  .corps-anyone-text p:nth-of-type(1) {
    font-size: clamp(0.75em,4vw,1.5em);
    text-shadow: 0 2px 2px rgb(0 0 0 / 25%);
  }

  .corps-anyone-text p:nth-of-type(2) {
    font-size: clamp(0.75em, 4vw, 1.35em);
    text-shadow: 0 2px 2px rgb(0 0 0 / 25%);
  }

  .corps-disciplines h2 {
    font-size: 6vw;
    text-align: center;
  }

  .corps-team-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
        ". . ."
        ". . .";
    margin: 0 0 15px;
  }

  .corps-team-list li img {
    width: 20vw;
  }

  .corps-team-list li p {
    font-size: clamp(0.75em, 3vw, 0.9em);
  }

  .corps-team-interest h3 {
    font-size: clamp(1em, 4.5vw, 2.75em);
  }

  .corps-team-interest {
    padding: 30px 1em;
  }

  .corps-team-interest p {
    font-size: clamp(0.8em, 3.5vw, 1.25em);
  }

  .corps-team-photo {
    display: none;
  }

  .corps-values {
    background-size: cover;
  }

  .corps-values-text {
    margin-bottom: 10vw;
  }

  .corps-values-text h2 {
    font-size: clamp(1em, 8vw, 3em);
    margin-top: 30px;
  }

  .corps-values-text p {
      font-size: clamp(0.8em, 5vw, 1.75em);
      margin-bottom: 5%;
      font-weight: 600;
      text-transform: uppercase;
      width: 90%;
  }

  .corps-values-text p:nth-of-type(2) {
    font-size: clamp(0.8em, 6vw, 1.75em);
    text-transform: none;
    font-weight: 300;
  }

  .corps-values-text a {
    background-color: white;
    color: #ba0c2f;
    border-radius: 5px;
    padding: 4% 5%;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    font-size: 6vw;
    box-shadow: 0 2px 2px rgb(0 0 0 / 25%);
    display: block;
    width: 70%;
    margin: auto;
    text-align: center;
  }

  .corps-footer-wrapper {
    flex-direction: column;
  }

  .corps-bsu-logo {
    width: 50%;
  }

  .corps-footer p {
    font-size: 3vw;
    width: 90%;
    text-align: center;
  }
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

