/* Helper CSS */
html {
  scroll-behavior: smooth;
}

:root {
    --primary-color: #333333;
    --secondary-color: #00a9cc;
    --tertiary-color: #771e7e;
    --quadrary-color:  #e6853f;
    --pillar-section-color: #A4A4BD;
    --about-section-color: #A0B2A6;
}

.titleUnderline--quadrary{
  border-color: #e6853f;
}

.titleUnderline--secondary{
  border-color: #00a9cc;
}

.titleUnderline--red{
  border-color: #c41230;
}

.titleUnderline--tertiary {
  border-color: #771e7e;
}

.text-decoration-fix, .text-decoration-fix:hover{
    color: white;
    text-decoration: none;
}

#hero-section{
  color: white;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.9)), url("../../resources/img/hero-cropped.jpg");
  background-position: top;
  background-size: cover;
  min-height: 350px;
  padding: 2.25em 2.5em;
}

.iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  position: relative;
}

#hero-text{
  text-align: left;
  max-width: 40%;
  margin-left: 15%;
}

#intro-copy, #education-copy, #timeline-copy {
  -webkit-transition: height .25s ease;
  -o-transition: height .25s ease;
  transition: height .25s ease;
  overflow: hidden;
}

#intro-copy:not(.active), #education-copy:not(.active), #timeline-copy:not(.active) {
  display: none;
}

@media (max-width: 960px) and (min-width: 721px){
  #hero-text { 
     max-width: 70%;
  }

  .figcaption-text{
    padding: 0 !important;
  }

}


@media (max-width: 720px) and (min-width: 481px) {
  #hero-text { 
    max-width: 70%;
 }

  iframe{
    max-width: 300px;
  }

  .figcaption-text{
    font-size: 6px !important;
  }

  .fig-shrink{
    max-height: 40vw !important;
  }

  .section{
    margin: 0 7vw !important;
  }
}

@media (max-width: 480px){
  #hero-text { 
    max-width: 80%;
 }

  iframe{
    max-width: 200px;
  }
  .figcaption-text{
    font-size: 5px !important;
  }

  .img-container > div {
    flex-basis: 30vh !important;
  }

  .section{
    margin: 0 4vw !important;
  }

  .pillar{
    font-size: 0.7em;
  }
}


body, p{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.figcaption-text{
  padding-top: 0.5em;
text-align: center;
font-size: 8px;
padding-left: 20%;
padding-right: 20%;
}

.youtube-caption{
  padding-left: 20%;
  padding-right: 20%;
}

.img-container{
  display: flex;
  justify-content: space-evenly;
  flex-flow: row;
  flex-wrap: wrap;
}

.img-container > div {
  flex-basis: 30vw;
}

.max-img{
  max-width: 90%;
  max-height: 100%;
}

.header{
    background-color:#000;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 1.5em;
    flex-basis: auto;
    /* overflow: hidden; */
}

.nav-logo{
    flex: 1;
    margin-bottom: 1.5em;
    box-sizing: border-box;
}

.fig-shrink{
  /* make the images not so tall */
  max-height: 40vh;
  /* compensating for caption text below*/
  margin-bottom: 2em;
}

.nav-bar{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    gap: 10px;
}

.header-message{
  width: 70%;
}

.nav-bar-margin > a{
    position: relative;
    margin: 0 1em;
}

.nav-bar > a::before{

    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.25s ease-in-out 0s;
  
}

#intro-nav::before{
  background-color: var(--tertiary-color);
}

#education-nav::before{
  background-color: var(--secondary-color);
}

#timeline-nav::before{
  background-color: var(--quadrary-color);
}

#about-nav::before{
  background-color: var(--tertiary-color);
}


.nav-bar > a:hover::before{
  visibility: visible;
  transform: scaleX(1);
}

.center-flex{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1em;
    text-align: center;
}

.section{
  padding: 2.25em;
  margin: 0 10vw;
}

.section-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding-bottom: 2rem;
    height: 100%;
}

.subheader{
  font-weight: bold;
  font-size: 16px;
}

.intro, .education, .edu-timeline{
  margin-top: 3em;
  background-color: white;
  border-radius: 3em;
}

#left-arrow, #mid-arrow, #right-arrow {
    background: white;
    height: 100px;
    width: 100px;
    margin-top: -100px;
    position: absolute;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

