@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'exo 2', sans-serif;
    font-weight: bold;
}

body {
    background: linear-gradient(to right, #664fee, #37324b);
    color: #333;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'bodoni moda';
    scroll-behavior: smooth;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    animation: fadeIn 2s ease;
}

.card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 600px;
    max-width: 100%;
    animation: slideUp 1s ease forwards;
    transform: translateY(50px);
    opacity: 0;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    text-align: center;
    margin-bottom: 40px;
}

.about-section h1 {
    font-size: 2.5em;
    color: #6a11cb;
    margin-bottom: 10px;
    animation: textFadeIn 1.5s ease;
}

.about-section p {
    font-size: 1.1em;
    color: #555;
    margin-top: 10px;
}

.profile, .skills, .contact {
    margin-bottom: 20px;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.profile h2, .skills h2, .contact h2 {
    color: #2575fc;
    margin-bottom: 15px;
}

.profile p, .skills ul, .contact p {
    color: #555;
    font-size: 1em;
}

.skills ul {
    list-style: none;
}

.skills li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.skills li::before {
    content: "✔";
    color: #6a11cb;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

.contact p {
    margin-bottom: 10px;
}

/* Tombol Beralih Halaman di luar card */
.floating-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #6a11cb;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.4em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.floating-button:hover {
    background-color: #2575fc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* Animasi Ikon Panah */
.floating-button::after {
    content: "→";
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.floating-button:hover::after {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .card {
        width: 90%;
        padding: 20px;
    }
}