/* Small reset */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background-color: whitesmoke;
}

.flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  margin: 1rem;
  width: 250px;
}

.card img {
  width: 100%;
  border-radius: 5px 5px 0 0;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
}

.card a {
  display: block;
  color: #000;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.fadewrapper {
  opacity: 0.4;
  background-color: whitesmoke;
}

.header img {
  max-width: 33%;
}
