/*
* Copyright (C) Bun Bun Studios
*/

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

html {
    font-family: 'Source Sans Pro', sans-serif;
	color: #f3f3f3;
    font-size: 12pt;
    line-height: 1.2;
}

@media (min-width: 800px) {
    html {
        font-size: 14pt;
        line-height: 1.4;
    }
}

body {
    background: #000000;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-image: url("../media/do-bg.jpg");
    background-repeat: no-repeat;
    background-position: right top;
    background-attachment: fixed;
}

article, aside, footer, header, nav, section {
    display: block;
}

blockquote {
    padding: 1rem 2rem;
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    border-left: 0.25rem solid #eeeeee;
}

figcaption {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

figure {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Yrsa', serif;
    padding: 0.75rem 0;
    line-height: 1.4;
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.3rem;
}

p {
    padding: 0.5rem 0;
    line-height: 2;
}

ul {
    margin-left: 2em;
}

a,
a:link,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
    color: #b0d2ea;
}
a.white,
a.white:link,
a.white:hover,
a.white:focus,
a.white:active,
a.white:visited {
    color: #ffffff;
}
:focus {
    outline: none;
}
::-moz-focus-inner {
    border: 0;
}

.hidden {
    display: none !important;
}
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-content: center;
}

@keyframes nav-right-slide-in {
    from {transform: translateX(0);}
    to {transform: translateX(256px);}
}
@keyframes nav-right-slide-out {
    from {transform: translateX(256px);}
    to {transform: translateX(0);}
}
.nav-open {
    transform: translateX(0);
    animation-name: nav-right-slide-out;
    animation-duration: 600ms;
}
.nav-close {
    transform: translateX(256px);
    animation-name: nav-right-slide-in;
    animation-duration: 600ms;
}
.nav-closed {
    transform: translateX(256px);
}

.page > .header > nav {
    background: #000000;
    padding: 1rem;
    position: fixed;
    right: 0;
    width: 256px;
    height: 100%;
    z-index: 500;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.page > .header > nav .nav-row {
    margin: 4.4rem 0 0 0;
    padding: 0 0 2rem 0;
    flex: 1;
}
.page > .header > nav .nav-col {
    padding: 0.2rem 0;
}
.page > .header > nav .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.page > .header > nav .nav-links > a,
.page > .header > nav .nav-links > div {
    cursor: pointer;
    margin: 0.3rem;
}
.nav-indiedb {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-indiedb.svg) no-repeat;
}
.nav-linkedin {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-linkedin.svg) no-repeat;
}
.nav-twitter {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-twitter.svg) no-repeat;
}
.nav-tumblr {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-tumblr.svg) no-repeat;
}
.nav-youtube {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-youtube.svg) no-repeat;
}
.nav-rss {
	width: 32px;
	height: 32px;
	background: transparent 0px 0px/cover url(../media/icon-rss.svg) no-repeat;
}
.nav-site {
	width: 32px;
	text-align: right;
	color: #b0d2ea;
	width: 100%;
}
.nav-site a {
    color: #b0d2ea;
}

.page > .header > .top {
    background: #000000;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.page > .header > .top > .logo {
    background: transparent 0px 0px/cover url(../media/dark-october-logo.svg) no-repeat;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 150px;
    height: 97.5px;
    z-index: 2000;
}
@media (min-width: 600px) {
    .page > .header > .top > .logo {
        width: 250px;
        height: 162.5px;
    }
}
.page > .header > .top > .status {
    padding: 1rem;
}
.page > .header > .top > .status > span {
    color: #00FF00;
}
.page > .header > .top > .nav-bar-button {
    cursor: pointer;
    width: 3.4rem;
    height: 3.4rem;
    background: transparent 0.7rem 0.7rem/2rem 2rem url(../media/icon-menu.png) no-repeat;
    opacity: 0.9;
}
.page > .header > .top > .nav-bar-button.opened {
    background: transparent 0.7rem 0.7rem/2rem 2rem url(../media/icon-cross.png) no-repeat;
}

.page-content {
    margin: 3.4rem 0 0 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: stretch;
    width: 100%;
    max-width: 1800px;
    min-height: 100vh;
    background: rgba(26, 26, 26, 0.95);
}

