* {
  box-sizing: border-box;
}

html {
  font-family: "Lato", sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(#22100e, #6d5d21);
}

main {
  width: 100%;
  border-top: 5px solid #ff7303;
  border-bottom: 5px solid darkgreen;
}

h1 {
  color: #ca7a08;
  text-align: center;
  font-size: 1.25rem;
  margin: 1rem;
}

h3 {
  color: #caead3;
}

.backdrop {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

#main-wrapper {
  max-width: 1600px;
  margin: auto;
}

.main-header {
  width: 100%;
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 1;
  max-width: 1600px;
  margin: auto;
  border-bottom: #b68b16 solid 1px;
}

.main-header > div {
  display: inline-block;
  vertical-align: middle;
}

.main-header__brand {
  color: #ff7303;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
}

.main-nav {
  text-align: right;
  vertical-align: middle;
}

.main-nav__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__item {
  display: inline-block;
  margin: 0 16px;
}

.main-nav__item a,
.mobile-nav__item a {
  font-family: "Trade Winds", cursive;
  text-decoration: none;
  color: #ff7303;
  font-weight: bold;
  position: relative;
  top: -20px;
  font-size: 1.2em;
}

.main-nav__item a:hover,
.main-nav__item a:active {
  color: #2ca42c;
  border-bottom: 5px solid white;
}

.main-nav__item--cta a:hover,
.main-nav__item--cta a:active {
  color: #2ca42c;
  border: none;
}

.body-links {
  text-decoration: none;
  color: #ff7303;
  font-weight: bold;
}

#hero-overview {
  background: url("hero-largev2.jpg");
  width: 100%;
  height: 300px;
  padding: 10px;
  margin-top: 43px;
  position: relative;
}

.intro {
  font-family: "Trade Winds", cursive;
  width: 100%;
  height: 75%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 2.5rem;
  color: #edeae8;
  font-weight: bold;
  font-size: 2em;
  line-height: 33px;
}

.intro-text-back {
  background: rgb(202, 122, 7);
}

.home-intro {
  font-family: "Lato", sans-serif;
  width: 100%;
  height: 75%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 2.5rem;
  color: #d7c69c;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 1em;
  line-height: 2.1em;
  background: #100900;
  border-bottom: 5px solid #ff7303;
}

.social {
  width: 72%;
  position: relative;
  top: 5px;
}

.logo {
  width: 14%;
  position: fixed;
  left: 4px;
  top: 1px;
  z-index: 2;
}

.tiny-logo {
  display: none;
}

.intro-pics {
  width: 100%;
}
.tree-pic {
  width: 88%;
}

.link {
  color: yellow;
  text-decoration: underline;
}

.link:hover {
  color: lightgreen;
  text-decoration: underline;
}

.home-text {
  font-size: 1.2em;
  line-height: 2;
  margin: 0rem 0.4rem;
  color: #dde9da;
}

.evidence-text {
  font-size: 1em;
  line-height: 1.4;
  margin-top: 10px;
  color: #ffd584;
}

.home-pic {
  font-family: "Trade Winds", cursive;
  font-size: 1.2em;
  color: #bad4bd;
}

.home-intro-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.4rem;
  color: #fff;
}

.oc-group-home-pic {
  flex-shrink: 0;
  padding: 10px;
  background-color: #000;
  max-width: 100%;
}

.oc-group-home-pic img {
  display: block;
  max-width: 50%;
  height: auto;
  float: left;
  padding: 2rem;
}

.home-intro {
  flex: 1;
}

.home-intro p {
  text-align: justify;
}

.join-pic {
  width: 90%;
}

.investigation-pics {
  width: 99%;
  border: 2px solid #4a7149;
}

.evidence-pics {
  width: 90%;
  border: 2px solid #f3f8f3;
}

.video-wrapper {
  margin: 1rem 0;
}

.oc-text {
  font-size: 1em;
  color: #ff7303;
  display: none;
}

.home {
  color: white;
  padding: 4px;
  height: auto;
  max-width: 390px;
}

.home-grid-one {
  margin: 0 auto;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(4, 2fr);
  padding: 0.4rem;
}

.home-two {
  color: #fff;
  padding: 1rem;
  height: auto;
}

.home-grid-two {
  margin: 0 auto;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(2, 2fr);
}

.the-team {
  font-family: "Trade Winds", cursive;
  font-size: 1.2em;
  padding-top: 5px;
  padding-left: 5px;
}

.the-team-rectangle {
  height: 40px;
  width: 340px;
  position: relative;
  top: 15px;
  background-color: #0e4f1f;
}

.cta-evidence,
.download-evidence {
  color: #ff7303;
  font-weight: bold;
}

.the-evidence {
  font-family: "Trade Winds", cursive;
  font-size: 1.2em;
  padding-top: 5px;
  padding-left: 5px;
}

