body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header > img{
    float:left;
}

nav{
    margin-top: 10px;
    float: right;
}

nav > a{
    float:left;
    margin-left: 10px;
    font-size: 20px;
    line-height: 20px;
    text-decoration: none;
    color: black;
}

nav > a:hover{
    text-decoration: underline;
}

nav > a:first-of-type {
    margin-left:0;
}

main > div{
    width: 40%;
    float: left;
}

main a:hover{
    box-shadow: 0px 2px 8px #0003;
}

main h1{
    font-size: 60px;
    font-weight: normal;
    margin: 0px;
}

main h2{
    margin:0px;
    font-size: 50px;
    letter-spacing: -2px;
}

main hr{
    width: 100px;
    float: left;
    height: 5px;
    background-color:#648;
    border-radius: 2px;
    border:none;
}

main p{
    color: #777;
    display: inline-block;
}

main > img{
    width: 50%;
    float: right;
    transition: all 2s;

}

main > img:hover{
    transform: rotate(120deg);
    transition: all 2s;
}

div > div{
    margin-top:20px;
}

main a{
    text-decoration: none;
    background-color: #648;
    padding: 10px 30px 10px 30px;
    border-radius: 50px;
    color: white;
    border:solid 2px #648;
    display: inline-block;
}

main a:last-child{
    background-color: white;
    color:#648;
}



footer, main, header{
    display: inline-block;
    margin-left: calc((100% - 800px) / 2) ;
    margin-right: calc((100% - 800px) / 2) ;
    width: 800px;
    margin-bottom: 30px;
}
footer{
    margin-top: 100px;
}

footer div{
    float:left;
}

footer div > a{
    float: left;
    text-decoration: none;
    color: silver;
    font-size: 20px;
    transition: all 3s;
}

footer div > a:hover{
    transition: all 0.5s;
}

footer div > a + a{
    margin-left: 15px;
}

footer div > a:nth-of-type(1):hover{
    color: blue;
}

footer div > a:nth-of-type(2):hover{
    color: red;
}

footer div > a:nth-of-type(3):hover{
    color: green;
}

footer div > a:nth-of-type(4):hover{
    color: yellow;
}

footer p{
    float:right;
    margin: 0px;
}