/* desktop default setup */
#content-desktop {display: block;}
#content-mobile {display: none;}
/* mobile detection */
@media screen and (max-width: 768px)
{
	#content-desktop {display: none;}
	#content-mobile {display: block;}
}

@import url(//fonts.googleapis.com/css?family=Gudea);

@font-face {
	font-family: "Comic";
	src: url("fonts/comicsans/COMIC.TTF");
  }

.fabulous
{
	font-size: 32px;
	font-weight: 600;
	font-family: Comic;
	animation: pinkcolor 12s infinite;
}

@keyframes pinkcolor
{
	0% { color:#ff00ff; }
	50% { color:#ff0000; }
	100% { color:#ff00ff; }
}

body
{
	margin: 0px;
	margin-top: 100px;
	font-family: Gudea;
	font-size: 20px;
	text-align: center;
	background-color: #1a1a1a;
	color: #c0c0c0;
}

#upperbar
{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;

	float: top;
	height: 50px;
	background-color: #303030;
	display: flex;
	justify-content: center;
	font-family: Gudea;
	font-size: 16px;
	z-index: 1000;
}

div#upperbar>a
{
	color: #c0c0c0;
	text-decoration: none;

	float: left;
	width: 10%;
	line-height: 50px;
	display: block;
	cursor: pointer;
}

div#upperbar>a:hover
{
	background-color: #404040;
}

.upperbar-submenu
{
	background-color: #404040;
	display: none;
}

.upperbar-submenu>a
{
	display: block;
	width: 100%;
	color: #c0c0c0;
	background-color: #404040;
	text-decoration: none;
}

.upperbar-submenu>a:hover
{
	background-color: #505050;
}

div.dropdown-playable:hover div.menu-playable, div.dropdown-codestories:hover div.menu-codestories
{
	display: block; /* makes hidden elements appear as a dropdown */
}

#maindiv
{
	float: top;
	margin-top: 200px;
	font-size: 20px;
}

.flex-container
{
	display: flex;
}

.flex-container .box
{
	width: 50%;
	margin-left: 2%;
	margin-right: 2%;
	margin-top: 1%;
	margin-bottom: 1%;
}

.rightpart { text-align: left; }
.leftpart {	text-align: left; }

a
{
	text-decoration: none;
	color: #9090c0;
}

red
{
	color: #fa5050;
}

focusedtext
{
	color: #e7e781;
}

#talesofcode
{
	float: top;
	margin-top: 100px;
	font-size: 20px;
}