/*
Ioan Moldovan
*/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, nav, ul, li, a, img {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

nav {
	display: block;
}

ul {
	list-style: none;
}

body {
	line-height: 1;
	background-color: #000000;
}

/* HEADER */

.site-header {
    max-width: 100%;
    height: auto;
    border-bottom: 3px solid #1976d2;
}

.site-logo {
    max-width: 100%;
    height: 100px;
    background-color: #000000;
}

.site-logo img {
    display: inline-block;
    float: left;
    height: 100px;
    margin-left: 20px;
    margin-right: 20px;
    
}

.site-logo p {
    line-height: 95px;
    vertical-align: middle;
    margin-left: 20px;
    
    font-family: retro;
    font-size: 4em;
    color: #00b0ff;
}

/* NAVIGATION */

.site-nav {
    max-width: 100%;
    height: auto;
    background-color: #000000;
}

.menu-toggle {
    display: none;
}

.site-nav ul {
    display: block;
    overflow: hidden;
}

.site-nav ul li {
    display: inline-block;
    height: 40px;
    margin-left: 20px;
}

.site-nav ul li.active {
    background-color: #1976d2;
}

.site-nav ul li a {
    display: block; 
    padding: 0px 20px;
    
    height: 40px;
    line-height: 40px;
    
    text-decoration: none;
    color: #fefefe;
    font-family: sans-serif;
    font-size: 1.3em;
}

/* PAGE */
.main-page {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 4.2em;
    background-color: #000000;
    color: #00ff00;
}

.main-page a {
    color: #ff0000;
    overflow-wrap: break-word;
}

.footer {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    border-radius: 0px 0px 20px 20px;
    background-color: #000000;
}

.footer p {
    font-family: monospace;
    font-size: 1.2em;
    text-align: center;
    color: #00b0ff;;
}

.hero {
	display: none;
	width: 200px;
}

@media screen and (min-width: 1024px)
{
    .hero {
	display: block;
        float: right;
        padding-left: 100px;
    }
}


/* MOBILE */


@media screen and (max-width: 768px)
{
    

    .site-logo p {

        text-align: center;
        margin: 0px;
    }
    
    .site-nav ul {
        max-height: 0px;
        transition: max-height 0.4s ease-out;
    }
    
    .site-nav ul.open {
        max-height: 500px;
        transition: max-height 0.4s ease-in;
    }
    
    .site-nav ul li {
        display: block;
        margin: 10px;
      
        text-align: center;
    }
    
    .menu-toggle {
        display: inline-block;
        margin-left: 10px;
        max-width: 40px;
        height: 40px;
        line-height: 40px;
        vertical-align: middle;
        
        font-family: sans-serif;
        font-weight: normal;
        font-size: 2em;
        
        color: #fefefe;
        cursor: pointer;
    }
    
    .main-page {
        max-width: 100%;
        margin: 0px;
	padding: 1.2em;	
    }
    
    .footer {
        max-width: 100%;
        margin: 0px;
        border-radius: 0px;
    }
    
    
}

/* FONTS */

h1 {
    font-family: monospace;
    font-weight: normal;
    font-size: 2.0em;
    line-height: 2.0em;
    color: #ff0000;
}

h2 {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.8em;
    line-height: 1.8em;
    color: #00ffff;
}

h3 {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.7em;
    line-height: 1.7em;

}

h4 {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.4em;
}

h5 {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.2em;

}

h6 {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.0em;
    line-height: 1.0em;

}

p {
    font-family: monospace;
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.5em;

}

@font-face {
    font-family: retro;
    src: url(retro.ttf);
}
