* {
    box-sizing  : border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin      : 40px auto;
    max-width   : 900px;
    line-height : 1.6;
    font-size   : 18px;
    color       : black;
    background  : #f7f6ed;
    padding     : 0 10px;
}

main {
    font-family: "Goudy Bookletter 1911", serif;
    font-variant-ligatures: historical-ligatures;
    font-weight: 400;
    font-style: normal;
    max-width   : 900px;
    margin      : 0 auto;
    padding     : 1em;
    border-radius: 10px;
    position    : relative;
}

p.justified:nth-of-type(2):first-letter {
    float: left;
    font-size: 45px;
    line-height: 1;
    font-weight: bold;
    margin-right: 9px;
}

h1 {
    font-family: "Cinzel Decorative", serif;
    font-weight : 800;
    color       : #c43b3b;
}

a {
    text-decoration: none;
}

a:link {
    color       : #b43b3b;
}

a:hover {
    color       : #e66868;
}

a:visited {
    color       : #752424;
}

a:visited:hover {
    color       : #e66868;
}

h1,h2,h3,h4 {
    line-height : 1.2;
    text-align: center;
}

h1 {
    margin-top : 10px;
}

h2 {
    font-size   : 24px;
    font-weight: 800;
    color       : #777;
    font-variant: small-caps;
}

h4 {
    font-variant: small-caps;
    text-transform: lowercase;
    padding-top: 20px;
    color: #777;
    line-height: 0;
}

.small-caps {
    font-variant: small-caps;
    display     : inline;
}

.toc {
    max-width   : 600px;
    background-color: #ddd;
    margin      : 50px auto;
    padding     : 10px;
    border-radius: 10px;
}

ul.nav {
    list-style-type: none;
    margin      : 0;
    padding     : 0;
    overflow    : hidden;
}

ul.nav li {
    display     : inline-block;
}

ul.nav li:not(:last-child):after {
    content     : " | ";
}

.centre-nav ul {
    text-align: center;
    padding-bottom: 30px;
}

img.centred {
    display     : block;
    margin      : auto;
    padding     : 15pt 5pt;
    max-width   : 95%;
}

.right-img {
    display     : block;
    margin      : auto;
    max-width   : 90%;
}

.col-img {
    display     : block;
    margin      : auto;
    max-width   : 75%;
}

.col-img-med {
    display     : block;
    margin      : auto;
    max-width   : 80%;
}

.col-img-tight {
    display     : block;
    margin      : auto;
    max-width   : 95%;
}

.subtitle {
    text-align  : center;
    color       : gray;
    font-family : "Cinzel Decorative", serif;
    font-weight : 600;
    font-size   : 11pt;
}

a.wa {
    background-color: #128c7e;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-family: "Arial";
    font-weight: 800;
    display: inline-block;
    font-size: 14px;
    border-radius: 10px;
  }

.wa:hover {
    background-color: #25d366;
    border: none;
    color: white;
}

table {
    border: 2px solid;
  }

td {
    padding: 0 30px;
    text-align: center;
}

cite {
    font-variant: small-caps;
}

.wa:visited {
    color: white;
}

.wa:visited:hover {
    color: white;
}

.justified {
    text-align  : justify;
}

.column15 {
    float       : left;
    width       : 16.66%;
    padding     : 0px;
    text-align  : center;
    justify-content: center;
    vertical-align: middle;
    display     : table-cell;
    position    : relative;
}

.column33 {
    float       : left;
    width       : 33%;
    padding     : 10px;
    text-align  : center;
    vertical-align: middle;
    display     : table-cell;
    position    : relative;
}

.column40 {
    float       : left;
    text-align  : justify;
    width       : 40%;
    padding     : 10px;
}

.column50 {
    float       : left;
    text-align  : center;
    width       : 50%;
    padding     : 10px;
}

.column50 video {
    width       : 75%;
}

.column60 {
    float       : left;
    width       : 60%;
    padding     : 10px;
    text-align  : center;
    vertical-align: middle;
    display     : table-cell;
    position    : relative;
}

.row {
    padding-bottom: 20px;
}

.row:after {
    content     : "";
    display     : table;
    clear       : both;
}

.icon {
    display     : inline-block;
    width       : 1.5em;
    text-align  : left;
}

.email {
    display     : inline-block;
    text-align  : left;
    width       : 15em;
    font-style  : italic;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip img {
    position: static;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: relative;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -150px;
    margin-bottom: -50px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

@media only screen and (max-width: 600px) {
    .column15 {
        width   : 50%;
    }
    .column33 {
        width   : 100%;
    }
    .column40 {
        width   : 100%;
    }
    .column50 {
        width   : 100%;
    }
    .column60 {
        width   : 100%;
    }
    .col-img-med {
        max-width: 75%;
        padding : 20px 0;
    }
    .col-img {
        max-width: 65%;
        padding : 20px 0;
    }
    ul.nav {
        text-align: center;
        padding-bottom: 20px;
    }
    .pgp-key {
        text-align: center;
        position:   static;
        padding-top: 20px;
    }
    .row {
        padding-bottom: 0px;
    }
}

@media only screen and (max-width: 500px) {
    .email {
        width: calc(100% - 1.5em);
    }
    .bracket {
        text-align: right;
        display: inline-block;
        width: 100%;
    }
    .translation {
        text-align: center;
    }
}

@media only screen and (min-width: 600px) {
    .right-img {
        float   : right;
        margin  : 20px 10px 10px 20px;
        max-width: 210px;
    }
    .translation {
        float   : right;
    }
    .pgp-key {
        top     : 10px;
        right   : 15px;
        position: absolute;
    }
}

#foot {
    padding-top : 20px;
    text-align  : center;
    color       : #999;
    font-size   : 14px;
    font-family : sans-serif;
}
