/* Normalize */

/* Set default box-sizing to border-box for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove default margin from all elements */
body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
figure, figcaption,
dl, dd {
    margin: 0;
}

/* Set default font properties */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

/* Remove list styles */
ul, ol {
    list-style: none;
}

/* Remove default fieldset, input, button, textarea styles */
fieldset {
    border: none;
}

button,
input,
select,
textarea {
    font: inherit;
    margin: 0;
}

/* Remove link underlines by default */
a {
    text-decoration: none;
    color: inherit;
}

/* Reset table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Set common form element styles */
input,
button,
textarea,
select {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background-color: #fff;
}

/* Set images and media to responsive by default */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Apply Flexbox to body for overall layout management */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Remove default styling for main sections */
main, header, footer, section, article, aside, nav {
    display: block;
}

/* Custom properties for consistent styling */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #18bc9c;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Apply custom properties */
body {
    color: var(--text-color);
    background-color: var(--background-color);
    font-family: var(--font-family);
}

/* Style for video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Flex container for content */
.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Style for headings and texts */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Link styles */
a {
    color: var(--secondary-color);
    transition: color 0.3s;
}

a:hover,
a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Button styles */
button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    border: none;
    border-radius: 0.25rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover,
button:focus {
    background-color: var(--secondary-color);
}

/* Footer styles */
footer {
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
}

footer p {
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}