/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*{
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  background:  #FFFFFF;
  font-size: 100%;
  font-family: neuzeit-grotesk, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.container {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
header {
  width: 90%;
  border-bottom: 1px solid #A8A8A8;
  text-align: center;
  padding:2.5%;
  margin: 0 auto;
}
main, footer {
  width: 80%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.25% 0;
}
footer {
  border-top: 1px solid #A8A8A8;

}

a {
  text-decoration: underline;
  color: #707070;
}
a:hover {
  color: #000000;
}
h1 {
font-weight: 300;
font-size: 1.875em;
color: #707070;
letter-spacing: .025em;
margin-bottom: 0;
}
header a {
  text-decoration: none;
  color: #707070;
}
header a:hover {
  color:#707070;
}
h2 {
  font-size: .75em;
  color: #707070;
  font-weight: 400;
  margin-top: 0;
}
p {
  font-size: 1.125em;
  line-height: 1.25em;
  color: #707070;
  font-weight: 400;
  margin-top: 0;
}
/* main elements */
.exhibit-name {
  text-align: center;
  margin-bottom: 5%;
}
.exhibit-name h1, .exhibit-name h2 {
  font-weight: 900;
  font-size: 1.25em;
  line-height: 1.375em;
  letter-spacing: 0;
  color: #000000;
  text-transform: uppercase;
}
.exhibit-name h3 {
  font-weight: 400;
  font-size: 1em;
  line-height: 1.125em;
  color: #707070;
  text-transform: uppercase;
  margin: 0;
}
/* artist cards */
.artist-card a {
  cursor: pointer;
  text-decoration: none;
}
img {
  width:100%;
}
.artist-card h1 {
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.125em;
  color: #000000;
  text-transform: uppercase;
}
.artist-card h4 {
  font-weight: 500;
  font-size: 1em;
  line-height: 1em;
  color: #000000;
  text-transform: uppercase;
}
.artist-card h3 {
  font-weight: 400;
  font-size: .875em;
  line-height: 1.75em;
  color: #707070;
  margin-top: 0;
}
/* footer elements */
footer {
  padding-top: 4.5%;
}
footer p {
  margin-bottom: 1em;
}
.sub, .learn {
  font-weight: 600;
}
.sub {
  margin-bottom: 0;
}

/* ARTIST PAGE elements */
.exhibit-name h2 {
  font-weight: 400;
  line-height: 1.175em;
  color: #707070;
  margin: 0;
}
h3.date {
  font-size: .875em;
  font-weight: 300;
  line-height: 1.175em;
  color: #707070;
  text-transform: none;
}
.artist-content article {
  margin-bottom: 5%;
}
/* Slideshow */
cursor {
  cursor: pointer
}
.slidecontainer {
  position: relative;
  margin: auto;
  height: 768;
  overflow: hidden;
}
.work_slide {
  display: none
}
.work_slide img {
  height:100%;
}

/* Next & previous slide buttons */

a.prevslide, a.nextslide {
  position: absolute;
  top: 25%;
  width: auto;
  height: auto;
  cursor: pointer;
  padding: .75em;
  color: rgba(255, 255, 255, .5);
  font-weight: 300;
  font-size: 3em;
  transition: 0.6s ease;
  text-decoration: none;
}
a.prevslide:hover,a.nextslide:hover {
  color: rgba(112,112,112,1.00);
}
.nextslide {
  right: 0;
}
.thumb-gallery {
  height: auto;
  text-align: center;
  background: white;
}
.thumbnails {
  opacity: 0.6;
}
.active, .thumbnails:hover {
  opacity: 1;
}
button {
  background-color: #cccccc;
  border-radius: 2%;
  border: 0;
  height: .375em;
  width: 2em;
  display: inline-block;
  margin-right: 1%;
  cursor: pointer;
}
.active, button:hover {
  background-color: #707070;
}
/* Video */
.video{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* artist statement */
.statement p {
  font-size: .875em;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}
/* navigation */
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
nav a {
  text-decoration: none;
}

nav p {
  font-weight: 300;
  text-transform: uppercase;
  color: #A8A8A8;
  font-size: 1em;
}
nav p:hover {
  font-weight: 600;
  color: #707070;
}
.previous i {
  margin-right:.5em;
}
.next i {
  margin-left:.5em;
}
/* ==========================================================================
    Media Queries for Responsive Design.
   ========================================================================== */

@media (min-width: 600px) {
  /* Style adjustments for tablets */
  header {
    font-size: 2em;
  }
  .exhibit-name {
    font-size: 1.75em;
  }
  /* artist cards 2-up */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .artist-card {
    width: 48.5%;
    margin-bottom: 2.5%;
  }
  a.prevslide, a.nextslide {
    top: 35%;
  }
}

@media (min-width: 860px) {
  /* Style adjustments for desktops */
  /* artist cards 4-up */
  .gallery {
    justify-content: center;
  }
  .artist-card {
    width: 30.5%;
    margin-right: 1.5%;
  }
  footer {
    padding-top: 3.5%;
  }
  /* artist page */
  .statement p {
    font-size: 1em;
}
a.prevslide, a.nextslide {
  top: 45%;
}

}
