* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.container {
    text-align: center;
        
}


.background-box {
    background: rgba(25, 25, 25, 0.8); /* Slightly lighter background */
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    box-shadow: 0px 0px 30px rgb(255, 255, 255), inset 0px 0px 10px rgb(255, 255, 255);

    text-align: center;
    z-index: -1;
    perspective: 1000px; /* Perspective for 3D effect */
    transition: transform 0.1s ease; /* Smooth transformation */
    position: relative;

}


h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;

    margin-bottom: 20px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    transform: scale(1.1, 0.9);
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgb(255, 255, 255); }
}
.invisible {
    visibility: hidden;
}


.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    text-decoration: none;
    color: white; /* This will set the color of the SVG icons */
    transition: transform 0.3s ease;
}

.socials svg {
    width: 40px;  /* Smaller width */
    height: 40px; /* Smaller height */
    filter: drop-shadow(0 0 5px white); /* Initial white glow effect */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transitions for both transform and filter */
}

.socials a:hover svg {
    transform: scale(1.2); /* Scale up on hover */
    filter: drop-shadow(0 0 10px white); /* More intense white glow on hover */
}

.view-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1rem;
    color: #ccc;
}

#visualizer-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
}
canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
}
.video-container {
    position: relative; /* Allows absolute positioning of overlay */
    width: 100%;        /* Adjust as needed */
    height: 100vh;      /* Adjust as needed */
    overflow: hidden;   /* Ensures no scrollbars appear */
    display: flex;      /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    filter: blur(10px); /* Adjust the blur radius */
}

#background-video {
    position: absolute; /* Ensures video covers the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the container */
    filter: grayscale(100%); /* Apply black-and-white effect */
    z-index: -2;
}

.video-container {
    position: relative; /* Allows absolute positioning of overlay */
    width: 100%;        /* Adjust as needed */
    height: 100vh;      /* Adjust as needed */
    overflow: hidden;   /* Ensures no scrollbars appear */
    display: flex;      /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
}

#background-video {
    position: absolute; /* Ensures video covers the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the container */
    filter: grayscale(100%); /* Apply black-and-white effect */
    opacity: 0.5;
}

#overlay {
    position: absolute;
    background: rgba(0, 0, 0, 1); /* Semi-transparent overlay */
    padding: 0px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 80%;
    z-index: 1; /* Above the rain and video */
    transform-style: preserve-3d; /* Allow 3D transformations */
    transition: transform 0.1s ease-out; /* Smooth movement */
}

.content {
    position: relative;
    z-index: 1; /* Above the rain */
    color: white;
    text-align: center;
    padding: 20px;
}

pre::before,
pre::after {
    position: absolute;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* So it stays in the background */
}



#enter-button:hover {
    transform: scale(1.2, 1.1); /* Scale up on hover */
  }
#enter-button {
    width: 100%;
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 20px;
    transform: scale(1.1, 1);
    background: rgba(0, 0, 0, 0);
    color: #ffffff;
    border: none;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    padding: 1em 2em;
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 1s ease;
}

#overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 10000;
    backdrop-filter: blur(5px);
    transition: opacity 1s ease, visibility 1s ease;
}

#overlay2.hidden {
    opacity: 0;
    visibility: hidden;
}


