* {
  box-sizing: border-box;
}

body {
  margin:0;
  font-family:'Quicksand'
}

.main-menu {
  overflow: hidden;
  background-color: #333;
}

.main-menu a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.mainMenu a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.main-menu .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  height: 52px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a, .btn{
  float: none;
  color: black;
  padding: 12px 16px;
  font-size: 17px;
  text-decoration: none;
  display: block;
  text-align: left;
  border: none;
  outline: none;
  background-color: #f9f9f9;
  font-family: inherit;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
}

.dropdown-content a:hover, .btn:hover {
  background-color: #ddd;
  color: black;
}

.btn.active {
  background-color: #555;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.categories-menu{
  float: right;
  display: block;
  overflow: hidden;
}

#logo{
  font-weight: 600;
  font-size: 18px;
}

.container {
  display: block;
  padding: 32px;
  overflow: hidden;
}

.container a{
  text-decoration: none;
  color: black;
}

.card {
  display: none; /* Hidden by default */
  box-sizing: border-box;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px; /* Space between rows */
  padding: 16px;
  text-align: left;
  background-color: #f1f1f1;
  float: left; /* For multi-column layout */
}

.card img{
  float: left;
  width: 100%;
  object-fit: contain;
  padding-top: 16px;
  padding-bottom: 16px;
}

.card h2{
  font-size: medium;
}

.card p{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The "show" class is added to the filtered elements */
.show {
  display:block;
  float: left;
  width: 20%;
  padding: 0 16px;
}

.container {
  padding: 16px;
  overflow: hidden;
}

/* float 2 cards side by side for mobile */
@media only screen and (max-width: 600px) {
  .show {
    width: 100%;
    display: block;
    margin: auto;
    padding: 16px;
    margin-bottom: 16px;
    
  }
}

/* float 3 cards side by side for splitscreen/tablet */
@media only screen and (min-width: 600px) {
  .show {
    width: 30%;
    display: block;
    margin: 1.667%;
    padding: 16px;
    margin-bottom: 16px;
  }
}

/* float 5 cards side by side for desktop */
@media only screen and (min-width: 1200px) {
  .show {
    width: 18%;
    display: block;
    margin: 1%;
    padding: 16px;
    margin-bottom: 16px;

  }
}