#header header {
  background-color: #4589ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 999;
}

#header header .logo {
  width: 32px;
  padding: 16px;
  margin-left: 16px;
}

#header header .profile {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 16px;
  margin-right: 16px;
}

#header header .profile p {
  color: white;
  cursor: pointer;
}

#header header #none {
  display: flex;
  align-items: center;
  gap: 16px;
}

#header header .profile .help-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
}

#header header .profile .help-icon:hover {
  transform: scale(1.1);
}

#header header .profile h4 {
  color: #4589ff;
  background-color: white;
  border: 2px solid #4589ff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 0 0 3px white;
  margin: 16px 0;
  cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  pointer-events: auto;
  overflow: hidden;
}

.overlay-content {
  position: absolute;
  top: 108px;
  right: 8px;
  padding: 16px;
  border-radius: 8px;
  text-align: right;
  width: auto;
  background-color: white;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4), -2px 0 4px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.overlay-content a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 8px 0;
  border-radius: 8px;
  transition: transform 0.2s ease;
  text-align: right;
}

.overlay-content a:hover {
  background-color: #d2e3ff;
  transform: scale(1.05);
}

.overlay-content a.help {
  display: none;
}

@media (max-width: 1024px) {
  .overlay-content a.help {
    display: block;
  }
  .overlay-content a {
    color: #4589ff;
  }
  .profile p {
    display: none;
  }
  #header header .profile #none a[href="../pages/help.html"] {
    display: none;
  }
  .overlay-content {
    border-top-right-radius: 0px;
    top: 80px;
    right: 40px;
  }
}
