body{
    height: 100vh; 
    display:flex;
    font-family:'Times New Roman', serif;
    flex-direction: column;
}
header{
    background-color: red;
    height: 60px;
    flex-shrink: 0;
}
header h1{
    font-family: 'Times New Roman', serif;
    font-size: 24px;
    color:black
}
nav{
    background-color: whitesmoke;
    height: 30px;
}
nav li{
    display: inline-block;
    list-style: none;
    height: 30px;
}
nav a{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px 0 10px;
    color: royalblue;
}
#content{
    display: flex;
    flex: auto;
    flex-direction: row;
}
main{
    width: 70%;
    box-sizing: border-box;
    padding: 10px ;
}
aside{
    width: 30%;
    box-sizing: border-box;
    padding: 12px;
    background-color: lightgray;
}
footer{
    background-color: salmon;
    color: black;
    font-size: 85%;
    flex-shrink: 0;
}
h1{
    color: darkgoldenrod;
    font-size: 140%;
    margin-bottom: 20px;
}
p{
    margin-bottom: 12px;
}
#menu-button{
    display: none;
}
input[type=button]{
    border:2px solid gray;
    background-color: #333333;
    border-radius: 4px;
    padding:10px;
    color:gray;
    font-weight: bold;
}

#image-gallery{
    width:800px;
    height: auto;
}

#image-gallery #mainImg{
    width:100%;
    border: 2px solid #333333;
}
@media all and (max-width: 800px){
    header{
        height: 44px;
    }
    #content{
        display: block;
    }
    main, aside{
        width: 100%;
    }
    #menu-button{
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 44px;
        text-align: center;
        line-height: 44px;
        color: black;
    }
    nav{
        height: auto;
        display: none;
    }
    li{
        display: block;
    }
    nav.open{
        display: block;
    }
    #image-gallery{
    width:380px;
    height: auto;
}
}