
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  font-family: "Open Sans";
  min-width: 320px;
}


.top-bar {
  background-color: rgb(2, 57, 2);
  width: 100%;
}

.header__btn {
  text-align: right; 
  padding: 5px 10px;
}

.header__btn-tj {
  width: 35px;
  height: 35px;
  font-size: 1rem;
  border-radius: 50%;
  color: white;
  background-color: rgb(2, 57, 2);
  border: none;
  cursor: pointer;
}


.mf-header-content {
  background-color: rgb(5, 76, 5);
  width: 100%;
  padding: 15px 20px;
  box-sizing: border-box;
}


.mf-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.header__log-img {
  height: 70px;
}

.header__text-after-img {
  font-size: 1.3rem;
  margin: 0;
  white-space: nowrap;
}


.search-container {
  width: 200px; 
  max-width: 100%; 
}

.search-container form {
  display: flex;
  width: 100%;
  box-sizing: border-box; 
}

.search-container input {
  width: 100%;
  height: 40px;         
  padding: 6px 10px;
  font-size: 16px;
  border: 5px solid #fff;
  border-radius: 8px 0 0 8px;
  outline: none;          
  box-sizing: border-box;
}

.search-container input:focus {
  outline: none;
  box-shadow: none;
}

.search-container button {
  height: 40px;         
  padding: 0 10px;
  background: #fff;
  color: #4c526d;
  border: 5px solid #fff; 
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  box-sizing: border-box;
}


.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 3px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 0 0 15px;
}

.menu li.open ul {
  display: block;
}

@media(max-width: 992px) {
  .search-container {
    width: 150px; 
  }
}

@media(max-width: 768px) {
  .mf-header-inner {
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px;
  }

  .logo-text {
    justify-content: flex-start;
    text-align: left;
  }

  .search-container {
    width: 100px;  
    max-width: 90%; 
    margin-top: 6px;
  }

  .search-container form {
    flex-direction: row;
    width: 100%;
  }

  .search-container input,
  .search-container button {
    width: auto;
  }
}

@media(max-width: 500px) {
  .header__text-after-img {
    font-size: 1rem;
  }

  .search-container input {
    font-size: 14px;
  }
}
