@font-face {
    font-family: 'Minecraftia';
    src: url('Minecraftia-Regular.ttf') format('truetype');
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Minecraftia', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    animation: gradient 5s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hidden {
    display: none;
}

.background-video,
.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.profile-card {
    position: relative;
    background: #5b2c8281;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(7px);
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    overflow: visible;
}

.profile-info-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.profile-pic-wrapper {
    position: relative;
    width: 150px; 
    height: 150px;
    margin: 0 auto;
    overflow: visible;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.overlay-pic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125%;
    height: 125%; 
    pointer-events: none;
    z-index: 2;
    overflow: visible; 
}
.username {
    font-size: 2.5em;
    color: white;
    font-family: 'Minecraftia', sans-serif;
    position: relative;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    margin: 10px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon-image {
    width: 25px; 
    height: auto;
    transition: transform 0.2s ease;
}

.social-icon-image2 {
    width: 45px; 
    height: auto;
    transition: transform 0.2s ease;
}
.social-icon-image:hover {
    transform: scale(1.1);
}
.cursor-trail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.cursor-trail {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('cursor.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 3;
}

#click-text {
    font-family: 'Minecraftia', sans-serif;
    font-size: 24px;
    color: white;
    text-transform: lowercase;
}
.no-style-link {
    text-decoration: none; 
    color: inherit; 
}
.discord-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background: #5b2c82b3;
    border-radius: 10px;
    padding: 10px;
}

.discord-button-pic {
    border-radius: 50%;
    width: 50px;  /* Set the size of the profile picture */
    height: 50px; /* Ensure the profile picture remains the correct size */
    margin-right: 15px;
    flex-shrink: 0; /* Prevent the image from shrinking */
}

.discord-button {
    display: inline-flex;
    align-items: center;
    background-color: #861db6f5;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    white-space: nowrap; /* Prevent the button text from wrapping */
}

.discord-button span {
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.discord-button:hover {
    background-color: #69247a;
}

.discord-button:hover span {
    transform: translateX(5px);
}

.username1 {
    font-size: 1.2em;
    color: white;
    margin-right: 20px;
}

.spacer {
    flex-grow: 1;
}

.discord-button {
    padding: 10px 20px;
    background-color: #5b2c82b3; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0 5px 15px rgba(130, 44, 228, 0.5);
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-button:hover {
    background-color: rgba(90, 111, 163, 0.7); 
    transform: scale(1.1);
}


.typing-container {
    display: inline-block;
    border-right: 2px solid;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

.music-player {
    background: linear-gradient(135deg, #5b2c82b3, #8a3fbdb3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.controls {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin: 10px 0;
}

.navigation-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 25px;
}

.navigation-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4em;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navigation-controls button:hover {
    transform: scale(1.15);
    color: #ff69b4;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
}

#play-pause-button {
    font-size: 1.8em;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
}

.volume button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3em;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.volume button:hover {
    transform: scale(1.15);
    color: #ff69b4;
}

.progress-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    margin: 0 20px;
    gap: 15px;
}

#progress-bar {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: height 0.2s ease;
}

#progress-bar:hover {
    height: 8px;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #ff69b4;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
}

#progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ff1493;
}

#current-time, #duration {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    min-width: 60px;
    text-align: center;
}

.track-info {
    margin-top: 15px;
    font-size: 1em;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

#track-title {
    display: inline-block;
    animation: marquee 15s linear infinite;
    padding-left: 100%;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Add a glowing effect when audio is playing */
.playing .navigation-controls {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

/* Pulsing animation for the play button when playing */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 105, 180, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0);
    }
}

#play-pause-button.playing {
    animation: pulse 2s infinite;
}