* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #999;
}

header {
    background: white;
    color: #80B37F;
    text-align: center;
    padding: 10px;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

#error {
    color: #bb3535;
    font-size: 1.2em;
    display: none;
}

.lr-logo {
    background-color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    width: 100%;
    height: auto;
    max-width: 90vw;
    max-height: 80vh;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    header {
        width: 100%;
        padding: 15px 10px;
    }

    .lr-logo img {
        width: 70px !important;
    }

    video {
        width: 95vw;
        height: auto;
        max-height: 70vh;
    }

    main {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 10px 5px;
    }

    .lr-logo img {
        width: 60px !important;
    }

    video {
        width: 98vw;
        height: auto;
        max-height: 65vh;
    }
}