garde-studios.de/html/css/style.css
2025-05-16 01:22:20 +02:00

225 lines
3.6 KiB
CSS

@charset "UTF-8";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
padding-top: 80px; /* Offset for fixed navbar */
background-color: var(--theme-base);
color: var(--theme-text);
}
a {
color: var(--theme-red);
text-decoration: none;
}
a:hover {
color: var(--theme-peach);
}
/* Navbar Styles */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: var(--theme-base);
box-shadow: 0 2px 10px var(--theme-blue);
z-index: 1000;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--theme-text);
text-decoration: none;
}
.logo:hover {
color: var(--theme-text);
}
.nav-links ul {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 2rem;
}
.nav-links a {
color: var(--theme-sky);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: var(--theme-lavender);
}
/* Mobile Menu */
.hamburger {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
}
.hamburger span {
display: block;
width: 25px;
height: 2px;
background: var(--theme-blue);
margin: 5px 0;
transition: all 0.3s ease;
}
/* Hero Section */
.hero {
height: 80vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-links {
position: fixed;
top: 80px;
left: -100%;
width: 100%;
height: calc(100vh - 80px);
background-color: var(--theme-base);
transition: left 0.3s ease;
}
.nav-links.active {
left: 0;
}
.nav-links ul {
flex-direction: column;
padding: 2rem;
}
.nav-links li {
margin: 1rem 0;
}
.hamburger {
display: block;
}
.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
opacity: 0;
}
.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
}
/* Section Styles */
.section {
padding: 5rem 0;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
}
/* Section Styling */
#games .container {
display: flex;
flex-direction: column;
gap: 2rem;
}
/* Server Card Styling */
.server-card {
width: 100%;
padding: 1.5rem;
background: var(--theme-base);
border-radius: 8px;
box-shadow: 0 2px 10px var(--theme-blue);
}
.server-card h3 {
color: var(--theme-text);
margin-bottom: 1rem;
font-size: 1.3rem;
}
/* Server Info Styling (keep your existing styles) */
.server-info {
font-family: 'Courier New', monospace;
line-height: 1.8;
}
.server-info p {
margin: 0.2rem 0;
}
.arrow {
margin: 0.3rem;
}
.highlight {
font-weight: bold;
}
.card-description {
margin: 12px 0;
color: var(--theme-subtext0);
font-size: 0.9rem;
line-height: 1.4;
}
/* Status indicators (keep your existing styles) */
.status.online {
color: var(--theme-green);
}
.status.offline {
color: var(--theme-red);
}
.status.unknown {
color: var(--theme-yellow);
}