/* general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: .95em sans-serif;
  text-decoration: none;
  color: black;
}
header {
  width: 100%;
  padding: 5px 0;
  display: flex;
  justify-content: space-around;
}
button {
  padding: 0 5px;
  background-color: white;
  border: 1px solid black;
}
button:hover {
  background-color: #bababa;
  cursor: pointer;
}
main {
  display: flex;
  flex-flow: row wrap;
  padding: 0 1px 0 0;
}
a {
  cursor: pointer;
}
a:hover {
  color: #bababa;
}
p {
  background-color: white;
  padding: 5px;
  margin-bottom: -10px;
}
a:hover p{
 background-color: #bababa;
}
figure {
  width: 100%;
}
img {
  width: 100%;
  padding: 10px 0;
}

/* captions */
table {
  width: 100%;
  margin-bottom: -9px;
  border-collapse: collapse;
}
td, th {
  width: 33.33%;
  text-align: left;
  vertical-align: top;
  padding: 5px 5px 10px 5px;
  background-color: white;
}
table .blank {
  width: 33.33%;
  visibility: hidden;
}

/* filter-items */
.filter-item {
  flex: 1 33vw;
  max-width: 33.33%;
  padding: 15px;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  background-color: #f0f0f0;
}
.filter-item > :not(:first-child) {
  display: none;
}
.filter-item a {
  display: flex;
  flex-flow: row wrap;
}

/* back button */
#back {
  display: none;
  font-size: 5em;
  cursor: pointer;
  background-color: white;
  color: black;
}
#back:hover {
  background-color: #bababa;
}
#copyright {
  width: 100%;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* about + art*/
.about-item {
  flex: 1 50vw;
  max-width: 50%;
  padding: 15px;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  background-color: #bababa;
}
.about-item p{
  margin: 0;
}
.about-item img {
  padding: 0;
}
.about-item table {
  width: 100%;
  margin: 10px 0 5px 0;
  border-collapse: collapse;
}

.about-item th {
  width: 20%;
}
.about-item td {
  width: 80%;
  /* border-top: 1px solid #bababa; */
}

}

/* .about-item th{
  padding-top: 10px;
  text-align: left;
  background-color: white;
} */

/* .mainfull{
  padding: 0;
}
.mainfull p {
  background-color: transparent;
}
.centered {
  flex: 1 100vw;
  padding: 25px 25%;
  justify-content: center;
}
.centered:first-of-type {
  background-color: #bababa;
}
.centered:last-of-type {
  background-color: #f0f0f0;
}
figure.art {
  margin: 35% 0;
} */

/* media queries */
@media screen and (max-width: 960px) {
  div.buttons {
    display: none;
  }
  /* filter-items */
  div.filter-item {
    flex: 1 50vw;
    max-width: 50%;
  }
}

@media screen and (max-width: 480px) {
  header {
    justify-content: space-between;
    padding: 5px;
  }
  .buttons {
    display: none;
  }

  /* filter-items */
  .filter-item, .about-item {
    flex: 1 100vw;
    max-width: 100%;
  }

  /* about */
  .centered {
    flex: 1 100vw;
    padding: 25px 10%;
    justify-content: center;
  }
}
