* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.no-posts-message {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem; /* Adjust the size as needed */
  height: 200px; /* Adjust the height for centering */
  color: #555; /* Optional: Adjust the color */
  font-weight: bold;
}

.highlight {
  background-color: yellow; /* Or any color you prefer */
  font-weight: bold;
}

body {
  background-color: #fae9df;
}

nav {
  display: flex;
  justify-items: center;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 4px solid #fff3ee;
}

.logo img {
  width: 90%;
  padding-left: 50px;
}
.nav-menu {
  display: flex;
  justify-content: space-evenly;
  justify-items: center;
  list-style: none;
  width: 600px;
  z-index: 100;
}

.hambuger-menu {
  margin-top: -20px;
  width: 35px;
  height: 25px;
  cursor: pointer;
  display: none;
}

.hambuger-menu .bar {
  width: 100%;
  height: 4px;
  margin: 5px auto;
  background-color: #9e4021;
  border-radius: 10px;
}

.close-button {
  display: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  margin-left: 80%;
  margin-bottom: 30px;
  margin-top: 20px;
}

.close-button .bar {
  width: 100%;
  height: 4px;
  margin: 5px auto;
  background-color: #9e4021;
  border-radius: 10px;
}

button:hover {
  cursor: pointer;
  box-shadow: 1px 2px 8px #b1693d;
  transition: 1s;
}

a {
  text-decoration: none;
}

li {
  color: #9e4021;
  font-size: 18px;
  margin-top: 5px;
  transition: 90ms;
}

.navlink:hover,
.active {
  cursor: pointer;
  padding-bottom: 1px;
  border-bottom: 2px solid #9e4021;
  text-decoration-color: #9e4021;
}

li:hover {
  cursor: pointer;
  padding-bottom: 1px;
  border-bottom: 2px solid #9e4021;
  text-decoration-color: #9e4021;
}

.nav-menu {
  border-bottom: none;
}

.cta-btn {
  padding: 7px;
  font-size: 18px;
  background-color: #9e4021;
  border: none;
  border-radius: 5px;
  color: #fff3ee;
  letter-spacing: 1.5px;
}

.blog-hero {
  margin: 86px;
  margin-top: 50px;
}

.blog-hero h1 {
  font-size: 70px;
  font-weight: 800;
  color: #833200;
  width: 20%;
}

form {
  width: 100%;
  height: 50%;
  position: relative;
  margin-top: 50px;
  border-radius: 50px;
}

.blog-hero input[type="text"] {
  width: 100%;
  padding: 30px;
  height: 100%;
  border-radius: 50px;
  outline: none;
  border: 2px solid #833200;
  font-size: 20px;
  box-shadow: none;
  color: #9e4021;
  background: rgb(253, 247, 243);
}

::placeholder {
  color: #833200;
  font-size: 20px;
}

.blog-hero button {
  color: #833200;
  position: absolute;
  margin-top: 10px;
  top: 0;
  right: 5px;
  height: 70%;
  border-radius: 50%;
  width: 80px;
  cursor: pointer;
  box-shadow: none;
  border: none;
  background-color: rgb(253, 247, 243);
}

.blog-post {
  background-color: rgb(241, 207, 197);
  padding: 50px;
  padding-left: 100px;
}

.blog-post h1 {
  font-size: 60px;
  font-weight: 600;
  color: #833200;
  margin-bottom: 20px;
}

.post-text a {
  color: #833200;
}

.post-text p a {
  color: #833200;
  font-weight: 600;
}

.blog-post h2 {
  font-size: 50px;
  font-weight: 600;
  color: #833200;
  margin-bottom: 20px;
}

.post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.post h4 {
  font-size: 20px;
  font-weight: 600;
  color: #833200;
  margin-bottom: 20px;
}

.post p {
  font-size: 20px;
  font-weight: 400;
  color: #9e4021;
  line-height: 35px;
  margin-top: 20px;
  width: 90%;
}

p a {
  color: #9e4021;
}

.post-text {
  width: 100%;
}

.post-img {
  width: 100%;
}

.post-img img {
  width: 80%;
  border-radius: 8px;
  box-shadow: 5px 5px 8px rgba(105, 104, 104, 0.5);
}

.blog-section {
  margin-bottom: 10%;
}

#subscribe-section {
  width: 70%;
  margin: 50px auto;
  padding-top: 50px;
}

.subscribe-card {
  background-color: #da9;
  color: #fff;
  padding: 50px 30px;
}

.subscribe h2 {
  margin-bottom: 15px;
  font-size: 25px;
}

.subscribe p {
  font-size: 20px;
  margin-bottom: 15px;
}

input {
  width: 60%;
  padding: 8px;
  font-size: 18px;
  border: none;
  outline: none;
  margin-bottom: 15px;
  border-radius: 3px;
}

#sub-btn {
  margin-top: 12px;
}

.questions i.active .answers {
  max-height: 300px;
  transition: 0.5s;
}

/*------- FOOTER --------*/

