

/*===============================================/
  CLOSE BUTTON (X)
================================================*/
#mobile-exit {
  color: #777;
  background-color: transparent;
  /* background-color: pink; */
  border: none;
  border-radius: 100%;
  padding: 4px;
  cursor: pointer;
  z-index: 999;
  position: absolute;
  right: 15px;  
  transition: all 0.3s ease-in-out; 
}
#mobile-exit svg {
  width: 100%;
  height: 2rem;
}
#mobile-exit:hover {
  color: #333;
  background-color: #ebebeb;
}

/*===============================================/
  OFFCANVAS SECTION
==================================================*/

#offcanvas {
  color: var(--body-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;
}

/*===============================================/
  LAYER OVERLAY 
==================================================*/
.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;
}
