*{
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-padding: 80px;
    color-scheme: light;
}

body{
    font-family: serif;
    background: url(/resources/old/background.gif);
}

img{
    max-width: 100%;
}

a:link{
    color: #443894;
}

nav{
    background: #a18666;
    height: 60px;
    border: 2px outset gray;
    border-top: none;
    position: relative;
    z-index: 90;
}

nav a{
    border: 2px outset gray;
}

nav a.home{
    font-weight: bold;
    margin: 17px;
    padding: 3px;
    padding-block: 1px;
    line-height: 56px;
}

nav a:hover{
    background: #00000010;
}

nav a:active{
    border: 2px outset #737373;
    background: #7B5B3Ae6;
}

nav ul{
    float: right;
} 

nav ul.nav li{
    display: inline-block;
    padding: 18px;
    padding-left: 0;
    font-weight: bold;
}

nav ul li a{
    padding: 5px;
}

ul.allpages{
    min-height: 30px;
    height: 30px;
    margin-top: 11px;
    margin-inline: 18px;
    padding: 5px;
    overflow: hidden;
    border: 2px outset gray;
    max-width: 87px;
    white-space: nowrap;
}

ul.allpages li.title{
    padding-block: 2px;
    margin-top: -4px;
}

ul.allpages:hover{
    transition: height ease-out 0.2s;
    height: 250px;
    background: #a18666e6;
}

ul.allpages li{
    padding-block: 9px;
}

ul.allpages li a{
}

a.CtrlUp{
    position: fixed;
    right: 10px;
    bottom: 5px;
}

footer{
    margin: 20px;
}

footer div.pins{
    float: right;
    margin-right: -10px;
    border: 2px outset gray;
    max-width: 364px;
}

footer ul.pins{
    max-width: 364px;
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
}

img.pins {
    width: 88px;
    margin: 1px;
}

@media (max-width: 750px) {
    footer div.pins{
        margin-top: 20px;
        width: fit-content;
        float: initial;
    }
    
}

nav.index{
    all: revert;
    background-color: #7f5f3e;
    margin: 15px;
    margin-left: 25px;
    padding: 10px;
    padding-top: 6px;
    border: 2px outset gray;
    float: right;
}

nav.index ul{
    all: revert;
    margin-top: 0;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px dotted black;
}

nav.index ul li:before {
    content: "";
    display: block;
    position: relative;
    left: -16px;
    top: 12px;
    width: 12px;
    border-bottom: 1px dotted black;
}


nav.index a{
    all: revert;
}

nav.index a:link{
    color: #443894;
}

main{
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    background: #a18666;/* #b69777*/
    min-height: 100vh;
}

header{
    color: white;
    background: url(/resources/header-background.jpg) #4b4a32ff center no-repeat;
    background-position-y: 60%;
    font-size: x-large;
    background-size: cover;
    padding-top: 70px;
    text-align: center;
    border: 2px outset gray;
    border-bottom: 2px inset gray;
    position: relative;
}

header h1{
    margin-bottom: 125px;
}

header h5{
    font-size: 0.61em;;
    margin: 4px;
    margin-bottom: 2px;
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
}

section{
    padding: 20px;
}


section.C{
	text-align: center;
}