@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

@font-face {
    font-family: 'MYFONT';
    src: url('../fonts/apex.ttf') format('truetype');
}

body,
html {
    font-family: 'Share Tech Mono', monospace;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto; /* Ensure the entire page is interactive */
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Set a lower z-index for the loading screen */
    pointer-events: auto; /* Ensure the loading screen is interactive */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1; /* Set a lower z-index for particles */
}

#typing-container {
    font-size: 2em;
    color: inherit; /* Keep original color */
    z-index: 3;
    pointer-events: auto;
    text-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

#cursor {
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#main-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 4; /* Increase the z-index for main content */
    opacity: 0;
    transition: opacity 0.5s ease-in;
    pointer-events: auto; /* Ensure the main content is interactive */
}

#particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Set a lower z-index for particles background */
}

.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    position: relative;
    z-index: 5; /* Increase the z-index for the profile section */
    pointer-events: auto; /* Ensure the profile section is interactive */
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
    pointer-events: auto; /* Ensure the profile info is interactive */
}

.profile-info h2 {
    font-family: 'MYFONT', sans-serif;
    margin: 0;
    font-size: 1.4em;
    color: inherit; /* Keep original color */
    text-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

.view-count {
    position: absolute;
    top: 21px;
    right: 15px;
    font-size: 1em;
    z-index: 6;
    pointer-events: auto;
    text-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1.5px;
    pointer-events: auto; /* Ensure the social icons are interactive */
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.18em; /* Increase the font size */
    pointer-events: auto; /* Ensure the social icon links are interactive */
}

.social-icons a:hover {
    color: #888;
}

.location-section {
    margin-top: 5px;
    font-size: 0.9em;
    color: #ccc;
    pointer-events: auto; /* Ensure the location section is interactive */
}

.quote-section {
    margin-bottom: 20px;
    font-style: italic;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    pointer-events: auto; /* Ensure the quote section is interactive */
    text-shadow: 0 0 10px #fff; /* Add white glow effect */
}

.image-info,
.location-section {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 10px;
    pointer-events: auto; /* Ensure the image info and location section are interactive */
}

.divider {
    height: 1px;
    background-color: #333;
    margin: 10px 0;
    pointer-events: auto; /* Ensure the divider is interactive */
}

.audio-player-container {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    padding: 10px 15px;
    position: relative;
    z-index: 6; /* Increase the z-index for the audio player container */
    pointer-events: auto; /* Ensure the audio player container is interactive */
}

.audio-player {
    pointer-events: auto; /* Ensure the audio player is interactive */
}

.player-content {
    display: flex;
    align-items: center;
    pointer-events: auto; /* Ensure the player content is interactive */
}

.track-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-right: 10px;
}

.track-info {
    flex-grow: 1;
    pointer-events: auto; /* Ensure the track info is interactive */
}

.track-name {
    font-family: 'MYFONT', sans-serif;
    font-size: 1.3em;
    color: inherit; /* Keep original color */
    margin-bottom: 5px;
    text-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

.player-controls {
    display: flex;
    align-items: center;
    pointer-events: auto; /* Ensure the player controls are interactive */
}

.current-time,
.total-time {
    font-size: 0.7em; /* Make the timestamp smaller */
    color: #888;
    min-width: 35px;
    pointer-events: auto; /* Ensure the current and total time are interactive */
}

.progress-slider,
.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--pinkie-color) 0%, var(--pinkie-color) var(--value, 0%), #888 var(--value, 0%), #888 100%);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    margin: 0 10px;
    border-radius: 2px;
    pointer-events: auto;
    box-shadow: 0 0 5px var(--pinkie-color); /* Add slight glow effect */
}

.volume-slider {
    width: 80px; /* Make the volume slider smaller */
}

.progress-slider:hover,
.volume-slider:hover {
    opacity: 1;
}


.progress-slider::-webkit-slider-thumb,
.progress-slider::-moz-range-thumb {
    width: 0; /* Hide the thumb */
    height: 0; /* Hide the thumb */
    border: none; /* Remove border */
    background: none; /* Remove background */
    cursor: default; /* Change cursor to default */
}

.volume-slider::-webkit-slider-thumb,
.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

.play-pause-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    pointer-events: auto;
    width: 30px; /* Fix jiggling by setting a fixed width */
    text-align: center; /* Center the icon */
    text-shadow: 0 0 10px var(--pinkie-color); /* Add glow effect */
}

.volume-slider {
    -webkit-appearance: none;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--pinkie-color) 0%, var(--pinkie-color) var(--value, 0%), #888 var(--value, 0%), #888 100%);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    margin-left: 10px;
    border-radius: 2px;
    pointer-events: auto; /* Ensure the volume slider is interactive */
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.credit {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    pointer-events: auto; /* Ensure the credit section is interactive */
}

* {
  pointer-events: auto;
}
