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, 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;
}

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

a:hover, a:link, a:active, a:visited {
  color: blue;
  text-decoration: underline;
}

.fa {
  color: grey;
}

p {
  line-height: 1.8;
}

body {
  font-family: Raleway, Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

h3 {
  font-family: 'Bodoni Moda', serif;
}

h3, .purecounter {
  color: #872F95;
}

.bgimg {
  background-image: url('/images/SWBG-min.png');
  background-position: center;
  background-size: cover;
  height: 100vh;

  @supports (height: 100dvh) {
    height: 100dvh;
  }
}

header {
  background-size: cover;
  background-position: center;
  
  height: 100vh;

  @supports (height: 100dvh) {
    height: 100dvh;
  }
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
}

.w3-panel {height: 8em;}

.clear {
  display: block;
}

header img.logo {
  object-fit: contain;
}

@media (orientation: landscape) {
  header img.logo {
    max-height: 53vh;
    width: auto;
  }
}

@media (orientation: portrait) {
  header img.logo {
    max-width: 53vw;
    height: auto;
  }
}

.center {
  display:flex;
  align-items: center;
  justify-content: center;
}

.imgleft {
  max-width: 90%;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
}

.tooltip {
  position: relative;
  display: inline-block;
  color: blue;
  border-bottom: 2px dotted blue;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #872F95;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 12px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 35%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 35%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #872F95 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}