/* 
    // gexographix //
    Created on : 21.08.2025, 10:00:34
    Author     : gexo
*/

body {
    display: grid;
/*    gap: 1em;*/
    grid-template: "h1 header h3"
                    "n1 nav n3"
                    "m1 main m3"
                    "f1 footer f3"
                    "fb1 copy fb3";   
    grid-template-columns: 2fr auto 2fr;
    grid-template-rows: 100px auto auto auto ; 
    margin: 1em;
    width: 99%;
    font-family: sans-serif;
    font-size: 12pt;
}

/*@media (min-width: 30em) {
    body {
        grid-template-columns: 1fr auto 1fr;
    }
}*/

a {
    text-decoration: none;    
}

a:hover {
    text-decoration: underline;
}

header {
    height: 210px;
    width: min-content;
    grid-area: header;
/*    border: 5pt;*/
    border-color: black;
}

.headertop {
}

.headermain {
    vertical-align: top;
    height: 158px;
}

#logo {
    margin: 1em 0 0 0;
}

article {
    font-style: italic;
}

div {
    margin: 0;
    padding: 0;
}

.infolink {
    margin: 1em 0 0 0;
    color: #aca7c6;
}

.infolink a {
    font-size: 10pt;
    font-variant: small-caps;
    color: mediumslateblue;
}

ul {
/*    display: inline;*/
    margin: 0;
    padding: 0;
}


li {
    margin: 0;
    padding: 0;
}

nav {
    grid-area: nav;
    margin: 0 0 1em 0;
    padding: 0;
    height: min-content;
    width: inherit;
    border-radius: 3pt;
/*    border-bottom-left-radius: 3pt;
    border-bottom-right-radius: 3pt;
    border-top-left-radius: 3pt;*/
    border-left-color: #615e70;
    border-left-style: ridge;
    border-left-width: 1pt;
    border-right-color: #615e70;
    border-right-style: ridge;
    border-right-width: 1pt;
    border-bottom-color: #615e70;
    border-bottom-style: groove;
    border-bottom-width: 1pt;
    border-top-color: gray;
    border-top-style: inset;
    border-top-width: 1pt;
}

nav li {
    display: inline;   
    width: 22%;
    margin: auto;
    padding: 0 2pt;
}

nav li:hover {
    background: #615e70;
    border-style: none;
    border-radius: 3pt;
}

nav li:active {
    background: #000;
    border-style: none;
    border-radius: 3pt;
}

nav li.emptylink:hover {
    background: #FFFFFF;
    border-style: none;
    border-radius: 3pt;
}


nav li div.emptylink {
        display: inline;
    	margin: 1em;
        padding: 0;
    	text-align: center;
	width: 100%;
        font-variant: small-caps;
        color: black;
        font-weight: bold;
}

nav li a {
/*	display: inline-block;*/
	margin: 1em;
        padding: 0;
	text-align: center;
	width: 100%;
        font-variant: small-caps;
        color: black;
        font-weight: bold;
}

nav li a:hover {
        color: whitesmoke;
        text-decoration: none;
} 

nav li a:active {
        color: #aca7c6;
} 

main {
    grid-area: main;
    width: inherit;
    margin: 0 0 2em 0;
}

.maincontentwrapper {
/*    display: inline-grid;*/
    border: 0;
/*    width: 30em;*/
    margin: 0;
    padding: 0;
}

@media (min-width: 70em) {
    .maincontentwrapper {
        width: 65em;
    }
}

h1 {
    font-size: 14pt;
    padding: 0;
    margin: 2em 0 1em 0;
}

h2 {
    font-size: 14pt;
    padding: 0;
    margin: 2em 0 1em 0;
}

h3 {
    font-size: 14pt;
    padding: 0;
    margin: 2em 0 1em 0;
}

h4 {
    font-size: 12pt;
    padding: 0;
    margin: 2em 0 1em 0;
}

footer {
/*    vertical-align: top;*/
    grid-area: footer;
    width: 100%;
    background-color: #000; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    column-gap:  2em;
    grid-auto-flow: row;
/*    place-content: space-evenly;*/
}

.footernav {
    margin: 0;
    width: max-content;
    padding: 0 1em;
    font-size: 12pt;
}

.ptitle {
    font-weight: bold;
    font-variant: small-caps;
    color: #aca7c6;
}

.nolinktitle {
    font-weight: bold;
    font-variant: small-caps;
    color: #aca7c6;
}

.innerpage {
    color: #aca7c6;    
}

.nolinkpage {
    color: #aca7c6;
}

div#footer-bottom {
    grid-area: copy;
    align-content: center;
    background-color: lightgray;
    padding: 1em;
    border-bottom-left-radius: 3pt;
    border-bottom-right-radius: 3pt;
    font-size: 10pt;
}

footer a:hover {
    color: white;    
}
