/* COLOR REF
https://coolors.co/palette/e63946-f1faee-a8dadc-457b9d-1d3557
red:        #E63946
offwhite:   #F1FAEE 
light blue: #A8DADC
blue:       #457B9D
dark blue:  #1D3557
*/


/* general */
body {
    margin: 0px;
    background-color: #F1FAEE;
}
#body_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Remove special formating from links */
.link_no_format {
    color: black;
    text-decoration: none;
}

/* header */
#header {
    background-color: #A8DADC;
    padding: 30px;
}
#header_inner {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: min-content 1fr;
    row-gap: 10px;
}
@media screen and (max-width: 460px) {
    #header_inner {
        grid-template-columns: 1fr;
    }
    .logo-image {
        place-self: start center;
    }
    #navbar {
        place-self: stretch;
    }
}
.logo-image {
    background-color: white;
    display: inline-block;
    border-radius: 10px;
    width: 100px;
    height: 100px;
}

/* Navigation Bar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    place-self: end right;
}
.navitem {
    display: inline-block;
    padding: 10px;
    background-color: #457B9D;
    
    color: black;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid;
}
.navitem:hover {
    background-color: #1D3557;
}
@media screen and (max-width: 460px) {
    .navitem {
        flex: 100%;
    }
}

/* content */
#content {
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 10px;
}

/* Add slight padding to content div*/
@media screen and (max-width: 810px) {
    #content {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Format for printing */
@media print {
    body{
        visibility: hidden;
    }
    #content {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        border: none;
    }
}

/* footer */
#footer {
    background-color: #A8DADC;
    padding: 30px;
    margin-top: auto;
}
#footer_inner {
    max-width: 800px;
    margin: auto;
}
