* {
    box-sizing: border-box;
}
#wrapper {
    display: grid;
    grid-template-columns: minmax(0px,1fr) repeat(6,minmax(0,175px))minmax(0px, 1fr);
    grid-auto-rows: minmax(0px,auto);
    background-color: lightgrey;
}
body{
    background-color: #ffffff ;
    margin: 0px;
}
header {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    padding-left: 1em;
    
   
}
nav{
    position: sticky;
    grid-row: 1 / 2;
    grid-column: 4 / -2;

    
   
}
nav a {
    text-decoration: none;
    padding: 1.5rem;
}
nav ul{
    text-decoration: none;
    display: flex;
    flex-flow: nowrap;
    list-style: none;
    text-align: center;
    justify-content: center;
    padding: 15px;
}
main{
    grid-row: 5 / 8;
    grid-column: 2 / -2;
    display: grid;
    grid-template-areas: 
            "a a a"
            "b b b"
            "c c c"
            "d e e";
}
footer{
    grid-row: 9;
    grid-column: 2 / -2;
    font-size: .70em;
    padding: 1em;
    text-align: center;
    
}
nav, header{
    background-color: rgba(255, 255, 255, 0.25) ;
    border-bottom: 4px solid orange;
    order: 1;
    
}
#HomeImage {
    height: 750px;
    grid-row: 1 / 6;
    grid-column: 2 / 8;
    background-image: url(images/homepage_compressed.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    
    

}
main h2{
    grid-area: a;
    text-align: center;
    justify-content: center;
    color: lightyellow;
    text-shadow: 1px 1px 2px black, 0 0 25px yellow, 0 0 5px yellow;
    font-size: 4rem;
    font-style: italic;
}
main form{
    grid-area: c;
    justify-content: center;
    text-align: center;
    background-color: white;
    border: 2px solid;
    background-image: linear-gradient(lightblue, orange);
}
main form label{
    font-weight: bolder;
    font-size: 1rem;
    color: black;
}
main section{
    grid-area: d ;
    background-color: #cfebfd;
    color:black;
    padding: 1rem;
}
#s2{
    grid-area: e;
    background-color: lightblue;
    color: black;
    
}
a{
    color:black
}
nav a:hover{
    background-color: orange;
    color: #333C5A;
}
main section h3{
    text-align: center;
}
main h2:hover {
    color: orange;
}
#MyPicture {
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/me_compressed.jpg);
    height: 250px;
    grid-row: 7 / 8;
    grid-column: -3 / -2;
}
