/* main */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;

  font-family: 'Roboto', sans-serif;
  background-color: #faebd7;
}

ul li {
  list-style-type: none;
}

/* container */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

/* filter */
.filter {
  height: 100vh;
  width: 100%;
}

/* filter__nav */
.filter__nav {
  padding: 10px 20px;
  margin-bottom: 50px;
}

.filter__nav ul {
  display: flex;
  justify-content: center;
}

.filter__nav ul li {
  padding: 12px 24px;
  margin-left: 15px;
  cursor: pointer;

  color: #fff;
  text-transform: uppercase;
  font-weight: 700;

  border-radius: 5px;

  transition: background 0.1s linear;
}

.filter__nav ul li:first-child {
  margin-left: 0;
}

.li__all {
  background-color: #2ecc71;
}
/* li__all:hover */
.li__all:hover {
  background-color: #00cc57;
}

.li__bird {
  background-color: #f1c40f;
}
/* li__bird:hover */
.li__bird:hover {
  background-color: #ffd970;
}

.li__dog {
  background-color: #e74c31;
}
/* li__dog:hover */
.li__dog:hover {
  background-color: #e73134;
}

.li__cat {
  background-color: #8e44ad;
}
/* li__cat:hover */
.li__cat:hover {
  background-color: #7f10ad;
}


/* filter__content */

.filter__content {
  display: flex;
  flex-wrap: wrap;
}


.box {
  width: calc(33.33333% - 72px);
  height: 200px;
  margin: 36px;

  line-height: 200px;
  text-align: center;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

.bird {
  background: #f1c40f;
}

.cat {
  background: #8e44ad;
}

.dog {
  background: #e74c31;
}


.hide {
  display: none;
}


/* media requests */
@media (max-width: 768px) {
  .box {
    width: calc(33.33333% - 40px);
    height: 150px;
    margin: 20px;
  
    line-height: 150px;
    font-size: 38px;
  }
}

@media (max-width: 545px) {
  .box {
    width: calc(33.33333% - 20px);
    height: 100px;
    margin: 10px;
  
    line-height: 100px;
    font-size: 30px;
  }
}

@media (max-width: 320px) {
  .filter__nav {
    margin-bottom: 20px;
  }

  .filter__nav ul li {
    padding: 8px 10px;
    margin-left: 10px;
  }

  .box {
    width: calc(33.33333% - 10px);
    margin: 5px;
    height: 75px;

    line-height: 75px;
  }
}

