@import url("https://fonts.googleapis.com/css?family=Ubuntu:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Ubuntu:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Ubuntu:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Ubuntu:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Ubuntu:700&display=swap");
html {
  box-sizing: border-box;
  font-size: 62.5%;
  height: 100vh; }

*, *:before, *:after {
  box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  height: 100vh; }

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #404449; }

.loading {
  font-family: 'Ubuntu', sans-serif;
  color: #404449;
  font-size: 4rem; }
  @media screen and (min-width: 768px) {
    .loading {
      font-size: 5rem; } }

.loading-repos {
  color: #404449;
  font-size: 3rem;
  margin: 0;
  line-height: 36rem; }

.empty {
  font-size: 3.7rem; }
  @media screen and (min-width: 768px) {
    .empty {
      font-size: 4.8rem; } }

@keyframes heartbeat {
  0% {
    transform: scale(0.75); }
  20% {
    transform: scale(1); }
  40% {
    transform: scale(0.75); }
  60% {
    transform: scale(1); }
  80% {
    transform: scale(0.75); }
  100% {
    transform: scale(0.75); } }

.input {
  border: 0;
  outline: 0;
  border: 1px solid #f7f7f7;
  border-bottom: 3px solid #24292E;
  background-color: #f7f7f7;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #24292E;
  letter-spacing: 2px; }
  .input::placeholder {
    font-size: 1.5rem;
    text-transform: none; }

.button {
  font-family: 'Ubuntu', sans-serif;
  color: white;
  background-color: #24292E;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all .3s linear; }
  .button:hover {
    color: rgba(255, 255, 255, 0.521);
    letter-spacing: 1px; }

.header {
  height: 5.5rem;
  background-color: #24292E;
  text-align: center;
  box-shadow: 0px 7px 11px -2px #a1a1a1; }
  .header-container {
    height: 100%;
    width: 100%;
    max-width: 90rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center; }
    @media screen and (min-width: 768px) {
      .header-container {
        justify-content: flex-start; } }
    .header-container img {
      height: 4.5rem;
      margin-right: 1rem;
      margin-left: 1.5rem; }
    .header-container span {
      font-family: 'Ubuntu', sans-serif;
      color: white;
      font-size: 3rem; }
      .header-container span .browser {
        color: rgba(255, 255, 255, 0.37); }

.main {
  background-color: #f7f7f7;
  height: calc(100vh - 9.5rem); }
  .main-container {
    height: 100%;
    max-width: 90rem;
    background-color: white;
    text-align: center;
    margin: 0 auto; }
  .main .search-box {
    height: 13rem;
    background-color: white;
    box-shadow: 0px 7px 11px -2px #c0bfbf;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; }
    .main .search-box #search-box-input {
      width: 25rem;
      height: 5rem; }
      @media screen and (min-width: 768px) {
        .main .search-box #search-box-input {
          width: 40rem; } }
    .main .search-box #search-box-button {
      width: 7rem;
      height: 5rem; }
      @media screen and (min-width: 768px) {
        .main .search-box #search-box-button {
          width: 10rem; } }
  .main .result-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100% - 13.5rem); }
    .main .result-box img {
      height: 20rem; }
      @media screen and (min-width: 768px) {
        .main .result-box img {
          height: 40rem; } }
    .main .result-box-card {
      background-color: #f7f7f7;
      width: 90%; }
      @media screen and (min-width: 768px) {
        .main .result-box-card {
          width: 80%; } }
      .main .result-box-card-info {
        display: flex; }
        .main .result-box-card-info img {
          height: 10rem; }
          @media screen and (min-width: 768px) {
            .main .result-box-card-info img {
              height: 15rem; } }
        .main .result-box-card-info div {
          display: flex;
          flex-direction: column;
          margin: 5px 0;
          margin-left: 1.5rem;
          align-items: flex-start; }
          .main .result-box-card-info div p, .main .result-box-card-info div h1 {
            margin: 0; }
          .main .result-box-card-info div h1 {
            font-family: 'Ubuntu', sans-serif;
            font-size: 2rem; }
            @media screen and (min-width: 768px) {
              .main .result-box-card-info div h1 {
                font-size: 3.5rem; } }
          .main .result-box-card-info div h2 {
            margin: 0;
            font-size: 1.5rem; }
            .main .result-box-card-info div h2 a {
              text-decoration: none;
              color: #307a86; }
            @media screen and (min-width: 768px) {
              .main .result-box-card-info div h2 {
                font-size: 2rem; } }
          .main .result-box-card-info div p {
            height: 3rem;
            overflow: hidden; }
      .main .result-box-card-repos {
        height: 40rem;
        background-color: white;
        border: 1px solid #dbdbdb; }
        .main .result-box-card-repos h2 {
          font-size: 2rem;
          margin: 0;
          border: 0;
          color: rgba(255, 255, 255, 0.719);
          text-align: left;
          background-color: #404449;
          text-align: center;
          box-shadow: 0px 7px 11px -2px #c0bfbf; }
        .main .result-box-card-repos .repositories {
          height: 36rem;
          overflow: auto; }
          .main .result-box-card-repos .repositories a {
            text-decoration: none;
            color: #404449; }
            .main .result-box-card-repos .repositories a:hover #repo-name {
              transform: translateX(5px);
              color: #6d6f72; }
          .main .result-box-card-repos .repositories section {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #c0bfbf;
            padding: 0 1rem; }
            .main .result-box-card-repos .repositories section #repo-name {
              text-align: left; }
            .main .result-box-card-repos .repositories section .fork {
              margin-left: 3px; }
            .main .result-box-card-repos .repositories section div {
              display: flex;
              justify-content: center;
              align-items: center; }
              .main .result-box-card-repos .repositories section div img {
                height: 1.5rem; }

.footer {
  width: 100%;
  height: 4rem;
  background-color: #404449;
  text-align: center; }
  .footer p {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    height: 100%;
    color: rgba(255, 255, 255, 0.719);
    display: flex;
    align-items: center;
    justify-content: center; }
    .footer p span {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 1rem;
      font-size: 2rem;
      height: 90%;
      color: rgba(255, 255, 255, 0.527);
      animation: heartbeat 2s infinite; }
