
body {
  font-family: Trebuchet MS, sans-serif;
  /* font-family: "Literata", serif; */
  font-optical-sizing: auto;
  font-weight: normal;
  line-height: 1.5;
  /* font-style: bold; */
  background-color: #1e293b;
  color: #dce0bc;
  /* color: #e6f3b3; */
  padding: 0; /* Remove default padding */
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100vh - 0vh); /* Adjusted height to make room for scrolling */
  overflow-y: auto; /* Enable vertical scrolling */
  overflow-x: hidden; /* Hide horizontal scrollbar */
  margin: 0px;
  width: 100vw;
}

a {
  color: #FECF92; 
}

p {
    /* letter-spacing: 0.4px; */
}

h1, h2, h3 {
  /* font-family: "Literata", serif; */
}

.enchilada-text {
  font-weight: bold;
  color:  #db623e;
}

#page {
  position: relative;
  /* width: 55vw; */
  width: 1000px;
  left: calc((100vw - 1000px) * 0.5);
}

#page-content {
     box-sizing: border-box;
    margin-left: 20px;
    margin-right: 20px;
    /* padding: 10px */
}

#page-content img {
    max-width: 1000px;
    width: 100%;
}

#page-content h1 {
    color: #FECF92;
}

#page-content h2 {
  margin: 0px;
}

#topnav {
  margin-top: 5px;
  position: relative;
  display: flex;
  width: 100%;
  /* max-width: 1260px; */
  height: 50px;
  /* align-items: center; */
  background-color: #1e293b;
  /* margin: 0 0 0 3vw; */
  margin-bottom: 20px;
}

#enchilada_logo {
  position: relative;
  /* top: 20px; */
  height: 50px;
  margin-left: 20px
}

#eee_image {
    width: 550px;
}

#enchilada_logo:hover {
    cursor: pointer;
}

#links {
  position: absolute;
  /* width: fit-content; */
  height: 100%;
  align-content: center;
  right: 30px;
  margin-left: 10px;
}

.navlink {
  /* font-family: Gill sans, sans-serif; */
  font-family: Trebuchet MS, sans-serif;
  text-decoration: none;
  font-size: 18px;
  font-weight: normal;
  color:  #fdfdd6;
  margin-left: 2vw;
  text-align: right;
  padding: 10px;
  border-radius: 10px;
  background-color: #1e293b;
  transition: 0.2s;
}

.navlink:hover {
  background-color: #213249;
}

.page-container {
    /* width: 100%; */
    /* width: 50vw; */
    display: inline;
    /* justify-content: center; */
}

.page-content-block {
    /* width: 90%; */
    width: 800px;
    display: inline;
}


#hero {
  /* margin-top: 6vh; */
  position: relative;
  display: flex;
  justify-content: flex-end;
  /* height: max(55vh, 550px); */
  height: 550px;
  margin: 0px;
  background: url("/img/Blue_Moon_Clearer.jpeg") center no-repeat;
  background-size: cover; /* Ensure background covers the hero-container */
  background-position: center top; /* Initial background position */
}

#hero_text {
  position: absolute;
  bottom: 60px;
  right: 120px;
  color: #e6f3b3;
  text-align: right;
}

#hero h2 {
  margin: 0px;
  /* font-size: 2.5; */
  font-size: max(2.0vw, 30px);
}

#page-hero {
  margin-top: 20px;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  max-width: 1100px;
}
#page-hero img {
    border-radius: 10px;
}

#page-hero img {
    width=100%;
}

/* Media query for smaller screens */
#slogan-block {
  width: 100%;
  text-align: center;
  margin: 20px 0px 0px 0px;
}

#slogan-content {
  padding: 20px;
}

#slogan-content h1 {
  margin: 10px;
}

#slogan-block h3 {
  color:  #db623e;
}

#slogan-block h1 {
  font-size: 2.4em;
  color:  #e6f3b3;
}

.cta_button {
    width: 300px;
    height: 50px;
    font-size: 30px;
    color: #e6f3b3;
    font-weight: bold;
    background-color: #db623e;
    margin: 20px;
    border-style: none;
    border-radius: 5px;
    cursor: pointer;
}

.cta_button:hover {
  border-style: solid;
  border-width: 1px;
  border-color: #212121;
  background-color: #be502e;
}

.page_cta_block {
    text-align:center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.cta_button_page {
    /* margin: auto; */
    margin: 30px 0;
}

.eee-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1100px;
  font-size: max(1vw, 20px);
}

.eee-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.eee-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.eee-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    /* width: 100%; */
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    text-align: center;
    opacity: 0.8;
    height: 35%;
    /* transition: 0.3s; */
}


