*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  /* true sizing including padding */
  box-sizing: border-box;
}

:root {
  /* set colors as global variables */
  --mycolor1: rgb(188, 255, 255);
  --linkblue: #0000EE;
}

html {
  /* establish baseline font size, rems refer to this */
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

}

a {
  color: black;
}

a:hover {
  background-color: var(--mycolor1);
}

a:hover img {
  background-color: none;
}

.navigation a {
  text-decoration: none;
}

figure a:hover {
  background-color: transparent;
}

ul {
  display: block;
  margin-bottom: 1rem;
}

h4 {
  padding-bottom: 1rem;
}

/* LAYOUT ********************************************************************************/

/* top-level container, handles centering and min/max width */
.main {
  display: flex;
  flex-direction: row;
  max-width: 55rem;
  min-width: 45rem;
  /* keep container centered */
  margin: auto;
  right: 0;
  left: 0;
}

.main-wider {
  display: flex;
  flex-direction: row;
  /* wider max width for tables */
  max-width: 65rem;
  min-width: 45rem;
  /* keep container centered */
  margin: auto;
  right: 0;
  left: 0;
}

/* left-hand column, holds logo, blurb, and menu links */
.navigation {
  /* this width never changes */
  width: 14.25rem;
  padding: 4rem;
  padding-right: 3rem;
  border-right: 1px dashed grey;
}

/* right-hand column */
.block-content {
  /* this width changes */
  padding: 4rem;
  padding-left: 3rem;
  /* text-align: justify; */
}

.footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
}

/* OTHER STUFF ********************************************************************************/

/* my name / home link */
.logo {
  display: block;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  margin-top: -.5rem;
}

/* brief site description */
.blurb {
  display: block;
  padding-bottom: 2rem;
}

/* top-level link menu */
.navigation ul {
  display: block;
  list-style: none;
}

a.active_nav {
  background-color: var(--mycolor1);
}

/* PROJECT GRID **************************************************************/

.projects {
  float: left;
  list-style: none;
}

ul.projects {
  margin-top: 4rem;
  margin-left: 2rem;
}

ul.projects a {
  text-decoration: none;
}

li.projects {
  margin-bottom: 1.5rem;
  margin-right: 1rem;
}

.projects img {
  margin-bottom: .25rem;
  width: 200px;
}

/* About, CV, individual project/artwork/teaching pages ******************************************/

/* first line, name of current page */
.block-content h1 {
  font-size: 1.5rem;
  display: inline;
}

h1.about-heading {
  display: block;
  margin-bottom: 1rem;
}

.project-materials, .project-dimensions, .project-date {
  color: grey;
  display: inline;
}

.project-date {
  display: block;
  margin-bottom: 1.5rem;
}

.block-text p, .about-text p {
  display: block;
  margin-bottom: 2rem;
}

.block-image img , .about-image img {
  margin: 0;
  margin-bottom: 1.5rem;
  width: 100%;
  height: auto;
}

.block-content figcaption {
  display: block;
  color: grey;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}

/* control size of thumbnail image caption text */
.thumbtext {
  font-size: .9rem;
}

.block-video iframe {
  display: block;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
  border: none;
}

.block-list ul, .about-list ul {
  margin-left: 1rem;
}

.block-list li, .about-list li {
  margin-bottom: .25rem;
}

.block-list li::marker, .about-list li::marker {
  color: #bfbfbf;
}

/* TABLES **********************************************************/

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  display: block;
  padding-bottom: 2rem;
}

thead{
  display: none;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  vertical-align:top;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* MOBILE ************************************************************/
@media only screen and (max-width: 45rem) {
  body {
    font-size: 1.25rem;
  }
  .main, .main-wider {
    display: block;
    min-width: auto;
    width: 100%;
  }
  .navigation {
    display: block;
    border-right: none;
    border-bottom: 1px dashed grey;
    width: 100%;
    padding: 1rem;
    padding-bottom: 2rem;
  }
  .logo {
    font-size: 2.5rem;
    margin-top: .5rem;
  }
  .content, .block-content {
    display: block;
    width: 100%;
    padding: 1rem;
  }
  .navigation ul {
    text-align: left;
  }
  /* make images full width for small screens */
  .projects img{
    margin: 0;
    width: 100%;
    height: auto;
    margin-bottom: .75rem;
  }
  ul.projects {
    margin: 0rem;
    margin-top: 2rem;
  }
  li.projects {
    margin-bottom: 1.5rem;
    margin-right: 0rem;
  }
  .projects figure {
    margin-bottom: 1rem;
  }
}