html,
body{
    color:#777;
    font-family: Arial, sans-serif;
    font-size: 13px;
    height: 100%;
    width: 100%;
}
header a, footer a{
    color:#777;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
header a:active,footer a:active{
    color:#d34e4e;
}
i:hover{
    color:#222;
}
header{
    float: right;
    padding: 15px 22px;
    height: 50px;
}
header > a{
    margin: 0 8px;
    position: relative;
}
header a:first-child{
    margin-right: 3px;
}
header a:first-child,header a:nth-child(2){
    color: #444;
    bottom: 11px;
}
a:nth-child(3){
    bottom: 3px;
    margin: 0 10px 2px 7px;
}

.header-photo{
    display: inline-block;
    background-color:#777;
    height:31px;
    width:31px;
    border-radius:50%;
}

.mi-notifications{
    font-size: 12px;
    position: relative;
    bottom: 9px;
    background-color:#777;
    border: 4px solid #777;
    border-radius:50%;
    color:#fff;
}
.mi-notifications:hover{
    color:#fff;
    background-color: #222;
    border: 4px solid #222;
}
main {
  box-sizing: border-box;
  min-height: 100%;
  padding-bottom: 40px;
  padding-top: 15.5%;
  height: 540px;
}
main > div:first-child{
    background-image: url('../img/google.png');
    background-repeat: no-repeat;
    background-size:272px 92px;
    height:92px;
    width:272px;
    margin: 0 auto;
}
main > div:nth-child(2){
    padding: 0px;
    width: 583px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border-radius: 2px;
    border: 0.5px solid rgba(0,0,0,0.1);
    margin: 26px auto;
}
main > div:nth-child(2):hover{
    box-shadow: 0 3px 6px rgba(0,0,0,0.22);
    transition: box-shadow 0.3s;
}
main > div > div{
    padding: 76px 0 0 215px;
    color: #4687f0;
    font-size: 16px;
}
main > div input{
    height: 34px;
    width: 520px;
    border: none;
    overflow: hidden;
    outline: none;
    font-size: 20px;
    padding-left: 10px;
}
main > div i{
    margin: 10px 0 0 10px;
}
main > div:nth-child(3){
    width:267px;
    margin: 0 auto;
}
button{
    margin: 5px 0 0 4px;
    padding: 10px 18px;
    border: 1px solid #f2f2f2;
    background-color: #f5f5f5;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    color: #777;
    overflow: hidden;
    outline: none;
}
button:hover{
    border: 1px solid #ccc;
    color: #000;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
main p{
    width:245px;
    margin: 30px auto;
    color:#000;
}
footer{
    height: 40px;
    width: 100%;
    margin-top: -41px;
    background-color: #f5f5f5;
    border-top:1px solid #ddd;
    color: #666;
}
footer div{
    position: relative;
    margin-top: 13px;
}
footer div:first-child{
    margin-left: 30px;
    float:left;
}
footer div:nth-child(2){
    margin-right: 20px;
    float:right;
}
footer div a:first-child{
    margin-right: 27px;
}
footer div a:nth-child(2){
    margin-right: 20px;
}
