* {
    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 {
    display: flex;
    position: relative;
    grid-row: 1 / 2;
    grid-column: 4 / -2;
    font-weight: bolder;

    
   
}
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%;
    
    

}
.moved{
    grid-row: 3/8;
    grid-column: 2/-2;
    grid-template-areas:"a"
                        "b"
                        "c";
}
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;
    text-decoration: none;
}
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;
}
@media only screen and (max-width: 992px){
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 128px)) minmax(0px, 1fr);
    }
    #ResumeHero, #MatrixHero,#ServiceHero{
        background-size: 100% 100%;
        grid-row: 1/5;
        
    }
    
    

}
@media only screen and (max-width: 768px){
    #myPicture, #HomeImage, #ResumeHero, #MatrixHero,#Servicehero{
        background-size: 100% 100%;
    }
    header{
        grid-column: 1 / 9;
        text-align: center;
        padding: 0px;
    }
    
    nav {
        display: flex;
        grid-row: 2 / 4;
        grid-column: 1 / -1
    }
    nav ul{
        display: inline;
        width: 100%;
    }
    nav ul li{
        padding: 22px 22px 22px 22px;
        
    }
    .moved{
        grid-row: 5 /8;
    }
    .lilmoved{
        grid-row: 6 /8;
    }

}

h3{
    grid-column: 1/9;
    text-align: center;
}
main h2 li a {
    text-decoration: none;
    
}
main h2 li{
    list-style: none;
}
main h2 li a:hover {
    color: orange;
}
main h4{
    color: ivory;
    grid-area: b;
    text-align: center;
    
}
main div{
    background-color: lightblue;
    text-align: center;
    padding: 10px 10px 10px 10px;
    
}
main div ul li{
    text-decoration: none;
    list-style: none;
    
}
#Experience{
    grid-row: 6/7;

}
#ResumeHero,#MatrixHero, #ServiceHero{
    grid-row: 1 / 4;
    grid-column: 2 / 8;
    background-position: center;
    background-repeat: no-repeat;
    
}
.reverse{
    color: orange;
}
#contact{
    grid-row: 4/8;
    grid-column: 2 / -2;
    grid-area: b;
}
#ContactImage{
    height: 400px;
    grid-row: 1 / 4;
    grid-column: 2 / 8;
    background-image: url(images/contact.jpg);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}
.blog{
    border: 4px solid orange;
    padding: 5px 5px 5px 5px;
}
.revblog{
    border: 4px dashed black;
    padding: 5px 5px 5px 5px;
}
main audio{
background-color: transparent;
border: none;
}
main button{
    background-color: transparent;
    border: none;
}
