@import url('https://fonts.cdnfonts.com/css/vcr-osd-mono');

body {
    margin: 0;
    font-family: 'VCR OSD Mono', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("eydoo.png");
    background-size: cover;
    background-position: center;
    background-position-x: 0;
    background-position-y: 0;
}

/* Particle Effect */
.particle {
    width: 5px;
    height: 5px;
    background: #ff6a00;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    animation: fall 1.5s linear forwards;
}

@keyframes fall {
    0% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) translateY(200px);
        opacity: 0;
    }
}

/* Click Me Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
    cursor: pointer;
    z-index: 100;
}

@keyframes bye {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

/* Particle Disable Log */
.particle-disable {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

/* Centering the Card */
.card {
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    width: 350px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: none;
    transition: 1s height cubic-bezier(0.25, 1, 0.5, 1), 0.5s scale;
}

.card:hover {
    scale: 1.01;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.descContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-10px);
}

@keyframes thePFP {
    0% {
        opacity: 0;
        transform: translateY(20px);
        scale: 0.9;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        scale: 1;
    }
}
.card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    animation: thePFP 1s ease-out forwards;
    animation-fill-mode: forwards;
    /* Center the image */
}

.username {
    font-size: 1.8em;
    margin: 10px 0;
}

* {
    font-family: 'VCR OSD Mono', sans-serif;
}

/* Typing animation */
.description {
    font-size: 1em;
    margin: 10px 0;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    /* Cursor effect */
    animation: typing 2.5s steps(40, end), 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: white
    }
}

/* Icon Hover Effect */
.social-icons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.social-icons div {
    position: relative;
    /* display: inline-block; */
    /* that makes the icons so freaking far from each other */
    /* if u encounter issues then re add the inline block */
    cursor: pointer;
    transition: transform 0.3s ease;
}

@keyframes smolMove {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

.socialIco {
    animation: 1s smolMove ease-out;
    animation-fill-mode: forwards;
}
.social-icons div:hover {
    transform: scale(1.2);
}

.social-icons div:hover .tooltip {
    opacity: 1;
    transform: translateY(-10px);
}

.social-icons svg {
    width: 30px;
    height: 30px;
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Music Player */
.music-player {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: block;
}

.music-player div {
    font-size: 1em;
}

.music-player input[type="range"] {
    width: 70%;
    margin: 0 10px;
}

.music-player svg {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.music-player svg:hover {
    opacity: 0.8;
}

/* Personalized input range */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}