@import url(https://fonts.googleapis.com/css?family=Roboto:400,300);


.logo-responsiivinen {
  width: 80vw;
  max-width: 500px;
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 60px;
  margin-bottom: 0px;
  
}


html,
* {
  font-family: Roboto, Helvetica;
  box-sizing: border-box;
}

body {
  margin: 0;
  text-align: center;
  font-family: Helvetica;
  background: #f5f5f5;
}

h2 {
  text-align: center;
  line-height: 2rem;
}

container {
  width: 100%;
}

.grid {
  margin-top: 1rem;
  -webkit-columns: 20rem;
          columns: 20rem;
  -webkit-column-gap: 1rem;
          column-gap: 1rem;
}
.grid .thumb-img:hover {
  filter:saturate(102%) contrast(105%) brightness(100%);
}

input[type="radio"] {
  display: none;
}

label {
  display: inline-block;
  text-align: center;
  background: #ffffff;
  padding: 15px;
  margin: 5px;
  cursor: pointer;
}

/* The CSS that matters for the filter */
input[type="radio"] {
  display: none;
}

input[type="radio"][id="reset"]:checked + label {
  background: #ffca28;
  color: white;
}

input[type="radio"][id="architecture"]:checked + label {
  background: #29b6f6;
  color: white;
}

input[type="radio"][id="architecture"]:checked ~ .grid .landscape,
input[type="radio"][id="architecture"]:checked ~ .grid .people {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}

input[type="radio"][id="landscape"]:checked + label {
  background: #26a69a;
  color: white;
}

input[type="radio"][id="landscape"]:checked ~ .grid .architecture,
input[type="radio"][id="landscape"]:checked ~ .grid .people {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}

input[type="radio"][id="people"]:checked + label {
  background: #ec407a;
  color: white;
}

input[type="radio"][id="people"]:checked ~ .grid .architecture,
input[type="radio"][id="people"]:checked ~ .grid .landscape {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}

.tile {
  display: inline-block;
  margin: 0;
  transition: all 0.5s;
  padding: 1rem 0.5rem;
  -webkit-column-break-inside: avoid;
          break-inside: avoid;
}
.tile img {
  width: 100%;
  vertical-align: middle;
}

/* The CSS that matters for the lightbox */
.lightbox {
  display: none;
  position: fixed !important;
  z-index: 999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.88);
  text-align: center;
}

.lightbox img {
  width: auto;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.lightbox:target {
  outline: none;
  display: block;
}

a.lightbox:hover {
  cursor: default;
}

img:hover {
  cursor: pointer;
}
