@font-face {
    font-family: font1;
    src: url(./fonts/Poppins-Medium.ttf);
}



@font-face {
    font-family: font2;
    src: url(./fonts/Nexa-Heavy.ttf);
}

.footer{
    bottom: 0;
    position: fixed;
    width: 100vw;
    text-align: center;
    font-family: font1;
    font-size: 1vw;
    z-index: 1;
}

body{
    height: 100vh;
    width: 100vw;
    background-image: url(./bg/2.jpg);
    background-position: 0% 50%;
    background-size: cover;
    z-index: -10000;
}

body, html {
    margin: 0;
    overflow: hidden;
    color: rgb(255, 255, 255); 
    z-index: -1;
}


canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}   

.boxmain {
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(37, 37, 37, 0.233);
    border: 2px solid #5e1f5a;
    box-shadow: 0px 0px 15px #5e1f5a;
    border-width: 30%;
    border-radius: 1.4vh;
    padding: 3%;
    height: 35vh; 
    width: 25vw; 
    backdrop-filter: blur(100);
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    transform-style: preserve-3d;
    transform: translateZ(20px);
    z-index: 1;
    backdrop-filter: blur(2px);
}
  
#tekst{
    margin-top: 0.1vh;
    text-shadow: 0px 0px 15px #5e1f5a;
    font-family: font2;
    transition: 0.6s;
    font-size: 2.5vh;
    z-index: 3;
}


#srodek{
    text-align: center;
    font-family: font2;
    font-size: 6vh;
    display: grid;
    place-items: center;
    height:20vh;
    transition: 0.3s;
    text-shadow: 0px 0px 15px #5e1f5a;
    font-size: 3vw;
}



.boxnick {
    margin: 0;
    background-color: rgba(32, 32, 32, 0.363);
    border: 2px solid #5e1f5a;
    box-shadow: 0px 0px 15px #5e1f5a;
    border-width: 0.15vw;
    border-radius: 3vh;
    padding: 1vw;
    height: 7vh; 
    width: 10vw;
    font-family: font1;
    flex-direction: column;
    text-align: center;
    display: flex;
    transition: 0.3s;
    justify-content: center;
    margin-bottom: 2vh;
    align-items: center;
    z-index: -1;  
}
.boxnick * { 
    margin: 0; 
}

.boxnick:hover{
    transition: 0.3s;
    border: 2px solid #8f3187;
    box-shadow: 0px 0px 15px #8f3187;
}

.boxnick p:hover{
    text-shadow: 0px 0px 20px #5e1f5a;
    transition: 0.3s;
}

.bonick p{
    transition: 0.5s;
}


#boxnick{
    margin: 0;
    font-size: 1.75vw;
    transition: 0.5s;
}


#status{
    font-size: 1vw;
    margin-top: 0;
    transition: 0.5s;
}




.boxmain {
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}


a {
position: relative;
text-decoration: none;
}

a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5e1f5a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
  
a:hover::before {
transform: scaleX(1);
}
  
a:link{
    color: aliceblue;
}
a:hover{
    color: #5e1f5a;
    text-shadow: 0px 0px 10px #5e1f5a;
}

a:visited{
    color: aliceblue;
}

a:visited:hover {
    color: #5e1f5a;
    text-shadow: 0px 0px 10px #ffffff
  }




.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.enter-button {
    text-align: center;
    font-size: 2.5vh;
    font-family: font2;
    color: aliceblue;
    text-shadow: 0px 0px 15px #5e1f5a;
    transition: 0.6s;
}

.enter-button a {
    text-decoration: none;
    color: inherit;
}

.enter-button a:hover {
    color: #5e1f5a;
    transition: 0.3s;;
    text-shadow: 0px 0px 20px #5e1f5a;
    transition: 0.3s;
}

.enter-button a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5e1f5a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.enter-button a:hover::before {
    transform: scaleX(1);
}




.volume-slider {
    position: fixed;
    bottom: 0;
    left: 1rem;
    width: 15vw;
    max-width: 100px;
    height: 1.5rem;
    z-index: 2;
}

.volume-slider input[type="range"] {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    background-color: rgba(104, 104, 104, 0.4);
    border-radius: 5px;
    padding: 0;
    margin: 0;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0.6vw;
    height: 1vh;
    background-color: #5e1f5a ;
    border-radius: 50%;
    cursor: pointer;
}


.cursor-glow {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #5e1f5a;
    background: -moz-radial-gradient(circle, #5e1f5a 0%, rgba(238,174,202,0.2) 100%);
    box-shadow: 0px 0px 10px #5e1f5a;
    background: radial-gradient(circle, #5e1f5a 0%, rgba(155, 168, 207,0.2) 100%);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 1;
}


.cursor-glow:active {
    box-shadow: 0px 0px 10px #f19bec; /* increase box-shadow size and intensity */
  background: radial-gradient(circle, #b96ab4 0%, rgba(255, 255, 255, 0.5) 100%); /* change gradient colors for a brighter glow */  
}