/**
Reset CSS
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/**Global Styles
*/
body {
  font-family: "Arial", sans-serif;
  /* background-color: #e9e5dd; */
}

b {
  font-weight: bold;
}

header {
  z-index: 2;
  position: fixed;
  left: 0;
  height: 100%;
  width: calc(100% / 3);
  /* border: 3px dashed blue; */
  display: flex;
  justify-content: end;
  align-items: center;
  text-align: right;
  overflow: hidden;
}

header::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #2e2c24;
  opacity: 0.8;
}

header a {
  display: inline-block;
  text-decoration: none;
  padding: 6px 0;
  font-size: 22px;
  color: #bfa57d;
}

header a:hover {
  color: #2b6894;
}

header .container {
  width: calc(100% - 60px);
  max-width: 360px;
  padding: 0 34px 0 0;
  /* border: 3px dashed green; */
}

main {
  z-index: 1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* border: 3px dashed #ccc; */
  display: flex;
  align-items: center;
}

main .container {
  width: calc(100% / 3 * 2);
  margin-left: calc(100% / 3);
  /* border: 3px dashed red; */
  max-height: 100vh;
  padding: 40vh 40px 40vh 40px;
  overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.background {
  z-index: -2;
  position: fixed;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* background-color: #e9e5dd; */
  background: url('img/landing-bg.jpg') center center no-repeat;
  background-size: cover;
  /* display: none; */
}

.message {
  z-index: 3;
  position: fixed;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* background-color: #e9e5dd; */
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
}

.message > div {
  position: relative;
  /* padding: 10px; */
}

.message > div::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.8;
  border-radius: 8px;
}

.message > div > div {
  z-index: 1;
  position: relative;
  padding: 22px 26px;
}

h1 {
  font-size: 46px;
  margin: 0 0 20px 0;
  color: #bfa57d;
}

h2 {
  font-size: 32px;
  margin: 0 0 1em 0;
}

section {
  position: relative;
  padding: 24px 32px 10px 32px;
  margin: 0 0 40px 0;
  color: #514432
}

section::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.8;
  border-radius: 0;
}

p {
  font-size: 16px;
  margin: 0 0 1em 0;
  line-height: 1.4em;
}

section ul {
  font-size: 16px;
  margin: 0 0 1em 0;
  line-height: 1.4em;
  list-style: disc inside;
}

section li {
  margin: 0 0 0.5em 0;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 12px;
  margin: 0 0 1em 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

input[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 0 3px 0;
  font-size: 16px;
  color: #2e2c24;
  background-color: #e9e5dd;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.tip {
  font-size: 12px;
  color: #666;
}

@media screen and (max-width: 860px) {
  header {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
  }

  header .container {
    width: 100%;
    max-width: none;
    padding: 12px 0;
  }

  header nav {
    display: none;
  }

  header::after {
    display: none;
  }

  main {
    position: static;
    width: 100%;
    height: auto;
    display: block;
  }

  main .container {
    width: 100%;
    margin-left: 0;
    padding: 20px;
    max-height: none;
    overflow-y: visible;
  }
}


h1.small {
  font-size: 12px;
  color: #3c3935;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}
p.wait {
  font-size: 26px;
  color: #3c3935;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  text-align: center;
  line-height: 0.9em;
}