@font-face {
font-family: 'Teko';
font-style: normal;
font-weight: 300;
src: local('Teko Light'), local('Teko-Light'), url(https://assets.ageofascent.net/fonts/teko-light-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'PT Sans';
src: url('https://cdn.ageofascent.net/assets/fonts/pt_sans-web-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}

* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

html {
margin: 0;
background: url(https://cdn.ageofascent.net/img/AoABackdrop-1920x1080.jpg) no-repeat fixed center top;
background-color: #000;
background-size: contain;
overflow-y: scroll;
}
header {height:51px}

@media (min-aspect-ratio: 8/5) { 
html {
background-size: cover;
}
 }

@media (max-width: 640px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-640x360.jpg);
}
}

@media (min-width: 641px) and (max-width: 768px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-768x432.jpg);
}
}

@media (min-width: 769px) and (max-width: 800px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-800x450.jpg);
}
}

@media (min-width: 801px) and (max-width: 1024px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-1024x576.jpg);
}
}

@media (min-width: 1025px) and (max-width: 1280px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-1280x720.jpg);
}
}

@media (min-width: 1281px) and (max-width: 1400px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-1400x788.jpg);
}
}

@media (min-width: 1401px) and (max-width: 1600px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-1600x900.jpg);
}
}

@media (min-width: 1601px) {
html {
background-image: url(https://cdn.ageofascent.net/img/AoABackdrop-1920x1080.jpg);
background-size: cover;
}
}

html, body {
margin: 0;
padding: 0;
color: ghostwhite;
font-family: "PT Sans", Arial, Helvetica, sans-serif;
font-size: 14px;
}
h1, h2 {
font-family: "Teko", Arial, Helvetica, sans-serif;
text-transform: uppercase;
}

h3, h4, h5, h6 {
font-family: "PT Sans", Arial, Helvetica, sans-serif;
}

h1 {
min-height: 51px;
font-size: 50px;
margin: 0 15px;
}
h2 {
color: #F5A923;
border-bottom: 1px solid;
min-height: 27px;
font-size: 25px;
padding: 0;
margin: 0 0 15px 0;
}
h2.blog {
border-bottom: 0 none;
backdrop-filter: blur(4px);
background: rgba(0,0,0,0.75);
margin: 15px 5px 7px 0;
padding: 10px 4px;
}

h3 {
margin: 0;
font-size: 18px;
}

h4 {
border-top: 1px solid #F5A923;
border-bottom: 1px solid #F5A923;
margin-left: 30%;
margin-right: 30%;
padding: 4px;
text-align: center;
font-size: 1.33em;
}

h5 {
font-size: 1.33em;
font-weight: bold;
margin: 0;
}
body {
max-width: 940px;
margin: auto;
position: relative;
}
.author {
margin-left: 14px;
}
a {
text-decoration: none;
color: #7be4e2;
cursor: pointer;
}

a:hover {
color: #74c7d6;
}

.date a {
text-decoration: none;
color: grey;
cursor: pointer;
}

.date a:hover {
color: grey;
text-decoration: underline;
}

section a {
font-weight: bold;
}

p {
clear: left;
}

p img {
max-width: 100%;
}

#logo {
height: 42px;
width: 88px;
margin: 4px 0 0 4px;
}

nav {
font-family: Teko;
height: 51px;
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
float: right;
height: 51px;
}

nav li {
float: left;
padding-top: 8px;
margin: 2px 10px 10px 10px;
border-top: 4px solid transparent;
font-size: 4vw;
}

nav li a {
color: ghostwhite;
}

@media (min-width: 600px) {
nav li {
font-size: 24px; /*above 800px */
}
}

nav li:hover {
border-top: 4px solid #378ad2;
}

li.selected {
border-top: 4px solid #0764b5;
}

section a:hover {
text-decoration: underline;
}

section {
margin: 0;
padding: 16px;
overflow: hidden;
}

#leftpanel {
clear: both;
width: 100%;
margin-left: calc((100% - 640px) / 2);
text-align: justify;
font-size: 15px;
}
#rightpanel{
clear: both;
width: 100%;
margin-left: calc((100% - 640px) / 2);
}

#rightpanel .video {
width: 640px;
height: 360px;
margin-bottom: 8px;
}

@media (max-width: 670px) {
#leftpanel {
width: 100%;
clear: both;
margin-left: 0;
}
#rightpanel {
width: 100%;
clear: both;
margin-left: 0;
}
#rightpanel .video {
width: calc(100vw - 48px);
height: calc(56.25vw - 48px);
}
}

