:root {
  --PrimaryColor: #137695;
  --TitlesColor: #043c4d;
  --LegendsColor: #8c9394;
  --MenuHoverColor: #00c3ff;
  --ButonTextColor: #ffffff;
}

.principal-nav {
  width: 100%;
  height: 60px;
  background: linear-gradient(to right, white 50%, var(--TitlesColor) 50%);
  position: fixed;
  z-index: 99;
}

.principal-nav .container {
  max-width: none;
  width: 100%;
  height: 60px;
  padding: 0;
  background-color: var(--TitlesColor);
  position: relative;
}

.principal-menu {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-menu {
  width: 200px;
  height: 100%;
  background-color: #ffffff;
  border-radius: 0 20px 0 0;
  padding-right: 20px;
}

.logo-menu img {
  width: 150px;
  margin-top: 12px;
  margin-left: 20px;
}

.menu-list {
  width: 60%;
  max-width: 600px;
  display: flex;
  justify-content: space-around;
}

.menu-list li {
  display: inline-block;
  list-style: none;
  font-size: 15px;
}

.menu-list > li::after {
  content: "";
  width: 0px;
  height: 1px;
  display: block;
  transition: 0.8s;
  background-color: #00c3ff;
}

.menu-list li:hover::after {
  width: 100%;
}

.menu-list li a,
.menu-list span {
  color: var(--ButonTextColor);
  text-decoration: none;
  cursor: pointer;
}

.other-link {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
  width: 20%;
  max-width: 200px;
  margin-right: 20px;
}

.other-link .whatsapp-button {
  margin: 0;
  color: #ffffff;
  text-align: center;
}
.other-link a {
  color: #0e95be;
  text-decoration: none;
}

.solution-sub-menu {
  display: block;
}

.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: -1000%;
  right: 50%;
  transform: translate(50%, 0%);
  width: 50%;
  padding: 10px 10px;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgba(85, 85, 85, 0.026);
  transition: 0.5s;
}

.sub-menu li {
  display: block;
  padding: 10px 10px 15px 10px;
  background-color: #f5f5f500;
  border: 1px solid var(--PrimaryColor);
  border-radius: 20px 20px 0px 20px;
  transition: 0.5s;
}

.sub-menu li:hover {
  border: 1px solid #0ebcf1;
}

.menu-list .sub-menu li a {
  color: var(--PrimaryColor);
  transition: 0.5s;
  font-weight: 400;
  margin-top: -20px;
}

.menu-list .sub-menu li a:hover {
  color: rgb(0, 185, 209);
}

.sub-menu li::before {
  content: "";
  width: 45px;
  height: 45px;
  top: 6px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-image: url(../images/industriaIcon.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 5px;
  opacity: 0.5;
}

.sub-menu li a::after {
  content: "lorem ipsum is dolor asmet";
  font-size: 12px;
  display: block;
  width: 80%;
  margin-left: 55px;
  margin-top: -10px;
  color: var(--LegendsColor);
  background-color: #00c3ff00;
  font-weight: 300;
}

/* ----------------------TEXT SUB MENU--------------------*/

.aplication-sub-menu li:first-of-type a::after {
  content: "Veja como nossas soluções se aplicam em Indústrias";
}

.aplication-sub-menu li:nth-of-type(2) a::after {
  content: "Veja como nossas soluções se aplicam em Supermercados";
}

.solution-sub-menu li:nth-of-type(1) a::after {
  content: "Explore as possibilidades de infraestrutura com a Bit Energy";
}

.solution-sub-menu li:nth-of-type(2) a::after {
  content: "Saiba mais sobre o nosso Software";
}
.solution-sub-menu li:nth-of-type(3) a::after {
  content: "Entenda como nossos serviços geram resultado";
}
/* ----------------------------------------*/

/* ----------------------ICONES SUB MENU--------------------*/

.sub-menu li:first-of-type::after {
  background-color: #00c3ff00;
}

.aplication-sub-menu li:first-of-type::before {
  background-image: url(../images/icones/SM-ICON-INDUSTRIES.png);
}

.aplication-sub-menu li:nth-of-type(2)::before {
  background-image: url(../images/icones/SM-ICON-SUPERMARKET.png);
}

.solution-sub-menu li:nth-of-type(1)::before {
  background-image: url(../images/icones/SM-ICON-INFRA.png);
}

.solution-sub-menu li:nth-of-type(2)::before {
  background-image: url(../images/icones/SM-ICON-SOFTWARE.png);
}
.solution-sub-menu li:nth-of-type(3)::before {
  background-image: url(../images/icones/SM-ICON-SERVICES.png);
}
/* ----------------------------------------*/

.sub-menu li a {
  color: #585858;
  font-weight: bolder;
}

.sub-menu-active {
  top: 60px;
  transition: 0.5s;
}

.icon-menu-mobile {
  display: none;
}

@media (max-width: 950px) {
  .menu-list {
    position: absolute;
    display: block;
    width: 100%;
    max-width: none;
    background-color: #effbff;
    height: 100vh;
    top: 60px;
    right: 100%;
    margin: 0;
    padding-top: 30px;
    transition: 0.3s;
  }

  .active {
    right: 0;
  }

  .menu-list li {
    display: block;
    padding: 20px 10px;
  }
  .menu-list li a,
  .menu-list span {
    color: #606060;
  }

  .other-link {
    display: none;
  }

  .icon-menu-mobile {
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
  }
  .icon-menu-mobile .line {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
  }
  .sub-menu {
    position: relative;
    top: 0;
    right: 50%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    border: 0;
    height: 0px;
    overflow: hidden;
    transition: 1s;
    display: none;
  }
  .sub-menu-active {
    top: 0px;
    height: auto;
    display: block;
  }
  .sub-menu li {
    border: 0;
  }
}