#bio-block {
  margin-top: 40px;
  display: flex;
  width: 100%;
  justify-content: space-around;
  background-color: #1e293b;
  /* padding: 20px 0; */
  align-items: center;
}


#bio-summary-header {
  background: url("/img/YlGnBu_r_0_255_b17903b2a1_sq.jpeg") top no-repeat;
  background-size: cover; 
  background-position: center top; /* Initial background position */
  background-color: white;
}

#bio-summary-header-text {
  position: relative;
  top: 40%;
}

#bio-summary-header h1 {
  text-align: center;
  font-size: 2em;
  color: #1e2a3b;
}

.bio-item {
  display: flex;
  flex-wrap: wrap;
  height: 650px;
  text-align: left;
  width: 27.5%;
  background-color: #27374d;
  padding: 20px;
}

.bio-item img {
  max-width: 100%;
}

.bio-header {
  position: relative;
  /* top: 100px; *//
  height: 300px;
  width: 300px;
}

#bio-summary-text {
  padding: 10px;
}

.bio-name {
  text-align: center;
  width: 300px;
}

.bio-list ul {
  text-align: left;
}

.bio-list li {
  text-align: left; /* Added */
  /* font-size: 0.7vw; */
  font-size: max(0.7vw, 14px);
}   

footer {
  background-color: #1e293b;
  text-align: center;
  padding: 20px 0;
}

#footer-content {
  max-width: 800px;
  margin: 0 auto;
}

footer p {
  margin: 5px 0;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

#lightbox {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  width: 600px;
  height: fit-content;
  border-radius: 10px;
  background-color: #1e2a3b;
  max-width: 80vw;
}

#contact_form {
  display:flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.contact-textfield {
    font-family: Trebuchet MS, sans-serif;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    border-radius: 10px;
}

#message{
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  height: 100px;
  overscroll-behavior: contain;
}

#submit {
  position: relative;
  margin: 10px 0px 0px 0px;
  width: 40%;
  left: 30%;
  align-content: center;
  font-weight: bold;
  color:  #e6f3b3;
  background-color: #db623e;
  font-size: 25px;
  border-style: none;
  padding: 10px;
  border-radius: 10px;
}

#submit:hover {
  background-color: #be502e;
}

#error-message {
  display: none;
  text-align: center;
  margin: 15px 0 0 0;
  color: rgb(217, 0, 0);
  font-weight: 800;
  font-size: 18px;
}

#closeBtn {
    position: fixed;
    top: 0px;
    right: 10px;
    cursor: pointer;
    scale: 1.75;
    color: rgb(255, 255, 255);
}

#thank-you-lightbox {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  width: 400px;
  height: 100px;
  border-radius: 10px;
  background-color: #1e2a3b;
  max-width: 80vw;
  text-align: center;
}

#thank-you-text {
  font-size: 40px;
  padding: 8px;
  font-weight: 800;
}

@media screen and (max-width: 1100px) {
  #page {
    width: 100vw;
    left: 0px;
  }

  #bio-block {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
      
  .bio-item {
      display: flex;
      align-items: center;
      flex-direction: column;
      width: 60%;
      height:fit-content;
      margin: 10px 0;
  }
  
  @media screen and (max-width: 800px) {

    #eee_image {
      width: 70vw;
    }

    @media screen and (max-width: 600px) {

      #topnav {
        flex-direction: column;
        height: 60px;
      }

      .cta_button {
        font-size: 26px;
      }

      #links {
        position: relative;
        bottom: 10px;
        left: 0px;
      }

      .navlink {
        padding: 5px;
      }

      #hero {
          height: 40vh;
          background-position: right bottom; /* Adjust position for smaller screens */
      }

      #hero_text {
          bottom: 40px;
          right: 40px;
          text-align: right;
      }

      #hero h2 {
          /* font-size: 2.5; */
          font-size: max(2.5vw, 20px);
      }

      #slogan-block h1 {
          font-size: 1.5em;
      }

      #slogan-block h2 {
          font-size: 1em;
      }

      .bio-list li {
          font-size: 1em;
      }

      .bio-item {
        width: 100%;
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 20px;
        height:fit-content;
      }
    }
  }
}



/* ######### BLOG STYLES ######### */

.list-title-header {
    font-size: 1.6em;
}

.list-item {}

.list-item-header {
    margin-bottom: 30px;
}

.list-item-title h1 {
    margin-bottom: 3px;
}
.list-item-title h2 {
    font-size: 2.0em;

}
.list-item-title a {
    text-decoration: none !important;
}

.list-item-header-meta span {
    color: #B8CEBE;
    font-style: italic;
}

.list-item-date {
    margin-right: 10px;
}

.list-item-author {
    margin-right: 10px;
}
