/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #00ffff #222;    
}

/* Body */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #181818 50%, #0a0a0a 100%);
    background-size: 500%;
    color: white;
    min-height: 100vh;
    animation: animateBackground 45s linear infinite;
}

@keyframes animateBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.04;
    background: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 50%);
    background-size: 0.8vw 0.8vw;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5vw;
    background: #111;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo {
    font-size: 1.8vw;
    font-weight: bold;
}

.logo span {
    color: cyan;
}

.nav-links {
    font-size: 1.2vw;
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 1vw;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.1s ease;
}

.nav-links a:hover {
    color: cyan;
}

.nav-icons {
    position: relative;
    top: 2px;
    width: 1.3vw;
    height: 1.3vw;
}

/* Footer */
footer {
    background: #111;
    padding: 0.5vw;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footer-content {
    width: 80%;
    position: relative;
    left: 10%;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1vw;
}

.footer-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.footer-icon:hover {
    transform: translateY(-2px); 
    opacity: 1;
}

.footer-icon img {
    height: 1.4vw;
}

#toggle-button {
    position: fixed;
    bottom: 0.2vh;
    right: 0.6vw;
    background: none;
    border: none;
    cursor: pointer;
}

#toggle-icon { width: 2.2vw }

/* Responsiveness for all screens */
@media (max-width: 868px) {
    .logo { font-size: 3.5vw; }
    .nav-icons {
        width: 3vw;
        height: 3vw;
    }
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 3vw;
    }
    .nav-links a::after { content: none; }
    .nav-links a span {
        font-size: 0;
        visibility: hidden;
    }
    .footer-links { gap: 1.5vw; }
    .footer-icon img { height: 2vw; }  
    #toggle-icon { width: 3vw; }
}

@media (max-width: 480px) {
    .logo { display: none; }
    .nav-icons {
        width: 7vw;
        height: 7vw;
        padding: 0.5vw;
    }
    nav { 
        flex: 2;
        display: flex;
        justify-content: center; 
    }
    .footer-links { gap: 3vw; }
    .footer-icon img { height: 5vw; }  
    #toggle-icon { width: 6vw; }
    #toggle-button {
        bottom: 0.2vh;
        right: 3vw;
    }    
}
