/*Misc*/
html, body {
	font-family: railway, times new roman, sans-serif;
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;	
}
html {
    border-color: #cccccc; /* defined Root border-color: Off-white */
    overflow: hidden;
    /* preventing overflows like dimmed background-layer to generate scrollbars
		Scrollbars are getting used on the individual containers like #output instead anyways
     */
    font-family: arial, sans-serif;
    font-size: 1rem; /* defined Root font-size */    
    color: #cccccc; /* defined Root font-color: Off-white */
    line-height: 1.5em;
}
body{
    display: flex;
    /* Makes sure #output always fills the rest of the available space */
}
*{
	box-sizing: border-box;
	/*when specifying dimensions, it takes padding and borders into account*/
}
a, a:visited {
	text-decoration: none;
	color:#509cea;
}
.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}
hr {
	border: 2px dashed white;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*Menu*/
/*Output Zone*/
.wrapper {
    background: none; /*To ensure WrapperBG shows, in case browser-native forces white background as default*/
    width: 100%;
	height: 100%;
	overflow-y: auto; /*only shows a scroll-bar, if necessary*/
	overflow-x: hidden;
}
.output {
	color: white;
	margin: auto;
	width: 60%;
	padding-top: 4%;
	font-size: 135%;
}
div#wrapperBG {
	/*Box covering entire canvas, used to add background-image via JS*/
    height: calc(100% + 20px);
    width: calc(100% + 20px);
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(20px);
    z-index: -2;
}
div#wrapperBG::after {
	/*dims the background */
    background: rgba(0,0,0,0.75);
    content: "";
    position: absolute;
    height: calc(100% + 20px);
    width: calc(100% + 20px);
    z-index: -1;
}
.backgroundPicture{
		display: block;
		margin: auto;
		width: 100%;
		max-height: 70vh;
		padding: 20px, 1px;
		border: 3px solid white;
        border-radius: 15px;
}
.bigPicture {
	display: block;
    max-height: 90vh;
    max-width: 100%;
    margin: auto;
    border: 5px solid #85bbc3;
    border-radius: 30px;
}
.choiceText {
	color: #7777EE;
	text-align:center;
	margin-left: auto;
	margin-right: auto;
	width: 400px;
	cursor: pointer;
}
.choiceText:hover {
	color: #9999EE;
	text-align:center;
	cursor: pointer;
}
.tinyText {
	color: #BBBBBB;
	text-align:center;
	margin-left: auto;
	margin-right: auto;
	width: 400px;
	font-size: 70%;
}
.centeredText {
	text-align:center;
	margin-left: auto;
	margin-right: auto;
}
.specialText {
	color: lightgreen;
	font-weight: bold;
}


.gridNotGames{
  display: grid;
  grid-template-columns: 2fr 1fr;
}
#newsFeed{
	grid-row: span 2;
}

.button, .pictureButton, .choiceText{
    background: rgba(0,0,0,0.75);
    padding: 15px;
    margin: 15px;
    border: none;
    border-bottom: 3px solid;
    border-radius: 5px;
    transition: 0.25s;
    text-align: center;
	cursor: pointer;
}
.button:hover, .choiceText:hover{
    background: rgba(50,50,50,0.75);
    color: #ffffff;
        border: none;
    border-bottom: 3px solid #FFFFFF;
}
.pictureButton, .choiceText{
	font-size:1.25rem;
	font-weight: bold;
    display: block;
    width: fit-content;
    margin: 15px auto;
}

.disclaimer{
    border: 5px solid #85bbc3;
    border-radius: 30px;
}
.grid{
  display: grid;
  grid-template-columns: auto auto auto;
}
.gameContainer{
	position: relative;
	text-align: center;
	cursor: pointer;
	margin: 10px;
}
.nonGameContainer{
    border: 5px solid #85bbc3;
    border-radius: 30px;
	position: relative;
	text-align: center;
	margin: 10px;
	height: 30vh;
	overflow-y: scroll;
	padding: 2px;
}
.sponsor{
	position: absolute;
	top: 0; 
	right:15px;
	width:15%;
}
.gameTitle{
	position: absolute;
	bottom: 0; 
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5); /* Black see-through */
	color: #f1f1f1; 
	width: 100%;
	transition: .5s ease;
	opacity:0;
	color: white;
	font-size: 20px;
	pointer-events:none;
        border-radius: 30px;
}
.gameContainer:hover .gameTitle{
	opacity:1;
}
.choiceGrid{
	display: grid;
	grid-template-columns: auto auto;
}
.choiceGridText{
	color: #7777EE;
	cursor: pointer;
    background: rgba(0,0,0,0.75);
    padding: 15px;
    border: none;
    border-bottom: 3px solid;
    border-radius: 5px;
    transition: 0.25s;
    text-align: center;
	cursor: pointer;
	font-size:1.25rem;
	font-weight: bold;
    display: block;
    margin: 15px auto;
}
.choiceGridText:hover{
    background: rgba(50,50,50,0.75);
    color: #ffffff;
	border: none;
    border-bottom: 3px solid #FFFFFF;
}

/*Footer*/
.footer {
	height: 0%;
	overflow: hidden;
}
.footer .switch {
	font-size: 300%;
	height: 100px;
	width: 33%;
	margin: auto;
	margin-top: 50px;
	text-align: center;
	box-sizing: border-box;
	float: left;
  	border: 3px solid white;
  	border-radius: 5px;
}