@charset "utf-8";
/* CSS Document */
body {
  font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif"sans-serif;
  margin: 0;
  padding: 0;
  background-color: lightyellow;
}

h1, h2 {
  text-align: center;
  margin: 25px 0;
}

/* Navigation */
.navbar {
  border: 1px solid #7dd3a0;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  margin: 20px;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li + li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  width: 1px;
  height: 20px;
  background: #7dd3a0;
}

.navbar a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.navbar a.active,
.navbar a:hover {
  color: hotpink;
}

.aboutme
{ padding: 40px;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* Flexbox Gallery */
.flex-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.flex-gallery img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

/* Grid Gallery */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin: 20px;
}
.grid-item {
  background: lightblue;
  padding: 20px;
  text-align: center;
}
.grid-item:first-child {
  grid-column: span 12;
  background: lightcoral;
  font-weight: bold;
}
.grid-item:nth-child(n+2) {
  grid-column: span 4;
}
