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

html{
    min-width: 550px;
}

body {
    /* darker 76C6E6 */
    margin-left: 20px;
    margin-right: 20px;
    /*
        background: rgb(74,162,244);
    background: radial-gradient(circle, rgba(74,162,244,1) 0%, rgba(54,131,240,1) 100%);
    */
}
h1 {
    margin: 0 0 20px 0;
    text-align: center;
    text-transform: uppercase;
}

#users {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

@media only screen and (max-width: 1700px) {
    #users {
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
    }
}

@media only screen and (max-width: 1200px) {
    #users {
        display:grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 15px;
    }
}

@media only screen and (max-width: 800px) {
    #users {
        display:grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
}

#user {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.user {
    background-color:#fff;
    box-shadow: 2px 4px rgb(0, 0, 0);
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    animation: fadeIn 1s ease-out;
    width: 420px;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 100;}
}

.avatar {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 20%;
    box-shadow: 0px 3px 10px rgb(0, 0, 0);
    margin: auto auto;
}
.profile {
    padding:8px;
    text-align: center;
    width:100%;
}
.stats {
    display:block;
    background-color: #88B7B8;
    border-radius: 0 10px 10px 0;
    color: #ffffff;
    padding:1px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.posts,.likes,.followers {
    display:block;
    padding:10px;
    flex-direction: row;
}

.stats span {
    text-transform: uppercase;
    font-size:10px;
    font-weight: 100;
    letter-spacing: 1px;
    color:#e4e4e4;
}

h2 {
    font-size: 28px;
    margin: 10px 0 0 0;
}
h3 {
    font-size: 18px;
}
.social {
    margin:20px 0 0 0;
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.social a, a:visited {
    color: #c9c9c9;
    text-decoration: none;
}
.social a:hover {
    color: #009688;
}