.the-evidence-rectangle {
  height: 40px;
  width: 300px;
  position: relative;
  top: 15px;
  background-color: #ff7303;
}

.contact-field {
  margin: 25px 0;
}

.contact-intro {
  font-family: "Lato", sans-serif;
  color: #bad4bd;
  font-size: 1.2em;
  line-height: 1.4em;
}

.contact-label {
  color: #ff7303;
  padding: 1rem;
}

.button-contact {
  background-color: #ff7303;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

#please {
  color: red;
}

.footer {
  color: #bad4bd;
  padding: 1rem;
}
/* Container for 2-column grid */
.investigation-grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem; /* smaller gap between left and right content */
    margin: 0 auto;
    max-width: 1200px; /* optional, centers the grid */
    padding: 1rem;      /* padding on sides */
}

/* Each item in the grid */
.investigation-two {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem; /* space between elements inside each column */
}

/* Images in each column */
.investigation-pic img.investigation-pics,
.investigation-pic img.evidence-pics {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.home-grid-two > .home-two:not(:nth-last-child(-n+2)) {
    border-bottom: 3px solid #ff7303;
}


/* Video wrapper to make embedded videos responsive */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* MEDIA QUERIES */

@media (max-width: 975px) {
  .logo {
    width: 15%;
    top: 90px;
  }

  .home-item-nav {
    display: none;
  }

  .oc-group-home-pic img {
    max-width: 70%;
  }
}

@media (max-width: 822px) {
  .main-nav__item {
    margin: 0 10px;
  }
}

@media (max-width: 812px) {
  .home-grid-one {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 750px) {
  .main-nav__item {
    margin: 0 4px;
  }
}

@media (max-width: 655px) {
  .home-text {
    max-width: 350px;
  }
  .home-grid-two > .home-two:not(:nth-last-child(-n+2)) {
    border-bottom: 0px;
}

  .intro {
    padding: 0 2rem;
    font-size: 1.4em;
  }

  .video-wrapper {
    margin: 0.4rem 0;
    position: relative;
    left: -10px;
  }

  .home-two {
    max-width: 25rem;
  }

  .intro-pics {
    max-width: 400px;
  }

  #hero-overview {
    height: 220px;
  }

  .intro {
    height: auto;
  }

  .main-nav__item {
    display: none;
  }

  .logo {
    display: none;
  }

  .tiny-logo {
    display: block;
    top: 0;
    left: 310px;
    position: fixed;
    width: 12%;
  }

  .oc-text {
    display: block;
  }

  .home-grid-two {
    grid-template-columns: repeat(1, 1fr);
  }

  .investigation-pics {
    width: 100%;
    max-width: 350px;
  }

  .join-pic {
    width: 85%;
  }

  .oc-group-home-pic img {
    display: block;
    max-width: 99%;
    height: auto;
    float: none;
    padding: 0.6rem;
  }
}

/* Toggle Button */
.toggle-button {
  width: 3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
}

.toggle-button:focus {
  outline: none;
}

.toggle-button__bar {
  width: 100%;
  height: 0.2rem;
  background: #16631e;
  display: block;
  margin: 0.6rem 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  z-index: 101;
  top: 0;
  left: 0;
  background: white;
  width: 80%;
  height: 100vh;
}

.mobile-nav__items {
  width: 90%;
  height: 100%;
  list-style: none;
  margin: 10% auto;
  padding: 0;
  text-align: center;
}

.mobile-nav__item {
  margin: 1rem 0;
}

.mobile-nav__item a {
  font-size: 1.5rem;
}

.button {
  background: #0e4f1f;
  color: white;
  font: inherit;
  border: 1.5px solid #0e4f1f;
  padding: 0.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.button:hover,
.button:active {
  background: white;
  color: #0e4f1f;
}

.button:focus {
  outline: none;
}

.open {
  display: block !important;
}

@media (min-width: 41rem) {
  .toggle-button {
    display: none;
  }
}

/* Modal */
.modal {
  position: fixed;
  display: none;
  z-index: 200;
  top: 20%;
  left: 30%;
  width: 40%;
  background: white;
  padding: 1rem;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.modal__title {
  text-align: center;
  margin: 0 0 1rem 0;
}

.modal__actions {
  text-align: center;
}

.modal__action {
  border: 1px solid #0e4f1f;
  background: #0e4f1f;
  text-decoration: none;
  color: white;
  font: inherit;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.modal__action:hover,
.modal__action:active {
  background: #2ddf5c;
  border-color: #2ddf5c;
}

.modal__action--negative {
  background: red;
  border-color: red;
}

.modal__action--negative:hover,
.modal__action--negative:active {
  background: #ff5454;
  border-color: #ff5454;
}
