/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #6A82FB, #FC5C7D);
    color: #fff;
    overflow: hidden;
}

.container {
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.icon svg {
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

h1 {
    font-size: 3em;
    margin: 0;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

p {
    font-size: 1.2em;
    margin: 10px 0 30px;
    animation: slideIn 1s ease-out 0.5s;
    animation-fill-mode: backwards;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

/* Animasi putaran jarum jam */
@keyframes rotate-hour-hand {
    from {
        transform-origin: 12px 12px; /* Pusat rotasi di tengah lingkaran */
        transform: rotate(0deg);
    }
    to {
        transform-origin: 12px 12px;
        transform: rotate(360deg); /* Putar jarum jam sebanyak 360 derajat */
    }
}

/* Terapkan animasi ke jarum jam saat hover */
.hour-hand {
    animation: rotate-hour-hand 60s linear infinite; /* Animasi berputar selama 60 detik (1 menit) */
}