@keyframes picture-fading-out {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes picture-fading-in {
    from {opacity: 0;}
    to {opacity: 1;}
}
.picture-fade-out {
    opacity: 0;
    animation-name: picture-fading-out;
    animation-duration: 600ms;
}
.picture-fade-in {
    opacity: 1;
    animation-name: picture-fading-in;
    animation-duration: 600ms;
}
.picture-faded-out {
    opacity: 0;
}

.fading-picture {
    position: relative;
    width: 100%;
    padding: 0 0 37% 0;
}
.fading-picture > figure {
    position: absolute;
    margin: 0;
    width: 100%;
    height: 100%;
}
.fading-picture > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sliding-carousel {
    width: 100%;
    position: relative;
    max-width: 800px;
}
.sliding-carousel > .sliding-picture {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    overflow-x: hidden;
}
.sliding-carousel > .sliding-picture > figure {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.sliding-carousel > .sliding-picture > figure > img {
    width: 100%;
}
.sliding-carousel > .arrow,
.sliding-carousel > .arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}
.sliding-carousel > .arrow.left {
    left: 0;
}
.sliding-carousel > .arrow.right {
    right: 0;
}

.portrait {
    padding: 1rem;
    display: grid;
    flex-direction: row;
    grid-gap: 1rem;
    grid-template-columns: auto;
}
@media (min-width: 400px) {
    .portrait {
        grid-template-columns: auto auto auto;
    }
}

/* PUT the CAROUSEL HERE!!! */
.feature-item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    flex-shrink: 0;
    align-items: center;
    position: relative;
    background: #000000;
    overflow-x: hidden;
}
/* ^UP HERE^ */
.top-item {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
	flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    border-bottom: 1px solid #000000;
}
.content-item {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2.5rem;
    border-bottom: 1px solid #000000;
}
.video-item {
    width: 100%;
    max-width: 800px;
    position: relative;
}
.video-item-2 {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    justify-content: center;
    align-content: center;
    grid-gap: 1rem;
    padding: 1rem;
}
.video-item-2.bordered {
    border-bottom: 1px solid #000000;
}
@media (max-width: 800px) {
    .video-item-2 {
        grid-template-columns: auto;
    }
}
.video-item figcaption,
.video-item-2 figcaption {
    padding: 1rem 0;
    text-align: center;
}
.aspect-16-9 {
    width: 100%;
    height: 0;
    padding: 0 0 56.25% 0;
    position: relative;
    overflow: hidden;
}
.aspect-16-9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*
.video-item iframe,
.video-item-2 iframe {
    display: block;
}
.video-item figcaption,
.video-item-2 figcaption {
    text-align: center;
}
.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-item figcaption {
    width: 800px;
}
.video-item-2 iframe {
    width: 560px;
    height: 315px;
}
.video-item-2 figcaption {
    width: 560px;
}
@media (max-width: 1200px) {
    .video-item-2 {
        grid-template-columns: 560px;
    }
}
@media (max-width: 600px) {
    .video-item-2 {
        grid-template-columns: 240px;
    }
    .video-item iframe,
    .video-item-2 iframe, {
        width: 240px;
        height: 135px;
    }
    .video-item figcaption,
    .video-item-2 figcaption {
        width: 240px;
    }
}
*/
.content-item-desc {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0.5rem;
}
.alt-bg {
    width: 100%;
    background: #333333;
}
.alt-color {
    color: #f3f3f3;
}

/* center floating text */
.item-center {
    position: absolute;
    left: 25%;
    top: 25%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    height: 50%;
    text-align: center;
    border: 1px solid red;
}

/* picture-text display */
.img-item {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
}
.img-item-2 {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}
.img-item-2 > figure {
    width: 40%;
    padding: 2rem;
}
.homepage > .content-item > figure {
    width: 30%;
    padding: 0.5rem;
}
.homepage > .content-item > .content-item-desc  {
    width: 70%;
}
.subpage > figure {
    width: 45%;
    padding: 0.5rem;
}
.subpage > .content-item-desc  {
    width: 55%;
}
@media (max-width: 800px) {
    .homepage > .content-item > figure {
        width: 100%;
    }
    .homepage > .content-item > .content-item-desc  {
        width: 100%;
    }
    .img-item-2 > figure {
        width: 100%;
    }
}

/* False Button */
.button-altcolor {
    cursor: pointer;
    align-self: center;
    border: 1px solid #666666;
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: bold;
}
.button {
    cursor: pointer;
    align-self: center;
    border: 1px solid #ccc7c1;
    background: #fffdfc;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: bold;
}
.button.big {
    padding: 1rem 3rem;
    font-size: 1.25rem;
}
.green-button {
    cursor: pointer;
    align-self: center;
    background: #14e06e;
    padding: 0.6rem 3rem;
    border-radius: 0.75rem;
    font-weight: bold;
    font-size: 1.25rem;
}
.green-button,
.green-button:link,
.green-button:hover,
.green-button:focus,
.green-button:active,
.green-button:visited {
    color: #000000;
}
/* Mono rss */
.subscribe-rss {
    font-family: 'Source Code Pro', monospace;
}
.rss-list {    
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
	padding-bottom: 2em;
}
.rss-news {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-rss-news.png) no-repeat;
}
.rss-dev {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-rss-dev.png) no-repeat;
}
/* Social Media */
.extra {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.extra > p {
    width: 100%;
    text-align: center;
    font-family: 'Source Code Pro', monospace;
}
.sm-icons {
    max-width: 25rem;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
}
@media (min-width: 400px) {
	.sm-icons {
		grid-template-columns: auto auto auto auto auto;
	}
}
.social-twitter {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-twitter.svg) no-repeat;
}
.social-youtube {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-youtube.svg) no-repeat;
}
.social-blog {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-tumblr.svg) no-repeat;
}
.social-indiedb {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-indiedb.svg) no-repeat;
}
.social-linkedin {
	display: inline-block;
	width: 64px;
	height: 64px;
	background: transparent 0px 0px/cover url(../media/icon-linkedin.svg) no-repeat;
}

/*
 * Footer.
 */

.footer {
    background: #000000;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
}

.footer > .lists {
    text-align: center;
    max-width: 75rem;
    width: 100%;
    color: #cccccc;
}
.ps-logo {
	display: inline-block;
	margin: 1rem 0;
	width: 119px;
	height: 67px;
	background: transparent 0px 0px/cover url(../media/ps5-logo.jpg) no-repeat;
}
.bb-logo {
	display: inline-block;
	width: 160px;
	height: 56px;
	background: transparent 0px 0px/cover url(../media/bbs-logo.svg) no-repeat;
}

