
.menu {
  /* background-color: #1A202C; */
  /* border: solid 1px #1A202C; */
  border-radius: 5px;
  color: #fff;
  height: 70px;
  

}

.menu__principal {

  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  background-color:  var(--color-quaternary);
  font-size: smaller;
 
  
}

.cabecera__phone, .telefono, .cabecera__correo, .correo, .redes__sociales {
  font-size: 1.5vw;
  font-weight: 700;
  /* font-size: smaller; */
  /* color: brown; */
}

.cabecera__phone, .telefono, .cabecera__correo, .correo, .redes__sociales {
  list-style: none;
	text-decoration: none;
}

.menu__logo {
  width: 12vw;
  margin-left: 7px;
  margin-top: 5px;
  
}

.menu__principal-ul{

  list-style: none;
  position: relative;
  height: 100%;
  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --transform: rotate(-90deg);
}

.menu__principal-ul{
  height: 100%;
  transition: transform .5s;
  display: flex;
}

.menu__principal-li{
  list-style: none;
  position: relative;
  height: 100%;
  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --transform: rotate(-90deg);
  
  
}


.menu__principal-li:hover{
  --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  --transform: rotate(0);
  list-style: none;
	text-decoration: none;
}

.menu__principal-link{
  color: #fff;
  text-decoration: none;
  padding: 0 30px;
  display: flex;
  height: 100%;
  align-items: center;
  margin: 0px 10px;
}

.menu__principal-link:hover{
  /* background-color: #5e7094; */
  background-color:darkgrey;
}

.menu__principal-link:hover .menu__principal-link--inside:hover {
  background-color:darkgrey;
}
.dropdown-item:hover {
  background-color:darkgrey !important;
}

.menu__arrow{
  transform: var(--transform);
  transition: transform .3s;
  display: block;
  margin-left: 3px;
}

.menu__nesting{
  list-style: none;
  transition:clip-path .3s;
  clip-path: var(--clip);
  position: absolute;
  right: 0;
  bottom: 0;
  width: max-content;
  transform: translateY(100%);
  background-color: #000;
  color: white;
}

.menu__link--inside{
  padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
  background-color: #798499;
}


.menu__principal-link--inside{
  /* padding: 30px 100px 30px 20px; */
  padding: 10px 13px 10px 50px;
}

.menu__principal-link--inside:hover{
  background-color: #798499;
}

.menu__hamburguer{
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  cursor: pointer;
  display: none;
}

.menu__img{
  display: block;
  width: 36px;
}


/* ----------------------------------------- */
/* -----        Meia Queroes           ----- */
/* ----------------------------------------- */

@media (max-width:800px){
  .menu__logo {
    margin-left: 20px;
    color: #fff;
  }

  .menu__hamburguer{
      display: flex;
  }

  .menu__principal-li{
      --clip:0;
      overflow:hidden ;
  }

  .menu__principal-li--active{
      --transform: rotate(0);
      --background: #5e7094;
  }

  .menu__principal-li--show{
      background-color: var(--background);
  }


  .menu__principal-ul{
      position: fixed;
      max-width: 200px;
      width: 100%;
      top: 170px;
      bottom: 0;
      right: 0;
      background-color: #000;
      overflow-y: auto;
      display: grid;
      grid-auto-rows: max-content;
      transform: translateX(100%);
      /* margin-right: 3%; */
      font-size: 12px;
      font-size: smaller;
  }

  .menu__principal-ul--show{
      transform: unset;
      width: 100%;
  }

  .menu__principal-link{
      padding: 5px 0;
      padding-left: 30px;
      height: auto;
  }

  .menu__arrow{
      margin-left: auto;
      margin-right: 20px;
  }

  .menu__nesting{
      display: grid;
      position: unset;
      width: 100%;
      transform: translateY(0);
      height: 0;
      transition: height .3s;
  }

  .menu__principal-link--inside{
      width: 100%;
      margin-left: auto;
      border-left: 1px solid #798499;
  }
  .menu__principal-link:hover {
    background-color:darkgrey;
  }
  

  
}