body {
    background-color: #eeffde;
}
.static-top {
    width: 100%;
    border: 0px;
}
.footer {
    color: #fff;
    text-align: center;
    margin-top: 20px;
    max-width:100%;
}
.footer a {
    text-decoration: none;
    font-weight: normal;
    font-size: small;
    font-style: normal;
    font-family: Arial, Helvetica, sans-serif;
    color: #999;
    
}
.right {
    overflow: auto;
    float: left;
    width: 40%;
}
.right a {
    text-decoration: none;
    color: #040;
}
.left {
    overflow: hidden;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
    color: #999;
    width: 20%;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

h1 {
    font-weight: normal;
    font-size: x-large;
    font-family: Arial, Helvetica, sans-serif;
    color: #040;
}
h2 {
    font-weight: normal;
    font-size: large;
    font-family: Arial, Helvetica, sans-serif;
    color: #040;
}
h3 {
    font-weight: normal;
    font-size: large;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    color: #040;
}
p {
    font-weight: normal;
    font-size: normal;
    font-family: Arial, Helvetica, sans-serif;
    color: #999;
}
hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 3px dotted #8c8b8b;
    color: #040;
}

.main {
    padding-top: 40px;
    clear: both;
    max-width:100%;
}
.logo {
    float: left;
    margin: 0;
    padding: 0;
    max-width:100%;
}
.logo img {
    max-width:100%;
}
.photo {
    display:block;
    margin:auto;
    max-width:40%;
}
.nav {
    overflow: hidden;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-size: large;
    background-color: #040;
    width: 1054px;
    color: white;
    max-width:100%;
}

.subnav a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-size: medium;
    padding-top: 1px;
    padding-left: 10px;
    color: #040;
}

/* Links inside the navbar */
.menuitem {
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none;
}

/* Change background on mouse-over */
.nav a:hover {
    background: #ddd;
    color: yellow;
}
@media screen and (max-width: 800px) {
  .left, .main, .right, .nav, .footer, .logo {
    width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
  }
}
