body {
  font-family: "DotGothic16", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #313338;
  color: #f3f4f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

header {
  text-align: center;
  padding: 20px 20px 0 20px;
  background-color: #2b2d31;
  color: #fff;
}

header img {
  border-radius: 50%;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 15px 0;
  align-items: center;
}

.social-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter: brightness(0) invert(1);
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.social-icon.twitter-icon:hover {
  filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(1409%) hue-rotate(178deg) brightness(95%) contrast(98%);
}

.social-icon.booth-icon:hover {
  filter: brightness(0) saturate(100%) invert(48%) sepia(97%) saturate(1451%) hue-rotate(332deg) brightness(101%) contrast(98%);
}

.social-icon.youtube-icon:hover {
  filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7477%) hue-rotate(0deg) brightness(103%) contrast(120%);
}

.social-icon.niconico-icon:hover {
  filter: brightness(0) saturate(100%) invert(72%) sepia(55%) saturate(433%) hue-rotate(115deg) brightness(91%) contrast(96%);
}

.social-icon.bilibili-icon:hover {
  filter: brightness(0) saturate(100%) invert(50%) sepia(65%) saturate(1725%) hue-rotate(166deg) brightness(93%) contrast(101%);
}

nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0 20px;
  background-color: #2b2d31;
  gap: 2px;
}

nav a {
  color: #f3f4f5;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 0;
  margin: 0;
  line-height: 24px;
  border: 1px solid #4a4a4a;
  background-color: #1e1e1e;
}

nav a:hover {
  background-color: #2a2a2a;
}

nav a.active {
  background-color: #313338;
  border-bottom-color: #313338;
  font-weight: bold;
}

main {
  background-color: #313338;
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

section h2 {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 20px;
  padding: 20px 0;
}

article {
  background-color: #2b2d31;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

article h3 {
  padding: 15px;
  margin: 0;
  font-size: 1.1em;
}

.article-content {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.twitter-tweet {
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  main {
    padding: 10px;
  }

  section {
    gap: 15px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 0.9em;
    white-space: nowrap;
  }

  .social-icon {
    width: 64px;
    height: 64px;
  }

  .social-links {
    gap: 2px;
  }
}


.tool-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #2b2d31;
  border-radius: 8px;
  height: 100%;
  box-sizing: border-box;
}

.tool-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.tool-info {
  flex: 1;
}

.tool-info h3 {
  margin-top: 0;
}

.tool-description {
  color: #b5bac1;
  margin: 10px 0;
}

.tool-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #e1292e;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}

.tool-link:hover {
  background-color: #c41f24;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #2b2d31;
  color: #f3f4f5;
}

.dotgothic16-regular {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#music-content,
#tools-content,
#video-content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 20px;
}

.more-button-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.more-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #1e1e1e;
  color: #f3f4f5;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: 1px solid #4a4a4a;
  transition: background-color 0.2s ease;
}

.more-button:hover {
  background-color: #2a2a2a;
  text-decoration: none;
}
