﻿/* index.css Zavecz.net*/
html body {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    background-image: url(Photos/Starfield.jpg);
    background-size: 50%;
    height:100%;
    overflow-x:hidden;
}

.twoColFixRtHdr #container {
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    width: 95%;
}

#MenuBar1 {
    display:flex;
    flex-direction: row;
    width: 95vw;
    margin: 0 0 2vh 0;
    margin-right: auto;
    font-size: 1.5vw;
    font-weight: 800;
}
    #MenuBar1 a {
        color: white;
        text-decoration: none;
        padding: 0;
        margin: 0 2vw 0 0;
    }
        #MenuBar1 a:hover {
            color: black;
            background-color:aqua;
        }

.twoColFixRtHdr #header {
    height: auto;
    padding: 0;
    margin: 0;
    text-align: center;

}
#header img {
    width: 40vw;
    margin:0;
   
}
    #mainContent h1 {
        margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
        padding: 10px 0 10px 2em; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
        font-size:2.5vw;
        
    }

#sidebar1 {
    float: right;
    width: 20vw; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 0;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    border: 4px groove grey;
    border-radius: 20px;
    margin-right: 10px;
    margin-top: 30px;
}
#sidebar1 a {
        font-family: "Times New Roman", Times, serif;
        font-size: 1.5vw;
        font-weight: bold;
        color: black;
        text-decoration: none;
    }
#ButtonLink {
    font-size: 2.0vw;
    font-weight: 800;
    color: blue;
    text-decoration:underline;
}

h2 {
        font-family: "Times New Roman", Times, serif;
        font-size: 1.5vw;
        font-weight: bold;
        color: black;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 0;
    }
.twoColHybRtHdr #sidebar1 h3 {
    margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
    margin-right: 0px;
    font-family: "Times New Roman", Times, serif;
    font-size: 52px;
    font-style: italic;
    font-weight: bold;
}

.twoColHybRtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
    margin-right: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 1em;
}
#sprytrigger2 {
    margin-left: 10px;
    margin-right: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 1em;
    font-weight: bold;
    color: #000;
    text-align: center;
    background-color: #CCC;
    border: thick ridge #CCC;
    border-radius: 20px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 15vw;
}

.twoColFixRtHdr #mainContent {
    border: thick ridge #CCC;
    border-radius: 20px;
    margin-top: 4px;
    margin-bottom: 0;
    margin-left: 5px;
    padding-left: 10px;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    text-align: left;
    font-size: 2vw;
    font-weight: 700;
    width: auto;
}
#mainContent p {
    font-size: 1.5vw;
    font-weight: 600;
}
#mainContent img {
    width: 8vw;
    height: auto;
    margin-left: 1vw;
}
.twoColFixRtHdr #footer {
    padding: 0 10px;
    float:left;
    width: 95%;
    color: black;
    font-size:1.5vw;
    margin-left: 3em;
    background-image: linear-gradient(to right, rgba(255,255,255,1),rgba(255,255,255,0)); /* linear gradient top to bottom */
}

    .twoColFixRtHdr #footer p {
        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 */
    }

.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;
}

#LastImage {
    width: 95vw;
    text-align: center;

}
    #LastImage img {
        width: 70vw;
        height: auto;
        margin-left: 2vw;
    }

    #BotImage img {
        width: 70vw;
        height: auto;
        margin-left: 2vw;
    }
#BottomImg {
    width: 50vw;

}
.DivButton {
    border: thick ridge #CCC;
    background-color: #CCC;
    color: #000;
    font-size: 2.0vw;
    font-weight: 600;
    font-family: Tahoma, Geneva, sans-serif;
    border-bottom-color: #FFF;
}

.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;
}

body, td, th {
    font-family: Times New Roman, Times, serif;
}
