html {
    max-width: 1280px;
    margin: 0 auto;
    background-color: black;
}

@font-face {
    font-family: 'tgl1451';
    src: url('./fonts/tgl_0-1451eng-webfont.woff2') format('woff2'),
         url('./fonts/tgl_0-1451eng-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Sans-serif;
    color: white;
}

a {
    color: white;
    text-decoration: underline;
}

a:hover {
    font-weight: bold;
    color: white;
}

footer a {
    text-decoration: none;
}

h1,h2,h3,h4 {
    font-family: 'tgl1451', Helvetica, Sans-serif;
    font-size: 1.4em;
}

.lead {
    font-family: 'tgl1451', Helvetica, Sans-serif;
}

h1 {
    font-size: 1.8em;
    display: inline-block;
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding-left: 0.3em;
    padding-right: 0.3em;
    padding-top: 0.15em;
    padding-bottom: 0.15em;
    margin-bottom: 1em;
}

header {
    margin-top: 4%;
    margin-bottom: 6%;
}

footer {
    font-size: .8em;
}

.logo {
    width: 200px;
}

.background-bw {
    background: url("./img/bg-road-bw-1280.jpg") no-repeat center top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.background-black {
    background-color: black;
}

/* Small phones */
@media only screen and (max-width: 340px) {
    body {
	font-size: 0.7em;
    }
    .lead {
	font-size: 1.2em;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 341px) {
    body {
	font-size: 1em;
    }
    .lead {
	font-size: 1.5em;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .lead {
	font-size: 1.5em;
    }
}

.background-bw {
    background: url("./img/bg-road-bw-1280.jpg") no-repeat center top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.background-black {
    background-color: black;
}

/* Small phones */
@media only screen and (max-width: 340px) {
    body {
	font-size: 0.7em;
    }
    main {
	margin-left: 0%;
	margin-right: 0%;
    }
    .lead {
	font-size: 1.2em;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 341px) {
    body {
	font-size: 1em;
    }
    main {
	margin-left: 0%;
	margin-right: 0%;
    }
    .lead {
	font-size: 1.5em;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .lead {
	font-size: 1.5em;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    main {
	margin-left: 5%;
	margin-right: 5%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .lead {
	font-size: 1.6em;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .lead {
	font-size: 1.8em;
    }
}
