#burger {
  display: block;
}
main {
  width: 100%;
  font-size: 16px;
  height: auto;
}
.left-menu {
  display: none;
}
#js-warning {
  text-align: center;
  font-size: 14px;
  margin-bottom: 15px;
}
[name=archive] {
  display: none;
}
[name=gallery] {
  max-width: 100%;
  padding: 1em 1em 0 1em;
  padding: 1em 0 0 0;
  box-sizing: border-box;
}
img,
video,
iframe {
  display: block;
}
/*=========== GRID ===========*/
.grid {
  margin: 1em auto;
  padding: 0 1em;
  justify-content: space-around;
  justify-items: center;
  align-items: center;
}
.grid .card {
  position: relative;
  text-align: center;
  padding: 0 0em;
  margin: 0 1em;
}

.grid .title {
  display: block;
  margin: .5em 0 0 0;
  color:  light-dark(var(--dark-grey), var(--grey));
  font-weight: bold;
  text-decoration: none;
}
.grid .taglist {
  text-align: center;
}
/*=========== FORM ===========*/
.search-form {
  box-sizing: border-box;
  line-height: 1.5;
  width: fit-content;
  max-width: 100%;
  margin: auto;
}
.search-form label{
  display: inline-block;
  margin: 0 auto;
}
.search-form input {
  font: inherit;
  border-radius: .25em;
}
.results {
  margin: 15px auto;
  text-align: center;
}
/*=========== NAV ===========*/
.navigation,
.pagination {
  text-align: center;
  margin: 1em auto;
  padding: 0 1em;
}
.pagination:not(:first-of-type) {
  margin-top: 3em;
}
.all-tags {
  text-align: center;
}
.pagination label,
.navigation a,
.pagination a {
  color: light-dark(var(--dark-blue), var(--gold));
  border: .125em solid transparent;
  display: inline-block;
  padding: .5em;
  line-height: 1;
  text-decoration: none;
  border-radius: .25em;
  vertical-align: middle;
  margin: .125em 0;
  font-weight: bold;
}
.pagination a[aria-current] {
  text-decoration: underline double;
  font-weight: bold;
}
.navigation a:hover,
.navigation a:focus,
.pagination a:focus,
.pagination a:hover {
  border-color: black;
}
/*=========== VIEW ===========*/
.view .card {
  position: relative;
  border-radius: .25em;
  margin: 1em auto;
  padding: 0 1em;
}
.download {
  display: block;
  width: fit-content;
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}
.view img,
.view video,
.view iframe {
  display: block;
  margin: 1em auto;
}
.view iframe {
  width: 100vh;
  height: 75vh;
}
@media (min-height: calc(100vw - 2em)) {
  .view iframe {
    width: 100%;
    height: 75vw;
  }
}
/*=========== TAGS ===========*/
.taglist {
  display: block;
  list-style-type: none;
  margin: 0;
  padding:0;
  text-align: left;
  font-size: smaller;
  position: relative;
}
.taglist:before {
  content: '# ';
}
.tag {
  display: inline-block;
}
.tag a {
  color: light-dark(#366b2e, var(--dark-gold));
  border-radius: .25em;
  margin: 0 .125em;
  padding: .125em;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color .25s,
    color .25s;
}
.tag:not(:last-child) a:after {
  content: ','
}
.tag a:focus, 
.tag a:hover {
  text-decoration: underline;
}

@media only screen and (max-width:767px) {
    img {
        width: 100%;
        object-fit: fill;
    }
}