body {
    background-color: #000000;
    color: #00ff00;
    font-family: "MS Pゴシック", "MS PGothic", sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 20px;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 20px 20px;
}

header h1 {
    color: #ff00ff;
    text-align: center;
    font-size: 1.5rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    border: 3px double #00ff00;
    padding: 15px;
}

.counter {
    text-align: center;
    font-weight: bold;
    color: #ffff00;
    margin-bottom: 20px;
}

.counter span {
    background: #333;
    color: #ffffff;
    padding: 2px 5px;
    border: 1px inset #ccc;
}

main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

section, nav {
    flex: 1;
    min-width: 250px;
    border: 1px ridge #00ff00;
    padding: 10px;
    margin-bottom: 10px;
}

h2 {
    background: linear-gradient(90deg, #0000ff, #00ffff);
    color: white;
    font-size: 1rem;
    padding: 2px 10px;
    margin-top: 0;
}

h3 {
    background: linear-gradient(90deg, #0000ff, #00ffff);
    color: white;
    font-size: 1rem;
    padding: 2px 10px;
    margin-top: 2;	
}

a {
    color: #00ffff;
    text-decoration: underline;
}

a:hover {
    color: #ff0000;
    background: #ffff00;
}

img {
	max-width: 70%;
	margin: 0 15%;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 20px;
}

.glitch-wrapper {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   margin-top: 10px;
}

.glitch {
   position: relative;
   font-size: 25px;
   font-weight: bold;
   color: #FFFFFF;
   letter-spacing: 3px;
   z-index: 1;
}

.glitch:before, .glitch:after {
   display: block;
   content: attr(data-text);
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0.8;
}

.glitch:before {
   animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
   color: #00FFFF;
   z-index: -1;
}

.glitch:after {
   animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
   color: #FF00FF;
   z-index: -2;
}

@keyframes glitch-it {
   0% { transform: translate(0); }
   20% { transform: translate(-2px, 2px); }
   40% { transform: translate(-2px, -2px); }
   60% { transform: translate(2px, 2px); }
   80% { transform: translate(2px, -2px); }
   to { transform: translate(0); }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    header h1 {
        font-size: 1.2rem;
    }
}