﻿body {
    background-color : MidnightBlue;
    color : LightBlue;
    
}
nav {
   float : left;
   margin-left : 0px;
   margin-right : 10px;
   background-color : MidnightBlue;
}
nav > ul a {
  display: block;
  white-space: nowrap;
  padding: 10px;
  color: LightBlue;
}
nav > ul a:hover {
  color: yellow;
}
nav ul > li {
    display : block;
    margin-left: 25%;
    margin-right: 25%;
    position: center;
    /*color: White;*/
}
.style1 {
    width: 71%;
    height: 288px;
    margin-left: 200px;
}
.style2 {
    width: 300px;
    height: 200px;
}
.style3 {
    margin-left: 15%;
    margin-right: 15%;
    display : compact;
    /*color: White;*/
}
.style4 {
    width: 20%;
}
.picstyle_q {
    width: 300px;
    height: 200px;
}
.picstyle_h {
        width : 200px;
        height: 300px;
}
.picstyle_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
    height: 150px;
}
.style_hr {
    width : 80%;
    height: 4px;
    position:center;
    margin-left:10%;
    margin-right:10%;
}
@media (max-width: 499px) {
nav {
    float : left;
}
nav ul > li {
    float : left;
}
    .style1 {
        margin-left : 0px;
        width: 100px;
    }
    .style2 {
        width : 100px;
        height: 66px;
    }
    .style3 {
        margin-left : 0px;
    }
    .picstyle_q {
        width : 150px;
        height: 100px;
    }
    .picstyle_h {
        width : 100px;
        height: 150px;
    }
    .picstyle_center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 150px;
        height: 150px;
    }
}
h1 {
   float : initial;
}
