﻿/* BookPage.css */
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 */ 
    font-size: 2.0vw;
        
}
h2 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 1.5vw;
    font-style: italic;
    font-weight: 800;
    color: #FFF;
    margin: 0;
}
h3 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 2.5vw;
    font-style: italic;
    font-weight: 800;
    color: black;
}
#AuthorID {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 2.5vw;
    font-style: italic;
    font-weight: 800;
    color: #FFF;
    text-align: center;
    margin: 1em 0 0 0;
}
#header {
    margin-top: 0;
    margin-bottom: 10px;
    width: 95vw;
    height: 16vw;
    background-image: url(../Headers/Header2a.png );
    background-size: cover;
}
#ImgPN {
    width: 33vw;
    height: auto;
    margin: 2vw 0 0 0;
}

    #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 3vw;
    }
#MenuBar1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

    #MenuBar1 a {
        color: white;
        font-size: 1.5vw;
        font-weight: 300;
        padding: 0;
        margin: 0 2vw 0 0;
    }
        #MenuBar1 a:hover {
            font-style: italic;
            font-weight: 800;
        }

.ReadersComments {
    display: inline-block;
    background-color:darkgray;
    color: black;
    font-size: 1.5vw;
    font-weight: 300;
    padding: 0.1em 1.0em;
    margin: 1vw 0 1vw 0;
    border: groove 8px black;
    border-radius: 20px;
    box-shadow:  cyan  -10px -10px;
}

.imageLeftShadow_Book {
    float: left;
    margin: 5px 1vw 0 0;
    padding: 0;
    border: 4px solid #000;
    box-shadow: 8px 15px 5px #888888;
    width: 15vw;
}

.DivButton {
    display: inline-block;
    background-color: #000;
    color: white;
    font-size: 2.0vw;
    font-weight: 400;
    padding: 0.1em 1.0em;
    margin: 0 0 1vw 0;
    border-radius: 20px;
}

#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;
    font-size: 2.0vw;
}
#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;
    }
.wrapper {
    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;
}
#MainContent_SolidBkgnd {
    border: 5px ridge #CCC;
    border-radius: 20px;
    margin: 0;
    padding: 0 15px;
    font-size: 2.0vw;
    font-weight: 600;
    background-color: lightgray
}
#NolenPhoto {
    width: 20vw;
    height: auto;
    margin: 0 1vw 0 1vw;
    border: 3px;
    border-color: black;
    width: 12vw;
}
.DivReviewContainer {
    display:contents;
    margin: 2em;
    width: 100%;
}
#Reviews {
    padding: 8px;
    margin: 0;
    width: inherit;
    color:black;
    font-size: 2.5vw;

}

.DivReviewContainer h2 {
    font-size: 3vw;
    font-weight: 800;
    margin: 0 0 1em 0;
}
    .DivReviewContainer p {
        font-size: 2vw;
        font-weight: 400;
        margin: 0 0 1em 0;
    }

    .DivReviewContainer h3 {
        font-size: 2.5vw;
        font-weight: 800;
        margin: 0 0 1em 0;
    }

    .DivReviewContainer a {
        color: black;
        font-size: 2.5vw;
        font-weight: 800;
        text-decoration-line: underline;
    }
#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;
}
/* smaller screens, media query to stack the grid into a single column:*/
@media (max-width: 600px) {
    #BuyButton {
        width: 33vw;
    }
}