/*
Theme Name: randomnine
Theme URI: http://randomnine.com/
Author: randomnine
Author URI: http://randomnine.com/
Description: randomnine's theme 2019
Version: 1.0
Text Domain: randomnine
*/

/* stylelint-disable selector-list-comma-newline-after, property-no-vendor-prefix */

/* Basic colors */
:root {
	--r9-dark: #080808;
	--r9-purple: #610740;
	--r9-redmute: #870a33;
	--r9-red: #ed123b;
	--r9-bg: #f6e4d2;
	--r9-light: #faf4eb;
	--r9-white: #fff;
}

html {
	position: relative;
	min-height: 100%;
}

@media (max-width: 575.98px) {
    html{font-size: 2.77vw;}
}

@media (min-width: 992px) {
    html{font-size: 18px;}
}

/* Body color */
body {
	background-color: var(--r9-bg);
	color: var(--r9-dark);
	line-height: 1.5em;
	font-family: "Noto Serif", serif;
	margin-bottom: 6rem;
}

@media (max-width: 575.98px) {
	.container{
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.row{
		margin-left: -1rem;
		margin-right: -1rem;
	}
}

.r9-caps {
	font-family: "Lato", sans-serif;
	font-weight: 400;
}

/* Layout. Margins above and below, shrinkwrap and center */
.r9-mtop20 {
	margin-top: 1.25rem;
}

.r9-mbottom20 {
	margin-bottom: 1.25rem;
}

.r9-mtop30 {
	margin-top: 1.875rem;
}

.r9-mbottom30 {
	margin-bottom: 1.875rem;
}

.r9-mtop40 {
	margin-top: 2.5rem;
}

.r9-mbottom40 {
	margin-bottom: 2.5rem;
}

.r9-mtop70 {
	margin-top: 4.375rem;
}

.r9-center-wrapper {
	text-align: center;
}

.r9-center {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/* Style */
.r9-title {
	display: block;
	line-height: 1.2em;
	font-size: 3rem;
	padding: 0.05em 0.4em 0.05em;
	margin-top: 1.25rem;
}

.r9-tagline {
	line-height: 1.2em;
	font-family: "Lato", sans-serif;
	font-weight: 600;
	font-size: 1.2em;
}

.r9-blackbox2 {
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.125rem solid var(--r9-red);
}

.r9-blackbox3 {
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.1875rem solid var(--r9-red);
}

.r9-menu {
    margin-top: 0.625rem;
    margin-bottom: 2.5rem;
}
.r9-button {
	display: inline-block;
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.125rem solid var(--r9-red);
	font-size: 1.5em;
	text-align: center;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	padding: .25rem .9rem .3rem;
	line-height: 1em;
	transition: 0.15s;
}

.r9-button:hover {
	background-color: var(--r9-redmute);
	color: var(--r9-white);
	text-decoration: none;
}

.r9-button-spacer {
	font-size: 1.5em;
	padding: 0em 1.25em;
}

.r9-section {
	display: block;
	/*background-color: var(--r9-dark);
 * 	color: var(--r9-light);*/
	text-align: center;
	font-size: 1.2em;
	font-family: "Lato", sans-serif;
	font-weight: 600;
	line-height: 1.2em;
	padding: 0.1em 0.25em 0.1em;
}

.r9-project {
	display: block;
	width: 522px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0.325rem 0.325rem 0.5rem 0.325rem;
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.1875rem solid var(--r9-red);
	transition: 0.15s;
}

.r9-project:hover {
	background-color: var(--r9-redmute);
	text-decoration: none;
}

.r9-project-title {
	display: block;
	font-size: 2rem;
	font-family: "Lato", sans-serif;
	font-weight: 700;
	line-height: 1.0em;
	padding: 0.1em 0.1em;
	color: var(--r9-light);
}

.r9-project-platforms {
	display: block;
	font-size: 1.25rem;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	line-height: 1em;
	padding: 0em 0.1em;
	color: var(--r9-red);
}

.r9-project-small {
	display: block;
	width: 518px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0.325rem;
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.1875rem solid var(--r9-red);
	transition: 0.15s;
}

.r9-project-small:hover {
	background-color: var(--r9-redmute);
	text-decoration: none;
}

.r9-project-small-img {
	width: 192px;
	display: table-cell;
	padding-bottom: 0.1875rem;
	padding-right: 0.25rem;
	vertical-align: top;
}

.r9-project-small-desc {
	display: table-cell;
	vertical-align: top;
}

.r9-project-small-title {
	display: block;
	font-size: 1.2rem;
	font-family: "Lato", sans-serif;
	font-weight: 700;
	line-height: 1.2em;
	padding: 0.1em 0.1em;
	color: var(--r9-light);
}

.r9-project-small-platforms {
	display: block;
	font-size: 1.2rem;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	line-height: 1em;
	padding: 0em 0.1em;
	color: var(--r9-red);
}

@media (max-width: 575.98px) {
	.r9-project
	{
		width: 100%;
	}
	.r9-project-img
	{
		max-width: 100%;
	}
	.r9-project-small
	{
		width: 100%;
	}
	.r9-project-small-img
	{
		width: 12rem;
	}
	.r9-project-small-img > img
	{
		max-width: 12rem;
	}
}

.blog-post {
 	 margin-bottom: 3.75rem;
}
.blog-post-header {
	display: block;
	background-color: var(--r9-dark);
	color: var(--r9-light);
	margin-top: 1.25rem;
	margin-bottom: 1.875rem;
	vertical-align: bottom;
	padding: 0.1em 0.8em 0.1em;
}
.blog-post-header-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.blog-post-title {
	display: inline;
	text-transform: uppercase;
	font-size: 2em;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	line-height: 1.2em;
 	margin-bottom: 0;
}
.blog-post-meta {
	/*display: inline;
	float: right;*/
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	color: var(--r9-red);
	vertical-align: bottom;
	line-height: 1.2em;
	height: 100%;
	margin-bottom: 0.325rem;
}
.blog-post-content {
	max-width: 1000px;
	margin: 0 auto;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.blog-nav-container > a {
	display: inline-block;
	background-color: var(--r9-dark);
	color: var(--r9-light);
	border-bottom: 0.125rem solid var(--r9-red);
	font-size: 1.5em;
	text-align: center;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	padding: .25rem .9rem .3rem;
	line-height: 1em;
	transition: 0.15s;
}

.blog-nav-container > a:hover {
	background-color: var(--r9-redmute);
	color: var(--r9-white);
	text-decoration: none;
}

.blog-home {
	text-align: center;
}

.blog-next {
    text-align: right;
}

.r9-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3.75rem;
    
	text-align: center;
	font-size: 0.8em;
	line-height: 1.5em;
}

/* Blog stuff... */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
	margin-top: 0;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
}

.wp-block-image {
    text-align: center;
    margin-top: 1.875rem;
    margin-bottom: 1.875rem;
}

.wp-block-image > img {
	padding: 0.325rem;
	background-color: var(--r9-dark);
}

.wp-block-object {	
	display: block;
	text-align: center;
	margin: 1.875rem auto 1.875rem auto;
}

a {
	color: var(--r9-red);
	transition: 0.15s;
}

a:hover {
	color: var(--r9-redmute);
	text-decoration: none;
}

ul {
	padding-inline-start: 2.5rem;
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 0.625rem;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

