/* Reset CSS dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Styling dasar */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    /* Tambahkan gradient background dengan warna merah ke putih */
    background:linear-gradient(135deg, #ff0000, #ffffff);
    background-image: url("bgn.jpeg");
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}
/* Header styling dengan foto profil di tengah */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

/* Foto profil berbentuk lingkaran */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Posisikan di tengah halaman */
    margin-left: auto;
    margin-right: auto;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
header h1 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #333;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
}

.bio {
    color: #333;
    font-weight: 500;
    max-width: 400px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}
/* Link buttons styling */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.link-button i {
    font-size: 1.3rem;
    margin-right: 10px;
}
/* Warna khusus untuk setiap platform */
.link-button.instagram {
    border-left: 4px solid #e1306c;
}

.link-button.youtube {
    border-left: 4px solid #ff0000;
}

.link-button.twitter {
    border-left: 4px solid #1da1f2;
}

.link-button.facebook {
    border-left: 4px solid #42099e;
}

.link-button.maps {
    border-left: 4px solid green;
}

/* Animasi hover yang lebih baik */
.link-button.instagram:hover {
    background-color: #e1306c;
    color: white;
}

.link-button.youtube:hover {
    background-color: #ff0000;
    color: white;
}

.link-button.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.link-button.facebook:hover {
    background-color: #42099e;
    color: white;
}

.link-button.maps:hover {
    background-color: green;
    color: white;
}


/* Footer styling */ 
footer {
    text-align: center;
    color: #333;
    font-size: 0.8rem;
    margin-top: 20px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
/* Media query untuk responsivitas */
@media (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.9rem;
    }

    .link-button {
        padding: 12px;
    }
}