Files
website/styles.css
2025-11-04 11:10:24 +01:00

261 lines
4.5 KiB
CSS

:root {
--primary: #D99748; /* Golden Orange */
--secondary: #73614C; /* Warm Brown */
--accent: #D99748; /* Golden Orange */
--accent-2: #73614C; /* Warm Brown */
--highlight: #D99748; /* Golden Orange */
--bg-dark: #0D0D0D; /* Almost Black */
--card-bg: rgba(38, 38, 38, 0.95); /* Dark Gray with opacity */
--text-light: #F2F2F2; /* Off-White for text */
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Rajdhani', sans-serif;
background-color: var(--bg-dark);
background-blend-mode: overlay;
color: var(--text-light);
min-height: 100vh;
overflow-x: hidden;
display: flex;
align-items: center;
}
#background-video {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -1;
filter: blur(8px) brightness(0.6);
object-fit: cover;
}
.container {
height: 100%;
max-width: 1200px;
width: 90%;
margin: 2rem auto;
padding: 1rem;
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
.card {
background: var(--card-bg);
border-radius: 8px;
padding: clamp(1rem, 5vw, 2rem);
backdrop-filter: blur(10px);
border: none;
transition: transform 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
max-width: 800px;
width: 100%;
margin: 0 auto;
position: relative;
}
.card:hover {
transform: translateY(-5px);
}
.logo-card {
text-align: center;
}
.logo {
width: 250px;
height: auto;
margin-bottom: 1rem;
}
h1 {
font-size: clamp(1.8rem, 5vw, 2.5rem);
color: var(--primary);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
letter-spacing: 2px;
}
h2 {
font-size: clamp(1.4rem, 4vw, 1.8rem);
margin-bottom: 1rem;
color: var(--primary);
border-bottom: 2px solid var(--secondary);
padding-bottom: 0.5rem;
}
h3 {
font-size: clamp(1.4rem, 4vw, 1.8rem);
margin-top: 1rem;
margin-bottom: 1rem;
}
.tagline {
font-size: 1.2rem;
opacity: 0.8;
}
.game-preview {
text-align: center;
}
.release-date {
margin-top: 1rem;
font-weight: bold;
color: var(--highlight); /* Orange */
}
.newsletter-card form {
display: flex;
flex-direction: column;
gap: 1rem;
}
input[type="email"] {
padding: 0.8rem;
border-radius: 5px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.1);
color: white;
font-family: inherit;
}
button {
padding: 0.8rem;
border: 2px solid var(--highlight);
border-radius: 4px;
background: transparent;
color: var(--highlight);
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
button:hover {
background: var(--highlight);
color: var(--text-light);
box-shadow: 0 0 15px rgba(217, 151, 72, 0.3);
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
}
.team-member {
text-align: center;
}
.team-member img {
height: 150px;
border-radius: 8px;
margin-bottom: 1rem;
border: 2px solid var(--accent-2);
filter: brightness(0.95) contrast(1.05);
}
@media (max-width: 768px) {
body {
padding: 1rem 0;
}
.card:hover {
transform: none;
}
.team-grid {
grid-template-columns: 1fr;
}
.newsletter-card form {
width: 100%;
}
input[type="email"],
button {
width: 100%;
max-width: none;
}
.logo {
width: 120px;
}
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
margin-top: 2rem;
text-align: center;
margin-bottom: 2rem;
}
.footer-links a {
color: var(--accent);
text-decoration: none;
font-size: 0.9rem;
opacity: 0.9;
transition: opacity 0.3s ease, color 0.3s ease;
}
.contact-links {
display: flex;
justify-content: center;
}
.footer-links a:hover {
opacity: 1;
text-decoration: underline;
}
.copyright {
text-align: center;
margin-top: 1rem;
font-size: 0.9rem;
opacity: 0.7;
}
.copyright p {
margin-bottom: 0.5rem;
}
@media (max-width: 480px) {
.container {
width: 95%;
padding: 0.5rem;
}
.card {
padding: 1rem;
}
.team-member img {
width: 100px;
height: 100px;
}
.footer-links {
flex-direction: column;
gap: 1rem;
}
}
a {
color: white;
}