body {
  margin: 0;
  font-family: 'Comic Sans MS', 'Patrick Hand', cursive;
  background: #fdfdfd;
  color: #111;
}

.light-warning-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(100px);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.light-warning {
  background: #fff;
  color: #000;
  border: 3px solid #000;
  padding: 20px 28px;
  text-align: center;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 #000;
  max-width: 280px;
}

.light-warning button {
  margin-top: 12px;
  border: 3px solid #000;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 2px 2px 0 #000;
}

.light-warning button:hover {
  background: #000;
  color: #fff;
}

* {
  scrollbar-width: thick;
  scrollbar-color: #000 #fff;
}

.wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px;
  max-width: 1200px;
  margin: auto;
}

.panel {
  overflow-y: auto;
  border: 3px solid #111;
  border-radius: 12px;
  padding: 18px;
  background: repeating-linear-gradient(
    0deg,
    #fff,
    #fff 24px,
    #f3f3f3 25px
  );
  box-shadow: 3px 3px 0 #000;
}

.avatar-outer {
  width: 90px;
  height: 90px;
  margin: auto;
  transform: rotate(-4deg);
  background: #fff;
  border: 3px solid #000;
  overflow: hidden;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name {
  text-align: center;
  margin-top: 12px;
  font-size: 18px;
}

.nav-buttons {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.button {
  font-weight: 700;
  border: 3px solid #000;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  transform: rotate(-1deg);
  transition: 0.2s ease;
  box-shadow: 2px 2px 0 #000;
}

.button span {
  display: block;
}

.button:hover {
  transform: rotate(1deg) scale(1.05);
  background: #000;
  color: #fff;
}

.button.active {
  background: #000;
  color: #fff;
}

.section {
  display: none;
  animation: fade 0.4s ease;
}

.section.active {
  display: block;
}

.section-title {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  transform: rotate(-2deg);
  margin-bottom: 20px;
  box-shadow: 2px 2px 0 #000;
}

.gallery {
  column-count: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: #fff;
  border: 3px solid #000;
  transform: rotate(-1deg);
  box-shadow: 2px 2px 0 #000;
}

.gallery-item:nth-child(even) {
  transform: rotate(1deg);
}

.gallery-item img {
  width: 100%;
  display: block;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 1200px) {

  .panel {
    height: 600px;
  }

}

@media (max-width: 800px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .nav-buttons {
    flex-direction: row;
    overflow-x: auto;
  }
}
