/* ABOUTME: Simplified CSS for Tamarou stealth mode static site */
/* ABOUTME: Maintains visual identity while optimizing for static hosting */

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

html {
    background: #DDD url('/images/Background.png') repeat fixed;
    height: 100vh;
    font-size: 14px;
    font-family: "Times New Roman", serif;
}

body {
    margin: 0px auto;
    max-width: 680px;
    min-width: 680px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: url('/images/masthead.png') no-repeat scroll top left;
    width: 680px;
    height: 275px;
    box-shadow: 0ex 0ex 1em black;
    flex-shrink: 0;
}

header div.title {   
    margin: auto; 
    width: 600px; 
    height: 275px; 
    display:block;
}

main {
    flex: 1;
    margin-top: 10ex;
    background: #d7c5b2;
    overflow: auto;
    padding: 5ex;
    box-shadow: 0ex 0ex 1em black;
    text-align: center;
}

main h1 {
    font-family: "Helvetica", sans-serif;
    font-weight: normal;
    margin: 0 0 2ex 0;
    font-size: 2em;
}

main h2 {
    font-family: "Helvetica", sans-serif;
    font-weight: normal;
    margin: 2ex 0 1ex 0;
    font-size: 1.3em;
}

main p {
    text-align: left;
    line-height: 1.6;
    margin: 1.5ex 0;
}

.stealth-mode {
    font-style: italic;
    color: #666;
    font-size: 1.1em;
    margin: 3ex 0;
}

footer {
    margin-top: 10ex;
    background: url('/images/footer.png') no-repeat scroll top left;
    width: 680px;
    height: 175px;
    box-shadow: 0ex 0ex 1em black;
    overflow: hidden;
    flex-shrink: 0;
}

footer section {
    background-color: #d7c5b2;
    padding: 5ex;
    opacity: 0.9;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

footer section p {
    margin: 0;
    font-size: 0.9em;
    text-align: center;
}

footer a { 
    color: black; 
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    body {
        min-width: 320px;
        max-width: 100%;
        margin: 0;
    }
    
    header, footer {
        width: 100%;
        background-size: cover;
    }
    
    main {
        margin-top: 2ex;
        padding: 3ex;
    }
}