html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  position: relative;
  margin: 0;
  padding-bottom: 4rem;
  min-height: 100%;
}


footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  text-align: center;
}


header{
    text-align:center;
    padding: 1.25rem;
    margin-bottom:/*1%*/0;
}

nav{
    text-align:center;
    padding:0.15rem;
}

.nav-tab{
    margin:0.1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;

    display:inline-block;
    text-align:center;
}

main{
    /*width: 80%;*/
    background-color:white;
    min-height: 60vh;
    width:100%;
    display:inline-block;
    padding-left:4vw;
    padding-right:4vw;
    padding-top:min(1.5rem,4vw);
    padding-bottom:min(1.5rem,4vw);
    margin-bottom:min(1.5rem,4vw);
}


ol, ul {
    padding-left:2rem;
}

li > * {
    vertical-align: top;
}

p{
    text-align:justify;
    margin-bottom:1rem;
}

.social{
    margin:0.25em;
    font-size:1.25rem;
}

details{
    display:inline-block;
    block-size:fit-contents;
}

summary{
    text-align:left;
    padding-left:1em;
}

summary.heading{
    margin-bottom:0.25em;
    padding:0.5em;
}

summary h2, summary h3, summary h4, summary h5, summary h6 {
    display:inline;
}

details details{
    padding-left:1.5rem;
}

li details{
    padding-left:0;
}

details.heading{
    display:block;
    margin-bottom:0.1rem;
    user-select:none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

details[open]{
    margin-bottom:1em;
}
