html {}

header {
  background: white;
  grid-column: 1;
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  font-family: 'Syncopate', sans-serif;
  padding-top: 25px;
  padding: 20px;
  box-sizing: border-box;
  color: black;
  position: fixed;
  width: 100%;
  background-color: white;
  top: 0px;
  z-index: 100;
}
nav {
  width: 100%;
  display: flex;
  position: fixed;
  top: 100px;
  z-index: 100;
}

section {
  display: flex;
  flex-wrap: wrap;
  float: left;
  width: 100%;
  border-radius: 4px;
  padding: 5px;
  box-sizing: border-box;
  padding-top: 127px;
}



a {
  /* display:block; */
  width: 25%;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Syncopate', sans-serif;
  text-decoration: none;
  text-align: center;
  flex-basis: 25%;
  padding: 5px 0;
  color: white;
  background: black;
  transition: all 0.4s;
}

a:hover {
  color: black;
  background-color: #E0FEAE;
}

a.active {
  color: white;
  background: #E0FEAE;
  outline: none;
}

div.box {
  overflow          : auto;
  min-width: 300px;
  flex-grow         : 2;
  min-height        : 300px;
  margin            : 5px;
  border-radius     : 15px;
  -webkit-transition: all .8s;
  -moz-transition   : all .8s;
  -o-transition     : all .8s;
  -ms-transition    : all .8s;
  transition        : all .8s;
  max-height: 500px;
  /* max-width: calc(50% - 10px); */
}

div[data-filter="red"] {
  background : black;
  color: #E0FEAE;
  font-family: 'Syncopate', sans-serif;
  font-size  : 40px;
  font-weight: 700;
  text-align : center;
  position: relative;
}

.placementCitation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.placeholderCitation  {
  visibility: hidden!important;
  padding: 20PX 0PX;
}

div[data-filter="green"] {
  box-sizing : border-box;
  padding    : 10px;
  width      : 650px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size  : 25px;
  line-height: 30px;
  background : #E0FEAE;
}
h1 {
  font-family: 'Syncopate', sans-serif;
  font-size  : 25px;
  font-weight: 700;
  text-align: center;
}

div[data-filter="blue"] {
  text-align: center;
  width     : 280px;
  background: #E0FEAE;
}


div.hidden {
  width        : 0px;
  flex-grow    : 0;
  min-width: 0px;
  margin: 0px;
  padding-left: 0px;
  padding-right: 0px;
  /* display: NONE; */
}

img {
  height    : 100%;
  width     : 100%;
  object-fit: cover;
  filter: invert(1);
}

img:hover {
  transition: all .5s;
  filter: invert(0);
}


@media screen and (max-width: 600px) {
  div.box {
    max-width: calc(50% - 10px);
    min-width: unset;
  }
  header {
    font-size: 20px;
  }
  nav {
    top: 60px;
  }
  section {
    padding-top: 87px;
  }
  a {
    flex-basis: unset;
    flex-grow: 2;
    width: unset;
  }
  .box[data-filter="red"] {
    font-size: 40px;
    line-height: 1em;
    max-width: 100%;
  }
}