body {
    background-color: #FFF;
    color: #666666;
    font-family: sans-serif;
    background-image: linear-gradient(#eeeeee,#fff);
    background-attachment: fixed;
    box-sizing: border-box;
    margin: 0px;
    
}

#wrapper{
    display: grid;
    grid-template-rows: minmax(0px,auto);
    grid-template-columns: 1fr repeat(4, minmax(0, 175px)) 1fr;
}
header {
    background-color: #FFF;
    color: black;
    font-family: serif;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    margin-left: 80px;
}
header h1{
 
    color: #111;
    line-height: 200%;
    background-position: right;
    background-repeat: no-repeat;
    padding-left: 0.5rem;
    height: 72px;
    margin: 0;
    position: absolute;
    z-index: 1;
}
header h1 a{
    color: black;
    text-decoration: none;
}
nav {
    background-color: #eee;
    opacity: 0.8;
    grid-area: 1 / 1 / 1 / 8;
    font-weight:bold;
    position: sticky;
    top: 0;
}
nav a{
    
    color: #111;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}
nav ul{
    list-style-type: none;
    margin: 0px;
    padding:  0px;
    padding-top: 10px;
    margin-left: 300px;
    display: flex;
    flex-flow: row nowrap;
}
nav ul li {
    width:100%;
}
nav a{
    text-decoration: none;
}
nav a:hover{
    border-bottom: 4px solid #72cc64;
}

#friendsphoto{
    height: 400px;
    background-image: url(photos/friendsphoto.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: 1 / 1 / 3 / -1;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
main {
    background-color: #FFF;
    color: black;
    display: block;
    grid-area: 3 / 2 / 5 / -2;
}
main h1{
    text-align: center;
    margin-bottom: 0;
}
hr {
    border: 0;
    height: 1px;
    background: #bbb;
    background-image: linear-gradient(to right, #ccc, #ccc, #ccc);
}
.images-container {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}
.images-container img{
    padding-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.welcome-photos img{
    height: 250px;
    width: 200px;
}

.images-container1 {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    padding-top: 0px;
}
.images-container1 img{
    padding-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.favorites img{
    height: 200px;
    width: 300px;
}
    
button {
    background-color: forestgreen;
    color: white;
    margin-left: 129px;
    margin-right: 129px;
    height: 40px;
    width: 85px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 3px;
}
button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}