/* General Body and HTML Reset */
html {
scroll-behavior: smooth;
}
body {
margin: 0;
padding: 0;
min-height: 100vh; /* Use min-height to allow content to extend */
background: linear-gradient(135deg, #2e2e2e, #1a1a1a); /* Dark gray gradient */
display: flex;
flex-direction: column; /* Stack header, content, footer vertically */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #f0f0f0; /* Light gray text for readability */
}
/* Header and Navigation Bar */
.main-header {
width: 100%;
padding: 15px 40px; /* Ample padding */
box-sizing: border-box; /* Include padding in width */
display: flex;
justify-content: space-between; /* Space between company name and nav */
align-items: center;
background-color: #1a1a1a; /* Dark background for header */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow */
position: sticky; /* Make header sticky */
top: 0;
z-index: 1000; /* Ensure it's above other content */
}
.company-name-header {
/* Styling for the company name in the header */
font-size: 1.8rem;
font-weight: 700;
color: #ffffff; /* Pure white for company name */
letter-spacing: 1px;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.4); /* Added: Soft glow effect */
}
.company-name-header a {
text-decoration: none; /* Remove underline from link */
color: inherit; /* Inherit color from parent */
transition: color 0.3s ease;
}
.company-name-header a:hover {
color: #e0e0e0; /* Slightly dim on hover */
}
.main-nav ul {
list-style: none; /* Remove bullet points */
margin: 0;
padding: 0;
display: flex; /* Arrange links horizontally */
gap: 30px; /* Space between links */
}
.main-nav a {
text-decoration: none; /* Remove underline */
color: #e0e0e0; /* Light gray link color */
font-size: 1.2rem;
font-weight: 500;
padding: 8px 15px;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effects */
}
.main-nav a:hover,
.main-nav a.active {
background-color: #3a3a3a; /* Darker gray on hover/active */
color: #ffffff; /* Pure white text on hover/active */
}
/* Content Wrapper for Main Sections */
.content-wrapper {
flex-grow: 1; /* Allow content to take up available space */
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically in the available space */
align-items: center; /* Center content horizontally */
width: 100%;
max-width: 1200px; /* Max width for content area */
margin: 40px auto; /* Top/bottom margin, auto left/right for centering */
padding: 0 20px; /* Padding on sides for smaller screens */
box-sizing: border-box;
}
/* Hero Section (Logo and Studio Name) */
.hero-section {
text-align: center;
margin-bottom: 60px; /* Space below hero section */
}
.hero-logo {
max-width: 250px; /* Larger logo */
height: auto;
margin-bottom: 30px;
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7)); /* Subtle shadow for logo */
border-radius: 20px; /* Added: Rounded corners to the logo */
}
.studio-name {
font-size: 3.8rem; /* Larger font size */
font-weight: 700;
color: #ffffff; /* Pure white for studio name */
letter-spacing: 3px;
text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* Soft glow effect */
margin: 0; /* Remove default margin */
}
/* About Us Section */
.about-us-section {
background-color: #1a1a1a; /* Dark background for the section */
border-radius: 15px; /* Rounded corners */
padding: 50px; /* Ample padding inside */
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7); /* More pronounced shadow */
width: 100%; /* Take full width of content-wrapper */
max-width: 900px; /* Max width for readability */
text-align: center; /* Center the title, but not the editable content */
box-sizing: border-box;
display: flex; /* Use flexbox for centering its content */
flex-direction: column;
align-items: center; /* This will center the h2 and about-me-editable div */
}
.section-title {
font-size: 2.8rem;
font-weight: 600;
color: #ffffff;
margin-bottom: 30px;
letter-spacing: 1.5px;
}
/* Editable About Me Field */
.about-me-editable {
background-color: #2a2a2a; /* Slightly lighter dark gray for editable area */
border: 1px solid #4a4a4a; /* Subtle border */
border-radius: 8px;
padding: 30px;
text-align: justify; /* Justify text for a clean look */
line-height: 1.7; /* Good line spacing for readability */
font-size: 1.1rem;
color: #e0e0e0;
min-height: 150px; /* Ensure some visible height even if empty */
cursor: text; /* Indicate it's editable */
transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
width: 100%; /* Ensure it takes full width within its flex container */
max-width: 800px; /* Optional: Constrain its max width further if desired */
box-sizing: border-box; /* Include padding in width */
}
.about-me-editable:hover {
background-color: #333333; /* Darken slightly on hover */
border-color: #6a6a6a; /* Lighter border on hover */
box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); /* Subtle shadow on hover */
}
.about-me-editable:focus {
outline: none; /* Remove default outline */
border-color: #888888; /* Highlight border on focus */
box-shadow: 0 0 20px rgba(136, 136, 136, 0.3); /* Add glow on focus */
}
.about-me-editable p {
margin-bottom: 1em; /* Space between paragraphs in editable field */
margin-top: 0;
}
.about-me-editable p:last-child {
margin-bottom: 0;
}
/* Footer */
.main-footer {
width: 100%;
padding: 25px 0;
background-color: #1a1a1a;
color: #a0a0a0; /* Slightly muted white for footer text */
text-align: center;
font-size: 0.9rem;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); /* Shadow for footer */
margin-top: auto; /* Push footer to the bottom */
}
/* Responsive Design */
@media (max-width: 768px) {
.main-header {
padding: 10px 20px;
flex-direction: column; /* Stack name and nav vertically */
align-items: center; /* Center items when stacked */
}
.company-name-header {
margin-bottom: 10px; /* Space between name and nav */
font-size: 1.5rem;
}
.main-nav ul {
gap: 15px;
}
.main-nav a {
font-size: 1rem;
padding: 6px 10px;
}
.hero-logo {
max-width: 180px;
border-radius: 15px; /* Adjust border-radius for smaller screens */
}
.studio-name {
font-size: 2.5rem;
}
.about-us-section {
padding: 30px;
border-radius: 10px;
}
.section-title {
font-size: 2rem;
margin-bottom: 20px;
}
.about-me-editable {
padding: 20px;
font-size: 1rem;
}
}
@media (max-width: 480px) {
.main-header {
padding: 8px 10px;
}
.company-name-header {
font-size: 1.2rem;
}
.main-nav ul {
flex-direction: column; /* Stack nav items vertically on very small screens */
align-items: center;
gap: 8px;
}
.main-nav a {
font-size: 0.9rem;
padding: 5px 8px;
}
.hero-logo {
max-width: 150px;
border-radius: 10px; /* Further adjust border-radius for very small screens */
}
.studio-name {
font-size: 1.8rem;
letter-spacing: 1px;
}
.about-us-section {
padding: 20px;
}
.section-title {
font-size: 1.6rem;
}
.about-me-editable {
padding: 15px;
min-height: 100px;
}
}
/* Games Section Styling */
.games-section {
background-color: #1a1a1a; /* Dark background for the section */
border-radius: 15px; /* Rounded corners */
padding: 50px; /* Ample padding inside */
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7); /* More pronounced shadow */
width: 100%; /* Take full width of content-wrapper */
max-width: 1000px; /* Max width for readability */
text-align: center; /* Center the title and grid */
box-sizing: border-box;
margin-bottom: 40px; /* Space below the section */
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid columns */
gap: 30px; /* Space between game items */
margin-top: 40px;
}
.game-item {
background-color: #2a2a2a; /* Slightly lighter dark for individual game items */
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.game-item:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.game-thumbnail {
max-width: 100%;
border-radius: 8px;
margin-bottom: 15px;
border: 1px solid #3a3a3a; /* Subtle border for images */
}
.game-item h3 {
font-size: 1.6rem;
color: #ffffff;
margin-bottom: 10px;
letter-spacing: 0.5px;
}
.game-item p {
font-size: 1rem;
color: #e0e0e0;
line-height: 1.5;
margin-bottom: 20px;
flex-grow: 1; /* Allows paragraphs to take available space for consistent height */
}
.game-button {
display: inline-block;
background-color: #505050;
color: white;
padding: 10px 20px;
border-radius: 6px;
text-decoration: none;
font-size: 1rem;
font-weight: 500;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.game-button:hover {
background-color: #696969;
transform: translateY(-1px);
}
/* Responsive adjustments for games section */
@media (max-width: 768px) {
.games-section {
padding: 30px;
}
.games-grid {
grid-template-columns: 1fr; /* Single column on smaller screens */
}
}
/* Page transition effect */
body.fade-out {
opacity: 0;
transition: opacity 0.5s ease;
}
body.fade-in {
opacity: 1;
transition: opacity 0.5s ease;
}
/* NEW SECTION: Where to find us */
.socials-section {
background-color: #1a1a1a;
border-radius: 15px;
padding: 50px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
width: 100%;
max-width: 900px;
text-align: center;
box-sizing: border-box;
margin-top: 60px; /* Space above this new section */
margin-bottom: 40px; /* Space below this section before footer */
display: flex;
flex-direction: column;
align-items: center;
}
.socials-section .section-title {
margin-bottom: 40px; /* More space below the main title for this section */
}
.socials-container {
display: flex;
flex-wrap: wrap; /* Allow boxes to wrap to next line on smaller screens */
justify-content: center; /* Center boxes when they wrap */
gap: 30px; /* Space between the two social boxes */
width: 100%; /* Take full width of parent section */
}
.socials-box {
background-color: #2a2a2a; /* Lighter dark gray for individual boxes */
border: 1px solid #4a4a4a; /* Subtle border */
border-radius: 12px;
padding: 30px;
flex: 1; /* Allow boxes to grow and shrink */
min-width: 300px; /* Minimum width before wrapping */
max-width: 45%; /* Max width to ensure two can fit side-by-side */
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: left; /* Align text within the box to the left */
box-sizing: border-box;
}
.socials-box:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}
.socials-box h3 {
font-size: 1.8rem;
color: #ffffff;
margin-top: 0;
margin-bottom: 25px;
text-align: center; /* Center the sub-titles */
}
.socials-box ul {
list-style: none; /* Remove bullet points */
padding: 0;
margin: 0;
}
.socials-box li {
margin-bottom: 15px; /* Space between social links */
font-size: 1.1rem;
}
.socials-box li:last-child {
margin-bottom: 0; /* No margin after the last item */
}
.socials-box a {
color: #e0e0e0; /* Light gray for social links */
text-decoration: none;
transition: color 0.3s ease;
display: flex; /* Allow for icon + text if you add icons later */
align-items: center;
gap: 10px; /* Space between icon and text */
}
.socials-box a:hover {
color: #ffffff; /* Brighter white on hover */
text-decoration: underline;
}
/* Styling for the social icons (placeholders for now) */
.social-icon {
width: 20px; /* Desired width of the icon */
height: 20px; /* Desired height of the icon */
display: inline-block; /* Treat it as a block for sizing */
background-color: #e0e0e0; /* Placeholder color for the icon */
border-radius: 3px; /* Slightly rounded corners for placeholder */
/* You can add specific background images or colors for each icon class here */
/* For example: */
/* &.x-icon { background-color: black; } */
/* &.youtube-icon { background-color: red; } */
/* &.discord-icon { background-color: #5865F2; } */
}
/* Responsive adjustments for social sections */
@media (max-width: 768px) {
.socials-section {
padding: 30px;
margin-top: 40px;
}
.socials-container {
flex-direction: column; /* Stack boxes vertically on smaller screens */
align-items: center;
gap: 20px; /* Adjust gap when stacked */
}
.socials-box {
max-width: 100%; /* Take full width when stacked */
padding: 25px;
}
}
@media (max-width: 480px) {
.socials-section {
padding: 20px;
}
.socials-box h3 {
font-size: 1.5rem;
}
.socials-box li {
font-size: 1rem;
}
.social-icon {
width: 18px; /* Slightly smaller icons on very small screens */
height: 18px;
}
}