Website/style.css
OriginalUsername843 771f354d74 Initial Commit
2026-05-26 12:19:08 -06:00

270 lines
7.4 KiB
CSS

:root {
--bg: #0a0a0a;
--bg2: rgba(10,10,10,0.5);;
--card: #1a1a1a;
--text: #ff4d4d;
--text-muted: #ff9999;
--accent: #ff1a1a;
--hair: #ff3333;
--shadow: rgba(255, 50, 50, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--bg);
color: var(--text-muted);
font-family: 'Courier New', monospace;
line-height: 1.6;
overflow-x: hidden;
}
ul > li > ul {
margin-left: 10px;
}
.glitch {
position: relative;
display: inline-block;
color: var(--hair);
font-weight: bold;
font-size: 2.5rem;
letter-spacing: 2px;
text-shadow:
2px 2px 0 #ff1a1a,
-2px -2px 0 #ff1a1a,
0 0 10px rgba(255, 50, 50, 0.8);
animation: glitch 2s infinite;
}
@keyframes glitch {
0%, 100% { text-shadow: 2px 2px 0 #ff1a1a, -2px -2px 0 #ff1a1a, 0 0 10px rgba(255,50,50,0.8); }
14% { text-shadow: -2px -2px 0 #ff1a1a, 2px 2px 0 #ff1a1a, 0 0 15px rgba(255,50,50,1); }
15% { text-shadow: 3px -3px 0 #ff1a1a, -3px 3px 0 #ff1a1a, 0 0 20px rgba(255,50,50,1); }
16% { text-shadow: none; }
17% { text-shadow: 2px 2px 0 #ff1a1a, -2px -2px 0 #ff1a1a, 0 0 10px rgba(255,50,50,0.8); }
}
header {
text-align: center;
padding: 0rem 1rem;
background: linear-gradient(to bottom, #1a0000, var(--bg2));
border-bottom: 3px dashed var(--accent);
position: fixed;
top:0;
left:0;
z-index:1;
width:100%;
backdrop-filter: blur(10px);
overflow: hidden;
}
header::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: repeating-linear-gradient(
45deg,
transparent,
transparent 10px,
rgba(255, 50, 50, 0.05) 10px,
rgba(255, 50, 50, 0.05) 20px
);
pointer-events: none;
}
h1 {
font-size: 3.5rem;
margin-bottom: 0.5rem;
color: var(--hair);
}
.tagline {
font-size: 1.3rem;
color: #ff6666;
text-transform: uppercase;
letter-spacing: 3px;
margin-top: 1rem;
}
main {
max-width: 900px;
margin: 1rem auto;
padding: 0 1rem;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-top: 15rem;
}
.game-card {
background: var(--card);
border: 2px solid var(--accent);
border-radius: 8px;
padding: 1.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
box-shadow: 0 0 15px var(--shadow);
}
.game-card:hover {
transform: translateY(-8px);
box-shadow: 0 0 25px rgba(255, 50, 50, 0.6);
border-color: #ff6666;
}
.game-card::before {
content: "🔥";
position: absolute;
top: -10px;
right: -10px;
font-size: 2rem;
opacity: 0.3;
transform: rotate(15deg);
}
.game-title {
font-size: 1.5rem;
color: var(--hair);
margin-bottom: 0.5rem;
font-weight: bold;
text-transform: uppercase;
}
.game-info {
margin-top: 1rem;
font-size: 0.95rem;
color: var(--text-muted);
}
.fancy-btn {
display: inline-block;
background: linear-gradient(to bottom, #1a0000, var(--bg2));
color: white;
padding: 0.6rem 1.2rem;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
font-size: 1.2rem;
transition: 0.3s;
margin-top: 0.5rem;
box-shadow: 0 0 10px rgba(255, 26, 26, 0.5);
text-align:center;
user-select: none;
}
.fancy-btn h1 {
font-size: 10rem;
}
.fancy-btn:hover {
background: #ff3333;
transform: scale(1.05);
box-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
}
.fancy-btn:active {
transform: scale(0.95);
}
.instructions {
font-size: 0.85rem;
background: rgba(255, 50, 50, 0.1);
padding: 0.8rem;
border-left: 3px solid var(--hair);
border-radius: 0 4px 4px 0;
}
footer {
text-align: center;
padding: 2rem 1rem;
margin-top: 3rem;
color: #993333;
font-size: 0.9rem;
border-top: 1px dashed var(--accent);
}
.hair-rage {
font-size: 1.8rem;
animation: rage 1.5s infinite;
}
@keyframes rage {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(5deg); }
75% { transform: rotate(-5deg); }
}
@media (max-width: 600px) {
h1 { font-size: 2.5rem; }
.glitch { font-size: 2rem; }
.grid { grid-template-columns: 1fr; }
}
/* ----- Accordion container ----- */
.game-section {
border: 1px solid #ccc;
margin-bottom: 1rem;
border-radius: 6px;
overflow: hidden;
background: var(--card);
border: 2px solid var(--accent);
border-radius: 8px;
padding: 1.5rem;
transition: all 0.3s ease;
box-shadow: 0 0 15px var(--shadow);
position: relative;
}
.game-header::before {
content: "🔥";
position: absolute;
top: -10px;
right: -10px;
font-size: 2rem;
opacity: 0.3;
transform: rotate(15deg);
}
/* ----- Header (clickable) ----- */
.game-header {
padding: 1rem;
cursor: pointer;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
user-select: none;
transition: background 0.2s;
font-size: 125%;
}
.game-header:hover { background: #040404; }
.game-header::after {
content: "▼";
font-size: 0.8rem;
transition: transform 0.25s;
}
.game-section.open .game-header::after {
transform: rotate(180deg);
}
/* ----- Content (hidden by default) ----- */
.game-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease;
padding: 0 1rem;
}
.game-section.open .game-content {
max-height: 1500px; /* big enough for any realistic content */
padding: 1rem;
}