* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 300;
}

b {
  font-weight: 500;
}

h1 {
  font-family: 'Playfair Display', Times, serif;
  line-height: 1.5;
  font-size: 26px;
  font-weight: 500;
}

h2 {
  font-family: 'Playfair Display', Times, serif;
  line-height: 1.5;
  font-size: 22px;
  font-weight: 500;
}

h1, h2, p {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.w3-margin {
  margin: 6px!important;
}

.w3-button {
  font-size: 12px;
  margin-bottom: 8px;
}

.w3-button.active {
  background-color: #cccccc;
}

.filterDiv {
  display: none;
}

.show {
  display: block;
}

#totopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: orange;
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 4px;
}

#totopBtn:hover {
  background-color: #cccccc;
}

@media screen and (orientation: portrait) {
  .header-land { display:none; }
  .header-portrait { display:inline-block; }
}
@media screen and (orientation: landscape) {
  .header-land { display:inline-block; }
  .header-portrait { display:none; }
}

@media screen and (min-width: 384px) {
  .w3-margin {
    margin: 8px!important;
  }
  .w3-button {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

@media screen and (min-width: 768px) {
  body {
    font-size: 22px;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 29px;
  }
  .w3-margin {
    margin: 16px!important;
  }
  .w3-button {
    font-size: 22px;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1400px) {
  body {
    font-size: 25px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  .w3-margin {
    margin: 20px!important;
  }
  .w3-button {
    font-size: 25px;
    margin-bottom: 10px;
  }
}