/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    text-align: center;
    padding: 20px;
}

header {
    padding: 50px 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.6);
}

.about {
    margin: 30px auto;
    padding: 20px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.about img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 10px;
}

.projects {
    margin-top: 40px;
}

.project-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

footer {
    margin-top: 40px;
    padding: 20px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Efek Proyek Dapat Diperbesar */
.project {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.project:hover {
    background: rgba(255, 255, 255, 0.3);
}

.description {
    font-size: 14px;
    color: white;
    display: none; /* Tersembunyi awalnya */
    transition: max-height 0.3s ease-in-out;
}

.project.expanded {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.project.expanded .description {
    display: block;
    font-size: 16px;
    color: white;
}

/* Media Sosial */
.social {
    margin-top: 40px;
}

.social h2 {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.social-links a:hover {
    background: white;
    color: #ff6b81;
}