@font-face {
    font-family: Emoji;
    src: local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Segoe UI Symbol"), local("Noto Color Emoji");
    unicode-range: U+1F000-1F644, U+203C-3299;
}

:root {
    --main-bg-color: #f4f4f4;
    --text-color: #333;
    --header-bg-color: #333;
    --header-text-color: white;
    --transition-duration: 0.3s;
    --font-size-base: 16px;
    --nav-height: 60px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Emoji, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    font-size: clamp(14px, 1.2vw, 18px);
    word-break: break-all;
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    line-height: 1.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.hover-effect .fa-circle-arrow-down {
    transition: animation 0.3s ease-in-out;
}

.hover-effect:hover .fa-circle-arrow-down {
    animation: bounce 2s infinite;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }

.project-item {
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
#achievements {
    clear: both;
}

#bonus {
    transition: opacity 0.5s ease;
  }