﻿/* Index.css */
/*NOTE: rem stands for root em, which is a measurement unit that refers to the font-size of the root element of a document */
#Welcome {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 1em 10px 0;
    width: 98vw;
    justify-content: space-around;
}
#sidebar1 {
    display: flex;
    flex-direction: column;

    width: 18vw;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    border: medium ridge #CCC;
    border-radius: 20px;
    align-items:center;
    text-align:center;
}
    #sidebar1 p,
    #sidebar1 a {
        margin: 10px 1vw 10px 0;
        font-family: "Times New Roman", Times, serif;
        font-size: 1.1rem;
        font-weight: 800;
    }
    #sidebar1 a {
        text-decoration: none;
        color: #000;
        font-family: "Times New Roman", Times, serif;
        font-weight: 800;
    }
    #sidebar1 h1 {
        font-size: 1.8rem;
        font-weight: 800;
    }
    #sidebar1 h2 {
        color:black;
        font-size: 1.2rem;
    }

#sidebar1 h3 {
    margin-left: 10px; 
    margin-right: 0px;
    font-family: "Times New Roman", Times, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: bold;
}
#BookSidebar p {
    margin: 0 0 0 0;
}
#daBook a {
    /* margin-bottom: 5em; */
    /* font-size: 1.4vw; */
    font-weight: 500;
    font-family: Tahoma, Geneva, sans-serif;
    color: goldenrod;
    text-shadow: 0 0 BLACK, 1px 2px black;
    /* padding: 0 3px 5px 3px; */
}
#LinkHeader {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: Tahoma, Geneva, sans-serif;
    color: navy;
    text-align: center;
    margin-top: 0px;
}
#daLinks {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
    
    #daLinks LinkButton {
        font-size: 1.3rem;
        font-weight: 600;
        font-family: Tahoma, Geneva, sans-serif;
        color: navy;
        background-color: #CCC;
        border-radius: 10px;
        border: 4px groove #000;
    }
#aLink {   /* the actual link */
    font-size: 1.8rem;
    font-weight: 700;
    font-family: Geneva, sans-serif;
    color: navy;
}
#BookIcon {
    width: 14vw;
    margin:4px 0;
}
#mainContent {
    border: 6px ridge #CCC;
    border-radius: 20px;
    margin: 10px 1vw 10px 2vw;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    text-align: left;
    padding: 0 10px 0 1em;
    width: 72vw;
    font-size: 1.1rem;
}
#mainContent h1 {
    font-size: 1.8rem;
}
/* tz on 1st page */
.TopImage {
    width: 6em;
    height: auto;
    float: right;
    margin: 1em .5em 2px .5em;
    box-shadow: gray 8px -.4em;
    border: 4px solid black;
}
/*  not used on page 1 
#mainContent img {
        width: 70%;
                margin-left: 15%;
    }
*/

#BotImage {
    width: 70%;
}
    #BotImage img {
        width: 70%;
        height: auto;
        margin-left: 1em;
    }

.LinkButton {
    border: thick ridge #CCC;
    background-color: #CCC;
    color: #000;
    font-weight: 100;
    font-family: Tahoma, Geneva, sans-serif;
    border-bottom-color: #FFF;
    text-align: center;
    padding: 2px .5em;
    border-radius: 22px;
    margin: 0 0.5em 1em 0;

}
    .LinkButton a {
        text-decoration: none;
        color: black;
        font-weight: 100;
        font-family: Tahoma, Geneva, sans-serif;
        font-size: 1.4vw;
        font-style: italic;
    }

#footer {
    font-size: 1rem;
    text-align: center;
     margin-bottom:1em;
     padding: 1em;
}
.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: 1px;
    font-size: 1px;
    line-height: 0px;
}

@media (max-width: 600px) {
    #Welcome {
        display: flex;
        flex-direction: column;
        /* width: 90vw; */
        align-items: center;
        margin: 0;
        flex-wrap: nowrap;
    }

    #mainContent {
        width: 85%;
        font-size: 1.2rem;
    }

    #sidebar1 {
        /* width: 20vw; */
        display: block;
        width: 90%;
        margin: 10px 0 0 0;
        /* flex-wrap: wrap; */
        /* justify-content: space-evenly; */
        /* align-items: center; */
    }
        #sidebar1 p,
        #sidebar1 a {
            font-size: 1.3rem;
        }

    #BookSidebar {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        width: 100%;
        gap: 6px;
    }

        #BookSidebar p {
            margin: 0;
            font-size: 2.4rem;
        }
} /* @media close*/