/* --- Variables & Reset --- */
:root {
--bg-color: #fafbfc;
--text-main: #222222;
--text-muted: #777777;
--font-serif: 'Playfair Display', serif;
--font-sans: 'Poppins', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
font-family: var(--font-sans);
line-height: 1.6;
}
a {
text-decoration: none;
color: inherit;
}
/* --- Header & Navigation --- */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 5%;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-family: var(--font-serif);
font-size: 1.2rem;
font-weight: 700;
}
.nav ul {
list-style: none;
display: flex;
gap: 2rem;
}
.nav a {
font-size: 0.9rem;
color: var(--text-muted);
font-weight: 500;
transition: color 0.3s;
}
.nav a:hover, .nav a.active {
color: var(--text-main);
}
.theme-toggle {
cursor: pointer;
font-size: 1.2rem;
color: var(--text-muted);
}
/* --- Hero Section --- */
.hero {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 5% 5rem;
text-align: center;
}
.hero-header h1 {
font-family: var(--font-serif);
font-size: 3.5rem;
font-weight: 600;
line-height: 1.2;
margin-bottom: 4rem;
}
.hero-content {
display: flex;
justify-content: space-between;
align-items: center;
text-align: left;
gap: 2rem;
}
/* Info & Stats Columns */
.hero-info {
flex: 1;
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.info-block h4, .stat-block h4 {
font-size: 0.75rem;
color: var(--text-muted);
letter-spacing: 1px;
margin-bottom: 0.5rem;
text-transform: uppercase;
}
.info-block p {
font-size: 0.9rem;
color: var(--text-main);
}
.stat-block {
text-align: right;
}
.stat-block h2 {
font-family: var(--font-serif);
font-size: 2.5rem;
font-weight: 600;
}
/* Center Image Container */
.hero-image-container {
flex: 1.5;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.image-wrapper {
width: 300px;
height: 400px;
border-radius: 150px 150px 0 0; /* Membuat bentuk oval di atas, datar di bawah */
overflow: hidden;
position: relative;
border: 1px solid rgba(0,0,0,0.1);
background-color: #e0e5ec;
}
/* Garis Outline / Frame bayangan di belakang foto */
.image-wrapper::before {
content: '';
position: absolute;
top: -15px;
left: -15px;
right: -15px;
bottom: -15px;
border: 1px solid #ccc;
border-radius: 165px 165px 0 0;
z-index: -1;
}
.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}
.social-links {
margin-top: 2rem;
display: flex;
gap: 1.5rem;
}
.social-links a {
color: var(--text-muted);
font-size: 1.2rem;
transition: color 0.3s;
}
.social-links a:hover {
color: var(--text-main);
}
/* --- Divider --- */
.section-divider {
max-width: 900px;
margin: 0 auto;
border: none;
border-top: 1px solid #e1e1e1;
}
/* --- Skills Section --- */
.skills-section {
max-width: 900px;
margin: 5rem auto;
text-align: center;
padding: 0 5%;
}
.section-title h2 {
font-family: var(--font-serif);
font-size: 2.5rem;
}
.section-title p {
color: var(--text-muted);
font-size: 0.9rem;
margin-bottom: 4rem;
}
.skills-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 3rem;
}
.category-title {
font-size: 1rem;
font-weight: 600;
margin-bottom: 2rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.skill-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.skill-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.skill-item i {
font-size: 2.5rem;
background: #fff;
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
margin-bottom: 0.5rem;
}
.skill-name {
font-weight: 600;
font-size: 0.9rem;
}
.skill-level {
font-size: 0.75rem;
color: var(--text-muted);
}
/* --- Responsive Design --- */
@media (max-width: 900px) {
.hero-content {
flex-direction: column;
text-align: center;
}
.hero-info {
text-align: center;
}
.stat-block {
text-align: center;
}
.nav ul {
display: none; /* Hide nav on mobile for simplicity in this template */
}
}