/* ================ Headers ================ */

/* .primaryHeader {
  display: none;
} */

header {
  display: flex; 
  align-items: center;
  /* background-color: #222D32;  */
  z-index: 5;
  background-image: linear-gradient(#222D32 20%, #131a1e);
  border-top: black 2px solid;
  border-bottom: black 2px solid;
}

header .primaryHeaderImage {
  /* display: inline-block;  */
  /*width: 800px; */
  width:300px;
  object-fit:contain; 
  /* float: left; */
  padding: 15px 30px 15px 30px;
  margin-left: 0px;
}

.mobile-nav-btn {
  color: #fff;
  padding: 4px 12px;
  font-size: 32px;
  margin-right: 24px;
  margin-left: auto;
  background-image: linear-gradient(#25343c 4%, #131a1e);
  border: 1.5px solid #2a363b;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-nav-btn:hover {
  background: #3d4f57;
}

.mobile-nav-btn:active {
  background: #505d62;
  border: 2px solid #7b9aaa;
}

.mobile-nav {
  position: absolute;
  top: 0px;
  /* right: 0px; */
  right: -245px;
  background: #131a1e;
  color: #fff;
  width: 200px;
  font-family: Georgia, 'Times New Roman', Times, serif; 
  transition: right 0.5s;
  /* display: none; */
}

.mobile-nav-item {
  text-align: center;
  display: block;
  text-decoration: none;
  color: #fff;
  width: 100%;
  padding: 16px 0px;
  border: 1px solid #25343c;
}

.mobile-nav-item:active {
  width: 100%;
  background: #D1D4D1;
  color: #131a1e;
}

.mobile-nav-item.active {
  width: 100%;
  background: #727E5B;
  color: #131a1e;
  font-weight: bold;
}

.mobile-nav-dismiss {
  font-size: 32px;
  text-align: center;
  position: absolute;
  top: 0;
  left:-45px;
  width: 45px;
  background: #963f3f;
  border: 2px solid #3a0e0e;
  cursor: pointer;
}

.mobile-nav-dismiss:hover {
  background: #762222;
}

.mobile-nav-dismiss:active {
  background: #a31515;
}

.mobile-nav.visible {
  right: 0px;
  /* display: block; */
}

/* === Media Queries === */

@media (min-width: 920px) {
  .mobile-nav-btn {
    display: none;
  }

  header .primaryHeaderImage {
    width:500px;
  }
}

/* === End Media Queries === */

/* ================ End Headers ================ */

/* ================ BODY CONTENT ================ */

body h3 {
  font-family: Georgia, 'Times New Roman', Times, serif; 
}

.indented-text {
  text-indent: 1em;
}

/* === Wrappers === */

.front-page-wrapper {
  background: url(Header-Updated.png) no-repeat center top, url(burn-tone.png) repeat-x center top, url(wood-grain-2-seamless.png) repeat center top;
}

.primary-wrapper {
  /* background: url(MTN-Header-2_3.png) no-repeat center top, url(burn-tone.png) repeat-x center top, url(wood-grain-2-seamless.png) repeat center top; */
  background: url(burn-tone.png) repeat-x center top, url(wood-grain-2-seamless.png) repeat center top;
}

.secondary-wrapper {
  background: rgb(245, 245, 245);
}

.front-page-container { 
  margin-top: 16px;
}

.primary-container {
  clear: both;
  background: rgba(14,17,14,0.65); 
  color:#D1D4D1; 
  border-radius: 15px 15px 0px 0px;
  /*margin-top: 60px;*/
}

.main-page-content {
  display: block;
}

.sticky {
  display: none;
}

.body-flex-container, .body-flex-container-inverse {
  display: flex; 
  flex-direction: column; 
  align-items: center;
}

@media (min-width: 920px) {
  .body-flex-container {
    flex-direction: row;
  }

  .body-flex-container-inverse {
    flex-direction: row-reverse;
  }

  .body-flex-left-content {
    margin-right: 24px; 
  }
  
  .body-flex-right-content {
    margin-left: 24px; 
  }

  .sticky {
    display: block;
  }

  .front-page-container {
    margin-top: 450px;
  }

  .main-page-content {
    display: flex;
  }

  .main-page-content > .container {
    padding: 0 0 0 15px;
  }
}

/* === End Wrappers === */

/* .primary-text-overlay is used on the home page as the tinted text area over the image and background */
.primary-text-overlay {
  font-family: Georgia, 'Times New Roman', Times, serif; 
  color: #d1d4d1; 
  font-size: 1.4em; 
  padding: 15px; 
  text-align: center;
}

.primary-text-overlay p {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* === Quotes === */
.blockquote {
  /*display: inline-block; */
  background: #727E5B; 
  border-radius: 10px; 
  padding: 15px; 
  font-family: Verdana, Geneva, Tahoma, sans-serif; 
  font-weight: bold; 
  font-size: 1rem;
  text-shadow: 1.5px 1.5px 2px #222d32; 
  border: 1px solid #222d32;
  margin: auto;
}

.blockquote-med {
  max-width: 800px;
  width: 80%;
}

@media (min-width: 800px) {
  .blockquote-med {
    min-width: 500px;
  }
}

/* === END QUOTES === */

.floating-text-headline {
  /*color: #d1d4d1;*/
  color: #131a1e; 
  /* font-weight: bold;  */
  /* font-size: 1.5rem; */
  /* text-decoration: underline 2px; */
  /* text-shadow: 1.5px 1.5px 2px #222d32; */
}

.floating-text-body {
  /*color: #d1d4d1;*/
  color: #131a1e; 
  /* font-weight: bold;  */
  font-size: 1.25rem;
  /* text-shadow: 1.5px 1.5px 2px #222d32; */
}

.test {
  display: flex;
  align-items: top;
  justify-content: center;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
}

.mtn-alert {
  background: rgb(212, 126, 126);
  padding: 8px;
  border-radius: 8px;
  border: 2px solid rgb(75, 6, 6);
  color: #2b1111;
  font-weight: bold;
}

/* === Photo Links === */

a.polaroid {
  display: block;
  padding: 12px 12px 20px 12px;
  border: 1px solid #BFBFBF;
  background-color: #fff;
  width: 300px;
  margin: 16px auto;
  box-shadow: 0px 4px 8px 4px #0000008a;
  transition: all 0.2s ease-in-out;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.25em;
  font-weight: bold;
  color: #222D32;
  text-decoration: none;
}

a.polaroid img {
  width: 100%;
  aspect-ratio: 1/0.75;
  object-fit: cover;
  margin-bottom: 20px;
}

a.polaroid:hover {
  z-index: 1;
  transform: scale(1.15);
  rotate: 4deg;
}

/* === End Photo Links === */

.flex-row {
  display: flex; 
  flex-wrap: wrap;
  margin-left: 24px;
  margin-right: 24px;
}

.flex-row-text-left {
  width: 60%; 
  text-align: left; 
  padding-left: 20px; 
  margin: auto auto auto 0px;
}

.flex-row-text-right {
  width: 60%; 
  text-align: right; 
  padding-right: 20px; 
  margin: auto 0px auto auto;
}

/* === Buttons === */

.mtn-btn {
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 12px;
  border: 2px solid #222d32;
}

.mtn-btn-large {
  display: block;
  margin: 24px auto;
  font-size: 1.5rem;
  text-align: center;
  width: 70%;
  max-width: 500px;
}

.mtn-btn-support {
  background: #727E5B;
  color: #fff;
  transition: 0.5s;
}

.mtn-btn-support:hover {
  background: #8f9f72;
}

.mtn-btn-support:active {
  transition: 0.25s;
  background: #525b42;
}

/* === END Buttons === */

/* ================ End Body Content ================ */

/* ================ MTN Card ================ */

.mtnCard {
  margin: 16px;
  color: #222D32;
  display: flex;
  flex-direction: row;
  width: 70%;
  box-shadow: 0px 4px 8px 4px #0000008a;
  border-radius: 8px;
}

.mtnCard img {
  border-width: 0px;
  border-radius: 8px 0px 0px 8px;
  width: 150px;
  object-fit: cover; 
  aspect-ratio: 1/1;
}

.mtnCard div {
  background-color: #fff;
  border-width: 0px;
  border-radius: 0px 8px 8px 0px;
  width: 100%;
}

/* ================ End MTN Card ================ */

/* ================ MTN Sign ================ */

.mtn-menu-signpost {
  background-color: #635131; 
  background-image: linear-gradient(to right, #43361f, #635131 35%, #635131 65%, #43361f);
  /* height: 470px;  */
  height: 380px;
  width: 15px; 
  top: 0; 
  left: calc(50% - 5px); 
  position: absolute;
  box-shadow: 2px 0px 8px 2px #0000008a;
}

.mtn-sign-link {
  display: block;
  width: 145px;
  object-fit:contain;
  margin: 20px auto;
  box-shadow: 0px 4px 8px 4px #0000008a;
  transition: all 0.2s ease-in-out;
  /*padding: 0px 15px 0px 15px;*/
}

.mtn-sign-link:hover {
  /* transform: scale(1.15);*/
  animation: wiggle 0.5s;
}

/* ================ End MTN Sign ================ */

/* ================ Mission Styles ================ */

.mission-flex-container, .mission-flex-container-inverse {
  display: flex; 
  flex-direction: column; 
  align-items: center;
  padding: 0px 16px;
}

.mission-flex-container-col-inverse {
  flex-direction: column-reverse;
}

.mission-flex-image-primary {
  max-width: 350px;
  border-radius: 8px; 
  box-shadow: 2px 2px 12px #222D32;
}

.mission-flex-image-primary {
  margin: 0px 0 24px 0px;
}

@media (min-width: 800px) {
  .mission-container {
    padding-left: 16px;
  }

  .mission-flex-image-primary {
    max-width: 500px;
  }
}

@media (min-width: 1200px) {
  .mission-flex-container {
    flex-direction: row;
  }

  .mission-flex-container-inverse {
    flex-direction: row-reverse;
  }

  .mission-flex-left-content {
    margin-right: 24px; 
  }
  
  .mission-flex-right-content {
    margin-left: 24px; 
  }

  .mission-flex-image-primary {
    margin-bottom: 0;
  }
}

/* ================ End Mission Styles ================ */

/* ================ Footers ================ */

.primary-footer {
  border-top: black 1px solid;
  background-color: #222D32; 
  padding: 20px; 
  color: #D1D4D1;
  display: flex;
  margin-top: auto;
  position: relative;
  bottom: 0;
}

.primary-footer a {
  color: #D1D4D1;
  text-decoration: none;
}

.primary-footer .copyright {
  margin-left: auto; 
  margin-right: 0px;
}

/* .primary-footer div {
  display: inline-block;
} */

/* === Media Queries === */

@media (max-width: 1030px) {
  .flex-row-photo-right {
    flex-direction: column !important;
  }

  .flex-row-photo-left {
    flex-direction: column-reverse !important;
  }

  .flex-row-text-left, .flex-row-text-right {
    text-align: center;
    padding: 0px;
    margin: auto;
    width: 100%;
    padding-top: 16px;
  }
}

@media (max-width: 599px) {
  .primary-footer {
    flex-direction: column;
  }

  .primary-footer .copyright {
    margin-left: 0px; 
    margin-right: auto;
    padding: 12px 0px;
  }
}

/* ================ End Footers ================ */

/* ================ Animations ================ */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
 30% { transform: rotate(-5deg); }
 60% { transform: rotate(5deg); }
100% { transform: rotate(0deg); }
}
/* ================ End Animations ================ */