/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  overflow-x: hidden;
}

/* HEADER BASE */


.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* NAVIGATION */
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul li a {
  color: rgb(10, 8, 8);
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  color: #00aced;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: rgb(8, 8, 8);
}

/* SIDEBAR - MOBILE */
.sidebar {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: #111;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    padding-top: 5rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .sidebar.active {
    right: 0;
  }

  .sidebar ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    display: flex;
  }
}

/* CLOSE BUTTON */
.close-btn {
  display: none;
  color: white;
  font-size: 2rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

@media (max-width: 768px) {
  .close-btn {
    display: block;
  }

  .sidebar.active .close-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar.active ~ .overlay {
  opacity: 1;
  pointer-events: all;
}

.profile-icon {
  cursor: pointer;
}

.profile-icon img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007bff;
}

.profile-icon i {
  font-size: 34px;
  color: #007bff;
}












