a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.shared-header {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  z-index: 9;
  background: url('img/kidane_mihret_header.jpg') center center repeat;
  background-size: contain;
  position: relative;
  
}

.shared-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Adjust opacity for darkness */
  z-index: -1;
  pointer-events: none;
}

.shared-header > * {
  position: relative;
  z-index: 2;
}

.nav__header {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo {
  display: flex;
  /* background-color: rgba(132, 141, 148, 0.9); */
  padding: 5px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
}

.nav__logo p {
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}



.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links li a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btns {
  display: none;
}

.carousel-wrapper {
  max-width: 500px; /* Adjust as needed */
  margin: 0 auto;
}

.carousel-inner img {
  max-height: 500px; /* Adjust as needed */
  object-fit: cover;
}

#blog-content h5 {
  color: #2a4d69;
  font-weight: 500;
}

  @media(width > 768px) {
    nav {
      position: static;
      padding: .5rem .2rem;
      margin-inline: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    .nav__header{
      flex: 1;
      padding: 0;
      background-color: transparent;
    }
    .nav__logo .logo{
      color: var(--text-dark);
    }
    .nav__menu__btn{
      display: none;
    }
.nav__links{
  position: static;
  width: fit-content;
  padding: 0;
  flex-direction: row;
  background-color: transparent;
  transform: none !important;
}

.nav__links {
    z-index: 1;
}


.nav__links a{
  color: var(--text-dark);
}

.nav__links a:hover{
  color: var(--primary-color);
}

.nav__links li:last-child{
  display: none;
}

.nav__btns{
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav__btns .language-selector {
  position: relative;
  right: 20px; /* Adjust the distance from the right */
  display: flex;
  gap: 10px;
  align-items: end;
}

.nav__btns .language-selector a {
  text-decoration: none;
}

.lang-icon {
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease;
}

.language-selector a:last-child .lang-icon {
  width: 30px;
  height: 30px;
}

.lang-icon:hover {
  transform: scale(1.1);
}
  }

