* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  font-family: sans-serif;
  background-color: white;
}

/* Sidebar */
.sidebar {
  width: 220px;
  min-height: 100vh;
  background-color: white;
  color: white;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo img {
  width: 200px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.logo h2 {
  font-size: 1.2rem;
  color: #000000;
}

nav ul {
  list-style: none;
  width: 100%;
  padding: 0;
}

nav ul li {
  margin-bottom: 0.25rem;
}

nav ul li a {
  text-decoration: none;
  color: #000000;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

nav ul li a:hover {
  background-color: #bebebe;
  color: #ffffff;
}

/* Main content */
.main-content {
  flex-grow: 1;
  padding: 2rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-item {
  background-color: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.grid-item img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px #000;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
