* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2rem, 0);
    transform: translate3d(0, 2rem, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2rem, 0);
    transform: translate3d(0, 2rem, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

body {
  background: #303030;
  font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3 {
  font-weight: normal;
}

a {
  color: #FFFF00;
  text-decoration: none;
}

header {
  height: 4rem;
  font-size: 0;
  background: #673AB7;
}

header a {
  color: #fff;
}

header h1 {
  font-size: 20px;
  left: 2rem;
  margin-left: -20px;
  padding: 17px 20px;
  position: absolute;
  top: 0;
}

header div,
main {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

nav {
  text-transform: uppercase;
  letter-spacing: .25px;
  position: absolute;
  top: 0;
  right: 2rem;
  margin: 7px 0 0;
  white-space: nowrap;
}

nav a {
  display: inline-block;
  padding: 20px 12px 21px;
  font: 700 14px 'Roboto', sans-serif;
  line-height: 1;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  -webkit-transition: border-bottom-color .1s ease-out;
  transition: border-bottom-color .1s ease-out;
}

nav a:hover,
nav a:focus {
  border-bottom-color: rgba(255, 255, 255, .5);
}

main {
  -webkit-animation: fadeInUp 1s ease;
  animation: fadeInUp 1s ease;
}

footer {
  min-height: 4rem;
  padding-top: .5rem;
}

article,
.content {
  padding: .5rem;
  max-width: 60rem;
  line-height: 1.8;
  margin: auto;
}

article p {
  margin: 1.5em 0 0;
  padding: 0;
  font-size: 1.1em;
}

th {
  font-weight: bold;
}

select {}

figcaption {
  position: absolute;
  top: 0;
  left: 0;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 100%);
  padding: .5rem .5rem 2rem .5rem;
  font-size: 1.5rem;
  width: 100%;
  text-align: left;
}

.card,
.button,
option,
.news article {
  background: #424242;
  border-radius: 2px;
  display: inline-block;
  margin: .5rem;
  position: relative;
  outline: none;
  border: none;
}

.card-1,
.button {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.card-1:hover,
.button:hover,
.gallery figure:hover,
.artgallery img:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-2,
header,
.news article {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.card-3 {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.card-4 {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-5 {
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.card img {
  border-radius: 2px 2px 0 0;
}

.news {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.news article p {
  text-align: left
}

.gallery {
  font-size: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.gallery figure,
.artgallery img {
  position: relative;
  -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.gallery figure:hover,
.artgallery img:hover {
  -webkit-filter: brightness(103%);
  filter: brightness(103%);
  z-index: 1;
}

.artimg img {
  max-width: 100%;
  width: 10rem;
  max-height: 100%;
  height: 10rem;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.artgallery {
  font-size: 0;
  -webkit-column-count: 5;
  -moz-column-count: 5;
  column-count: 5;
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
}

.artgallery img {
  max-width: 100%;
  height: auto;
}

.text-center,
footer {
  text-align: center;
}

.align-center {
  margin-left: auto !important;
  margin-right: auto !important;
}

.button {
  background: #673AB7;
  color: #fff;
  min-width: 5rem;
  height: 2rem;
  line-height: 2rem;
  padding: 0 1rem;
  text-transform: uppercase;
  font-size: 14px;
}

.button:active {
  background: #512DA8;
}

.active {
  -webkit-transition: border-bottom-color .1s ease-out;
  transition: border-bottom-color .1s ease-out;
  border-bottom-color: rgba(255, 255, 255, 1) !important;
}

.sheet {
  background: #424242;
  padding: .5rem;
}

.material-icons {
  color: #fff;
  font-size: 1.5rem;
  border-radius: 2px;
  -webkit-transition: background-color.25s, border-radius .1s;
  transition: background-color.25s, border-radius .1s;
  padding: 6px;
  margin: .5rem 0;
}

.material-icons:hover {
  background-color: rgba(255, 255, 255, .12);
}

.material-icons:active {
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .20);
}

.history ul {
  list-style-type: circle;
}

.history li {
  margin: 1rem;
}

.gallery-1x1 {
  max-width: 20rem;
  width: 100%;
  max-height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.phototable {
  display: flex;
  width: 100px;
}

/*Read More*/

.read-more {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
}

.read-more:checked~.read-more-target {
  opacity: 1;
  font-size: inherit;
}

.read-more~.button:before {
  content: 'Read more';
}

.read-more:checked~.button:before {
  content: 'Show less';
}

@media only screen and (max-width: 1150px) and (min-width: 793px) {
  nav {
    right: 16px;
  }
  header h1 {
    left: 16px;
  }
  .artgallery {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
  }
}

@media only screen and (max-width: 792px) {
  nav {
    display: block;
    left: 0;
    right: 0;
    top: auto;
    padding-top: 0;
    bottom: 0;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }
  nav a {
    padding: 17px 12px;
  }
  header h1 {
    padding: 15px 12px 15px 16px;
    left: 0;
    top: 0;
    margin: 0;
  }
  header {
    height: 100px;
  }
  header div {
    height: 100%;
  }
  .artgallery {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (max-width: 792px) and (min-width: 500px) {
  nav {
    height: auto;
    margin: 0 0 0 -4px;
    padding: 0 16px;
  }
  header h1 {
    padding: 15px 12px 15px 24px;
    left: 0;
    top: 0;
    margin: 0;
  }
  .artgallery {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}