footer {
  background-color: #9e4021;
}
.footer-links {
  margin-top: 50px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  color: #fff3ee;
}

.footer-logo img {
  width: 40%;
  min-width: 200px;
  margin-top: 20px;
}

.footer-col1 {
  margin-left: 70px;
}

.about-links {
  width: 35%;
  /* min-width: 0px; */
  margin-top: 50px;
  line-height: 40px;
}

.links {
  display: flex;
  justify-content: space-around;
  width: 70%;
}

.about-links a {
  color: #fff3ee;
}

.mail-link {
  margin-top: 20px;
  font-size: 15px;
}

.mail {
  color: #fff3ee;
}

#programs-links {
  text-decoration: underline 0.1em rgba(14, 0, 0, 0);
  transition: text-decoration-color 300ms;
}

#programs-links:hover {
  text-decoration-color: #fff3ee;
}

.rounded-icons {
  width: 30px;
  height: 30px;
  border: 1px solid #fff3ee;
  display: inline-flex;
  color: #fff3ee;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  margin-right: 0.5rem;
  margin-top: 15px;
}

#twitter-icon:hover {
  color: #1da1f2;
  background-color: #fff;
  transition: 1s;
  border-color: white;
}

#youtube-icon:hover {
  color: #ff0000;
  background-color: #fff;
  transition: 1s;
}

#threads-icon:hover {
  color: white;
  background-color: black;
  transition: 1s;
  border-color: black;
}

#instagram-icon:hover {
  color: white;
  background-image: linear-gradient(to right, #feda75, #ee2a7b, #6228d7);
  transition: 1s;
  border: none;
}

.copyright {
  border-top: 2px solid #fff3ee;
  margin-top: 20px;
}
.copyright-text {
  width: 260px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  color: #fff3ee;
  margin-top: 10px;
  padding-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .logo img {
    width: 70%;
    padding-left: 10px;
  }

  .hambuger-menu {
    display: block;
  }

  nav {
    border-bottom: none;
    padding-left: 10px;
  }

  .nav-menu {
    display: block;
    position: fixed;
    padding-top: 20px;
    width: 100%;
    height: 100vh;
    font-weight: 600;
    line-height: 40px;
    background-color: #fae9df;
    left: 0%;
    text-align: center;
    top: 0%;
    font-size: 30px;
    transition: 1s;
  }

  .nav-menu.active {
    left: 100%;
  }

  .nav-menu a {
    margin-top: 50px;
  }

  .nav-menu .close-button {
    display: block;
  }

  .close-button .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .close-button .bar:nth-child(2) {
    opacity: 0;
  }

  .close-button .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  li:hover,
  .active {
    border-bottom: none;
  }

  li:hover {
    opacity: 0.6;
  }

  .nav-menu button {
    display: none;
  }

  .blog-hero {
    margin: 20px;
  }

  .blog-hero h1 {
    width: 100%;
    font-size: 50px;
  }

  form {
    position: static;
  }

  .blog-hero input[type="text"] {
    padding: 10px;
    font-size: 17px;
    margin-top: 0px;
  }

  .blog-hero button {
    /* position: static; */
    display: none;
    position: fixed;
    width: 25px;
    height: 25px;
    float: right;
    margin-right: 10%;
    margin-top: 100px;
    background-color: transparent;
  }

  ::placeholder {
    font-size: 17px;
  }

  .blog-post {
    padding: 20px;
  }

  .blog-post h1 {
    font-size: 40px;
  }

  .blog-post h2 {
    font-size: 25px;
  }

  .post {
    display: flex;
    flex-direction: column-reverse;
    gap: 0px;
  }

  .post {
    width: 100%;
  }

  .post-text p {
    width: 100%;
  }

  .subscribe p {
    font-size: 17px;
    width: 100%;
  }

  #subscribe-section {
    width: 100%;
    margin-bottom: 0;
    margin-top: -55px;
  }

  input {
    width: 90%;
    padding: 8px;
    font-size: 18px;
  }

  #sub-btn {
    width: 90%;
  }

  .footer-links {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-top: 0;
    margin-left: 0;
    padding: 10px;
    width: 100%;
    gap: 25px;
  }

  .footer-col1 {
    width: 70%;
    line-height: 25px;
    margin: 20px;
  }

  .footer-logo img {
    width: 70%;
    min-width: 100px;
  }
  .links {
    display: flex;
    flex-direction: column-reverse;
    margin-left: 0px;
    width: 100%;
  }

  .about-links1 {
    margin-top: 50px;
    line-height: 25px;
    width: 100%;
  }

  .about-links {
    width: 100%;
    line-height: 25px;
    margin-top: 25px;
  }

  .about-links1 h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.4px;
  }

  .rounded-icons {
    width: 25px;
    height: 25px;
  }

  i {
    width: 18px;
    text-align: center;
  }

  .about-links h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.4px;
  }

  .mail-link {
    width: 50%;
    font-size: 12px;
  }
}
