/*===============================================/
  OFFCANVAS Toogler
================================================*/
/*É necessário criar um modulo HTML*/
.toogler-area {
    padding: 0 20px 0 0;
    /* background-color: aqua; */
  }
  .toogler-area #mobile-cta {
    color: #534361;
    font-size: 32px;
    cursor: pointer;
    background-color: transparent;
    border: none;
  }
  .toogler-area #mobile-cta:hover {
    color: #2c2631;
    font-weight: bold;
  }
  .toogler {
    cursor: pointer;
  }


/*===============================================/
  OFFCANVAS SECTION
==================================================*/

#offcanvas {
  color: var(--grey-dark-color);
  position: fixed;
  display: block;
  height: 100vh;
  width: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  backdrop-filter: blur(1rem);
  padding: 1em;
  z-index: 9999;
  top: 0;
  opacity: 1;
  transition: transform 350ms ease-out, opacity 350ms ease-out;
}

/*ABRIR DO LADO DIREITO*/
#offcanvas {
right: 0;
transform: translateX(100%);
} 
/*ABRIR DO LADO ESQUERDO*/
/* #offcanvas {
  left: 0;
  transform: translateX(-100%);
} */

#offcanvas a {
  color: var(--grey-dark-color);
}
#offcanvas a:hover {
  color: var(--dark-color);
}
#offcanvas * {
  visibility: hidden;
  /* visibility: visible; */
}
#offcanvas.show {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}
#offcanvas.show * {
  visibility: visible;
}

/*
  Exit Toggler
*/
#mobile-exit {
  font-size: 30px;
  font-weight: normal;
  cursor: pointer;
  z-index: 999;
  position: absolute;
  right: 15px;
  background-color: transparent;
  border: none;
  color: #777;
  transition: all 0.3s ease-in-out;
  border-radius: 100%;
  padding: 5px;
}
#mobile-exit:hover {
  /* color: #57c7ff; */
  /* transform: rotate(0deg); */
  /* transform: rotate(0deg); */
  color: #333;
  background-color: #ebebeb;
}

/*
  OVERLAY LAYER
*/
.overflow {
  overflow: hidden;
}
#overlay.display {
  position: fixed;
  z-index: 9980;
  width: 100%;
  right: 0;
  top: 0;
  background-color: rgba(23, 23, 27, 0.85);
  backdrop-filter: blur(1px);
  height: 100vh;
  overflow: hidden;
}
