﻿/* About.css */
html body {
    margin: 0;
    padding: 0;
    background-image: url(Photos/Starfield.jpg);
    background-size: 50%;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: black;
    text-align: center; /* this will center the text in the body element */ 
}
#header {
    margin-top: 0;
    margin-bottom: 10px;
    width: calc(100%);
    height: calc(100% * 0.2);  /* photo is 1398W x 233H */
    background-image: url(Headers/Header2a.png );
    background-size: cover;
}

    #header h1 {
        margin: 0;
        padding: 1vh 0 0 0;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 6vw;
        font-style: italic;
        font-weight: 800;
        color: #FFF;

    }
    #header a {
        color: yellow;
        text-decoration: none;
        font-size: 1.5vw;
        font-weight:400;
        margin: 0;
    }
#MenuBar1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

    #MenuBar1 a {
        color: white;
        font-size: 1.5vw;
        font-weight: 500;
        padding: 0 4px 0 2px;
        margin: 30px 1em 20px 0;
        background-color: black;

    }
        #MenuBar1 a:hover {
            font-style: italic;
            font-weight: 800;
        }
#sidebar1 {
    float: right;
    font-size: 1.7vw;
    font-weight: 700;
    width: 20vw;
    padding: 5px 3px 15px 5px;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    border: medium ridge #4d4444;
    float: right;
    border-radius: 20px;
    margin-top: 2vw;
    margin-right: 2vw;
    padding-top: 3px;
    padding-right: 0px;
    padding-bottom: 15px;
    padding-left: 0;
}

    #sidebar1 p {
        margin: 10px 1vw 10px 0;
        font-family: "Times New Roman", Times, serif;
        font-size: 1.5vw;
        font-weight: 800;
    }


    #sidebar1 h3 {
        margin-left: 10px;
        margin-right: 0px;
        font-family: "Times New Roman", Times, serif;
        font-size: 22px;
        font-style: italic;
        font-weight: bold;
    }
#apDivFloatRight {
    position: absolute;
    z-index: auto;
    height: 200px;
}

#container {
    display: block;
    border: 4px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    width: 95vw;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}
#MenuTabs {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: inherit;
}
    #MenuTabs a {
        color: white;
        background-color: gray;
        border: 5px groove white;
        border-radius: 10px;
        font-size: 1.5vw;
        font-weight: 400;
        padding: 0.1em 1.0em;
        margin: 1em 1em 1em 1em;
    }
        #MenuTabs a:hover {
            font-weight: 800;
            font-style: italic;
            color:cyan;
        }
#AboutWriting {
    padding: 8px;
    margin: 0;
    width: inherit;
    border-radius: 20px;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
}
    #AboutWriting p {
        font-size: 1.5vw;
        font-weight: 400;
    }

.ArticleBox {
    border: thick ridge #CCC;
    border-bottom-color: #009;
    border-radius: 20px;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-right: 20px;
    background-color: #CCC;
    padding-left: 1em;
    padding-bottom: 1em;
}

#MainContent {
    border: 5px ridge #CCC;
    border-radius: 20px;
    margin: 0;
    padding: 0 15px;
    font-size: 1.5vw;
    font-weight: 550;
}
#NolenPhoto {
    width: 20vw;
    height: auto;
    margin: 0 1vw 0 1vw;
    border: 3px;
    border-color: black;
    width: 12vw;
}

#footer {
    padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background: #DDDDDD;
}
   #footer p {
       font-size: 1.4vw; 
       margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    }

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}