@media (min-width: 950px) {
#leftpanel {
width: 420px;
float: left;
margin-left: 0;
}
#rightpanel {
clear: right;
float:right;
max-width: 512px;
margin-left: 0;
}

#rightpanel .video {
width: 480px;
height: 270px;
}
}

#newspanel {
clear:left;
}

#social{
clear:right;
float:right;
max-width: 290px;
}

.categories{
clear:right;
float:right;
width: 290px;
}

.categories ul {
list-style: none;
padding: 0;
margin: 0;
margin-left: 16px;
}

.categories li:before {
content: ">";
padding-right: 8px;
font-size: 10px;
vertical-align: top;
padding-top: 4px;
display: inline-block;
color: #F5A923;
}

@media (max-width: 740px) {
#social{
display:none;
}
.categories{
display:none;
}
}

section.content {
margin: auto;
max-width: 932px;
clear: both;
padding: 0;
width:100%;
backdrop-filter: blur(4px);
background: rgba(0,0,0,0.75);
padding-top: 8px;
max-width: 935px;
border: 1px solid #65b6be;
}
.testdate {
color: red;
text-align: center;
font-family: Teko,'Arial Narrow', Arial, sans-serif;
font-size: 32px;
min-height: 35px;
}

.testtime {
color: white;
text-align: center;
font-family: Teko,'Arial Narrow', Arial, sans-serif;
font-size: 32px;
min-height: 35px;
}

@media (min-width: 680px) {
.testdate {
height: 35px;
}

.testtime {
height: 35px;
}
}

button, input[type=submit] {
background-image: url('https://cdn.ageofascent.net/assets/button-v2.png');
width: 250px;
height: 50px;
border: 0;
padding: 0;
display: block;
margin: auto;
font-weight: bold;
color: white;
cursor: pointer;
overflow:hidden;
}

button:hover, input[type=submit]:hover {
background-position: 0 -50px
}

button:active, input[type=submit]:active {
background-position: 0 -100px
}

.date {
color: grey;
}

footer {
font-family: "PT Sans", Arial, Helvetica, sans-serif;
padding: 4px;
margin-bottom: 16px;
clear:both;
border-top: 1px solid #5A4328;
}

.quote {
position:relative;
padding:15px;
margin: 0 0 18px;
color:#000;
background:#f3961c;
background:-webkit-gradient(linear, 0 0, 0 100%, from(#f9d835), to(#f3961c));
background:-moz-linear-gradient(#f9d835, #f3961c);
background:-o-linear-gradient(#f9d835, #f3961c);
background:linear-gradient(#f9d835, #f3961c);
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}

.quote:after {
content:"";
position:absolute;
bottom:-15px;
left:50px;
border-width:15px 15px 0;
border-style:solid;
border-color:#f3961c transparent;
display:block;
width:0;
}
.from{
margin-left: 16px;
margin-bottom: 16px;
}

.social{
width:290px; 
height:32px;
}

.hidden{
display:none;
}

.btn-group {
text-align: center;
}
.btn-group button {
display: inline-block;
width: 171px;
background-size: cover;
height: 34px;
font-size: 11px;
font-weight: normal;
}
.btn-group button:hover {
background-position: 0 -34px;
}
.btn-group button:active {
background-position: 0 -68px;
}
section > blockquote {
border-left: 5px solid #0764b5;
padding-left: 8px;
margin-left: 24px;
}
section>blockquote>blockquote {
border-left: 5px solid #138cf6;
padding-left: 8px;
margin-left: 24px;
}
section {
max-width: 640px; 
float: left; 
padding-top: 0;
}

.post-date-day {
width: 19px;
display: inline-block;
text-align: right;
}
.post-date-month {
width: 26px;
display: inline-block;
}
.count {color: grey; font-weight: bold;}
.page article {margin-bottom: 16px;}


section.banner{
    display: grid;
    grid-template-columns: 0.3fr 0.4fr 0.3fr;
grid-template-rows: 1fr;
gap: 0px 0px;
grid-template-areas:
". . .";
max-height: 145px;
width: 100%;
max-width: 100%;
margin: 0;
padding:0;
}
.banner img { width: 100%;}
section.banner h1 { font-size: 16px;}

input[type="image"]:hover, .social:hover, .playtest:hover, .sign-up:hover, .mailing-list:hover, .home:hover { filter: brightness(1.25) contrast(1.25);}