body {
    margin: 0;
    overflow: hidden; /* Hide scrollbars */
    user-select: none;
    font-family: Arial, Helvetica, sans-serif; /* Font style */
    background-color: #000; /* Background color */
    opacity: 0; /* Start invisible for fade-in effect */
    transition: opacity 7s ease-in; /* Fade-in effect */
}

* {
    cursor: url('https://tobiasahlin.com/static/cursors/default.png'), auto; /* Custom cursor */
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    z-index: 1; /* Background layer */
}

#socials-container {
    display: flex;
    flex-direction: column; /* Align items vertically inside the container */
    align-items: center; /* Center the items horizontally */
    justify-content: center; /* Center the items vertically */
    position: fixed; /* Fixed position */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center alignment */
    z-index: 5; /* Above particles layer */
    font-family: Arial, Helvetica, sans-serif; /* Font style */
    text-align: center; /* Center text alignment */
}

#socials-text {
    color: #fff; /* Text color */
    font-size: 1.2em; /* Text size */
    margin-bottom: 0.5em; /* Spacing */
    text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.7); /* Text shadow */
}

#socials {
    display: flex; /* Display icons as a flexbox */
    flex-direction: row; /* Align items in a row */
    justify-content: center; /* Center the icons horizontally */
    align-items: center; /* Center icons vertically */
    gap: 1em; /* Add spacing between icons */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow: hidden; /* Hide any overflow */
    list-style: none; /* Remove bullet points if you use <li> */
}

.glow-icon {
    width: 3em; /* Icon size */
    height: 3em; 
    transition: filter 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    filter: none; /* Default no glow */
    display: inline-block; /* Ensure icons are inline */
}

.glow-icon:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

#discord:hover {
    filter: url(#glow-discord); /* Glow effect for Discord */
}

#telegram:hover {
    filter: url(#glow-telegram); /* Glow effect for Telegram */
}

#x:hover {
    filter: url(#glow-x); /* Glow effect for Twitter */
}

#credit {
    position: absolute;
    color: white;
    opacity: 0.25; /* Dimmed text */
    z-index: 4; /* Above background but below socials */
    text-align: center;
    min-width: 100%;
    bottom: 0;
    padding-bottom: 1em; /* Spacing */
}

#creditText {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif; /* Font style */
}
