body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Satoshi', 'Array', sans-serif;
    user-select: none;
    background-color: #1f1f1f;
    cursor: url('peak.cur'), auto;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 4, 19, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: opacity 0.5s ease-out, visibility 0.5s;
    opacity: 1;
    z-index: 1000;
}

.overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.overlay-text {
    color: white;
    font-size: 3em;
}

.texter {
    width: 760px;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-in, transform 0.3s ease, background-color 0.3s ease;
    display: none;
}

.texter.fade-in {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.texter:hover {
    background-color: rgba(0, 0, 0, 1);
}

.title {
    margin: 0;
    font-size: 2.5em;
    color: white;
}

.body-text {
    font-size: 1.2em;
    color: white;
    margin-top: 20px;
}

@keyframes bounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
}

.bouncing {
    animation: bounce 0.3s ease infinite;
}

#volume-container {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2000;
}

.volume-button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
}

.volume-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.volume-button .muted .volume-icon {
    transform: scale(0.8);
    filter: grayscale(100%);
}

.volume-button:hover .volume-icon {
    transform: scale(1.2);
}
.volume-slider {
    width: 150px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 5px;
    border: none;
    appearance: none;
    outline: none;
    margin-left: 15px;
    opacity: 0; 
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease;
    cursor: pointer;
}

.volume-button:hover + .volume-slider,
.volume-slider:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7); 
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6); 
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1); 
}

.volume-slider:active::-webkit-slider-thumb {
    background-color: rgba(0, 0, 0, 1); 
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 18px; 
    height: 18px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6); 
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Slider thumb hover effect (Firefox) */
.volume-slider::-moz-range-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8); 
    transform: scale(1.1);
}

/* Slider thumb active effect (Firefox) */
.volume-slider:active::-moz-range-thumb {
    background-color: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

.volume-slider:focus {
    outline: none;
}

