/* CSS for Tiles Design */

body {
    background: white;
    font-family: 'Encode Sans Condensed', sans-serif;
}

a { text-decoration: none; }
.underline { text-decoration: underline; }

#container {
    margin: 4% auto;
    max-width: 600px;
    text-align: center;
    line-height: 0;
    font-size: 0;
}

#container .tile {
    display: inline-block;
    height: 120px;
    margin: 5px;
    transition: .4s;
    box-shadow: 0 0 8px rgba(0,0,0,.2);
    vertical-align: top;
    line-height: 1.1;
    font-size: 16px;
}
#container .tile .tile-content {
    display: table-cell;
    vertical-align: middle;
}

#container #picture {
    height: 120px;
    width: 120px;
}
#container #picture img {
    height: 120px;
    width: 120px;
}

#container #bio {
    width: 320px;
    background-color: #d9d9d9;
}
#container #bio .tile-content {
    height: 120px;
    width: 320px;
}
#container #bio p {
    line-height: 1.1;
}

#container .link {
    width: 220px;
    background-color: rgba(112,128,144,.8);
}
#container .link:hover {
    color: white;
    background-color: rgba(83,125,225,0.8);
}
#container .link .tile-content {
    height: 120px;
    width: 220px;
}
#container .link [class^="icon-"] {
    display: block;
    font-size: 50px;
    margin-bottom: 10px;
}

/* little screen */
@media screen and (max-width:500px) {
    body {
        padding: 10px;
    }
    #container .tile, #container .link .tile-content {
        width: 320px;
    }
}
