
@font-face {
  font-family: 'Marimpa';
  src: url('marimpa.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Marimpa', cursive;
  background: linear-gradient(to bottom, #e3aaff, #8753b5);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #94b8ff;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 1.3em;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #94b8ff;
  top: 100%;
  left: 0;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content li {
  padding: 8px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
}

.content-box {
  background-color: #ffe599;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  font-size: 1.2em;
}

.chibi {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 100px;
  z-index: 999;
  transition: transform 0.3s ease;
}

.chibi:hover {
  animation: jump 0.6s ease;
}

@keyframes jump {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-20px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Gallery Styles */
.gallery-title {
  font-size: 2em;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  width: 100%;
  text-align: center;
  padding: 8px;
  font-size: 0.9em;
  opacity: 0;
  transition: 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 60px 20px;
  background-color: rgba(0,0,0,0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close-btn {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 1.5em;
  text-decoration: none;
  color: white;
  background: #000;
  padding: 5px 10px;
  border-radius: 5px;
}

/* Blog Styles */
.blog-title {
  font-size: 2em;
  margin-bottom: 30px;
}

details.blog-post {
  background: #fff3b0;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

details.blog-post summary {
  list-style: none;
  cursor: pointer;
}

details.blog-post summary::-webkit-details-marker {
  display: none;
}

details.blog-post h2 {
  font-size: 1.5em;
  margin: 0;
  color: #4a0075;
}

.blog-date {
  font-size: 0.9em;
  font-weight: normal;
  color: #555;
}