#left-arrow{
  left: 17.5%;
}

#mid-arrow{
  margin-left: auto;
}

#right-arrow{
  right: 17.5%;
}

.pillar-container{
/*  background-color: var(--pillar-section-color);*/
  background-color: var(--secondary-color);
  padding-bottom: 4em;
}

.flex-pillar{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: center;
  padding: 5% 0;
  text-align: center;
}

.pillar{
  height: 50vh;
  width: 19vw;
  /* flex-basis: 15vw; */
  /* margin: 0 5%; */
  /* background-color: blue; */
}

#intro-pillar{
  color: white;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.9)), url("../../resources/img/intro-pillar.jpg");
  background-position: top;
  background-size: cover;
  /* min-height: 350px; */
  padding: 2.25em 2.5em;
}


#education-pillar{
  color: white;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.9)), url("../../resources/img/education-pillar.jpg");
  background-position: top;
  background-size: cover;
  /* min-height: 350px; */
  padding: 2.25em 2.5em;
}

#timeline-pillar{
  color: white;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.9)), url("../../resources/img/timeline-pillar.jpg");
  background-position: top;
  background-size: cover;
  /* min-height: 350px; */
  padding: 2.25em 2.5em;
}

.about-container{
  background-color: var( --quadrary-color);
}

.reference-container {
	background-color: var(--tertiary-color);
}

.section-content{
  text-align: justify;
  padding-bottom: 1.5em;
  max-width: 100%;
}

.section-content:nth-of-type(p){
  padding: 1em 0em;
}

.list-fix{
  padding: 1em;
}

.footer{
    background-color: var(--primary-color);
    color: white;
}

.more-button{
  margin-top: 2em;
}


button {
  display: inline-block;
  border: none;
  border-radius: 1rem;
  padding: 1rem 2rem;
  margin: 0;
  text-decoration: none;
  background: #0069ed;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 250ms ease-in-out, 
              transform 150ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button:hover,
button:focus {
  background: #0053ba;
}

button:focus {
  outline: 1px solid #fff;
  outline-offset: -4px;
}

button:active {
  transform: scale(0.99);
}

/* JUNK */
.socialMediaBar {
    max-width: 964px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1001;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.socialMediaBar-wrapper {
    position: relative;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    width: 100%;
    clear: both;
    z-index: 1000;
    padding: 1rem 0 0 0;
}

.socialMediaBar__icon {
    height: 3rem;
    width: 3rem;
    padding: 0 0.5rem;
    opacity: 0.5;
    transition: opacity 0.1s linear;
    cursor: pointer;
}

.socialMediaBar__icon:hover {
    opacity: 1;
}

/* Footer */
#footContainer a {color: rgb(89, 161, 241); text-decoration:none;} */
#footContainer a:hover { text-decoration:underline; }
#footContainer {
  position:relative;
  margin-right:auto;
  margin-bottom:0;
  margin-left:auto;
  margin-top: 0;
  width:100%;
  clear:both;
  z-index:1000;
  padding: 20px 0px;
}
#footMain {
  max-width:964px;
  margin-bottom:0;    
  margin-left:auto;
  margin-right:auto;
  z-index:1001;
  }
#footer { 
  text-align:center;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color:#111;
  z-index:1002;
  border-top: none;
  margin: 0;
  padding: 0;
}
.footerLink {
  text-align: left;
  padding: 20px 10px 20px 20px;
}
.footerLink a{
  color: #9b9b9b;
}
.footerLink a:link {
  text-decoration: none;
  font-size: 100%;
  color: #9b9b9b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 8px 8px 9px 8px;
  display: block;
  transition: color .35s;
}
.footerLink a:visited {color: #9b9b9b;font-family: 'Open Sans', Arial, Helvetica, sans-serif;font-weight:bold;}
.footerLink a:hover{color: #c5c5c5;font-family: 'Open Sans', Helvetica, sans-serif;font-weight:bold;}

.footerBox {
  padding: 20px 0px 20px 28px;
  text-align: left;
  color: #c5c5c5;
}

.footerBoxTitle {
  padding: 8px 0px;
  font-weight: bold;
  text-align: left;
  color: #9b9b9b;
}

.floatLeft {
  float: left;
}

.clear {
  clear: both;
}

.clear:after {
    clear: both;
    content: "";
    display: table;
}

