* {
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif;
}

body {
  background-color: #F0F0F0;
  height: 100%;
  font-size: 100%;
}



/*------------------*/
/*----- HEADER -----*/
/*------------------*/

header {
  width: 100%;
  height: 4rem;
  background-color: #404040;
  position: sticky;
  top: 0;
  z-index: 10;
}

header ul {
  margin: 0 1rem 0 20%;
}
@media screen and (orientation:portrait) {
  header ul {
    margin: 0 1rem 0 5%;
  }
}
header li {
  display: inline-block;
}
header a {
  display: block;
  padding: 2.3rem 0.5rem 0 0.5rem;
  color: #F0F0F0;
  font-size: 1.4rem;
  text-decoration: none;
}
header a:hover {
  color: #404040;
  background-color: #F0F0F0;
}
header a#logo {
  background-image: url(images/Logo_AH.svg);
  width: 5rem;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
}
header a#logo:hover {
  background-image: url(images/Logo_AH_invert.svg);
  background-repeat: no-repeat;
}


/*-------------------*/
/*----- CONTENT -----*/
/*-------------------*/

.content {
  background-color: #F0F0F0;
  padding: 0 20%;
  color: #404040;
  position: relative;
  top: 15%;
  min-height: calc(100vh - 5.3rem);
}
@media screen and (orientation:portrait) {
  .content {
    padding: 0 5%;
  }
}
.content .anchor {
  padding-top: 100px;
  margin-top: -100px;
}

/*--- vita ---*/
div#vita {
  padding: 110px 0 1em 0;
}
div#vita ul {
  list-style: none;
}
div#vita li {
  padding: 0.2rem 0;
}
div#vita a {
  text-decoration: none;
  color: #404080;
}
div#vita a:hover {
  color: #404040;
}
div#vita img{
  float: right;
  width: 144px;
  border: 3px #404040 solid;
  margin-left: 1rem;
}

/*--- dates ---*/
div .dates {
  color: #002020;
  text-align: center;
  padding-bottom: 3rem;
}
div .dates p {
  padding: 1rem;
  background-color: #C08080;
}
div.dates a {
  text-decoration: none;
  color: #204040;
}
div.dates a:hover {
  color: #002020;
}

/*--- gallery ---*/

#gallery h2 {
  text-transform: uppercase;
}
.art {
  -webkit-column-count: 1;
  -webkit-column-gap: 0;
  -moz-column-count: 1;
  -moz-column-gap: 0;
  column-count: 1;
  column-gap: 0;
  margin-bottom: 1.5rem;
}
@media screen and (min-width: 400px) {
  .art {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}
@media screen and (min-width: 920px) {
  .art {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}
@media screen and (min-width: 1200px) {
  .art {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    max-width: 1460px;
  }
}
.galleryItem {
	display: inline-block;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
  width: 90%;
  margin: 5% 5%;
  font-weight: lighter;
  font-size: 0.9rem;
}
.galleryItem:hover {
  opacity: 0.8;
}
.galleryItem img{
  width: 100%;
  height: auto;
}

/*--- lightbox ---*/

.lightbox {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%,-50%) scale(0,0);
  background: rgba( 240, 240, 240, 0.90);
  opacity: 0;
  text-align: center;
  z-index: 20;
}
.lightbox img {
  width: auto;
  max-width: 70%;
  height: 80%;
  margin: 5% 15% auto 15%;
}
@media screen and (orientation:portrait) {
  .lightbox img {
    height: auto;
    max-height: 80%;
    width: 70%;
  }
}
.lightbox p {
  width: 100%;
  font-size: 1rem;
  color: #404040;
 }
.lightbox:target {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1,1);
}


/*--- contact ---*/

div#contact {
  padding-bottom: 3rem;
  line-height: 1.5rem;
}


/*------------------*/
/*----- FOOTER -----*/
/*------------------*/

footer {
  background-color: #808080;
  text-align: right;
  bottom: 0;
  left: 0;
  width: 100%;
}
footer p {
  font-size: 0.8rem;
  color: #F0F0F0;
  padding: 0.2rem 20%;
}
@media screen and (orientation:portrait) {
  footer p {
    padding: 0.2rem 5%;
  }
}
footer a {
  color: #F0F0F0;
  text-decoration: none;
}
footer a:hover {
  color: #404040;
}
