Current directory: /home/klas4s23/domains/585455.klas4s23.mid-ica.nl/public_html/Gastenboek/uploads
/*
Apple Design System
-------------------
Core variables and base styles.
*/
:root {
/* Colors */
--bg-color: #f5f5f7;
--surface-color: #ffffff;
--text-primary: #1d1d1f;
--text-secondary: #86868b;
--accent-blue: #0071e3;
--accent-hover: #0077ed;
--nav-bg: rgba(255, 255, 255, 0.65);
/* Shadows */
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
--shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
/* Radius */
--radius-lg: 18px;
--radius-xl: 24px;
/* Typography */
--font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Reset & Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: var(--font-main);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
scroll-behavior: smooth;
/* Enable smooth scrolling for anchor links */
}
html {
scroll-behavior: smooth;
}
/*
Typography
-------------------
*/
h1,
h2,
h3 {
font-weight: 600;
letter-spacing: -0.02em;
color: var(--text-primary);
}
h1 {
font-size: 3rem;
margin-bottom: 24px;
}
h2 {
font-size: 2.25rem;
margin-bottom: 16px;
margin-top: 60px;
}
h3 {
font-size: 1.5rem;
margin-bottom: 12px;
}
p {
color: var(--text-secondary);
font-size: 1.0625rem;
line-height: 1.47059;
font-weight: 400;
}
a {
text-decoration: none;
color: var(--accent-blue);
transition: color 0.2s ease;
}
a:hover {
color: var(--accent-hover);
text-decoration: underline;
}
/*
Navigation
-------------------
*/
.apple-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
background: var(--nav-bg);
backdrop-filter: saturate(180%) blur(50px);
-webkit-backdrop-filter: saturate(180%) blur(50px);
z-index: 9999;
border-bottom: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}
.nav-content {
max-width: 980px;
margin: 0 auto;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.brand {
font-weight: 600;
color: var(--text-primary);
font-size: 1.2rem;
text-decoration: none !important;
}
.menu-items {
display: flex;
gap: 32px;
}
.menu-items a {
color: var(--text-secondary);
font-size: 12px;
letter-spacing: -0.01em;
opacity: 0.8;
transition: opacity 0.2s, color 0.2s;
text-decoration: none !important;
}
.menu-items a:hover,
.menu-items a.active {
color: var(--text-primary);
opacity: 1;
}
/* Mobile Menu */
#menu-toggle {
display: none;
}
.hamburger {
display: none;
cursor: pointer;
flex-direction: column;
gap: 4px;
}
.hamburger span {
width: 18px;
height: 2px;
background-color: var(--text-primary);
border-radius: 2px;
}
/*
Layout
-------------------
*/
main {
padding-top: 80px;
padding-bottom: 60px;
max-width: 980px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
min-height: 80vh;
}
section {
margin-bottom: 100px;
/* Increased spacing between significant sections */
animation: fadeIn 0.8s ease-out;
padding-top: 60px;
/* Offset for sticky header when jumping to ID */
/* margin-top: -60px; */
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/*
Hero Section
-------------------
*/
.hero {
text-align: center;
padding: 80px 0 0px;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 16px;
}
.hero p {
font-size: 1.5rem;
max-width: 600px;
margin: 0 auto;
margin-bottom: 25px;
}
#home h1 {
margin-top: 60px;
}
/*
Card System
-------------------
Shared card styles used across multiple sections.
*/
.card {
background: var(--surface-color);
padding: 40px;
border-radius: var(--radius-xl);
box-shadow: var(--shadow-sm);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-md);
}
/*
Shared Components
-------------------
*/
/* --- About Section --- */
.about-block {
max-width: 800px;
margin: 0 auto;
}
.about-block .card h2 {
margin-top: 0px !important;
}
/* --- Qualities Grid --- */
.qualities-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding-bottom: 40px;
}
.qualities-grid .card {
padding: 30px;
height: 100%;
}
#qualities {
margin-bottom: 0px;
}
/* --- Hobbies Grid --- */
.hobbies-grid {
display: flex;
flex-direction: column;
gap: 60px;
max-width: 800px;
margin: 0 auto;
}
.hobby-card {
padding: 0;
/* Removing padding for full-width image */
overflow: hidden;
}
.image-wrapper {
width: 100%;
height: 400px;
overflow: hidden;
}
.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.hobby-card:hover .image-wrapper img {
transform: scale(1.05);
}
.card-content {
padding: 30px;
}
#hobbies .hero h2 {
margin-top: 0px;
}
/* --- Projects Grid --- */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
}
.project-card {
display: block;
padding: 0;
text-decoration: none !important;
}
.project-card:hover {
transform: translateY(-8px);
}
.project-image {
height: 200px;
width: 100%;
background-color: #eee;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.project-image img {
width: 100%;
height: auto;
min-height: 100%;
object-fit: cover;
}
.project-info {
padding: 24px;
}
.project-info h3 {
margin-bottom: 8px;
font-size: 1.25rem;
}
.project-info p {
color: var(--accent-blue);
font-size: 0.9rem;
font-weight: 500;
}
/*
Footer
-------------------
*/
.apple-footer {
background-color: var(--bg-color);
padding: 40px 0;
font-size: 12px;
color: var(--text-secondary);
border-top: 1px solid rgba(0, 0, 0, 0.1);
text-align: center;
}
.footer-content {
max-width: 980px;
margin: 0 auto;
padding: 0 20px;
}
/*
Responsive Design
-------------------
*/
@media (max-width: 768px) {
.hamburger {
display: flex;
}
.menu-items {
display: none;
position: absolute;
top: 48px;
left: 0;
width: 100%;
background: var(--surface-color);
flex-direction: column;
padding: 20px;
box-shadow: var(--shadow-md);
}
#menu-toggle:checked~.menu-items {
display: flex;
}
.hero h1 {
font-size: 2.5rem;
}
.image-wrapper {
height: 250px;
}
}