*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'verdana', sans-serif;
    background-color: #333;
    color: #f5f5f5;
}

.header{
    padding: 1.5rem 0 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header h1{
    font-size: 3rem;
}

.headerlinks{
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.headerlinks a{
    text-decoration: none;
    color: #b6b4b4;
}

.headerlinks a:hover,
.headerlinks a:focus{
    text-decoration: underline;
}


.container{
    margin-inline: 18%;
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: .8rem;
}

.container img{
    width: 100%;
    place-self: center;
    border-radius: 2rem;
}

img:nth-child(5){
    grid-column: 1/-1;
    grid-row: 1;
}

.footer{
    padding: 1.5rem 0 .5rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.icon{
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.footerlinks{
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.footerlinks a{
    text-decoration: none;
    color: #b6b4b4;
}

.footerlinks a:hover,
.footerlinks a:focus{
    text-decoration: underline;
}

.button{
    text-decoration: none;
    color: #333;
    border:#f5f5f5;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    background-color: #888787;
}


.button:hover{
    background-color: #525050;
    color: #f5f5f5;
}

