:root {
    --main-blue: #11406b;
    --light-grey: #ececec;
}

#video_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#video_wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-blue, .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.overlay-blue {
    background-color: var(--main-blue);
    animation: fadeIn 27.4s ease-in-out infinite forwards;
}

.overlay {
    background: url(patternoverlay.png) center center repeat;
}

@keyframes fadeIn {
    0%, 100% { opacity: 1; }
    10%, 90% { opacity: 0; }
}

.content {
    position: relative;
    z-index: 1;
}

.responsive {
    padding: 50px;
    display: block;
    margin: auto;
    width: 50%;
    max-width: 400px;
    height: auto;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--main-blue);
    color: #e1b778;
    font-family: 'Lato', sans-serif;
    padding: 10px 20px; /* Reduced vertical padding for a thinner footer */
    text-align: left;
    z-index: 1;
    box-sizing: border-box;
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space out text and icons */
    align-items: center; /* Vertically align items in the footer */
}

.footer p {
    margin: 0; /* Remove default margin */
    flex-grow: 1; /* Allow text to take up available space */
}

.footer .btnz-container {
    /* Removed text-align as it's now flex */
}

.btnz {
    display: inline-block;
    margin-left: 5px; /* Space between icons */
    padding: 5px 10px; /* Adjust padding for a slimmer look */
    border: none;
    background-color: var(--light-grey);
    text-decoration: none;
    font-size: 18px;
    color: #FFF;
    vertical-align: middle;
}

.btnz:hover {
    color: #9b9b9b;
}


.linkedin, .twitter, .email {
    background-color: var(--main-blue);
}

h1, h2 {
    color: white;
    font-family: 'Lato', sans-serif;
    text-align: center;
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .responsive {
        width: 80%;
        padding: 20px;
    }

    h1 {
        font-size: 4rem;
    }

    .footer {
        font-size: 14px;
    }
}
