/* General reset for margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.content-box {
    position: relative;
    text-align: center;
    z-index: 2;
}

.glowing-text {
    font-size: 3em;
    color: #fff;
    letter-spacing: 5px;
    text-shadow: 0 0 10px #8c00ffab, 0 0 20px #8c00ffab, 0 0 30px #8c00ffab, 0 0 40px #8c00ffab;
}

#clock {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
}

.typewriter {
    font-size: 1.2em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden; 
    border-right: 3px solid #6c01b3; 
    width: 0; /* Start with no width */
    animation: typing 4s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ffcc; }
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.links a {
    font-size: 1.2em;
    padding: 10px 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
}

.links a:hover {
    background-color: #5500a5;
}

#toggle-music {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 1em;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
}

#toggle-music:hover {
    background-color: #00ffcc;
}

/* Discord Status Styling */
.discord-status {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.discord-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.discord-info {
    color: #fff;
}

.discord-name {
    font-weight: bold;
    font-size: 1.1em;
}

.discord-status-text {
    color: limegreen;
    font-size: 0.9em;
}

.discord-activity {
    font-size: 0.9em;
    color: #ccc;
}
