﻿html body {
    margin: 0;
    padding: 0;
    transform: scale(1);
    transform-origin: 0 0; /* This will scale the page to fit the screen */
    background-image: url(Photos/Starfield.jpg);
    height: 100%;
    width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
    font-family: 'Verdana', 'Georgia','Tahoma', 'sans-serif';
    color: black;
    font-size: 1rem;
    text-align: center; /* this will center the text in the body element */
}

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;
}

#header {
    display: grid;
    grid-template-columns:50vw 1fr;
    margin-top: 0;
    margin-bottom: 6px;
    width: 100vw;
    /*height: calc(100vw * 0.2); /* photo is 1398W x 233H */
    background-image: url(Headers/Header2a.png );
    background-size: cover;
    align-items:end;
    justify-items:end;
}
#Nolen {
    grid-row:1;
    grid-column:1;
    margin-left:10em;
    width: 36vw;
    
}
#FloaterPlate {
    width: 40vw;
    height: 16vh;
    margin: 1em 5vw 0 0;
    grid-row: 1;
    grid-column:2;
}

#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%;
    grid-row:2;
    grid-column:1/ span 2;
}

    #MenuBar1 a {
        color: white;
        font-size: 1.5vw;
        text-decoration:none;
        font-weight: 500;
        padding: 0 4px 0 2px;
        margin: 0 1em;
        background-color: black;
    }

        #MenuBar1 a:hover {
            font-style: italic;
            font-weight: 800;
        }
#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) {
    #header h1 {
        font-size: 2.5rem; /* Adjust header height for smaller screens */
    }
    
    #MenuBar1 a {
        font-size: 1.3rem; /* Adjust font size for smaller screens */
    }
}