html, body {
  height: 100%;
  width: 100%;
  font-family: robotoregular;
  font-size: 18px;
  background-color: #81cee8;
  background-image: url('../img/morro-1.png');
  background-size: auto 60%;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-attachment: fixed;
}


h1, h2, h3, h4, h5 {
  z-index: 100;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  color: white;
}

h1, h2 {
  font-family: bankolibold;
  color: #cb1515;
}

h1 {
  font-size: 6em;
}

h2 {
  font-size: 4em;
}

h3 {
  font-size: 2.5em;
}

h4 {
  font-size: 2em;
}

h5 {
  font-size: 1.5em;
}

p {
  line-height: 1.5em;
}

.main {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.main > * {
  margin: 20px;
}

.nav-buttons {
  position: absolute;
  top: 8px;
  left: 10px;
}

.languages {
  position: absolute;
  top: 8px;
  right: 10px;
}

.middle-center {
  display: inline-block;
  vertical-align: middle;
  float: none;
  text-align: center;
}

section {
  padding: 70px 20px 50px 20px;
}

section.section-dark {
  background-color: #286090;
  color: white;
}

section.section-white {
  background-color: white;
}

section.section-dark a {
  color: white;
}

section.section-normal {
  background-color: #81cee8;
}

section.section-light {
  background-color: #fcfcfc;
  color: rgba(28, 30, 64, 1);
}

section.section-light h4 {
  color: #286090;
  text-shadow: none;
}

footer {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  display: flex;
  width: 100%;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1200px) and (min-width: 641px) {
  .main {
    background-size: auto 50%;
  }
}

@media screen and (max-width: 642px) and (min-width: 531px) {
  body {
    font-size: 16px;
  }

  .main {
    background-size: auto 40%;
  }
}

@media screen and (max-width: 530px) and (min-width: 361px) {
  body {
    font-size: 14px;
  }

  .main {
    background-size: auto 35%;
  }

  h2 {
    font-size: 3em;
  }

  h3 {
    font-size: 2em;
  }

  h4 {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 360px) {
  body {
    font-size: 12px;
  }

  .main {
    background-size: auto 30%;
  }

  .main > * {
    margin: 15px;
  }

  h2 {
    font-size: 3em;
  }

  h3 {
    font-size: 1.6em;
  }

  h4 {
    font-size: 1.3em;
  }

  .main > .buttons > .btn-lg {
    font-size: 13px;
  }
}

@media screen and (max-height: 414px) {
  body {
    font-size: 12px;
  }

  .main > * {
    margin: 13px;
  }

  .main > h1 {
      margin-top: 0px;
  }

  .main > h3 {
      margin-top: 0px;
  }

  .main > .buttons {
      z-index: 1;
  }

  h3 {
    font-size: 1.6em;
  }

  h4 {
    font-size: 1.3em;
  }
}

@media screen and (max-height: 320px) {
  h1 {
    font-size: 4em;
  }

  .main > .buttons {
      margin-top: 10px;
  }

  .main > .buttons > .btn-lg {
    font-size: 13px;
  }
}
