header {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  z-index: 1;
  padding-left: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.topo_logo {
  margin: 0 auto;
}
.topo_logo :hover {
  filter: drop-shadow(0.5px 0.5px 1px rgba(17, 17, 17, 0.09));
}
.menu {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: rgba(129, 144, 191, 0.141);
  border-radius: 5px;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}
.anchor_header li:hover {
  background-color: #3f0b0b(129, 144, 191, 0.18);
}
.anchor_header li:hover .menus {
  font-weight: 500;
}

.show_menu .menu_nav {
  display: inline-flex;
  animation: fadeIn 1s;
}
.button_adm:hover {
  filter: brightness(1.3);
}

.logo {
  height: 50px;
}
.logo2 {
  background-color: #183248;
  width: 208px;
  height: 49px;
  padding: 3px;
  width: 100%;
}
ul.anchor_header {
  list-style: none;
  width: 100%;
}
.anchor_header li {
  padding: 10px 0;
}
.menu_nav {
  display: none;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: left;
  /* background-color: #fafafa; */
  width: 100%;
  background-color: rgba(255, 255, 255, 0.501);
}
.menus,
.logo2 {
  color: #2f3139;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  width: 100%;
  border-radius: 5px;
}

.button_adm {
  margin-top: 10px;
  width: 100%;
}
.bar1,
.bar2,
.bar3 {
  width: 30px;
  height: 3px;
  background-color: #2f3139;
  margin: 6px 0;
  transition: 0.4s;
}
.change .bar1 {
  transform: rotate(-45deg) translate(-7px, 6px);
  -webkit-transform: rotate(-45deg) translate(-7px, 6px);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  transform: rotate(45deg) translate(-6px, -8px);
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (min-width: 769px) {
  header {
    flex-direction: initial;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
  }
  .menu {
    display: block;
    width: 100%;
    position: relative;
    background-color: #f4f3f300;
  }

  .bar1,
  .bar2,
  .bar3 {
    display: none;
  }
  .logo2 {
    border-radius: 24px;
    width: 208px;
    float: right;
  }

  ul.anchor_header {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: 65%;
  }
  .menu_nav {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: #f4f3f300;
    flex-wrap: nowrap;
  }
  .anchor_header li:hover {
    background: linear-gradient(#63130d, #63130d) bottom/ 60% 2px no-repeat,
      #ccc;
    background-color: rgba(240, 255, 255, 0);
  }
  .menus,
  .logo2 {
    margin: 0 5px;
    font-size: 0.95rem;
  }
  .button_adm {
    width: 208px;
    margin-left: 15px;
  }
}

@media screen and (min-width: 1020px) {
  .topo_logo {
    margin: 0 0;
  }
  header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
  }
  .menu {
    display: flex;
    width: 72%;
    position: relative;
    background-color: #f4f3f300;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    align-content: center;
    flex-wrap: nowrap;
    margin: 0;
    max-width: 850px;
  }
  .bt_menu {
    display: none;
  }
  .logo2 {
    border-radius: 24px;
    width: 208px;
    float: right;
  }

  ul.anchor_header {
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: 70%;
    max-width: 550px;
  }
  .anchor_header li {
    margin-left: 0;
    margin-top: 0;
  }
  .menu_nav {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: #f4f3f300;
    width: 100%;
    flex-wrap: nowrap;
  }
  .menus {
    display: block;
    margin: 0;
  }
  .logo2 {
    margin: 0 0 0 14px;
  }
  .button_adm {
    width: 208px;
    margin: 0;
    float: none;
  }
}
