/*** The new CSS Reset - version 1.4.2 (last updated 30.11.2021) ***/


/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property - The "symbol *" part is to solve Firefox SVG sprite bug */

*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}


/* Preferred box-sizing value */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* Remove list styles (bullets/numbers) */

ol,
ul,
menu {
    list-style: none;
}


/* For images to not be able to exceed their container */

img {
    max-width: 100%;
}


/* removes spacing between cells in tables */

table {
    border-collapse: collapse;
}


/* revert the 'white-space' property for textarea elements on Safari */

textarea {
    white-space: revert;
}


/* revert for bug in Chromium browsers - fix for the content editable attribute will work properly. */

 :where([contenteditable]) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    /* -webkit-line-break: after-white-space; */
}


/* end reset */

html * {
    font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

em {
	font-style: italic;
}

#archiveHeader {
    width: 100%;
    height: 160px;
    position: relative;
    background-color: black;
}

#archiveHeaderPoster {
    width: 100%;
    height: 160px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .6;
    background: url('../img/defiance-archive-header.jpg') no-repeat left center;
    background-size: cover;
}

#archiveHeaderPath {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
}

#archiveHeaderPath>div {
    width: 56em;
    max-width: 100%;
    padding: 20px 1em;
    margin: 0 auto;
}

#archiveHeaderPath>div>a {
    font-size: 125%;
    font-style: italic;
    line-height: 1;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 4px;
    margin-bottom: .5em;
}

#archiveHeaderPath>div>h1 {
    font-size: 200%;
    font-weight: bold;
    line-height: 1;
}

#archiveHeaderPath>div>h1>a {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px;
}

#vidList {
    display: grid;
    grid-template-columns: 1fr 4fr;
    width: 56em;
    max-width: 100vw;
    padding: 0 1em;
    column-gap: .5em;
    row-gap: .5em;
    margin: .5em auto;
}

#vidList a img {
    width: 100%;
    display: block;
}

#vidList a h2 {
    font-size: 150%;
    font-weight: bold;
    line-height: 1;
}

#vidHolder {
    display: grid;
    grid-template-rows: 400px auto;
    width: 56em;
    max-width: 100vw;
    padding: 0 1em;
    column-gap: .5em;
    row-gap: .5em;
    margin: .5em auto;
}

#vidHolder video {
    width: 100%;
    height: 400px;
    background-color: black;
}

#vidHolder div span {
    font-size: 90%;
    font-style: italic;
    line-height: 1;
}

#vidHolder div h2 {
    font-size: 150%;
    font-weight: bold;
    line-height: 1;
    padding-bottom: .5em;
}

#vidHolder div p a::after {
    content: '🔗';
}

#archiveFooter {
    width: 100%;
    margin: 0;
    text-align: center;
    position: sticky;
    top: 100vh;
    overflow: hidden;
    height: 160px;
    background: black;
}

#archiveFooter div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 160px;
    opacity: .5;
    z-index: -1;
    background: url('../img/vgpavilion-footer-d.jpg') no-repeat top center;
    background-size: cover;
}

#archiveFooter a {
    margin: 10px auto;
    display: block;
}