/*
 * GDR DESIGN — HOME VIDEO TEST
 *
 * Isolated test.
 * No header.
 * No footer.
 * No other layout rules.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.gdr-home-video-test {
    overflow: hidden;
    background: #000;
}

.home {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.responsive-video-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

/*
 * This is intentionally based on the original site's
 * .responsive-video rule.
 */

.responsive-video {
    transition: all .3s ease-in-out;

    max-width: 100%;
    min-height: 100%;

    position: fixed;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 1;

    border: 1px solid #fff;
}

@media (max-width: 768px) and (orientation: portrait) {

    .responsive-video {
        transition: all .3s ease-out;
        max-width: 150%;
    }
}

@media (orientation: landscape) {

    .responsive-video {
        transition: all .3s ease-in-out;
        max-width: 100%;
    }
}
