:root {
    --primary-color: #4CAF50;
    --secondary-color: #f0f0f0;
    --text-color: #333;
    --background-color: #ffffff;
    --header-bg: blue;
    --footer-bg: blue;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--header-bg);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-weight: 600;
}

.btn {
    text-decoration: none;
    color: #fff;
    background-color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-light {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #ced4da;
}

.btn-light:hover {
    background-color: #e2e6ea;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.description {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

#wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 16/9; /* Maintain a 16:9 aspect ratio */
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(51, 23, 190, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

#video,
#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the video fill the container */
}

.small-text {
    color: #6c757d;
    margin-top: 1rem;
}

footer {
    background-color: var(--footer-bg);
    color: #f8f9fa;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}