@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');

/* Sidebar Menu */
.sidebar {
    height: 100%;
    width: 0; /* Start with width 0 to keep the sidebar hidden */
    position: fixed;
    z-index: 150;
    right: 0; /* Align to the right side of the screen */
    overflow-x: hidden; /* Prevent horizontal scroll */
    opacity: 0;
    transition: 0.3s ease-in-out; /* Smooth transition for opening and closing */
    background-color: rgb(0, 0, 0);
  }

  /* Sidebar Content */
  .sidebar-content {
    position: fixed;
    text-align: center;
    letter-spacing: 0.05em;
    font-family: "Arial";
    top: 30%;
  }

  .sidebar-text a {
    padding: 16px 4vw;
    font-size: 1.5vw;
    text-decoration: none;
    display: block;
    width:100%;
    color:rgb(170, 170, 170);
    transition: 0.3s;
    transform: scale(1);
    justify-content: center;
    font-weight: bold;
  }

  .sidebar-text a:hover {
    transition: 0.3s;
    color: black;
    background-color: rgb(255, 210, 11);
    transform: scale(1);
  }

  .sidebar-text a:active {
    transition: 0.15s;
    transform: scale(1);
    background-color: rgb(79, 17, 141);
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
  }

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-text.active {
  opacity: 1;
  visibility: visible;
}

.okButton {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 12vw;
  height: 7vh;
  border-radius: 1.5vw;
  background-color: rgb(50, 50, 50);
  color:white;
  border: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  font-size: medium;
  visibility: hidden;
  transition: 0.3s;
  z-index: 101;
  box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.404);
  transform-origin: center;
}

.okButton:hover {
  background-color: rgb(231, 200, 0);
  transform: translate(-50%, -50%) scale(1.1);
  color: black;
}

.okButton:active {
  background-color: rgb(121, 29, 187);
  transform: translate(-50%, -50%) scale(0.9);
  color: black;
}

.okButton.active {
  opacity: 1;
  visibility: visible;
}