@import url('https://fonts.googleapis.com/css?family=Roboto:400|Poppins:400');

html {font-size: 16px;}

body {
  background-color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
  text-transform: uppercase;
}

p, a {margin-bottom: 1.25em;}
a{
  text-decoration: none;
  color: #333;
}

h1, h2, h3, h4, h5 {
  margin: 2.75rem 0 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  margin-top: 0;
  font-size: 2.488em;
}

h2 {font-size: 2.074em;}

h3 {font-size: 1.728em;}

h4 {font-size: 1.44em;}

h5 {font-size: 1.2em;}

small, .text_small {font-size: 0.833em;}


header{
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #333;
}

header a{
  color: white;
  margin: 0 8px;
}

header h3{
  margin: 0;
}

.filters-list a:hover, .selected{
  border-bottom: white solid 3px;
}

.filters-list{
  padding: 0 8px;
}

#demos{
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  margin: 120px auto 0 auto;

}

#demos div{
  width: 30%;
  margin: 16px;
  text-align: center;
}

#demos img{
  width: 100%;
}

#demos h4{
  margin: 0;
}


@media (max-width: 1140px){
  #demos div{
    width: 90%;
  }
}

@media (min-width: 2500px){
  #demos div{
    width: 20%;
  }
}
