@font-face {
    font-family: 'Bold';
    src: url('../../src/fonts/mainfont.ttf');
}

@font-face {
    font-family: 'Light';
    src: url('../../src/fonts/miscfont.ttf');
}

.highlight {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

* {
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #000;
    overflow: hidden;
}

body {
    font-size: 16px;
}

img,
svg {
    -webkit-user-drag: none;
    user-drag: none;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: '';
    background: url('../../assets/background.webp') center center / cover no-repeat;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#overlay {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
    transition: opacity 2s ease;
}

.overlaybtn {
    position: relative;
    z-index: 12;
    border: 0;
    padding: 12px 22px;
    background: transparent;
    color: #fff;
    font-family: 'Bold';
    font-size: 24px;
    pointer-events: none;
    text-shadow: 0 0 12px #fff;
}

.overlay-hint {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Light';
    font-size: 13px;
    letter-spacing: 1px;
    pointer-events: none;
    text-transform: lowercase;
}

/* basic setup */

#user-page {
    position: relative;
    z-index: 1;
    display: none; /* none = click to enter | flex = no click to enter */
    animation: fadeIn 0.5s ease-in-out; /* fadeIn 0.5s ease-in-out = click to enter | none = no click to enter */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 98vh;
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 425px);
    min-height: 0;
    padding: 24px 20px;
    background: rgba(0, 0, 0, 0.26);
    border-radius: 18px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* will show when clicking on overlay */

.background {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* pp display setup */

.pp {
    object-fit: cover;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    box-shadow: 0 0 15px #000;
}

.username {
    position: relative;
    display: inline-block;
    margin-top: 2vh;
    margin-bottom: 1vh;
    color: #fff;
    font-family: 'Bold';
    font-size: 22px;
    filter: drop-shadow(#c18be0 1px 0 7px)!important;
}

.username::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 3vh;
    left: 50%;
    padding: 5px;
    color: #fff;
    background-color: rgba(17, 17, 17, 0.7);
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scaleY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.username:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 80%;
    padding: 12px 15px;
    margin: 1vh 0 2.5vh;
    background-color: rgba(22, 22, 22, 0.178);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(3px);
}

.discord-profile-image {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.discord-profile-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.discord-username,
.discord-display-name {
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 0 7px #fff;
}

.discord-username {
    font-family: 'Bold';
    font-size: 16px;
}

.discord-display-name {
    font-family: 'Light';
    font-size: 14px;
}

/* bio setup */

.bioline {
    background-color: rgba(10, 10, 10, 0.61);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    height: 2px;
    border-radius: 10px;
}

.linksline {
    background-color: rgba(10, 10, 10, 0.61);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    height: 2px;
    border-radius: 10px;
    
}

/* separation line setup */

.links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 1.5vh;
    max-height: 280px;
    overflow-y: auto;
    width: 300px; /* 560px for wide, 300px for normal */
   /* padding-top: 1vh; */
    
}

.links-container::-webkit-scrollbar {
    display: none;
}

.links {
    border-radius: 15px;
    height: 45px;
    width: 45px;
    padding: 15px;
    box-sizing: content-box;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

#btc {
    filter: drop-shadow(#5865f2 1px 0 7px)!important;
}
#ig {
    filter: drop-shadow(#d62976 1px 0 7px)!important;
}
#tt {
    filter: drop-shadow(#f7f7f7 1px 0 7px)!important;
}
#tele {
    filter: drop-shadow(#2aaaee 1px 0 7px)!important;
}


.logo {
    fill: #fff;
    height: 70px;
    width: 70px;
}

.discordinvite {
    fill: #5865f2;
    filter: drop-shadow(#5865f2 1px 0 7px);
}

.twitch {
    fill: #9146ff;
    filter: drop-shadow(#9146ff 1px 0 7px);
}

.instagram {
    fill: #e1306c;
    filter: drop-shadow(#e1306c 1px 0 7px);
}

.github {
    fill: #fff;
    filter: drop-shadow(#fff 1px 0 7px);
}

.links:hover {
    transform: scale(1.2);
}

/* socials container setup */

.views-container {
    font-family: 'Light';
    font-size: 20px;
    color: #fff;
    fill: #C18be0;
    margin-top: 2vh;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px; 
}

.views-container svg {
    padding-bottom: 6px;
    height: 25px; 
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(#c18be0 1px 0 7px)!important;
}
#view-count {
    filter: drop-shadow(#ffffff 1px 0 7px)!important;
}




/* views container setup */

.pic-badge {
    background-size: 100%;
    background-repeat: no-repeat; 
    background-position: center center;
}

/* badge setup */

.mutebutton {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11;
}

.volume-slider {
    width: 110px;
    height: 22px;
    accent-color: #c18be0;
    cursor: pointer;
}

/* mute button setup */

.breathing {
    background: linear-gradient(90deg, transparent 30%, #fff 50%, transparent 70%);
    background-size: 200%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: breathing 2s linear infinite;
}

@keyframes breathing {
    0% {
        background-position: 150%;
    }
    100% {
        background-position: -50%;
    }
}

/* pp display setup */
.sparkles {
    position: relative;
    z-index: 1;
}

/* sparkles effect setup */

.leaves::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/leaves1.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.leaves {
    position: relative;
    z-index: 1;
}

/* leaves effect setup */

.sakura::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/sakura2.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.sakura {
    position: relative;
    z-index: 1;
}

/* sakura effect setup */

.comet::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/blue-comet.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.comet {
    position: relative;
    z-index: 1;
}

/* comet effect setup */

.thunder::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/white-lightning.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.thunder {
    position: relative;
    z-index: 1;
}

/* thunder effect setup */

canvas {
   position: absolute;
   top: 0;
   left: 0;
   z-index: -1;
}

/* extras */
/* Main div */
#mainDiv{
    width:375px;
   }
   
   @media (max-width:576px){
   
    /* Main div */
    #mainDiv{
     width:275px;
    }
    .pre-container img {
        transform: scale(0.725); 
        height: auto; 
        display: block;
    }
}
/* pre div */
.pre-container {
    text-align: center;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-wrap: break-word;
}

.pre {
    font-family: 'Light';
    font-size: 2vh;
    color: #fff;
    line-height: 1.5;
}

/* fixing mobile rpc view */