/* See https://css-tricks.com */


@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html {
	height: 100%;
	font-size: 100%;
}

body {
    box-sizing: border-box;
    width: 100%;
    min-width: 320px;
	height: 100%;
    
	overflow-x: hidden;
	overflow-y: auto;
   
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

	margin: 0;
	padding: 0;
    
    color: black;
    font-size: 1em;
    line-height: 1.25;
    font-family: 'Open Sans', sans-serif;

    -webkit-overflow-scrolling: auto;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

header {
    box-sizing: border-box;
    width: 100%;
    height: 48 px;
    
    /*FIXED*/
    position: fixed;
    z-index: 3;
    
    /* NOT FIXED */
    /*flex-grow: 0;
    flex-shrink: 0
    flex-basis: auto;*/

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin: 0;
    padding: 0 15px 0 15px;
    
    background-color: rgba(0, 0, 0, .3);
    
}

header p.logo {
    font-size: 16px;
    font-weight: bold;
    color: black;
}
header p.logo a {
	color: inherit;
	text-decoration: inherit;
}
header p.logo a:visited  {
    color: inherit;
	text-decoration: inherit;
}
header p.logo a:hover {
	color: inherit;
	text-decoration: inherit;
}
header p.logo a:active {
	color: inherit;
	text-decoration: inherit;
}

header p.lang {
    font-size: 12px;
    font-weight: bold;
    color: white;
}

header p.lang a {
    font-weight: normal;
}

/* If fixed header */
main::before {
  content: "";
  box-sizing: border-box;
  display: block;
  height: 48px; /* Header height */
  width: 100%;
}

main {
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;

    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
	margin: 0;
    padding: 0;
    
    background-color: lightskyblue;
    background-image: url('../img/city-interchange.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-clip: content-box;
    background-attachment: fixed;

    color: white;
}

footer {
    width: 100%;
    
    flex-grow: 0;
    flex-shrink: 0
    flex-basis: auto;
    
    padding: 8px;
    
    background-color: lightgrey;    
}

div.overlay {
    box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 0 10% 0;
    padding: 20px;
    
    background-color: rgba(0, 0, 0, .6);
}

main h1 {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    /*text-shadow: 0 0 6px black;*/
}

main h2 {
    margin: 20px 0 0 0;
    padding: 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    /*text-shadow: 0 0 4px black;*/
}

main h3 {
    margin: 40px 0 0 0;
    /*margin: 40px 0 30em 0;*/
    text-align: center;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    /*text-shadow: 0 0 3px black;*/
}

footer p {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.5em;
    text-align: center;
}

footer p.small {
    font-size: 10px;
}


@media screen and (max-width: 640px) {
    div.overlay {
        padding: 3.125vw;
    }
    main h1 {
        font-size: 6.5vw;
    }
    main h2 {
        font-size: 2.8125vw;
    }
    main h3 {
        font-size: 2.5vw;
    }
    footer p {
        font-size: 1.875vw;
    }
    footer p.small {
        font-size: 1.6vw;
    }
}


/* BOX STYLES
    These styles define the following CSS properties:
    They are applied as classes that should begin with a bs prefix.

      padding
        padding-* (* in [top, right, bottom, left)
      background
        background-color
        background-image
        background-position
        background-size
        background-repeat
        background-origin
        background-clip
        background-attachment
      border
          border-width
          border-style
          border-color
        border-* (* in [top, right, bottom, left)
          border-*-width
          border-*-style
          border-*-color
      border-radius
          border-*-radius (* in [top-left, top-right, bottom-right, bottom-left)
      border-image
        border-image-source
        border-image-slice
        border-image-width
        border-image-outset
        border-image-repeat
      outline
        outline-width
        outline-style
        outline-color
      outline-offset
      
      box-shadow
      
      opacity
      
      text-overflow
      
*/

/* TEXT STYLES
    These styles define the following CSS properties:
    They are applied as classes that should begin with a ts prefix.

Don't use: font, font-size-adjust
    
   CHARACTER STYLES:    
      font-family
      font-size
      font-weight
      font-style
      text-decoration
        text-decoration-line
        text-decoration-color
        text-decoration-style
      font-variant
      text-transform
      font-stretch
      letter-spacing      
      font-kerning
      quotes
      
      color
      text-shadow   
    
   PARAGRAPH STYLES    
      text-align
      text-align-last
      word-wrap
      overflow-wrap
      text-indent
      line-height
      tab-size
      word-break
      hyphens      
      
      user-select
*/

/* COMMON DEFAULTS */
input,
select,
textarea,
button {
    font-size: 1em;
    line-height: 1.25;
    font-family: 'Open Sans', sans-serif;
}
fieldset {
	padding: 0;
	margin: 0;
}
a img, fieldset {
	border-width: 0;
}
a {
	color: inherit;
	text-decoration: inherit;
}
a:visited  {
    color: inherit;
	text-decoration: inherit;
}
a:hover {
	color: inherit;
	text-decoration: underline;
}
a:active {
	color: inherit;
	text-decoration: underline;
}
