/* styles.css */

@import url("typefaces.css");

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.video-container {
    position: relative;
    height: 100%;
    width: 100%;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust the color and opacity */
    z-index: 2;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    text-align: center;
    z-index: 3;
}

.overlay-text h1 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 3em;
    margin: 0;
    line-height: 1;
    color: snow;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.overlay-text p {
    font-family: "Gelasio", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin-top: 0.5em; /* Space between lines */
    text-align: right; /* Align text to the right */
    width: 100%; /* Ensure it takes full width */
    color: #ddd; /* Slightly lighter color */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    right: 0; /* Align it to the right of the container */
}