/* General page setup */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents scrollbars */
    font-family: 'Montserrat', sans-serif;
    /* The body's background is now transparent to let the video show through */
    background-color: transparent;
}

/* Video background container */
.video-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1; /* Puts the video behind all other content */
    background-color: #000; /* Add a black fallback here instead */
}

#bgvid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key. It covers the entire screen, cropping as needed */
    transform: translate(-50%, -50%);
}

/* Content container to center the text */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    color: white;
    text-align: center;
}

.text-container {
    background: rgba(0, 0, 0, 0.2); /* Subtle dark overlay for text readability */
    padding: 2rem 3rem;
    border-radius: 10px;
}

.domain-name {
    font-size: 4rem; /* Large font size for the domain */
    font-weight: 700; /* Bold */
    margin: 0;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400; /* Regular weight */
    margin-top: 0.5rem;
    opacity: 0.9; /* Slightly less prominent than the main text */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .domain-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .text-container {
        padding: 1.5rem 2rem;
    }
}