/* Mengimpor font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: url('img/bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.profile-box {
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 40px;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 100%;
    transition: transform 0.5s ease;
}

.profile {
    width: 120px;
    border-radius: 50%;
    padding: 5px;
    background-color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1s ease-in-out;
}

.profile-box h3 {
    font-size: 24px;
    margin-top: 15px;
    font-weight: 600;
}

.profile-box p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.medsos {
    margin-top: 15px;
}

.medsos a {
    margin: 0 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.medsos a:hover {
    transform: scale(1.1);
}

.medsos img {
    width: 25px;
    height: 25px;
}

.skills {
    margin-top: 25px;
    text-align: center;
    color: #333;
}

.skills h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.skills-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skill {
    text-align: center;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill img {
    width: 40px;
    height: 40px;
}

.skill p {
    font-size: 12px;
}

.about-me {
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-me h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-me p {
    font-size: 14px;
    color: #555;
}

button {
    background: #007bff;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.profile-bottom {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #333;
    color: white;
    width: 100%;
    bottom: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .profile-box {
        padding: 30px;
    }
    
    .skills-list {
        flex-direction: row;
        justify-content: center;
    }
    
    .skill {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
