* {
    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;
        
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.background-box {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
    padding-left: 50px;
    padding-right: 50px;
    filter: drop-shadow(0 0 3px rgb(255, 255, 255));
}
h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid rgb(255, 255, 255);
    animation: blink-caret 0.75s step-end infinite;
    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 */
}
.rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Ensures that rain does not interfere with other elements */
    perspective: 1000px; /* Define perspective for 3D effect */
}

.rain-drop {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
    pointer-events: none;
    transform: translateX(0px) translateY(0px) translateZ(0px); /* Initial 3D position */
    transition: transform 0.3s linear; /* Smooth movement */
    animation: fall linear infinite;
}

@keyframes fall {
    from {
        transform: translateY(-100vh) translateZ(0);
    }
    to {
        transform: translateY(100vh) translateZ(0);
    }
}

.content {
    position: relative;
    z-index: 1; /* Above the rain */
    color: white;
    text-align: center;
    padding: 20px;
}

pre::before,
pre::after {
    position: absolute;
}

#particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensure particles don’t interfere with other elements */
    overflow: hidden;
    z-index: 5; /* Make sure particles are below other content */
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}
