/* Fundo ---------------------------------------------------------- */
body {
	font-family: sans-serif;
    margin: auto;
    background-color: #2222A1;
    background-image: url("/img/bkg.png");
    background-size: 50px;
    /*animation: back2back 50s linear infinite;*/
}

@keyframes back2back {
    from {
        background-position-x: 0%;
    }

    to {
        background-position-x: 100%;
    }
}


/* Footer --------------------------------------------------------- */
footer {
    padding-bottom: 15px;
    color: #FF0;
    text-align: center;
}

footer a {
    text-decoration: none;
    font-weight: bold;
    color: #0FF;
}

footer a:hover {
    color: #088;
}


/* Header --------------------------------------------------------- */
header {
	background-color: rgba(34, 34, 161, 0.8);
	position: fixed;
	top: 0px;
	left: 0px;
    text-align: center;
	border-bottom-right-radius: 20px;
}

header h1 {
	margin: 10px;
    font-weight: bold;
	font-size: 20px;
    color: #FF0;
}


/* Menu ----------------------------------------------------------- */
nav {
	position: fixed;
}

nav a {
	padding: 10px;
	font-weight: bold;
    text-decoration: none;
    text-align: center;
}

nav a:hover {
    cursor: pointer;
}

.menu-button {
	position: fixed;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

#menu-close {
	display: none;
}

@media screen and (max-width: 1024px) {
	nav {
		display: none;
		z-index: 1;
		width: 100%;
		height: 100%;
		overflow: scroll;
		background-color: #008;
	}

	.menu-button {
		z-index: 2;
	}

	nav a {
		display: block;
		width: 100%;
		color: #FF0;
	}

	nav a:hover {
		color: #0FF;
	}
}

@media screen and (min-width: 1024px) {
	nav {
		display: flex;
		top: 10px;
		right: 0px;
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
		padding-left: 10px;
		background-color: rgba(255, 255, 0, 0.4);
	}

	nav a {
		color: #008;
	}

	nav a:hover {
		background-color: #FF0;
	}

	.menu-button {
		display: none;
	}
}

