html {
    background-color: black;
    background-size:300px;
    background-repeat:round;
}

body {
    font-family: Palatino;
    font-size: 14px;
    width:900px;
    display:block;
    position:relative;
    margin-left:auto;
    margin-right:auto;
}


.container {
    display: grid;
    grid-template-columns: 150px 500px 65px 250px;
    grid-template-rows: 90px 550px 40px;
}

header, .navbox, .door, main, section, aside, .mailbox, footer {
    text-align: center;
}

img {
    max-width: 100%;
    height:auto;
}

    /* SCROLLBAR */
::-webkit-scrollbar {
        width: 8px;
    }

   /* Track (bar) */
::-webkit-scrollbar-track {
         background-color: #552d34; 
     }
    
   /* Handle */
::-webkit-scrollbar-thumb {
         background: #8a6e5b; 
     }
 
     /* Handle on hover */
 ::-webkit-scrollbar-thumb:hover {
     background: #b98770; 
   }

::-webkit-scrollbar-corner {
    background-color:rgb(90, 39, 39)
}

 /*LINKS*/

:link, a:visited {
    color: #42717c;;
}

a:hover, a:active {
    color: #27575a;
}

header {
    grid-column: 1 / 3;
    grid-row: 1;
    width: 108%;
    margin-left: -25px;
    /*
    justify-self: center;
    background-image: url(images/house/roof.png);
    background-size: 100% 100%;
    */
}

header img {
    height: 100%;
    width:100%;
}

nav {
    background-image: url(images/house/Nav.png);
    background-size: contain;
    grid-column: 1;
    grid-row: 2;
    display:flex;
    flex-direction: column;
    justify-content:space-between;
    justify-self: center;
}

.navbox {
    background-image:url(images/house/Navbox.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 40%;
    margin: 10%;
    margin-top: 15%;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding-top: 30%;
    font-size: 12px;
}

.door {
    width:60%;
    align-self: center;
    margin-bottom:-4px;
}


main {
    background-image:url(images/house/Main.png);
    background-size: contain;
    grid-column: 2 / 3;
    grid-row: 2;
    display: flex;
    flex-flow: row wrap;
    align-items:flex-start;
    justify-content:space-around;
    overflow-y:scroll;
    overflow-x: hidden;
}

section {
    background-image: url(images/house/Section.png);
    background-repeat:round;
    background-size: contain;
    margin:15px;
    padding: 10px;
    align-self: stretch;
    border: 12px double #36100a;
    display:flex;
    flex-flow:column;
    justify-content: center;
    align-items: center;
}

#sec1 p {
    margin-top: 0;
}

h1 {
    text-decoration: underline;
    text-underline-offset: 5px;
}

#sec2 {
    width: 40%;
    padding: 0;
    background-image: none;
}

#sec3 {
    width: 30%;
}

#sec4 {
    width: 50%;
}

#sec5 {
    width: 15%;
}

#sec6 {
    padding: 0;
    background-image: none;
}

aside {
    grid-column: 4;
    grid-row: 1 / 4;
    display: flex;
    flex-flow:column;
    justify-content:flex-end;
    justify-items: center;
}

.commentbox {
  height: 300px;
  margin-bottom: 30px;  
}

.mailbox {
    background-image:url(images/house/Mailbox.png);
    background-size:contain;
    background-repeat: no-repeat;
    height: 20%;
    width: 40%;
    align-self:center;
}

footer {
    background-image:url(images/house/Footer.png);
    background-size: cover;
    grid-column: 1 / 3;
    grid-row: 3;
}