/* layout */

#app {
  margin: 0 auto;
  max-width: 1280px;
  min-height: calc(100vh - 191px);
  padding: 20px 0;
}

/* nav */

@media screen and (max-width: 630px) {
  body #nav .nav-caricature {
    display: none;
  }

  body #nav {
    padding: 0 20px;
  }

  body #nav .card-link .card-img {
    width: 60px;
  }

  footer {
    margin-top: 50px;
  }

  .home-img {
    display: none;
  }
}

#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 20px 40px;
  max-width: 1280px;
  width: 100%;
  margin: auto;
  align-self: flex-end;

  .card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;

    .card-img {
      width: 80px;
      padding-bottom: 4px;
    }

    .card-img:hover {
      filter: brightness(75%);
    }

    p {
      color: white;
      text-align: center;
    }
  }

  .nav-caricature {
    width: 144px;
    border-radius: 50%;
  }
}

footer {
  text-align: center;
  color: #fff;
  background-color: #000024;
  padding: 7px 0;
}

.home-img {
  height: 175px;
  position: absolute;
  margin-left: 25px;
  border-radius: 20px;
}
