* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* ::-webkit-scrollbar {
  display: none;
} */

.bgp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu_mobil {
  display: none;
}
/* ENCABEZADO */

.encabezado {
  display: flex;
  width: 100%;
  height: 100px;
  align-items: center;
  background-color: #ffffff;
}

.encabezado_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}

.encabezado_logo img {
  width: 240px;
  height: 50px;
}

.encabezado_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
}

.menu_items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 65%;
}

.menu_items a {
  font-size: 14px;
  font-family: arial;
  text-decoration: none;
  white-space: nowrap;
}

.menu_activo {
  color: #32375f;
  font-weight: bold;
}

.menu_no_activo {
  color: #656565;
}

/* SUBMENU */
.item_menu {
  position: relative;
}
.item_menu:hover > .submenu_container {
  display: block;
}
.item_menu .submenu_container {
  position: absolute;
  top: 100%;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.911);
  display: none;
  transition: 0.2s all;
  padding-top: 10px;
}
.item_menu .submenu_container a {
  display: block;
  padding: 10px;
  color: #656565;
  font-size: 0.7rem;
  border-bottom: 1px solid #32375f28;
}
.item_menu .submenu_container a:hover {
  background-color: #dddddd57;
}
/* SUBMENU */

@media (min-width: 1025px) and (max-width: 1280px) {
  .menu_items {
    width: 80%;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .encabezado {
    justify-content: space-around;
  }
  .encabezado_logo {
    width: 20%;
  }
  .encabezado_logo img {
    height: auto;
    width: 100%;
  }
  .menu_items {
    width: 100%;
  }
  .menu_items a {
    font-size: 12px;
  }
  .menu_items > a,
  .item_menu > a {
    border-right: 1px solid #32375f;
    border-left: 1px solid #32375f;
    padding: 0px 5px;
  }
  /* .menu_items > a:last-child {
      border-right: none;
    } */
}
@media (min-width: 481px) and (max-width: 767px) {
  .encabezado {
    justify-content: space-around;
    height: 100px;
  }
  .encabezado_logo {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  .encabezado_logo > img {
    height: auto;
    width: 40%;
  }
  .encabezado_logo .menu_mobil {
    width: 10%;
    display: flex;
    justify-content: flex-end;
  }
  .encabezado_logo .menu_mobil img {
    height: 100%;
    width: auto;
  }
  .encabezado_menu {
    position: fixed;
    top: 100px;
    width: 100vw;
    height: calc(100vh - 100px);
    z-index: 5;
    background-color: #ffffff;
    left: -100%;
    transition: 0.3s all;
  }
  .encabezado_menu.menu-active {
    left: 0px;
  }
  .encabezado.menu-active {
    position: fixed;
    top: 0;
    z-index: 10;
  }
  .encabezado_menu .menu_items {
    flex-direction: column;
  }
  .menu_items > a,
  .menu_items .item_menu {
    width: 100%;
    padding: 10px;
  }
  .menu_items .submenu_container {
    position: relative;
    display: block;
  }
}
@media (min-width: 320px) and (max-width: 480px) {
  .encabezado {
    justify-content: space-around;
    height: 80px;
  }
  .encabezado_logo {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  .encabezado_logo > img {
    height: auto;
    width: 40%;
  }
  .encabezado_logo .menu_mobil {
    width: 10%;
    display: flex;
    justify-content: flex-end;
  }
  .encabezado_logo .menu_mobil img {
    height: 100%;
    width: auto;
  }
  .encabezado_menu {
    position: fixed;
    top: 80px;
    width: 100vw;
    height: calc(100vh - 80px);
    z-index: 5;
    background-color: #ffffff;
    left: -100%;
    transition: 0.3s all;
  }
  .encabezado_menu.menu-active {
    left: 0px;
  }
  .encabezado.menu-active {
    position: fixed;
    top: 0;
    z-index: 10;
  }
  .encabezado_menu .menu_items {
    flex-direction: column;
  }
  .menu_items > a,
  .menu_items .item_menu {
    width: 100%;
    padding: 10px;
  }
  .menu_items .submenu_container {
    position: relative;
    display: block;
  }
}
