body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  padding: 2rem 1rem;
}

/* --- HEADER --- */
.user {
  display: flex;
}

h1 {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 300;
  color: #888;
  margin: 0;
}

.heading {
  align-self: flex-start;
}

.username {
  align-self: center;
  margin: 0 0.5rem 0 0;
  font-size: 2.2rem;
}

.picture {
  border-radius: 50%;
  height: 13vw;
}

/* --- MAIN --- */
main {
  padding: 2rem 0 0 0;  
  overflow-x: auto;
}

.projects {
  overflow: auto;
  white-space: nowrap; 
  margin: 1rem 0 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  font-weight: 700;
  color: #888;
}

td {
  padding: 0.3rem 1rem;
  border: 1px solid rgb(202, 202, 202);
}

.repo-url {
  text-decoration: none;
  color: #000;
}

canvas {
  margin-top: 2rem;
}

.number-of-projects {
  text-align: center;
  margin: 1.6rem 0;
}


/* --- Desktop --- */
@media screen and (min-width:768px) {

  h1 {
    font-size: 1.5rem;
  }

  header {
    display: flex;
    justify-content: space-between;
  }

  .heading {
    align-self: flex-start;
  }

  .username {
    align-self: center;
    margin: 0 1rem 0 1.3rem;
    font-size: 2.5rem;
  }

  .repo-url {
    text-decoration: none;
    color: #000;
  }

  .repo-url:hover {
    color: #888;
    cursor: pointer;
  }

  /* --- CHART -- */
  .chart {
    max-height: 60vh;
  }

}
