.content {
  flex-grow: 1;
  padding: 60px 20px 20px 20px;
}

.title-container {
  text-align: center;
}

.main-title {
  font-size: 2em;
  font-weight: bold;
}

.sub-title {
  font-size: 1.5em;
  font-weight: bold;
}

.learning-status {
  text-align: center;
  margin: 10px 0;
}

.arrow {
  font-size: 2em;
  color: red;
  text-align: center;
  margin: 10px 0px -12px 0px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(20px);
  }
}

.katakana {
  width: 100%;
  text-align: center;
  font-size: 24px;
  margin: 30px 0px -55px 0px;
}

.title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  margin: 30px 0px 10px 0px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.grid-item {
  width: calc(100% / 4);
  height: 100px;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  font-size: 20px;
}

.grid-item:hover {
  transform: scale(1.2);
  transition: transform 0.3s;
  z-index: 1;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.blur {
  filter: blur(2.4px);
  transition: opacity 0.3s ease, transform 0.3s;
}

.blur:hover {
  transform: scale(1.2);
  z-index: 1;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.blur {
  position: relative;
  overflow: hidden;
}

.blur:hover::before {
  transform: scale(1.2);
  z-index: 1;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.scroll-button {
  position: fixed;
  bottom: 0px;
  right: 0px;
  display: none;
  padding: 13px;
  background-color: #e68989;
  color: rgb(0, 0, 0);
  border: none;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.scroll-button:hover {
  color: rgb(255, 255, 255);
  background-color: #ff0000;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 0px 40px;
}

.flex-item {
  flex: 1 1 calc(25% - 10px);
  box-sizing: border-box;
  padding: 10px;
  background-color: #f0f0f0;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.flex-item:hover {
  transform: scale(1.2);
  transition: transform 0.2s, background-color 0.3s;
  z-index: 1;
  background-color: #e0e0e0;
  font-weight: bold;
  cursor: pointer;
}

#toggleButton {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#toggleButton:hover {
  color: rgb(0, 255, 0);
  background-color: #0056b3;
  cursor: pointer;
}

#navbar {
  position: fixed;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: left 0.3s ease;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  outline: none;
}

#navbar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#navbar li {
  text-align: center;
  color: white;
  padding: 10px 5px;
  transition: transform 0.3s;
  font-size: 18px;
}

#navbar li:hover {
  background-color: rgb(255, 255, 255);
  transform: scale(1.2);
  font-weight: bold;
  cursor: pointer;
}

#navbar li:hover a {
  color: black;
}

.bubble-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -50px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

.black-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: pulse 2s infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
      transform: translate(-50%, -50%) scale(1);
  }
  50% {
      transform: translate(-50%, -50%) scale(1.1);
  }
}

.rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

body {
  font-family: Arial, sans-serif;
}

.gallery {
  display: flex;
  gap: 10px;
}

.gallery img {
  width: 150px;
  cursor: pointer;
  border: 2px solid #ccc;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
