/* Universal Rules */

html {
  user-select: none;
  cursor: default;
  font-family: "Open-Sans", sans-serif;
}

body {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

#headerbox {
  background-color: #FFF7E3;
}

#logo {
  width: 110px;
  margin: 0 auto;
  display: block;
}

#title {
  font-family: "Soleil";
  font-weight: bold;
  font-size: 21pt;
  text-align: center;
  margin-top: -20px;
  padding-bottom: 24px;
  cursor: default;
}

#navbar {
  position: relative;
  height: 52px;
  background-color: #EDE6D6; 
  z-index: -1;
  margin-bottom: -52px;
}

nav {
  background-color: #EDE6D6;
  height: 52px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

nav ul {
  list-style-type: none;
  margin: auto;
}

nav li {
  float: left;
  padding-right: 30px;
  padding-top: 13px;
}

nav a {
  display: inline-block;
  height: 35px;
  font-family: "Soleil", sans-serif;
  font-weight: 500;
  font-size: 12pt;
  color: #5A5853;
  text-decoration: none;
}

nav li:hover a {
  color: #807C74;
  font-weight: 700;
  border-bottom-style: solid;
  border-bottom-width: 4px;
  border-bottom-color: #999999;
}

#showmenu, .showmenu {
  display: none;
}

.showmenu {
  text-align: center;
  height: 52px;
  background-color: #EDE6D6;
  line-height: 52px;
  font-family: "Open-Sans", sans-serif;
  font-size: 16pt;
}

.menubutton a {
  margin-top: 18px;
}

#pagetitlebox {
  display: flex;
  width: 100vw;
  height: 200px;
  background-color: rgba(237, 230, 214, 0.35);
  justify-content: center;
  align-items: center;
}

#pagetitle {
  font-family: "Soleil", sans-serif;
  font-weight: 800;
  font-size: 42pt;
  text-align: center;
  color: #908C83;
  letter-spacing: 3px;
}

.subtitle {
  font-family: 'Soleil', sans-serif;
  font-weight: 700;
  font-size: 22pt;
  color: #908C83;
  opacity: 0.8;
  text-align: center;
}

.sectiontitle {
  font-family: 'Soleil', sans-serif;
  font-weight: 700;
  font-size: 18pt;
  color: #908C83;
  padding-top: 60px;
}

.sectionlineleft {
  width: 50px;
  height: 3px;
  background-color: #908C83;
  margin-top: 15px;
  margin-bottom: 20px;
}

.smallline {
  background-color: #999999;
  height: 2px;
  width: 500px;
}

.text {
  width: 800px;
  font-family: "Open-Sans", sans-serif;
  font-size: 12pt;
  text-align: justify;
  line-height: 2;
  margin-left: auto;
  margin-right: auto;
}

.containercontent {
  width: 800px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

#availabilitynotice {
  display: flex;
  width: 800px;
  background-color: #E3DED1;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

#availabilitynoticetext {
  font-family: "Open-Sans";
  font-size: 12pt;
  text-align: center;
  line-height: 2;
  padding: 25px;
  -webkit-text-size-adjust: none;
}

footer {
  font-family: "Open-Sans";
  font-weight: 600;
  font-size: 9pt;
  text-align: center;
  width: auto;
  height: 35px;
  padding-top: 5px;
}

@media only screen and (max-width: 800px) {

  .text {
    width: 86vw;
  }

  .containercontent {
    width: 86vw;
  }

  .sectiontitle {
    text-align: center;
  }

  .sectionlineleft {
    margin-left: auto;
    margin-right: auto;
  }

  #availabilitynotice {
    width: 86%;
  }

}

@media only screen and (max-width: 700px) {

  body {
    margin: 0;
    width: 100%;
  }

  #title {
    font-size: 18pt;
    padding-top: 3px;
  }

  nav {
    height: 0;
    width: 100%;
    transition: height 1s;
    overflow: hidden;
  }

  .showmenu {
    display: block;
  }

  #showmenu:checked ~ nav {
    height: 250px;
  }

  #navbar {
    display: none;
  }

  nav li {
    height: 52px;
  }

  nav, nav li {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    float: none;
    text-align: center;
  }

  ul {
    position: static;
    text-align: center;
    padding: 0;
  }

  ul li, li a {
    width: 100%;
    margin-top: 10px;
  }

  nav li:hover a {
    font-weight: 600;
    border-bottom-style: none;
    color: #31302D;
  }

  .underline {
    display: none;
  }

  .smallline {
    width: 300px;
  }

  #pagetitle {
    font-size: 36pt;
  }

  .subtitle {
    font-size: 16pt;
  }

  .text {
    font-size: 10.5pt;
  }

  .sectiontitle {
    font-size: 16pt;
  }

  #availabilitynoticetext {
    font-size: 10.5pt;
  }
}

@media only screen and (max-width: 450px){

  #pagetitlebox {
    height: 150px;
  }

  #pagetitle {
    font-size: 28pt;
  }

}

@media only screen and (max-width: 380px){

  #pagetitlebox {
    height: 100px;
  }

  #pagetitle {
    font-size: 21pt;
  }

  #title {
    font-size: 14pt;
  }

  #logo {
    width: 80px;
    margin-bottom: 7px;
  }
}
