/*
* Base stylesheet for ammdias.duckdns.org
* (C) 2018 Antonio Manuel Dias
*/

/*
* Center all content and apply max width
* Define font to use
*/
body {
    max-width: 45em;
    margin: auto;
    font-family: sans-serif;
}


/*
*  Site banner
*/
body > header {
    background-color: darkslategrey;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

body > header a {
    color: white;
    text-decoration: none;
}


/*
* Navigation bar
*/
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: gainsboro;
}

nav li {
    display: block;
    float: left;
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid lavender;
    border-bottom: none;
}

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

nav li.active {
    color: white;
    background-color: lightslategrey;
}

nav li.inactive {
    color: silver;
}


/*
* Main content
*/
body > main {
    background-color: white;
    color: black;
    padding: 5px 10px;
    line-height: 1.3;
}

body > main a {
    color: blue;
    text-decoration: none;
    border-bottom: 1px dotted;
}

textarea {
    font-family: sans-serif;
}

.warning {
    background-color: gainsboro;
    color: dimgrey;
    padding: 5px 10px;
}

.link {
    color: blue;
    text-decoration: none;
    border-bottom: 1px dotted;
    cursor: pointer;
}

/*
* Site footer
*/
body > footer {
    background-color: lavender;
    color: black;
    padding: 5px 10px;
}

body > footer a {
    text-decoration: none;
}

