/* general setup ======================================== */

*, *:before, *:after { box-sizing: inherit; }

html { 
	font-size: 18px; /* sets rem for accesibility */ 
	scroll-behavior: smooth;
}

body {
	background-color: #202229;
	font-family: sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* colors header & footer text*/
.text { color: floralwhite; }

/* general classes ======================================== */

.button {
  background-color: white;
  border: 2px solid crimson;
  border-radius: 4px;
  color: crimson;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color linear 0.1s;
  font-weight: normal;
}

.button:hover { background-color: #edbbc5; }

.infoBlerb__button {
	height: 1lh;
	width: 8rem;
	margin: auto;
}

.timeline__button {
	width: fit-content;
	background-color: #8a2828;
	margin: auto;
	margin-bottom: 10px;
}

.timeline__button:hover { background-color: #701d1d; }

.infoBlerb {
	display: inline-grid;
	grid-template-columns: 10rem 1fr 13rem;
}

.infoBlerb__title {
	padding-right: 10px;
	height: fit-content;
}

/* hero image ======================================== */

.heroImg * { z-index: 2; }

.heroImg { 
	position: relative;
	z-index: 2;
	 }

.heroImg__pic { 
	display: block;
	position: relative;  /* removes gapping beneath image */ }

.heroImg__text {
	position: absolute;
	bottom: 20px;

	font-size: 16px;
	font-weight: 100;
	letter-spacing: 1.5px;
}

.heroImg__text-left {
		left: 20px;
}

.heroImg__text-right {
		right: 20px;
}



/* navbar ======================================== */

.navbar {
	z-index: 1;
	position: sticky;
	top: 0px;
	height: calc(1rem + 1.7rem*2); /* matches height of links */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: darkred;
	border-bottom-style: solid;
	border-width: 3px;
	border-color: #630101;

}	

.navbar * { z-index: 1; }

.navbar__coverup { z-index:0; }

.navbar__title {
	height: 100%;
	margin: 0 1rem;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: start;
}

.navbar__title--condensed .navbar__page { display: none; }

.navbar__title--condensed .navbar__seperator { display: none; }

.navbar__logo {
	font-size: 2rem;
	margin: auto 1rem;
}

.navbar__page {
	font-size: 1rem;
	margin: auto 1rem;
}

.navbar__row {
	margin: 0;
	padding: 0;
	display: flex;
	height: 100%;
}

.navbar__item { list-style: none;	}

.navbar__link {
	text-decoration: none;
	line-height: 1rem;
	padding: 1.7rem 1.2rem;
	display: block; /* changes from default inline to block for flexbox */
	transition: background-color linear 0.1s;
}

.navbar__link:hover { background-color: #9b0808; }

.navbar__link--current {
	padding-left: 1.2rem;
	padding-right: 1.2rem;
	padding-top: 1.7rem;
	padding-bottom: calc(1.7rem - 6px);
	border-bottom-style: solid;
	border-width: 6px;
	border-color: #ed1541;
}

.navbar__coverup { /* needed for mobile/condensed version to cover selection menu */
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: darkred;

}

.navbar__hamburger {
	width: 1.875rem;
	height: 1.313rem;
	display: none;
	flex-direction:  column;
	justify-content: space-around;
	margin: auto 1rem;

}

.navbar__hamline {
	height: 0.188rem;
	width 100%;
	background-color: #fff;
	border-radius: 0.625rem;
	/* see mdn page on transition || all changes , slow start and end to transition speed, delay of 0.2s */
	transition: all ease-in-out 0.2s;

}


/* body ======================================== */
/* general ====== */

.content {
	background-color: white;
	min-height: 50vh;
	width: auto;
	padding: 30px;
}


.content ol, ul {
	margin-left: 35px;
	line-height: 1.8;
	list-style-position: inside;
}

.content__heading { position: relative; }

.content__heading--clear { clear: left; } /* clears floating pictures */


.content__heading--underline { padding-bottom: 15px; }

.content__heading--smallUnderline { padding-bottom: 8px; }

.content__heading--smallUnderline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 325px;
  background-color: #333;
}

.content__heading--underline::before {
	content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #202229;
}

.content__heading--underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 325px;
  background-color: #333;
}

.content__heading--subordinate { margin-left: 25px; }

.content__note {
	color: dimgrey;
	font-size: 0.9rem;
}

.content__list {  }

.content__list--columns{ columns: 20rem 3; }

.content__list--columns li { break-inside: avoid; } /*list items dont travel across columns*/

.content__list--flex {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	list-style: none;
	margin: 20px;
	padding: 0;
	flex-wrap: wrap;
}

.content__list--flex a { min-width: 7.2rem; } 

.content__list--flex li {	margin: 20px; }

.content__list--subordinate {	margin-left: 60px; }

.content__fillerPic { margin: 30px; }

.content__fillerPic--right {
	float: right;
	margin-left: 60px;
}

.content__fillerPic--left{
	float: left;
	margin-right: 60px;
}


.heroImg__text-hide {
	display: block;
}

/* program info ====== */

/* how to apply ====== */


/* timeline ======================================== */


.timeline {
	background-color: white;
	margin: 0px;
}

.timeline__flexContainer {
	position: relative;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding: 30px;
	width: auto;
}

.timeline__title { margin: 0px 30px; }

.card {
	width: 230px;
	height: 250px;
	position: relative;
	background-color: #8a2828;
	/*#871f1f;*/
	display: flex;
	text-align: center;
	justify-content: space-between;
	flex-direction: column;
	border-radius: 7px;
	margin: 15px;
	padding: 20px 7px;
}

.card * {
	display: block;
}

.card__date {
	display: block;
	color: white;
	font-size: 1rem;

}

.card__arrow {
	font-size:100px;
	line-height: 1.5rem;
	position: relative;
	top: -1.3rem;
	color: white;
}

.card__text {
	line-height: 1.2rem;
	font-size: 0.9rem;
	font-weight: 100;
	color: white;
} 


/* footer ======================================== */

.footer {
	width: 100%;
	background-color: #202229;
	display: flex;
	justify-content: space-between;
	align-items: center;

}

.footer__contactText {
	font-size: 0.8em;
	color: white;
	margin: 20px;
} 

.footer__info {
	top: 20px;
	right: 20px;
	font-size: 0.7rem;
	text-align: end;
	line-height: 1.2rem;
	color: white;
	margin: 20px;

}


/* sticks menu if screen too short to scroll past */

@media screen and (max-width: 60rem) and (max-height: 30rem) {
	.navbar {	position: relative; }
}



/* if statement acsesses user info || see media-queries || if on a screen whos size is < Npx */
@media screen and (max-width: 58rem) { /*===================================================================================================================================*/

/* general classes =============================== */

.infoBlerb__button {
	margin: 0px;
	position: absolute;
	right: 30px;
	margin-top: 30px;
}

.infoBlerb{
	display: flex;
	flex-direction: column;
	text-align: left;
}

.content__heading--disappear::after {
	display: none;
}

.content__heading--disappear::before {
	display: none;
}

/* navbar ======================================== */

.navbar__menu { z-index: -1; }

.navbar__menu * { z-index: -1; }

.navbar__title--condensed .navbar__page { display: block; }

.navbar__title--condensed .navbar__seperator { display: block; }

.navbar__menu {
	position: absolute; 	/* removes from flow of flexbox */
	display: flex;
	align-items: center;
	background-color: crimson;
	top: -12rem;
	width: 100%;
	height: auto;
	transition: top ease-in-out 0.4s;
}

.navbar__row {
	flex-direction: column;
	width: 100%;
	padding: 3rem 0 0;
}

.navbar__item { text-align: center; }

.navbar__link { padding: 0.5rem; }

.navbar__link:hover { background-color: crimson; }

.navbar__link--current { border: none; }

.navbar__link--bottom { padding-bottom: calc(0.5rem + 0.2rem); }


/* see pseudo classes || when selected by user, will be done in javaScrip */


.navbar__menu.active { top: 3.5rem; }

.navbar__hamburger { display: flex; }

/* will change lines	 into an "X" */
/* targets first child of hamburger, in this case top line */
.navbar__hamburger.active :nth-child(1) { transform: rotate(45deg) translate(0.45rem, 0.1875rem); }

.navbar__hamburger.active :nth-child(2) { opacity: 0; }

.navbar__hamburger.active :nth-child(3) { transform: rotate(-45deg) translate(0.45rem, -0.1875rem); }
/* body ======================================== */

.heroImg__text-hide {
	display: none;
}

.content__fillerPic {
	display: none;
}

/* footer ======================================== */


.footer{
	flex-direction: column;
	justify-content: flext-start;
}

.footer__info {
	text-align: center;
	margin: 5px 15px 15px 15px;
}

/* timeline ==================================== */

.timeline__flexContainer {
	flex-direction: column;
	padding: 0;
}


.card {
	width: auto;
	height: auto;
	background-color: white;
	display: flex;
	text-align: center;
	justify-content: space-between;
	flex-direction: column;
	border-radius: 10px;
	padding: 10px;
	margin: 0;
	border: solid lightgray;
	border-width: 2px 2px 0 2px;
}

.card * { color: black; }

.timeline__button { background-color: white; }

.timeline__button:hover { background-color: #edbbc5; }

.card__arrow { display: none; }

} /*============================================================================================================================================================*/


















