/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    color: white;
    display: flex; /* This will help to center the .contact-container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide the scrollbars if the content is bigger than the screen */
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Stay behind everything else */
    object-fit: cover; /* Cover the entire viewport without stretching */
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 50px;
    background: rgba(17, 17, 17, 0.8); /* Semi-transparent background */
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Above the video */
    position: relative; /* Allow for z-index to work */
}

.contact-info h2 {
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

.contact-info p, .contact-info a {
    margin-bottom: 20px;
    color: #80e0d8;
    text-align: center;
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    display: flex;
    justify-content: space-between;
}

.input-group input {
    width: 48%;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #ddd;
}

.contact-form textarea {
    resize: vertical;
}

.send-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #80e0d8;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-button:hover {
    background: #72c8c0;
}

/* Styling for the header bar */
.top-header {
    background-color: rgba(0, 0, 0, 0.6); /* Black with slight transparency */
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure the header is above the video */
    display: flex; /* Use flexbox to layout the children */
    justify-content: center; /* Center the flex items (the links) horizontally */
    align-items: center; /* Center the items vertically */
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure it covers the video but stays below other content */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* Semi-transparent overlay */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px, /* Adjust the size of the gap */
            rgba(0, 0, 0, 0.6) 5px, /* Black lines with some transparency */
            rgba(0, 0, 0, 0.6) 5px /* Line thickness */
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px, /* Adjust the size of the gap */
            rgba(0, 0, 0, 0.6) 5px, /* Black lines with some transparency */
            rgba(0, 0, 0, 0.6) 5px /* Line thickness */
        );
    pointer-events: none; /* Allows clicks to pass through to the video or content below */
}


/* Styling for the links in the header */
.top-header a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-family: Arial, sans-serif;
}

/* Change link color on hover */
.top-header a:hover {
    color: #cfcfcf;
}
