* {
    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.);
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    box-shadow: 2px 2px 20px rgb(0, 0, 0), inset 0px 0px 209px rgb(0, 0, 0);
    text-align: center;
    z-index: -1;
    perspective: 1000px;
    transition: transform 0.1s ease;
    position: relative;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    transform: scale(1.1, 0.9);
    padding-right: 35px;
}

#pfp {
    z-index: 3;
    width: 30px;
    border-radius: 20px;
    float: left;
    box-shadow: 0px 0px 10px rgba(93, 105, 183);
}

h2 {
    color: rgb(133, 133, 133);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
    transform: scale(1.1, 0.9);
}

hr {
    align-self: center;
    margin-bottom: 15px;
    width: 300px;
    box-shadow: 0px 0px 10px rgb(255, 255, 255);
}

#desc2 {
    color: rgb(133, 133, 133);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 10px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 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;
    transition: transform 0.3s ease;
}

.socials svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px white);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.socials a:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px white);
}

.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;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: blur(10px);
    filter: brightness(0.2);
    box-shadow: 2px 2px 200px rgb(0, 0, 0), inset 0px 0px 209px rgb(0, 0, 0);
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    z-index: -2;
}

#background-video3 {
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
    z-index: -1;
    filter: brightness(0.1);
}

#overlay {
    position: absolute;
    background: rgba(0, 0, 0, 1);
    padding: 0px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 80%;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.content {
    position: relative;
    z-index: 1;
    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; /
  }

#enter-button:hover {
    transform: scale(1.2, 1.1);
}

#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;
}

#toggleBtn {
    color: white;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    cursor: pointer;
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(25, 25, 25, 0);
    color: white;
    border: none;
    border-radius: 10px;
    z-index: 100;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
}

#toggleBtn:hover {
    transform: translateX(-50%) scale(1.05);
}

#aboutBox {
    width: 300px;
    height: 200px;
    padding-left: 5px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    position: fixed;
    bottom: -260px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 1s ease-in, box-shadow 0.5s ease-in;
    box-shadow: 2px 2px 20px rgb(0, 0, 0), inset 0px 0px 209px rgb(0, 0, 0);
    cursor: move;
    align-items: center;
}

#aboutBox.show {
    opacity: 1;
    visibility: visible;
    box-shadow: 4px 4px 40px rgb(0, 0, 0), inset 0px 0px 209px rgb(0, 0, 0);
}

.aboutText {
    padding-top: 10px;
    color: rgb(133, 133, 133);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 10px;
    text-shadow: 0px 0px 5px rgba(10,10,10, 0.8);
    transform: scale(1.1, 0.9);
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

#aboutBox.show .aboutText {
    opacity: 1;
}

.aboutText em {
    padding-left: 20px;
    padding-top: 10px;
    color: rgb(255, 255, 255);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 10px;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);
    transform: scale(1.1, 0.9);
}

#background-video4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -5;
}
