/*
| The mu framework v0.3.1
| BafS 2016-2018
*/
*, *:after, *:before {
  box-sizing: border-box;
}

body {
  font: 18px/1.6 'Fira Sans', Tahoma, Verdana, Arial, sans-serif;
  font-weight: 400;
  margin: 40px auto;
  max-width: 960px;
  color: #BBB;
  background-color:#222;
  padding: 0 20px;
}


h1, h2, h3, h4, h5 {
  line-height: 1;
  font-weight: 900;
}
h2{
  font-size: 400%;
  margin: 20px 0;
}
h3{
  font-size: 200%;
  margin: 40px 0 0 0;

}
h4{
  font-weight: 700;
  margin-top: 0;
}
h2.has-background{
  padding: 1.25em .8em !important;
}


a {
  color: #527fb2;
  text-decoration: underline 4px #2e3946;
}
h1 a, h2 a, h3 a, h4 a, h5 a{
  text-decoration: none;
}
a:hover {
  color: #FFF;
}

hr {
  border: 0;
  margin: 25px 0;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  padding-bottom: 25px;
}

td, th, hr {
  border-bottom: 1px solid #000;
}

button, select {
  background: #111;
  border: 0;
  padding: 9px 20px;
  font-size: 18px;
}

input, table {
  font-size: 18px1;
  color:#FFF;
  background: #2e3946;
  border:1px solid #000;
  border-radius: 3px;

}
input#subscribe{
  background: #527fb2;
  border-radius: 8px;
  letter-spacing: .5px;
}
input#subscribe:hover{
  background: #2e3946;
}

input, td, th {
  padding: 10px;
  vertical-align: bottom;
}

code, pre, button:hover, input:hover {
  background: #222;
}

pre {
  padding: 8px;
  white-space: pre-wrap;
}

textarea {
  border-color: #ccc;
}

/*
| GRID
*/
.row {
  display: block;
  width: auto;
  min-height: 1px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.row .c {
  float: left;
}

table, .g2, .g3, .g3-2, .m2, .m3, .m3-2 {
  width: 100%;
}

div.wp-block-columns{
  align-items: center;
}

/* Art gallery */

figure.fullwidth {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}
figure.fullwidth img{
  width: 100% !important;
}

img.pixelart{
  image-rendering: pixelated;
}
figcaption{
  font-size: 80%;
  font-style: italic;
  text-align: center;
}
p{
  min-width: 10em;
}
.homepagefooter, footer{
  width: 100%;
  background: #111;
  padding: 30px 60px;
  clear: both;
}
footer{
  margin-top: 20px;
}
img.noah{
  vertical-align: bottom;
}
.noah figure{
  margin-bottom: 0 !important;
  margin-left: 2rem;
}

/*
| Media queries
| Responsive grid, mobile first
*/
@media (min-width: 768px) {
  .g2 {
    width: 50%;
  }

  .m2 {
    margin-left: 50%;
  }

  .g3 {
    width: 33.33%;
  }

  .g3-2 {
    width: 66.66%;
  }

  .m3 {
    margin-left: 33.33%;
  }

  .m3-2 {
    margin-left: 66.66%;
  }
}


// Portrait

@media (max-aspect-ratio: 1/1) {
  .page-template-pageart li {
    height: 30vh;
  }
}

// Short screens

@media (max-height: 480px) {
  .page-template-pageart li {
    height: 80vh;
  }
}

// Smaller screens in portrait

@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  .page-template-pageart ul {
    flex-direction: row;
  }

  .page-template-pageart li {
    height: auto;
    width: 100%;
  }
  .page-template-pageart img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}