@import url('https://fonts.googleapis.com/css?family=PT+Serif');
html,
body {
	width: 100%;
	height: 100%;
	background: transparent; 
}

html {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	font-family: 'PT Serif', serif;
	text-align: center;
	color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-family: 'PT Serif', serif;
}

h1 {
	font-size: 60px;
	text-transform: uppercase;
}

a, i {
	color: #ffffff;
}


/*
canvas {
    display: block;
    vertical-align: bottom;
}*/

/* -------- PAGE -------- */

#page-wrapper {
	width: 80%;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	font-family: 'PT Serif', serif;
	background: transparent;
}

#clock {
	margin-bottom: 15px;
	font-family: 'PT Serif', serif;
	color: #ffae00;
}

.progress {
	height: 6rem;
	background-color: #24282D;
	font-family: 'PT Serif', serif;
}

.progress.warning .progress-meter {
	/*background: linear-gradient(to top, #ffae00, #f1da36);*/
	border-right: 2px solid #ffae00;
	box-sizing: border-box;
	
	transition: 3s;
}

.progress.warning .progress-meter .progress-meter-text {
	text-align: center;
	font-family: 'PT Serif', serif;
	color: #24282D;
	line-height: 1em;
}

#progress-meter-p-color {
	color: #ffae00;
	font-style: italic;
	font-weight: bold;
	
	transition: 3s;
}

#control-buttons {
	margin-top: 50px;
}

#control-buttons .button,
.button {
	background-color: #24282D;
	color: #ffffff;
	outline: none;
	
	-o-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	transition: 2s;
}

#control-buttons .button:hover, 
#control-buttons .button:focus, 
#control-buttons .button:active {
	background-color: #101317;
	border-color: #24282D;
  	color: #ffffff;
}

#ending-description {
	height: auto;
	display: flex;
	border-left: 2px solid #ffae00;
}

#ending-description #p-author {
	margin-bottom: 0;
	padding: 0 20px;
	font-style: italic;
	font-size: 18px;
}

#ending-description #p-description {
	margin-bottom: 0;
	text-align: left;
}

.fa-github, .fa-facebook, .fa-envelope-o {
	margin-right: 10px;
}

.fa-github:hover, .fa-facebook:hover, .fa-envelope-o:hover {
	color: #ffae00;
}

.fa-briefcase:hover {
	color: #24282D;
}

.modal {
	display: none;
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;	
	width: 100%;
	height: 100%;
	padding-top: 100px;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	font-family: 'PT Serif', serif;
	color: #24282D;
}

.wrapper{
	display: block;
	width: 100%;
	height: 100%;
}

.modal-inner {
	display: block;
	width: 60%;
	height: auto;
	margin: auto;
	padding: 20px;
	
	-o-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-sizing: border-box;
	
	background-color: #FEFEFE;
}

form h3 {
	font-size: 1.2em;
	font-weight: bold;
	color: #24282D;
}
form input[type="text"],
form input[type="email"] {
	color: #24282D;
}

form label,
form p {
	text-align: left;
}

form textarea {
	height: 4rem;
}

.button:hover, .button:active, .button:focus {
	background-color: #ffffff;
	border-color: #24282D;
  	color: #101317;
}

#close {
	text-align: right;
	font-size: 28px;
	color: #8a8a8a;
	cursor: pointer;
	font-weight: bold;
}

#close:hover {
	color: #000000;
}

@media print, screen and (max-width: 600px) {

  h1, .h1, h2, .h2 {
    font-size: 2rem; }
	
	.modal-inner {
		width: 90%;
	}
	
	#ending-description #p-description {
		line-height: 1.2em;
	}
}

/* ---- particles.js container ---- */
 #particles-js {
	position: fixed;
	width: 100%;
	height: 100%;
	inset: 0;
	z-index: 0;
	background: #0b0e13; /* optional backdrop */
}