
@font-face {
  font-family: "Bebas";
  src: url("../fonts/BebasKai.ttf");
}

@font-face {
  font-family: "URWGothic";
  src: url("../fonts/URWGothic-Book.otf");
}


body {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    background: #ffffff;
    font-family: URWGothic;
    font-size: 16px;
    color: #505050;
    text-align: justify;
    text-justify: auto;
}

a {
    text-decoration: none;
    color: #3c6c81;
    font-weight: bold;
}

a:hover {
    color: #e84e0f;
}

h1 {
    padding-top: 1em;
    font-family: "Bebas";
    text-align: center;
}

h2 {
    border-bottom: 2px solid #e84e0f;
    width: 100%;
    padding-top: 2em;
    font-family: "Bebas";
    text-transform: uppercase;
    background: #ffffff;
}

h3 {
    text-decoration: underline;
}

/*
p {
    text-align: justify;
    text-justify: auto;
}
*/

ul ::marker {
    color: #e84e0f;
}
ul {list-style-type: disc;}
ul ul {list-style-type: square;}
ul ul ul {list-style-type: circle;}

ul li {
    text-align: left;
}

@keyframes tadin {
    from {
	width: 100%;
    }
    50% {
	width: 50%;
    }
    to {
	width: 100%;
    }
}

.logo {
    background: #ffffff;
    padding: 20px;
}

.logo img {
    animation-duration: 1s;
    animation-name: tadin;
    max-width: 530px;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}


header {
    background: #e84e0f;
    width: 100%;
    text-align: center;
}

nav {
    position: relative;
}

nav ul {
    margin: 0;
    padding: 0;
    position: relative;
}

nav ul li {
    position: relative;
    display: inline;
    max-width: 155px;
}


nav a {
    font-family: "Bebas";
    font-size: 16px;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-block;
    padding: 15px 15px 15px;
}

nav a:hover {
    text-decoration: underline;
    color: #ffffff;
}


.home {
    position: fixed;
    top:50%;
    right: 0;
    transform: translateY(-50%);
    overflow: hidden;
    background: #3c6c81;
    color: #ffffff;
    border: 1px solid #e84e0f;
    border-right-style: none;
    border-top-left-radius: 30%;
    border-bottom-left-radius: 30%;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.home img {
    width: 32px;
    height: 32px;
    margin: auto;
    display: block;
}

.social {
    width: 1.5em;
    height: 1.5em;
}

footer {
    width: 100%;
    margin-top: 30px;
    padding-bottom: 10px;
    background: #3c6c81;
    border-top: 1px solid #e84e0f;
}

footer h1 {
    font-family: "Bebas";
    color: #e84e0f;
    text-align: center;
    padding-top: 0;
}

footer p {
    color: #ffffff;
    text-align: center;
}

@media (max-width: 480px) {
    .logo {
	padding: 10px;	
    }
    nav ul li{float:none !important;text-align: center;}
}
