a:link {
  color: #640D5F;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #B12C00;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #B12C00;
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: #B12C00;
}

a:active {
  color: #B12C00;
  background-color: transparent;
  text-decoration: underline;
}

h1 {
                color:#1F1C26;
                font-size: 55px;
                letter-spacing: 4px;
        text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px #009688;
                
            }
            h2 {
                color: #A63A1E;
                
            }
            p {
                color: #4B3D3E;
            }
::selection {
    background: #06923E; /* Background color */
    color: #FFF; /* Text color */
}
body {
  background: url(https://dl.dropboxusercontent.com/scl/fi/zrfbvzyiqhe0hyfmgf3jb/gallerybackground.png?rlkey=4qqw42elqhd1vh0v7xgfdm8ax&st=ybmc9f8y&dl=0);
  background-size: cover;
  background-color: #828282;
  color: #212121;
  font-family: ER Kurier, monospace;
    margin: -50px 0px 0px 0px;
}
.aligncenter {
    text-align: center;
}

/*#bordbig {
  border: 1px solid #091057;
  border-radius: 5px;
  height: 400px;
  width: 300px;
  position: fixed;
  top: 50px;
  left: 300px;
}
/*
 * #333446
#7F8CAA
#B8CFCE
#EAEFEF
#EFE4D2
#254D70
#131D4F
#954C2E
#F4EBD3
#DED3C4
#bordsmall {
  border: 1px solid #091057;
  border-radius: 5px;
  height: 200px;
  width: 300px;
  position: fixed;
  left: 630px;
  top: 50px;
}
*/
@font-face { font-family: DoctorPunk; src: url(https://dl.dropboxusercontent.com/scl/fi/x1eexrffhgnqmm17yp46j/doctor-punk.otf?rlkey=4osc1xc48fg082rp3bonnq1hk&st=135b7okf&dl=0); } 
      h1 {
         font-family: DoctorPunk
      }

             @font-face { font-family: Typewriter; src: url(https://dl.dropboxusercontent.com/scl/fi/ch9p0van2tw0i4ej9uq6n/JMH-Typewriter.otf?rlkey=exop7phqqbhbmwzcfhdm2ptc3&st=dte2jh0y&dl=0
); } 
      h2 {
         font-family: Typewriter
      }

[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 .permalink {
  margin: auto;
  max-width: 100%;
  text-align: center;
  position: relative;
}
.grid .permalink:after {
  content:'';
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom: 0;
}



.grid .permalink.title {
  display: block;
  margin: .5em 0 0 0;
  color:  #337287;
  font-weight: bold;
  text-decoration: none;
}
.grid .permalink.title:focus,
.grid .permalink.title:hover {
  text-decoration: underline;
}

.grid .taglist {
  text-align: center;
}

/* nomasonry */

.grid.nomasonry {
  justify-content: space-around;
}

.grid.nomasonry img,
.grid.nomasonry video,
.grid.nomasonry iframe {
  max-width: 100%;
}

.nomasonry .card {
  justify-content: center;
  justify-items: center;
  align-items: start;
}

.nomasonry .permalink.title {
  display: inline-block;
  min-height: 0;
}



/*=========== FORM ===========*/

.search-form {
  box-sizing: border-box;
  line-height: 1.5;
  width: fit-content;
  max-width: 100%;
  margin: auto 1em;
}
.search-form label{
  display: inline-block;
  margin: .125em;
}

.search-form input {
  font: inherit;
  border-radius: .25em;
}

.results {
  margin: 1em;
}




/*=========== NAV ===========*/


.navigation,
.pagination {
  text-align: center;
  margin: 1em auto;
  padding: 0 1em;
}

.pagination:not(:first-of-type) {
  margin-top: 3em;
}

.all-tags {
  text-align: left;
}

.pagination label,
.navigation a,
.pagination a {
  color: #337287;
  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: 'in ';
}
.tag {
  display: inline-block;
}

.tag a {
  color: #3B5A4A;
  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;
}
