@font-face { 
   font-family: "Caviar Dreams"; 
   src: url("CaviarDreams.ttf") format("truetype"); 
}

body 
{
	margin: 0px;
	padding: 0px;

	overflow-wrap: break-word;

	font-family: "Caviar Dreams";

	--width-side-panel: 200px;

	--black-color: #101010;
	--dark-gray-color: #222222;
	
	--lightest-cyan-color: #73BEFF;
	--light-cyan-color: #6DB4F2;
	--cyan-color: #5790C1;
	--dark-cyan-color: #4C7DA8;
	--darkest-cyan-color: #3B6182;
}

html 
{
   min-height:100%;
   position: relative;
   overflow-x:hidden;
}

button
{
	background-color: transparent;
	border-width: 0;
	cursor:pointer;
}

h1
{
	font-size: 2.5em;
}
h2
{
	font-size: 2em;
}
p
{
	font-size: 1.5em;
}

/*--	Menu	--*/

#side-panel
{
	position: fixed;
	height: 100%;
	overflow-y: auto;
	float: left;
	width: var(--width-side-panel);
	
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	
	padding: 0px;
	margin: 0px;
	background-color: var(--black-color);
}

#side-panel::-webkit-scrollbar { width: 0; }

#side-panel ul
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#side-panel li
{
	text-align: center;
}

#side-panel a
{
	width: 80%;
	display: inline-block; 
	background-color: var(--dark-gray-color);
	color: #ffffff; 
	text-decoration: none;
	text-align: center; 
	padding: 20px 0 20px 0;
	margin: 5px 0 5px 0;
	font-size: 25px;
}

#side-panel a:hover
{
	background-color: var(--cyan-color);
}

/*	Top menu	*/

#top-panel
{
	position: relative;
	justify-content: space-between;
	min-height: 0%;
	margin: 0px;
	padding: 10px;
	background-color: var(--black-color);
	display: none;
}

#top-panel #top-panel-top
{
	justify-content: space-between;
	display: flex;
}

#top-panel button
{}

#top-panel-dropdown
{
	position: relative;
	justify-content: space-between;
	min-height: 0%;
	margin: 0px;
	padding: 10px;
	background-color: var(--black-color);
	display: none;
}

#top-panel-dropdown li
{
	text-align: center;
}

#top-panel-dropdown a
{
	width: 100%;
	display: inline-block; 
	background-color: var(--dark-gray-color);
	color: #ffffff; 
	text-decoration: none;
	text-align: center; 
	padding: 20px 0 20px 0;
	margin: 5px 0 5px 0;
	font-size: 25px;
}

#top-panel-dropdown a:hover
{
	background-color: var(--cyan-color);
	/*font-weight: bolder;*/
}

#top-panel-dropdown ul
{
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#top-panel-top button:active
{
	background-color: var(--darkest-cyan-color);
}

/*--	Main page	--*/

#main-page
{
	justify-content: space-between;
	position: relative;
	float: right;
	width: calc(100% - var(--width-side-panel));
	padding: 0px;
}

.background-img
{
	background-image: url("background2.png");
	background-size: 1920px 1080px;
	background-attachment: fixed;
}
.background-box
{
	width: 100%;
	height: 25%;
}

.main-caption
{
	position: relative;
	margin: 0px;
	padding: 10em 5% 6em 5%;
	text-align: center;
}

#main-page h1
{
	padding: 20px;
	margin: 0;
}
#main-page h2
{
	padding: 20px;
	margin: 0;
}
#main-page p
{
	padding: 20px;
	margin: 0;
}

.caption-with-background
{
	background-color: white;
}

#back-to-top-btn
{
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 99;
	background-color: var(--cyan-color);
	display: none;
	border-radius: 10%;
}

#copyright
{
	height: 5%;
	width: 100%;
	margin: 0px auto;
	bottom: 0px;
	padding: 6em 0em 10em 0em;
	background-color: var(--darkest-cyan-color);
	text-align: center;
}

/*	Articles	*/

.article-boxes
{
	display: flex; 
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

.article-box
{
	display: block;
	width: 50%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.article-box h1
{
	font-size: 2.5em;
}
.article-box h2
{
	font-size: 2em;
}
.article-box p
{
	font-size: 1.5em;
}

/*	 Resize settings	 */

@media screen and (max-width:900px)
{
    #side-panel
    {
    	display: none;
    }
    #main-page
    {
    	width: 100%;
    	height: calc(100% - 50px);
    }
    #top-panel
    {
    	display: block;
    }
}

@media screen and (max-width:700px)
{
	.article-boxes
	{
		display: block;
	}
}