@import url('roboto.css');
* {
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #333;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  width: 100vw;
}

#outer-grid-wrapper {
  width: 100%;
  height: 100%;
  /*display: grid;*/
  /*grid-template-areas: '. . .' '. content .' '. . .';*/
}

#grid-wrapper {
  height: auto;
  width: 75%;
  margin: 0 auto;
  padding-top: 10px;
  /*grid-area: content;*/
  /*display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 25px auto;*/
}

#lang-chooser {
  display: block;
  text-align: right;
  margin-left: auto;
}

#lang-chooser>a>img {
  height: 25px;
}

header {
  background-color: white;
  text-align: center;
}

header>h1 {
  word-break: keep-all;
}

header>.divider {
  width: 100%;
  height: 1px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(0, 0, 0, 0.2);
}

main {
  background-color: white;
  padding: 20px 0 10px 0;
  text-align: center;
  line-height: 1.4em;
  width: 100%;
  margin: 0 auto;
}

main>form>input {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 1.1em;
  text-align: center;
  font-family: inherit;
}

main>form>input:-moz-placeholder,
main>form>input::-webkit-input-placeholder,
main>form>input:-ms-input-placeholder {
  font-family: inherit;
}

main>form>button[type='submit'] {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background-color: #28a745;
  color: white;
  font-size: 1.1em;
  margin-bottom: 20px;
  cursor: pointer;
  font-family: inherit;
}

main>form>button[type='submit']:hover {
  background-color: rgb(19, 194, 60);
}

footer {
  background-color: white;
  text-align: center;
}

footer>.divider {
  width: 100%;
  height: 1px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

footer>#small_wrapper {
  margin-bottom: 10px;
}

footer>#small_wrapper>small {
  display: block;
  line-height: 1.4em;
  color: rgba(0, 0, 0, 0.7);
}

footer>#small_wrapper>small>a,
footer>#small_wrapper>small>a:visited,
footer>#small_wrapper>small>a:focus {
  color: #333;
  text-decoration: underline;
}

#footer-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

#footer-images>img {
  height: 50px;
  
}

.bold {
  font-weight: bold;
}

#success,
#error {
  margin-bottom: 10px;
}

#success>span {
  color: #28a745;
}

#error>span {
  color: #dc3545;
}

@media screen and (orientation: landscape) {
  #outer-grid-wrapper {
    display: flex;
    align-items: center;
  }
  #grid-wrapper {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    /*grid-template-rows: auto 1fr;*/
  }
  #footer-images {
    justify-content: space-around;
  }
  #footer-images>img {
    width: 48%;
  }
}

@media screen and (min-width: 830px) {
  #outer-grid-wrapper {
    display: flex;
    align-items: center;
  }
  #grid-wrapper {
    width: 50%;
  }
  #footer-images>img {
    width: 32%;
  }
}