@charset "utf-8";

/* formatting purposes */

body {
    margin: 0px;
    height: 100%;
}

/* page header format */
header > h1 {
    margin: 30px 0px 0px 70px;
    float: left;
    display: inline;
}

header > h2#currTime, header > h2#vidCount {
    float: right;
    margin: 30px 70px 0px 0px;
    position: relative;
    top: 10px;
}

hr {
    margin: 30px;
}

/* FOR THE MAIN PAGE - showing all categories */
/* ----------------- */
.categoryContainer {
    list-style-type: none;
    overflow: hidden;
    margin-top: 75px;
    margin-left: 33px;
}

/* .border {
    width:210px;
    height: 210px;
    background-color: red;
    position: absolute;
    opacity: .5;
    margin-bottom: 20px;
} */

li.gameEntry {
    display: inline-block;
    position: middle;
    margin: 8px;
    width: 200px;
    height: 200px;
    /* border: solid 5px red; */
    margin: 8px;
    /* transition: .5s ease; */
    /* border: 1px solid transparent; */
}

li.gameEntry:hover {
    border: 4px solid deepskyblue;
    margin: 0px 0px;
    padding: 4px;
}

li.gameEntry:hover .dialog {
    visibility: visible;
}

.dialog {
    width: 300px;
    position: absolute;
    transform: translate(-50px, -69px);
    /* opacity: 0; */
    visibility: hidden;
}

.dialog:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 135px;
    z-index: 1;
    border: solid 15px transparent;
    border-top-color: DimGray;
    /* width:270px; */
}

.title{
    color: dodgerblue;
    background-color: DimGray;
    border-radius: 5px;
    font-size: 20px;
    font-family: sans-serif;
    padding: 5px;
    text-align: center;
}

/* ----------------- */


/* VIDEOS LISTED FOR EACH CATEGORY */
/* ---------------------- */
#vidSelector {
    margin-left: 50px;
    margin-top: 75px;
}

li.vod {
    width: 320px;
    height: 180px;
    margin: 10px;
    display: inline-block;
    position: middle;
}

li.vod:hover {
    border: 4px solid deepskyblue;
    margin: -2px -2px;
    padding: 8px;
}

.vidDuration {
    position: absolute;
    width: 54px;
    height: 18px;
    margin-left: 242px;
    margin-top: 154px;
    background-color: rgba(0, 0, 0, .75);
    color: white;
    padding: 4px 12px;
    text-align: center;
}

p.none {
    margin-left: 70px;
}

/* VIDEO PLAYER ITSELF */
/* ---------------------- */

#vidHeader {
    width: 100%;
    height: 85px;
    background-color: black;
}

#vidHeader > h1#title {
    margin: 0px 20px 0px 20px;
    padding: 15px 0px 5px 0px;
}

#vidHeader > p#date {
    margin: 0px 20px 0px 20px;
}

iframe {
    display: block;
    margin: auto;
}